yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
passes/techmap/Makefile.inc
Go to the documentation of this file.
1 
2 OBJS += passes/techmap/techmap.o
3 OBJS += passes/techmap/simplemap.o
4 OBJS += passes/techmap/dfflibmap.o
5 OBJS += passes/techmap/libparse.o
6 
7 ifneq ($(SMALL),1)
8 OBJS += passes/techmap/iopadmap.o
9 OBJS += passes/techmap/hilomap.o
10 OBJS += passes/techmap/extract.o
11 OBJS += passes/techmap/maccmap.o
12 OBJS += passes/techmap/alumacc.o
13 OBJS += passes/techmap/dff2dffe.o
14 endif
15 
16 GENFILES += passes/techmap/techmap.inc
17 
18 passes/techmap/techmap.inc: techlibs/common/techmap.v
19  $(P) echo "// autogenerated from $<" > $@.new
20  $(Q) echo "static char stdcells_code[] = {" >> $@.new
21  $(Q) od -v -td1 -An $< | $(SED) -e 's/[0-9][0-9]*/&,/g' >> $@.new
22  $(Q) echo "0};" >> $@.new
23  $(Q) mv $@.new $@
24 
25 passes/techmap/techmap.o: passes/techmap/techmap.inc
26 
27 TARGETS += yosys-filterlib$(EXE)
28 EXTRA_OBJS += passes/techmap/filterlib.o
29 
30 yosys-filterlib$(EXE): passes/techmap/filterlib.o
31  $(P) $(CXX) -o yosys-filterlib$(EXE) $(LDFLAGS) $^ $(LDLIBS)
32 
PRIVATE_NAMESPACE_END YOSYS_NAMESPACE_BEGIN void maccmap(RTLIL::Module *module, RTLIL::Cell *cell, bool unmap=false)
Definition: maccmap.cc:265
static void dfflibmap(RTLIL::Design *design, RTLIL::Module *module)
Definition: dfflibmap.cc:387