mirror of https://github.com/YosysHQ/yosys.git
Fix tests
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
5b7fea5245
commit
d38f0c1a96
|
@ -7,7 +7,7 @@ use_modelsim=false
|
||||||
verbose=false
|
verbose=false
|
||||||
keeprunning=false
|
keeprunning=false
|
||||||
makejmode=false
|
makejmode=false
|
||||||
frontend="verilog"
|
frontend="verilog -noblackbox"
|
||||||
backend_opts="-noattr -noexpr -siminit"
|
backend_opts="-noattr -noexpr -siminit"
|
||||||
autotb_opts=""
|
autotb_opts=""
|
||||||
include_opts=""
|
include_opts=""
|
||||||
|
@ -137,7 +137,7 @@ do
|
||||||
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
|
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
|
||||||
else
|
else
|
||||||
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "verilog" -o ${bn}_ref.v ../${fn}
|
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "verilog" -o ${bn}_ref.v ../${fn}
|
||||||
frontend="verilog"
|
frontend="verilog -noblackbox"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f ../${bn}_tb.v ]; then
|
if [ ! -f ../${bn}_tb.v ]; then
|
||||||
|
|
|
@ -53,6 +53,7 @@ echo -n " no explicit top - "
|
||||||
module noTop(a, y);
|
module noTop(a, y);
|
||||||
input a;
|
input a;
|
||||||
output [31:0] y;
|
output [31:0] y;
|
||||||
|
assign y = a;
|
||||||
endmodule
|
endmodule
|
||||||
EOV
|
EOV
|
||||||
hierarchy -auto-top
|
hierarchy -auto-top
|
||||||
|
|
Loading…
Reference in New Issue