diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-09-25 17:27:18 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-09-25 17:27:18 +0200 |
commit | ddcfc99f8c23a2a7e9f41eeed5504e10215bee14 (patch) | |
tree | 986fed588fa7dbdd0f02d944920e953ccc746abb /passes | |
parent | 82028c42e0b89c9e5b26de0c9d0cfc33751478b3 (diff) | |
download | yosys-ddcfc99f8c23a2a7e9f41eeed5504e10215bee14.tar.gz yosys-ddcfc99f8c23a2a7e9f41eeed5504e10215bee14.tar.bz2 yosys-ddcfc99f8c23a2a7e9f41eeed5504e10215bee14.zip |
Added "test_cell -noeval"
Diffstat (limited to 'passes')
-rw-r--r-- | passes/tests/test_cell.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/passes/tests/test_cell.cc b/passes/tests/test_cell.cc index abac62231..fd5a32e4f 100644 --- a/passes/tests/test_cell.cc +++ b/passes/tests/test_cell.cc @@ -552,6 +552,9 @@ struct TestCellPass : public Pass { log(" -nosat\n"); log(" do not check SAT model or run SAT equivalence checking\n"); log("\n"); + log(" -noeval\n"); + log(" do not check const-eval models\n"); + log("\n"); log(" -v\n"); log(" print additional debug information to the console\n"); log("\n"); @@ -570,6 +573,7 @@ struct TestCellPass : public Pass { bool verbose = false; bool constmode = false; bool nosat = false; + bool noeval = false; int argidx; for (argidx = 1; argidx < GetSize(args); argidx++) @@ -619,6 +623,10 @@ struct TestCellPass : public Pass { nosat = true; continue; } + if (args[argidx] == "-noeval") { + noeval = true; + continue; + } if (args[argidx] == "-v") { verbose = true; continue; @@ -772,7 +780,8 @@ struct TestCellPass : public Pass { Backend::backend_call(design, &vlog_file, "<test_cell -vlog>", "verilog -selected -noexpr"); uut_names.push_back(uut_name); } - run_eval_test(design, verbose, nosat, uut_name, vlog_file); + if (!noeval) + run_eval_test(design, verbose, nosat, uut_name, vlog_file); } delete design; } |