2013-01-05 04:13:26 -06:00
|
|
|
|
|
|
|
OBJS += passes/techmap/techmap.o
|
2013-10-16 08:32:26 -05:00
|
|
|
OBJS += passes/techmap/dfflibmap.o
|
2013-10-16 09:16:06 -05:00
|
|
|
OBJS += passes/techmap/iopadmap.o
|
2013-10-16 08:32:26 -05:00
|
|
|
OBJS += passes/techmap/libparse.o
|
|
|
|
|
|
|
|
GENFILES += passes/techmap/stdcells.inc
|
2013-01-05 04:13:26 -06:00
|
|
|
|
2013-09-15 04:52:57 -05:00
|
|
|
passes/techmap/stdcells.inc: techlibs/common/stdcells.v
|
2013-03-18 01:32:33 -05:00
|
|
|
echo "// autogenerated from $<" > $@.new
|
2013-01-05 04:13:26 -06:00
|
|
|
od -v -td1 -w1 $< | awk 'BEGIN { print "static char stdcells_code[] = {"; } $$2 != "" { print $$2 ","; } \
|
2013-03-17 16:02:46 -05:00
|
|
|
END { print 0 "};"; }' | fmt >> $@.new
|
2013-01-05 04:13:26 -06:00
|
|
|
mv $@.new $@
|
|
|
|
|
|
|
|
passes/techmap/techmap.o: passes/techmap/stdcells.inc
|
|
|
|
|
2013-10-16 08:32:26 -05:00
|
|
|
TARGETS += yosys-filterlib
|
|
|
|
GENFILES += passes/techmap/filterlib.o
|
|
|
|
|
|
|
|
yosys-filterlib: passes/techmap/filterlib.o
|
|
|
|
$(CXX) -o yosys-filterlib $(LDFLAGS) $^ $(LDLIBS)
|
|
|
|
|