sim/verilator: Revert regular_comb change and just pass it to get_verilog as before.
This commit is contained in:
parent
67431f4109
commit
2740dd34e7
|
@ -204,11 +204,11 @@ class SimVerilatorToolchain:
|
||||||
fragment = fragment.get_fragment()
|
fragment = fragment.get_fragment()
|
||||||
platform.finalize(fragment)
|
platform.finalize(fragment)
|
||||||
|
|
||||||
if regular_comb:
|
|
||||||
raise ValueError("SimVerilatorToolchain disallows regular_comb=True")
|
|
||||||
|
|
||||||
# Generate verilog
|
# Generate verilog
|
||||||
v_output = platform.get_verilog(fragment, name=build_name)
|
v_output = platform.get_verilog(fragment,
|
||||||
|
name = build_name,
|
||||||
|
regular_comb = regular_comb
|
||||||
|
)
|
||||||
named_sc, named_pc = platform.resolve_signals(v_output.ns)
|
named_sc, named_pc = platform.resolve_signals(v_output.ns)
|
||||||
v_file = build_name + ".v"
|
v_file = build_name + ".v"
|
||||||
v_output.write(v_file)
|
v_output.write(v_file)
|
||||||
|
|
Loading…
Reference in New Issue