Skip to content

Commit e87cde8

Browse files
committed
openflow: add missing comments
1 parent b2cd5cb commit e87cde8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyfpga/templates/openflow.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ $DOCKER hdlc/ghdl:yosys /bin/bash -c "
1515
{% if hooks %}{{ hooks.presyn | join('\n') }}{% endif %}
1616
yosys -Q -m ghdl -p '
1717

18-
{% if includes %}
18+
{% if includes %}# Verilog Includes
1919
verilog_defaults -add{% for path in includes %} -I{{ path }}{% endfor %}
2020
{% endif %}
2121

22-
{% if defines %}
22+
{% if defines %}# Verilog Defines
2323
verilog_defines{% for key, value in defines.items() %} -D{{ key }}={{ value }}{% endfor %}
2424
{% endif %}
2525

26-
{% if files %}
26+
{% if files %}# Files inclusion
2727
{% for name, attr in files.items() %}
2828
{% if attr.hdl == "vlog" %}
2929
read_verilog -defer {{ name }}
@@ -33,11 +33,11 @@ read_verilog -defer -sv {{ name }}
3333
{% endfor %}
3434
{% endif %}
3535

36-
{% if params %}
36+
{% if params %}# Verilog Parameters / VHDL Generics
3737
chparam{% for key, value in params.items() %} -set {{ key }} {{ value }}{% endfor %}
3838
{% endif %}
3939

40-
{% if top %}
40+
{% if top %}# Top-level specification
4141
synth -top {{ top }}
4242
{% endif %}
4343

0 commit comments

Comments
 (0)