5d797ec1d242552f7d4936b46074849a34193bf4
[yosys.git] / techlibs / common / Makefile.inc
1
2 ifneq ($(SMALL),1)
3 OBJS += techlibs/common/synth.o
4 OBJS += techlibs/common/prep.o
5 endif
6
7 GENFILES += techlibs/common/simlib_help.inc
8 GENFILES += techlibs/common/simcells_help.inc
9
10 techlibs/common/simlib_help.inc: techlibs/common/cellhelp.py techlibs/common/simlib.v
11 $(Q) mkdir -p techlibs/common
12 $(P) $(PYTHON_EXECUTABLE) $^ > $@.new
13 $(Q) mv $@.new $@
14
15 techlibs/common/simcells_help.inc: techlibs/common/cellhelp.py techlibs/common/simcells.v
16 $(Q) mkdir -p techlibs/common
17 $(P) $(PYTHON_EXECUTABLE) $^ > $@.new
18 $(Q) mv $@.new $@
19
20 kernel/register.o: techlibs/common/simlib_help.inc techlibs/common/simcells_help.inc
21
22 $(eval $(call add_share_file,share,techlibs/common/simlib.v))
23 $(eval $(call add_share_file,share,techlibs/common/simcells.v))
24 $(eval $(call add_share_file,share,techlibs/common/techmap.v))
25 $(eval $(call add_share_file,share,techlibs/common/pmux2mux.v))
26 $(eval $(call add_share_file,share,techlibs/common/adff2dff.v))
27 $(eval $(call add_share_file,share,techlibs/common/dff2ff.v))
28 $(eval $(call add_share_file,share,techlibs/common/gate2lut.v))
29 $(eval $(call add_share_file,share,techlibs/common/cmp2lut.v))
30 $(eval $(call add_share_file,share,techlibs/common/cells.lib))
31 $(eval $(call add_share_file,share,techlibs/common/mul2dsp.v))
32 $(eval $(call add_share_file,share,techlibs/common/dummy.box))
33 $(eval $(call add_share_file,share,techlibs/common/shiftx2mux.v))