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