aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/hierarchy.sh
diff options
context:
space:
mode:
authorJim Lawson <ucbjrl@berkeley.edu>2019-02-22 16:06:10 -0800
committerJim Lawson <ucbjrl@berkeley.edu>2019-02-22 16:06:10 -0800
commit71bcc4c644b0dafa760ff8b6d7bd1109836be621 (patch)
treead0577feb454de2a87ca6677bed6e9828f0faa8b /tests/various/hierarchy.sh
parent5c4a72c43ef61420b4b099d87949b0fdba0f4b55 (diff)
downloadyosys-71bcc4c644b0dafa760ff8b6d7bd1109836be621.tar.gz
yosys-71bcc4c644b0dafa760ff8b6d7bd1109836be621.tar.bz2
yosys-71bcc4c644b0dafa760ff8b6d7bd1109836be621.zip
Address requested changes - don't require non-$ name.
Suppress warning if name does begin with a `$`. Fix hierachy tests so they have something to grep. Announce hierarchy test types.
Diffstat (limited to 'tests/various/hierarchy.sh')
-rw-r--r--tests/various/hierarchy.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/various/hierarchy.sh b/tests/various/hierarchy.sh
index dcb4dc056..d33a247be 100644
--- a/tests/various/hierarchy.sh
+++ b/tests/various/hierarchy.sh
@@ -3,7 +3,8 @@
set -e
-../../yosys -q -s - <<- EOY 2>&1 | grep "Automatically selected TOP as design top module"
+echo -n " TOP first - "
+../../yosys -s - <<- EOY | grep "Automatically selected TOP as design top module"
read_verilog << EOV
module TOP(a, y);
input a;
@@ -21,7 +22,8 @@ set -e
hierarchy -auto-top
EOY
-../../yosys -q -s - <<- EOY 2>&1 | grep "Automatically selected TOP as design top module"
+echo -n " TOP last - "
+../../yosys -s - <<- EOY | grep "Automatically selected TOP as design top module"
read_verilog << EOV
module aoi12(a, y);
input a;
@@ -39,7 +41,8 @@ EOY
hierarchy -auto-top
EOY
-../../yosys -q -s - <<- EOY 2>&1 | grep "Automatically selected noTop as design top module."
+echo -n " no explicit top - "
+../../yosys -s - <<- EOY | grep "Automatically selected noTop as design top module."
read_verilog << EOV
module aoi12(a, y);
input a;