mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
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.
This commit is contained in:
parent
5c4a72c43e
commit
71bcc4c644
3 changed files with 14 additions and 11 deletions
|
@ -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;
|
||||
|
|
|
@ -9,6 +9,6 @@ shell_tests=$(echo *.sh | sed -e 's/run-test.sh//')
|
|||
if [ "$shell_tests" ]; then
|
||||
for s in $shell_tests; do
|
||||
echo "Running $s.."
|
||||
bash $s >& ${s%.sh}.log
|
||||
bash $s
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue