aboutsummaryrefslogtreecommitdiffstats
path: root/passes/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-02-12 17:45:44 +0100
committerClifford Wolf <clifford@clifford.at>2015-02-12 17:45:44 +0100
commitd58c3eca3a6d4ab00021769fb31ee0279c2fcbab (patch)
tree20d893fe76bc6b392e672f414720fc67295a6fdc /passes/tests
parent554a8df5e2e7c750b76021821bdf2e07970b9dbf (diff)
downloadyosys-d58c3eca3a6d4ab00021769fb31ee0279c2fcbab.tar.gz
yosys-d58c3eca3a6d4ab00021769fb31ee0279c2fcbab.tar.bz2
yosys-d58c3eca3a6d4ab00021769fb31ee0279c2fcbab.zip
Some test related fixes
(incl. removal of three bad test cases)
Diffstat (limited to 'passes/tests')
-rw-r--r--passes/tests/test_autotb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/tests/test_autotb.cc b/passes/tests/test_autotb.cc
index 74ee0f5a9..7c1b671c6 100644
--- a/passes/tests/test_autotb.cc
+++ b/passes/tests/test_autotb.cc
@@ -195,7 +195,7 @@ static void autotest(std::ostream &f, RTLIL::Design *design, int num_iter)
f << stringf(" } = {");
for (auto it = signal_clk.begin(); it != signal_clk.end(); it++)
f << stringf("%s %s", it == signal_clk.begin() ? "" : ",", it->first.c_str());
- f << stringf(" } ^ (%d'b1 << (xorshift128_w %% %d));\n", total_clock_bits, total_clock_bits);
+ f << stringf(" } ^ (%d'b1 << (xorshift128_w %% %d));\n", total_clock_bits, total_clock_bits + 1);
}
f << stringf("end\n");
f << stringf("endtask\n\n");