Coverage for hdl_registers/generator/html/html_generator_common.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2024-12-01 20:50 +0000

1# -------------------------------------------------------------------------------------------------- 

2# Copyright (c) Lukas Vik. All rights reserved. 

3# 

4# This file is part of the hdl-registers project, an HDL register generator fast enough to run 

5# in real time. 

6# https://hdl-registers.com 

7# https://github.com/hdl-registers/hdl-registers 

8# -------------------------------------------------------------------------------------------------- 

9 

10# First party libraries 

11from hdl_registers.generator.register_code_generator import RegisterCodeGenerator 

12 

13 

14class HtmlGeneratorCommon(RegisterCodeGenerator): 

15 """ 

16 Common for HTML code generators. 

17 """ 

18 

19 COMMENT_START = "<!--" 

20 COMMENT_END = " -->"