aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-04-21 11:40:20 +0200
committerClifford Wolf <clifford@clifford.at>2019-04-21 11:40:20 +0200
commitd38f0c1a96c036df4ef67ad2f945dd229e1c3b8e (patch)
treef11ccc1392447567a69d021b61c8b7468eb65aff
parent5b7fea5245671882dabe2ec319353fa4f2fb8f91 (diff)
downloadyosys-d38f0c1a96c036df4ef67ad2f945dd229e1c3b8e.tar.gz
yosys-d38f0c1a96c036df4ef67ad2f945dd229e1c3b8e.tar.bz2
yosys-d38f0c1a96c036df4ef67ad2f945dd229e1c3b8e.zip
Fix tests
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rwxr-xr-xtests/tools/autotest.sh4
-rw-r--r--tests/various/hierarchy.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh
index f3dac504e..bb9c3bfb5 100755
--- a/tests/tools/autotest.sh
+++ b/tests/tools/autotest.sh
@@ -7,7 +7,7 @@ use_modelsim=false
verbose=false
keeprunning=false
makejmode=false
-frontend="verilog"
+frontend="verilog -noblackbox"
backend_opts="-noattr -noexpr -siminit"
autotb_opts=""
include_opts=""
@@ -137,7 +137,7 @@ do
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
else
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "verilog" -o ${bn}_ref.v ../${fn}
- frontend="verilog"
+ frontend="verilog -noblackbox"
fi
if [ ! -f ../${bn}_tb.v ]; then
diff --git a/tests/various/hierarchy.sh b/tests/various/hierarchy.sh
index d33a247be..9dbd1c89f 100644
--- a/tests/various/hierarchy.sh
+++ b/tests/various/hierarchy.sh
@@ -53,6 +53,7 @@ echo -n " no explicit top - "
module noTop(a, y);
input a;
output [31:0] y;
+ assign y = a;
endmodule
EOV
hierarchy -auto-top