3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-18 10:30:45 +00:00

Minor "make vgtest" changes

This commit is contained in:
Clifford Wolf 2015-02-08 15:13:51 +01:00
parent 6d2f31c04a
commit 0fcc8c1467
2 changed files with 6 additions and 2 deletions

View file

@ -286,7 +286,8 @@ Run all tests with "make config-{clang,gcc,gcc-4.6}":
cd ~yosys cd ~yosys
make clean make clean
make test vloghtb make test
make vloghtb
make install make install
cd ~yosys-bigsim cd ~yosys-bigsim
@ -301,6 +302,9 @@ Run all tests with "make config-{clang,gcc,gcc-4.6}":
Then with default config setting: Then with default config setting:
cd ~yosys
make vgtest
cd ~yosys cd ~yosys
./yosys -p 'proc; show' tests/simple/fiedler-cooley.v ./yosys -p 'proc; show' tests/simple/fiedler-cooley.v
./yosys -p 'proc; opt; show' tests/simple/fiedler-cooley.v ./yosys -p 'proc; opt; show' tests/simple/fiedler-cooley.v

View file

@ -320,7 +320,7 @@ test: $(TARGETS) $(EXTRA_TARGETS)
VALGRIND ?= valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes --errors-for-leak-kinds=all VALGRIND ?= valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes --errors-for-leak-kinds=all
vgtest: $(TARGETS) $(EXTRA_TARGETS) vgtest: $(TARGETS) $(EXTRA_TARGETS)
$(VALGRIND) ./yosys -p 'setattr -mod -unset top; hierarchy; proc; opt; memory -nomap; opt -fine; techmap; opt' $$( ls tests/simple/*.v | grep -v repwhile.v ) $(VALGRIND) ./yosys -p 'setattr -mod -unset top; synth' $$( ls tests/simple/*.v | grep -v repwhile.v )
@echo "" @echo ""
@echo " Passed \"make vgtest\"." @echo " Passed \"make vgtest\"."
@echo "" @echo ""