mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-30 11:12:29 +00:00
Consolidated hana test benches into fewer files
for pf in test_simulation_{always,and,buffer,decoder,inc,mux,nand,nor,or,seq,shifter,sop,techmap,xnor,xor}; do
gawk 'FNR == 1 { printf("\n// %s\n",FILENAME); } { gsub("^module *", sprintf("module f%d_",ARGIND)); print; }' \
${pf}_*_test.v > $pf.v; ../tools/autotest.sh $pf.v; mv -v ${pf}_*_test.v Attic/; done;
..etc..
This commit is contained in:
parent
03ef9a75c6
commit
5e641acc90
175 changed files with 1622 additions and 1332 deletions
|
|
@ -2,13 +2,3 @@
|
|||
This test cases are copied from the hana project:
|
||||
https://sourceforge.net/projects/sim-sim/
|
||||
|
||||
** Copy tests from hana: **
|
||||
while read fn; do cp -v $fn ALL_TESTS/${fn//\//_}; done < <(find test -name '*.v' ! -name '*_gold.v')
|
||||
|
||||
** Eliminate test's we can't parse atm: **
|
||||
rm -f test_synthesizability*.v
|
||||
rm -f test_parse2synthtrans_latch_1_test.v
|
||||
rm -f test_parse2synthtrans_always_1_test.v
|
||||
rm -f test_parse2synthtrans_always_2_test.v
|
||||
for x in test_*.v; do ../../yosys -b "" $x || rm $x; done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue