Merge pull request #1559 from YosysHQ/efinix_test_fix
[yosys.git] / techlibs / gowin / Makefile.inc
1
2 OBJS += techlibs/gowin/synth_gowin.o
3 OBJS += techlibs/gowin/determine_init.o
4
5
6 $(eval $(call add_share_file,share/gowin,techlibs/gowin/cells_map.v))
7 $(eval $(call add_share_file,share/gowin,techlibs/gowin/cells_sim.v))
8 $(eval $(call add_share_file,share/gowin,techlibs/gowin/arith_map.v))
9 $(eval $(call add_share_file,share/gowin,techlibs/gowin/brams_map.v))
10 $(eval $(call add_share_file,share/gowin,techlibs/gowin/brams.txt))
11 $(eval $(call add_share_file,share/gowin,techlibs/gowin/lutrams_map.v))
12 $(eval $(call add_share_file,share/gowin,techlibs/gowin/lutrams.txt))
13
14
15
16 $(eval $(call add_share_file,share/gowin,techlibs/gowin/brams_init3.vh))
17
18 EXTRA_OBJS += techlibs/gowin/brams_init.mk
19 .SECONDARY: techlibs/gowin/brams_init.mk
20
21 techlibs/gowin/brams_init.mk: techlibs/gowin/brams_init.py
22 $(Q) mkdir -p techlibs/gowin
23 $(P) python3 $<
24 $(Q) touch $@
25
26 techlibs/gowin/bram_init_16.vh: techlibs/gowin/brams_init.mk
27 $(eval $(call add_gen_share_file,share/gowin,techlibs/gowin/bram_init_16.vh))