From: Sebastien Bourdeauducq Date: Thu, 11 Apr 2013 16:55:49 +0000 (+0200) Subject: fhdl/verilog/_printinit: initialize undriven Special inputs (bug reported by Florent... X-Git-Tag: 24jan2021_ls180~2099^2~609 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75d33a0c051899ef8abe3de70756bce6279c4271;p=litex.git fhdl/verilog/_printinit: initialize undriven Special inputs (bug reported by Florent Kermarrec) --- diff --git a/migen/fhdl/verilog.py b/migen/fhdl/verilog.py index 30c309b1..a5ef01dd 100644 --- a/migen/fhdl/verilog.py +++ b/migen/fhdl/verilog.py @@ -244,7 +244,7 @@ def _printspecials(overrides, specials, ns): def _printinit(f, ios, ns): r = "" - signals = list_signals(f) \ + signals = (list_signals(f) | list_special_ios(f, True, False, False)) \ - ios \ - list_targets(f) \ - list_special_ios(f, False, True, False)