File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ $DOCKER hdlc/ghdl:yosys /bin/bash -c "
15
15
{% if hooks %} {{ hooks.presyn | join('\n') }}{% endif %}
16
16
yosys -Q -m ghdl -p '
17
17
18
- {% if includes %}
18
+ {% if includes %} # Verilog Includes
19
19
verilog_defaults -add{% for path in includes %} -I{{ path }}{% endfor %}
20
20
{% endif %}
21
21
22
- {% if defines %}
22
+ {% if defines %} # Verilog Defines
23
23
verilog_defines{% for key , value in defines .items () %} -D{{ key }}={{ value }}{% endfor %}
24
24
{% endif %}
25
25
26
- {% if files %}
26
+ {% if files %} # Files inclusion
27
27
{% for name , attr in files .items () %}
28
28
{% if attr .hdl == "vlog" %}
29
29
read_verilog -defer {{ name }}
@@ -33,11 +33,11 @@ read_verilog -defer -sv {{ name }}
33
33
{% endfor %}
34
34
{% endif %}
35
35
36
- {% if params %}
36
+ {% if params %} # Verilog Parameters / VHDL Generics
37
37
chparam{% for key , value in params .items () %} -set {{ key }} {{ value }}{% endfor %}
38
38
{% endif %}
39
39
40
- {% if top %}
40
+ {% if top %} # Top-level specification
41
41
synth -top {{ top }}
42
42
{% endif %}
43
43
You can’t perform that action at this time.
0 commit comments