Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def run_test():
# -g without the db dump
circuit = kratos.util.to_magma(mod, insert_debug_info=True)
tester = fault.Tester(circuit)
tester.compile_and_run(target="system-verilog",
simulator="ncsim",
directory=temp,
magma_output="verilog",
use_kratos=True)
mock_debugger(run_test)
def run_test():
# -g without the db dump
circuit = kratos.util.to_magma(mod, insert_debug_info=True)
tester = fault.Tester(circuit)
tester.compile_and_run(target="verilator",
directory=temp,
magma_output="verilog",
use_kratos=True)
mock_debugger(run_test)