summaryrefslogtreecommitdiff
path: root/techlibs/ecp5/dram.txt
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/ecp5/dram.txt')
-rw-r--r--techlibs/ecp5/dram.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/techlibs/ecp5/dram.txt b/techlibs/ecp5/dram.txt
new file mode 100644
index 00000000..b3252fa9
--- /dev/null
+++ b/techlibs/ecp5/dram.txt
@@ -0,0 +1,16 @@
+bram $__TRELLIS_DPR16X4
+ init 1
+ abits 4
+ dbits 4
+ groups 2
+ ports 1 1
+ wrmode 0 1
+ enable 0 1
+ transp 0 0
+ clocks 0 1
+ clkpol 0 2
+endbram
+
+match $__TRELLIS_DPR16X4
+ make_outreg
+endmatch