Merge pull request #1094 from mkj/matt/sim-regular-comb
litex_sim: Allow regular_comb=False argument
This commit is contained in:
commit
c13be522ce
|
@ -189,6 +189,7 @@ class SimVerilatorToolchain:
|
||||||
trace_fst = False,
|
trace_fst = False,
|
||||||
trace_start = 0,
|
trace_start = 0,
|
||||||
trace_end = -1,
|
trace_end = -1,
|
||||||
|
regular_comb = False,
|
||||||
interactive = True,
|
interactive = True,
|
||||||
pre_run_callback = None):
|
pre_run_callback = None):
|
||||||
|
|
||||||
|
@ -203,6 +204,9 @@ 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)
|
||||||
named_sc, named_pc = platform.resolve_signals(v_output.ns)
|
named_sc, named_pc = platform.resolve_signals(v_output.ns)
|
||||||
|
|
Loading…
Reference in New Issue