Harmonize BRAM/LUTRAM descriptions across all of Yosys.
authorwhitequark <whitequark@whitequark.org>
Wed, 1 Jan 2020 12:30:00 +0000 (12:30 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 1 Jan 2020 12:30:00 +0000 (12:30 +0000)
commit550310e2647c7aac1e49b79d9ff912436103062f
tree7627eab28fcd68104522d1623108ebb478c9aa84
parent22fe931c861aa3f557327baf9d12ec57006308d9
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
27 files changed:
techlibs/anlogic/Makefile.inc
techlibs/anlogic/dram_init_16x4.vh [deleted file]
techlibs/anlogic/drams.txt [deleted file]
techlibs/anlogic/drams_map.v [deleted file]
techlibs/anlogic/lutram_init_16x4.vh [new file with mode: 0644]
techlibs/anlogic/lutrams.txt [new file with mode: 0644]
techlibs/anlogic/lutrams_map.v [new file with mode: 0644]
techlibs/anlogic/synth_anlogic.cc
techlibs/ecp5/Makefile.inc
techlibs/ecp5/bram.txt [deleted file]
techlibs/ecp5/brams.txt [new file with mode: 0644]
techlibs/ecp5/lutram.txt [deleted file]
techlibs/ecp5/lutrams.txt [new file with mode: 0644]
techlibs/ecp5/synth_ecp5.cc
techlibs/efinix/Makefile.inc
techlibs/efinix/bram.txt [deleted file]
techlibs/efinix/brams.txt [new file with mode: 0644]
techlibs/efinix/synth_efinix.cc
techlibs/gowin/Makefile.inc
techlibs/gowin/bram.txt [deleted file]
techlibs/gowin/brams.txt [new file with mode: 0644]
techlibs/gowin/dram.txt [deleted file]
techlibs/gowin/drams_map.v [deleted file]
techlibs/gowin/lutrams.txt [new file with mode: 0644]
techlibs/gowin/lutrams_map.v [new file with mode: 0644]
techlibs/gowin/synth_gowin.cc
techlibs/intel/synth_intel.cc