From 6ad2b82793ca94daf0af29841cdd58ec74b54724 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 21 Jul 2018 09:51:01 +0100 Subject: [PATCH] add spi interface --- src/bsv/peripheral_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsv/peripheral_gen.py b/src/bsv/peripheral_gen.py index 5010333..6c49f5f 100644 --- a/src/bsv/peripheral_gen.py +++ b/src/bsv/peripheral_gen.py @@ -290,7 +290,7 @@ class spi(PBase): }.get(pname, '') def pinname_outen(self, pname): - return {'ck': 1, + return {'clk': 1, 'nss': 1, 'mosi': 'out.io_enable[0]', 'miso': 'out.io_enable[1]', -- 2.30.2