fix synthesis translate on/off switch
authorNina Engelhardt <nina.engelhardt@omnium-gatherum.de>
Fri, 26 Jul 2013 13:48:25 +0000 (15:48 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 26 Jul 2013 13:55:16 +0000 (15:55 +0200)
migen/fhdl/verilog.py

index f608338cd0fe986d930f06ab6a6afe075a622af2..67402754c265aa647db2ed6b5b764a65874bce5a 100644 (file)
@@ -169,8 +169,8 @@ def _printcomb(f, ns, display_run):
        if f.comb:
                # Generate a dummy event to get the simulator
                # to run the combinatorial process once at the beginning.
-               syn_off = "// synthesis translate off\n"
-               syn_on = "// synthesis translate on\n"
+               syn_off = "// synthesis translate_off\n"
+               syn_on = "// synthesis translate_on\n"
                dummy_s = Signal(name_override="dummy_s")
                r += syn_off
                r += "reg " + _printsig(ns, dummy_s) + ";\n"