Merge branch 'master' of github.com:cliffordwolf/yosys
[yosys.git] / techlibs / ice40 / Makefile.inc
1
2 OBJS += techlibs/ice40/synth_ice40.o
3 OBJS += techlibs/ice40/ice40_ffssr.o
4 OBJS += techlibs/ice40/ice40_opt.o
5
6 GENFILES += techlibs/ice40/brams_init1.vh
7 GENFILES += techlibs/ice40/brams_init2.vh
8 GENFILES += techlibs/ice40/brams_init3.vh
9
10 EXTRA_OBJS += techlibs/ice40/brams_init.mk
11 .SECONDARY: techlibs/ice40/brams_init.mk
12
13 techlibs/ice40/brams_init.mk: techlibs/ice40/brams_init.py
14 $(P) cd share/ice40 && python $<
15 $(Q) touch techlibs/ice40/brams_init.mk
16
17 techlibs/ice40/brams_init1.vh: techlibs/ice40/brams_init.mk
18 techlibs/ice40/brams_init2.vh: techlibs/ice40/brams_init.mk
19 techlibs/ice40/brams_init3.vh: techlibs/ice40/brams_init.mk
20
21 $(eval $(call add_share_file,share/ice40,techlibs/ice40/arith_map.v))
22 $(eval $(call add_share_file,share/ice40,techlibs/ice40/cells_map.v))
23 $(eval $(call add_share_file,share/ice40,techlibs/ice40/cells_sim.v))
24 $(eval $(call add_share_file,share/ice40,techlibs/ice40/brams.txt))
25 $(eval $(call add_share_file,share/ice40,techlibs/ice40/brams_map.v))
26