Skip to content

Commit

Permalink
Emit `default_nettype none.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch authored and sbourdeauducq committed Sep 10, 2018
1 parent cff127d commit 2a7e33e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion migen/fhdl/verilog.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def _printheader(f, ios, name, ns, attr_translate,
targets = list_targets(f) | special_outs
wires, comb_regs = _list_comb_wires_regs(f)
wires |= special_outs
r = "module " + name + "(\n"
r = "`default_nettype none\n\n"
r += "module " + name + "(\n"
firstp = True
for sig in sorted(ios, key=lambda x: x.duid):
if not firstp:
Expand Down

0 comments on commit 2a7e33e

Please sign in to comment.