(no commit message)
authorlkcl <lkcl@web>
Thu, 17 Mar 2022 15:49:29 +0000 (15:49 +0000)
committerIkiWiki <ikiwiki.info>
Thu, 17 Mar 2022 15:49:29 +0000 (15:49 +0000)
HDL_workflow/HyperRAM.mdwn

index 43f1a004a6d7e9b4a702a3e723ef671bd32fb319..0beef05e6c0df6d0f044f9bb1825f1b72adfd977 100644 (file)
@@ -2,6 +2,16 @@
 
 * nmigen [hyperram.py](https://git.libre-soc.org/?p=lambdasoc.git;a=blob;f=lambdasoc/periph/hyperram.py;hb=HEAD) module
 
+```
+from nmigen.resources.memory import HyperRAMResources
+hyperram_ios = HyperRAMResources(cs_n="B1",
+                                 dq="D0 D1 D2 D3 D4 D7 D6 D7",
+                                 rwds="B2", rst_n="B3", clk_p="B4",
+                                                                attrs=IOStandard("LVCMOS33"))
+self.platform.add_extension(hyperram_ios)
+io = self.platform.request("hyperram")
+```
+
 ## 1bitsquared HyperRAM PMOD
 
 * <https://1bitsquared.de/products/pmod-hyperram>