2013-01-05 04:13:26 -06:00
|
|
|
|
|
|
|
OBJS += passes/techmap/techmap.o
|
2013-11-24 15:52:30 -06:00
|
|
|
OBJS += passes/techmap/simplemap.o
|
2013-10-16 08:32:26 -05:00
|
|
|
OBJS += passes/techmap/dfflibmap.o
|
2014-12-30 04:41:24 -06:00
|
|
|
OBJS += passes/techmap/maccmap.o
|
2014-07-24 12:03:57 -05:00
|
|
|
OBJS += passes/techmap/libparse.o
|
|
|
|
|
2015-05-17 07:44:28 -05:00
|
|
|
ifeq ($(ENABLE_ABC),1)
|
|
|
|
OBJS += passes/techmap/abc.o
|
2016-03-19 14:02:40 -05:00
|
|
|
ifneq ($(ABCEXTERNAL),)
|
|
|
|
passes/techmap/abc.o: CXXFLAGS += -DABCEXTERNAL='"$(ABCEXTERNAL)"'
|
|
|
|
endif
|
2015-05-17 07:44:28 -05:00
|
|
|
endif
|
|
|
|
|
2014-07-24 12:03:57 -05:00
|
|
|
ifneq ($(SMALL),1)
|
2013-10-16 09:16:06 -05:00
|
|
|
OBJS += passes/techmap/iopadmap.o
|
2014-01-19 14:58:58 -06:00
|
|
|
OBJS += passes/techmap/hilomap.o
|
2014-02-08 07:39:15 -06:00
|
|
|
OBJS += passes/techmap/extract.o
|
2014-09-14 03:02:00 -05:00
|
|
|
OBJS += passes/techmap/alumacc.o
|
2014-12-08 07:10:52 -06:00
|
|
|
OBJS += passes/techmap/dff2dffe.o
|
2015-04-04 12:00:15 -05:00
|
|
|
OBJS += passes/techmap/dffinit.o
|
2015-04-07 13:27:10 -05:00
|
|
|
OBJS += passes/techmap/pmuxtree.o
|
2015-04-07 08:42:25 -05:00
|
|
|
OBJS += passes/techmap/muxcover.o
|
2015-06-10 00:24:26 -05:00
|
|
|
OBJS += passes/techmap/aigmap.o
|
2015-08-16 05:55:25 -05:00
|
|
|
OBJS += passes/techmap/tribuf.o
|
2015-09-18 14:55:48 -05:00
|
|
|
OBJS += passes/techmap/lut2mux.o
|
2015-09-18 14:57:34 -05:00
|
|
|
OBJS += passes/techmap/nlutmap.o
|
2016-02-02 10:19:01 -06:00
|
|
|
OBJS += passes/techmap/dffsr2dff.o
|
2016-04-16 16:20:49 -05:00
|
|
|
OBJS += passes/techmap/shregmap.o
|
2016-06-19 06:08:16 -05:00
|
|
|
OBJS += passes/techmap/deminout.o
|
2014-07-24 12:03:57 -05:00
|
|
|
endif
|
2013-10-16 08:32:26 -05:00
|
|
|
|
2014-07-30 19:32:00 -05:00
|
|
|
GENFILES += passes/techmap/techmap.inc
|
2013-01-05 04:13:26 -06:00
|
|
|
|
2014-07-30 19:32:00 -05:00
|
|
|
passes/techmap/techmap.inc: techlibs/common/techmap.v
|
2015-08-12 08:04:44 -05:00
|
|
|
$(Q) mkdir -p $(dir $@)
|
2014-07-24 10:15:01 -05:00
|
|
|
$(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 $@
|
2013-01-05 04:13:26 -06:00
|
|
|
|
2014-07-30 19:32:00 -05:00
|
|
|
passes/techmap/techmap.o: passes/techmap/techmap.inc
|
2013-01-05 04:13:26 -06:00
|
|
|
|
2015-02-15 05:09:30 -06:00
|
|
|
ifneq ($(CONFIG),emcc)
|
2014-10-09 03:50:44 -05:00
|
|
|
TARGETS += yosys-filterlib$(EXE)
|
2014-10-17 05:11:15 -05:00
|
|
|
EXTRA_OBJS += passes/techmap/filterlib.o
|
2013-10-16 08:32:26 -05:00
|
|
|
|
2014-10-09 03:50:44 -05:00
|
|
|
yosys-filterlib$(EXE): passes/techmap/filterlib.o
|
2015-08-12 08:04:44 -05:00
|
|
|
$(Q) mkdir -p $(dir $@)
|
2016-01-31 12:55:48 -06:00
|
|
|
$(P) $(LD) -o yosys-filterlib$(EXE) $(LDFLAGS) $^ $(LDLIBS)
|
2015-02-15 05:09:30 -06:00
|
|
|
endif
|
2013-10-16 08:32:26 -05:00
|
|
|
|