2016-11-01 05:31:13 -05:00
|
|
|
|
|
|
|
OBJS += techlibs/gowin/synth_gowin.o
|
2019-04-12 23:40:02 -05:00
|
|
|
|
2020-04-24 13:24:10 -05:00
|
|
|
GENFILES += techlibs/gowin/bram_init_16.vh
|
2016-11-01 05:31:13 -05:00
|
|
|
|
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/cells_map.v))
|
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/cells_sim.v))
|
2018-12-03 20:08:35 -06:00
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/arith_map.v))
|
2019-04-12 23:40:02 -05:00
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/brams_map.v))
|
Harmonize BRAM/LUTRAM descriptions across all of Yosys.
This commit:
* renames all remaining instances of "DRAM" (which is ambiguous)
to "LUTRAM" (which is not), finishing the work started in
the commit 698ab9be;
* renames memory rule files to brams.txt/lutrams.txt;
* adds/renames script labels map_bram/map_lutram;
* extracts where necessary script labels map_ffram and map_gates;
* adds where necessary options -nobram/-nolutram.
The end result is that BRAM/LUTRAM/FFRAM aspects of every target
are now consistent with each other.
Per architecture:
* anlogic: rename drams.txt→lutrams.txt, add -nolutram, add
:map_lutram, :map_ffram, :map_gates
* ecp5: rename bram.txt→brams.txt, lutram.txt→lutrams.txt
* efinix: rename bram.txt→brams.txt, add -nobram, add :map_ffram,
:map_gates
* gowin: rename bram.txt→brams.txt, dram.txt→lutrams.txt,
rename -nodram→-nolutram (-nodram still recognized), rename
:bram→:map_bram, :dram→:map_lutram, add :map_ffram, :map_gates
2020-01-01 06:30:00 -06:00
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/brams.txt))
|
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/lutrams_map.v))
|
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/lutrams.txt))
|
2019-04-12 23:40:02 -05:00
|
|
|
|
|
|
|
$(eval $(call add_share_file,share/gowin,techlibs/gowin/brams_init3.vh))
|
2016-11-01 05:31:13 -05:00
|
|
|
|
2019-09-05 10:25:51 -05:00
|
|
|
EXTRA_OBJS += techlibs/gowin/brams_init.mk
|
|
|
|
.SECONDARY: techlibs/gowin/brams_init.mk
|
|
|
|
|
|
|
|
techlibs/gowin/brams_init.mk: techlibs/gowin/brams_init.py
|
|
|
|
$(Q) mkdir -p techlibs/gowin
|
|
|
|
$(P) python3 $<
|
|
|
|
$(Q) touch $@
|
|
|
|
|
|
|
|
techlibs/gowin/bram_init_16.vh: techlibs/gowin/brams_init.mk
|
|
|
|
$(eval $(call add_gen_share_file,share/gowin,techlibs/gowin/bram_init_16.vh))
|