From d4bcfe295df62fc4cb8de408f42e73ab593339cb Mon Sep 17 00:00:00 2001 From: Gus Smith Date: Sat, 6 Jul 2024 17:19:47 -0700 Subject: [PATCH 1/2] Remove outdated comment --- tests/interpreter_tests.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/interpreter_tests.rs b/tests/interpreter_tests.rs index ed6e53b..34c4037 100644 --- a/tests/interpreter_tests.rs +++ b/tests/interpreter_tests.rs @@ -304,8 +304,6 @@ fn run_verilator( std::fs::write(&testbench_path, &testbench_prog).unwrap(); - // TODO(@ninehusky): We can get rid of the necessity for a Makefile after this PR is merged - // into Verilator: https://github.com/verilator/verilator/pull/5031 let verilator_compile_output = std::process::Command::new("verilator") .arg("-o") .arg(executable_name) From bacfae08d84a6876298ce42989fa3b2d4fe7971a Mon Sep 17 00:00:00 2001 From: Gus Smith Date: Sat, 6 Jul 2024 17:20:02 -0700 Subject: [PATCH 2/2] add back --main flag --- tests/interpreter_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/interpreter_tests.rs b/tests/interpreter_tests.rs index 34c4037..7ee1ef0 100644 --- a/tests/interpreter_tests.rs +++ b/tests/interpreter_tests.rs @@ -310,6 +310,7 @@ fn run_verilator( .arg("-Wno-WIDTHTRUNC") .arg("--assert") .arg("--timing") + .arg("--main") .arg("--binary") .arg("--build") .arg("--Mdir")