From 1faf631b0eb5940e6a87768d11c1fffa6dbc02db Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 18 Sep 2019 04:25:03 +0000 Subject: [PATCH] numato_mimas: add spi_flash#0 resource. --- nmigen_boards/numato_mimas.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nmigen_boards/numato_mimas.py b/nmigen_boards/numato_mimas.py index 085a319..a85abc3 100644 --- a/nmigen_boards/numato_mimas.py +++ b/nmigen_boards/numato_mimas.py @@ -43,6 +43,11 @@ class NumatoMimasPlatform(XilinxSpartan6Platform): Attrs(IOSTANDARD="LVCMOS33", PULLUP="TRUE")), Resource("user_btn", 3, Pins("P120", dir="i"), Attrs(IOSTANDARD="LVCMOS33", PULLUP="TRUE")), + + *SPIFlashResources(0, + cs="P38", clk="P70", mosi="P64", miso="65", + attrs=Attrs(IOSTANDARD="LVCMOS33") + ), ] connectors = [ Connector("p", 1, -- 2.30.2