2 OBJS += techlibs/ecp5/synth_ecp5.o techlibs/ecp5/ecp5_ffinit.o
4 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_map.v))
5 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_sim.v))
6 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/cells_bb.v))
7 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/drams_map.v))
8 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/dram.txt))
9 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/brams_map.v))
10 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/bram.txt))
11 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/arith_map.v))
12 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/latches_map.v))
14 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc_5g.box))
15 $(eval $(call add_share_file,share/ecp5,techlibs/ecp5/abc_5g.lut))
17 EXTRA_OBJS += techlibs/ecp5/brams_init.mk techlibs/ecp5/brams_connect.mk
18 .SECONDARY: techlibs/ecp5/brams_init.mk techlibs/ecp5/brams_connect.mk
20 techlibs/ecp5/brams_init.mk: techlibs/ecp5/brams_init.py
21 $(Q) mkdir -p techlibs/ecp5
25 techlibs/ecp5/brams_connect.mk: techlibs/ecp5/brams_connect.py
26 $(Q) mkdir -p techlibs/ecp5
31 techlibs/ecp5/bram_init_1_2_4.vh: techlibs/ecp5/brams_init.mk
32 techlibs/ecp5/bram_init_9_18_36.vh: techlibs/ecp5/brams_init.mk
34 techlibs/ecp5/bram_conn_1.vh: techlibs/ecp5/brams_connect.mk
35 techlibs/ecp5/bram_conn_2.vh: techlibs/ecp5/brams_connect.mk
36 techlibs/ecp5/bram_conn_4.vh: techlibs/ecp5/brams_connect.mk
37 techlibs/ecp5/bram_conn_9.vh: techlibs/ecp5/brams_connect.mk
38 techlibs/ecp5/bram_conn_18.vh: techlibs/ecp5/brams_connect.mk
40 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_init_1_2_4.vh))
41 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_init_9_18_36.vh))
43 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_1.vh))
44 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_2.vh))
45 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_4.vh))
46 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_9.vh))
47 $(eval $(call add_gen_share_file,share/ecp5,techlibs/ecp5/bram_conn_18.vh))