2 OBJS += passes/techmap/techmap.o
3 OBJS += passes/techmap/simplemap.o
4 OBJS += passes/techmap/dfflibmap.o
5 OBJS += passes/techmap/maccmap.o
6 OBJS += passes/techmap/libparse.o
9 OBJS += passes/techmap/abc.o
10 OBJS += passes/techmap/abc9.o
11 OBJS += passes/techmap/abc9_techmap.o
12 ifneq ($(ABCEXTERNAL),)
13 passes/techmap/abc.o: CXXFLAGS += -DABCEXTERNAL='"$(ABCEXTERNAL)"'
14 passes/techmap/abc9.o: CXXFLAGS += -DABCEXTERNAL='"$(ABCEXTERNAL)"'
19 OBJS += passes/techmap/iopadmap.o
20 OBJS += passes/techmap/clkbufmap.o
21 OBJS += passes/techmap/hilomap.o
22 OBJS += passes/techmap/extract.o
23 OBJS += passes/techmap/extract_fa.o
24 OBJS += passes/techmap/extract_counter.o
25 OBJS += passes/techmap/extract_reduce.o
26 OBJS += passes/techmap/alumacc.o
27 OBJS += passes/techmap/dff2dffe.o
28 OBJS += passes/techmap/dffinit.o
29 OBJS += passes/techmap/pmuxtree.o
30 OBJS += passes/techmap/muxcover.o
31 OBJS += passes/techmap/aigmap.o
32 OBJS += passes/techmap/tribuf.o
33 OBJS += passes/techmap/lut2mux.o
34 OBJS += passes/techmap/nlutmap.o
35 OBJS += passes/techmap/dffsr2dff.o
36 OBJS += passes/techmap/shregmap.o
37 OBJS += passes/techmap/deminout.o
38 OBJS += passes/techmap/insbuf.o
39 OBJS += passes/techmap/attrmvcp.o
40 OBJS += passes/techmap/attrmap.o
41 OBJS += passes/techmap/zinit.o
42 OBJS += passes/techmap/dff2dffs.o
43 OBJS += passes/techmap/flowmap.o
44 OBJS += passes/techmap/extractinv.o
47 GENFILES += passes/techmap/techmap.inc
49 passes/techmap/techmap.inc: techlibs/common/techmap.v
50 $(Q) mkdir -p $(dir $@)
51 $(P) echo "// autogenerated from $<" > $@.new
52 $(Q) echo "static char stdcells_code[] = {" >> $@.new
53 $(Q) od -v -td1 -An $< | $(SED) -e 's/[0-9][0-9]*/&,/g' >> $@.new
54 $(Q) echo "0};" >> $@.new
57 passes/techmap/techmap.o: passes/techmap/techmap.inc
59 ifneq ($(CONFIG),emcc)
60 TARGETS += yosys-filterlib$(EXE)
61 EXTRA_OBJS += passes/techmap/filterlib.o
63 yosys-filterlib$(EXE): passes/techmap/filterlib.o
64 $(Q) mkdir -p $(dir $@)
65 $(P) $(LD) -o yosys-filterlib$(EXE) $(LDFLAGS) $^ $(LDLIBS)