2 OBJS += techlibs/ecp5/synth_ecp5.o techlibs/ecp5/ecp5_ffinit.o \
3 techlibs/ecp5/ecp5_gsr.o
5 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_ff.vh))
6 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_io.vh))
7 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_map.v))
8 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_sim.v))
9 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_bb.v))
10 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/lutrams_map.v))
11 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/lutrams.txt))
12 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/brams_map.v))
13 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/brams.txt))
14 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/arith_map.v))
15 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/latches_map.v))
16 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/dsp_map.v))
18 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc9_map.v))
19 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc9_unmap.v))
20 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc9_model.v))
21 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc9_5g.box))
22 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc9_5g.lut))
23 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc9_5g_nowide.lut))
25 EXTRA_OBJS += techlibs/ecp5/brams_init.mk techlibs/ecp5/brams_connect.mk
26 .SECONDARY: techlibs/ecp5/brams_init.mk techlibs/ecp5/brams_connect.mk
28 techlibs/ecp5/brams_init.mk: techlibs/ecp5/brams_init.py
29 $(Q) mkdir -p techlibs/ecp5
30 $(P) $(PYTHON_EXECUTABLE) $<
33 techlibs/ecp5/brams_connect.mk: techlibs/ecp5/brams_connect.py
34 $(Q) mkdir -p techlibs/ecp5
35 $(P) $(PYTHON_EXECUTABLE) $<
39 techlibs/ecp5/bram_init_1_2_4.vh: techlibs/ecp5/brams_init.mk
40 techlibs/ecp5/bram_init_9_18_36.vh: techlibs/ecp5/brams_init.mk
42 techlibs/ecp5/bram_conn_1.vh: techlibs/ecp5/brams_connect.mk
43 techlibs/ecp5/bram_conn_2.vh: techlibs/ecp5/brams_connect.mk
44 techlibs/ecp5/bram_conn_4.vh: techlibs/ecp5/brams_connect.mk
45 techlibs/ecp5/bram_conn_9.vh: techlibs/ecp5/brams_connect.mk
46 techlibs/ecp5/bram_conn_18.vh: techlibs/ecp5/brams_connect.mk
47 techlibs/ecp5/bram_conn_36.vh: techlibs/ecp5/brams_connect.mk
49 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_init_1_2_4.vh))
50 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_init_9_18_36.vh))
52 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_1.vh))
53 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_2.vh))
54 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_4.vh))
55 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_9.vh))
56 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_18.vh))
57 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_36.vh))