diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2018-12-14 16:50:37 +0800 |
---|---|---|
committer | Icenowy Zheng <icenowy@aosc.io> | 2018-12-17 23:20:40 +0800 |
commit | d53a2bd1d3ae3cfbc9ead0fc12999fe269628179 (patch) | |
tree | e1381a28a5bcf902221a7a5e7016f342187e934c /techlibs/anlogic/drams.txt | |
parent | 634d7d1c1424c69d983c008cfd800c0d7db43379 (diff) | |
download | yosys-d53a2bd1d3ae3cfbc9ead0fc12999fe269628179.tar.gz yosys-d53a2bd1d3ae3cfbc9ead0fc12999fe269628179.tar.bz2 yosys-d53a2bd1d3ae3cfbc9ead0fc12999fe269628179.zip |
anlogic: add support for Eagle Distributed RAM
The MSLICEs on the Eagle series of FPGA can be configured as Distributed
RAM.
Enable to synthesis to DRAM.
As the Anlogic software suite doesn't support any 'bx to exist in the
initializtion data of DRAM, do not enable the initialization support of
the inferred DRAM.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Diffstat (limited to 'techlibs/anlogic/drams.txt')
-rw-r--r-- | techlibs/anlogic/drams.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/techlibs/anlogic/drams.txt b/techlibs/anlogic/drams.txt new file mode 100644 index 000000000..2bff14a03 --- /dev/null +++ b/techlibs/anlogic/drams.txt @@ -0,0 +1,16 @@ +bram $__ANLOGIC_DRAM16X4 + init 0 + abits 4 + dbits 2 + groups 2 + ports 1 1 + wrmode 0 1 + enable 0 1 + transp 0 0 + clocks 0 1 + clkpol 0 1 +endbram + +match $__ANLOGIC_DRAM16X4 + make_outreg +endmatch |