Skip to content

Commit

Permalink
sim-gold instead of sim-cmp for x values
Browse files Browse the repository at this point in the history
  • Loading branch information
RCoeurjoly committed May 31, 2024
1 parent 54536af commit 556c6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/single_bit/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ run_test() {
if ./vcd_harness ${base_name}_functional_cxx.vcd; then

# Run yosys to process each Verilog file
if ${BASE_PATH}yosys -p "read_verilog $verilog_file; sim -r ${base_name}_functional_cxx.vcd -scope my_module -vcd ${base_name}_yosys_sim.vcd -timescale 1us -sim-cmp"; then
if ${BASE_PATH}yosys -p "read_verilog $verilog_file; sim -r ${base_name}_functional_cxx.vcd -scope my_module -vcd ${base_name}_yosys_sim.vcd -timescale 1us -sim-gold"; then
echo "Yosys sim $verilog_file successfully."
else
${BASE_PATH}yosys -p "read_verilog $verilog_file; sim -vcd ${base_name}_yosys_sim.vcd -r ${base_name}_functional_cxx.vcd -scope my_module -timescale 1us"
Expand Down

0 comments on commit 556c6f7

Please sign in to comment.