add spi interface
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 21 Jul 2018 08:51:01 +0000 (09:51 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 21 Jul 2018 08:51:01 +0000 (09:51 +0100)
src/bsv/peripheral_gen.py

index 5010333050b0467041e74d7839e32f3987c1e5a7..6c49f5fec175af2318cb012643f9aa32174f4c56 100644 (file)
@@ -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]',