Add UNOPTTHREADS, for threads branch.

This commit is contained in:
Wilson Snyder 2018-07-22 12:09:27 -04:00
parent 0ef3baa87d
commit e97dbf9537
6 changed files with 14 additions and 5 deletions

View File

@ -97,6 +97,7 @@ public:
UNDRIVEN, // No drivers
UNOPT, // Unoptimizable block
UNOPTFLAT, // Unoptimizable block after flattening
UNOPTTHREADS, // Thread partitioner unable to fill all requested threads
UNPACKED, // Unsupported unpacked
UNSIGNED, // Comparison is constant due to unsigned arithmetic
UNUSED, // No receivers
@ -139,7 +140,8 @@ public:
"PINMISSING", "PINNOCONNECT", "PINCONNECTEMPTY",
"REALCVT", "REDEFMACRO",
"SELRANGE", "STMTDLY", "SYMRSVDWORD", "SYNCASYNCNET",
"UNDRIVEN", "UNOPT", "UNOPTFLAT", "UNPACKED", "UNSIGNED", "UNUSED",
"UNDRIVEN", "UNOPT", "UNOPTFLAT", "UNOPTTHREADS",
"UNPACKED", "UNSIGNED", "UNUSED",
"USERERROR", "USERFATAL", "USERINFO", "USERWARN",
"VARHIDDEN", "WIDTH", "WIDTHCONCAT",
" MAX"

View File

@ -17,7 +17,9 @@ $Self->{cycles} = 100 if $Self->{cycles}<100;
$Self->{sim_time} = $Self->{cycles}*100;
compile(
v_flags2 => ["+define+SIM_CYCLES=$Self->{cycles} --stats"],
v_flags2 => ["+define+SIM_CYCLES=$Self->{cycles}",
"--stats",
"-Wno-UNOPTTHREADS"],
);
execute(

View File

@ -41,7 +41,9 @@ top_filename("$Self->{obj_dir}/t_emit_memb_limit.v");
gen($Self->{top_filename}, 6000);
compile(
verilator_flags2=>["-x-assign fast --x-initial fast"],
verilator_flags2=>["-x-assign fast --x-initial fast",
"-Wno-UNOPTTHREADS",
],
);
execute(

View File

@ -44,7 +44,8 @@ top_filename("$Self->{obj_dir}/t_gate_chained.v");
gen($Self->{top_filename});
compile(
verilator_flags2=>["--stats --x-assign fast --x-initial fast"],
verilator_flags2=>["--stats --x-assign fast --x-initial fast",
"-Wno-UNOPTTHREADS"],
);
execute(

View File

@ -112,7 +112,8 @@ gen($Self->{top_filename});
compile(
v_flags2 => ["+define+SIM_CYCLES=$Self->{cycles}",],
verilator_flags2=>["--stats --x-assign fast --x-initial fast"],
verilator_flags2=>["--stats --x-assign fast --x-initial fast",
"-Wno-UNOPTTHREADS"],
);
execute(

View File

@ -10,6 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["-Wno-UNOPTTHREADS"],
);
execute(