From: lkcl Date: Thu, 17 Mar 2022 15:49:29 +0000 (+0000) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3026 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50e8859c89197e4b1b2dbf3d6b897a1cc64498d1;p=libreriscv.git --- diff --git a/HDL_workflow/HyperRAM.mdwn b/HDL_workflow/HyperRAM.mdwn index 43f1a004a..0beef05e6 100644 --- a/HDL_workflow/HyperRAM.mdwn +++ b/HDL_workflow/HyperRAM.mdwn @@ -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 *