mirror of https://github.com/YosysHQ/yosys.git
27 lines
775 B
Makefile
27 lines
775 B
Makefile
|
|
OBJS += passes/techmap/techmap.o
|
|
OBJS += passes/techmap/simplemap.o
|
|
OBJS += passes/techmap/dfflibmap.o
|
|
OBJS += passes/techmap/iopadmap.o
|
|
OBJS += passes/techmap/hilomap.o
|
|
OBJS += passes/techmap/libparse.o
|
|
OBJS += passes/techmap/extract.o
|
|
|
|
GENFILES += passes/techmap/stdcells.inc
|
|
|
|
passes/techmap/stdcells.inc: techlibs/common/stdcells.v
|
|
$(P) echo "// autogenerated from $<" > $@.new
|
|
$(Q) echo "static char stdcells_code[] = {" >> $@.new
|
|
$(Q) od -v -td1 -An $< | $(SED) -e 's/[0-9][0-9]*/&,/g' >> $@.new
|
|
$(Q) echo "0};" >> $@.new
|
|
$(Q) mv $@.new $@
|
|
|
|
passes/techmap/techmap.o: passes/techmap/stdcells.inc
|
|
|
|
TARGETS += yosys-filterlib
|
|
GENFILES += passes/techmap/filterlib.o
|
|
|
|
yosys-filterlib: passes/techmap/filterlib.o
|
|
$(P) $(CXX) -o yosys-filterlib $(LDFLAGS) $^ $(LDLIBS)
|
|
|