aboutsummaryrefslogtreecommitdiffstats
path: root/tests/techmap/recursive_runtest.sh
blob: 30c79bf035e04b290fbc8894a20608fbc604f65b (plain)
1
2
3
set -ev

../../yosys -p 'hierarchy -top top; techmap -map recursive_map.v -max_iter 1; select -assert-count 2 t:sub; select -assert-count 2 t:bar' recursive.v
ger.Long */
# Order is important!
SUBDIRS=gui memory iodev

.PHONY: all clean install

all:
	@for subdir in $(SUBDIRS); do 				\
		$(MAKE) -C $$subdir $(MAKEDEFS) $@ || exit -1; 	\
	done

clean:
	@for subdir in $(SUBDIRS); do 				\
		$(MAKE) -C $$subdir $(MAKEDEFS) $@ || exit -1; 	\
	done

install:
	@for subdir in $(SUBDIRS); do 				\
		$(MAKE) -C $$subdir $(MAKEDEFS) $@ || exit -1; 	\
	done