add master-only spi and quad-spi
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 13:23:23 +0000 (14:23 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 13:23:23 +0000 (14:23 +0100)
src/bsv/peripheral_gen/nspi.py

index a9b61b468693cc027cb56ec8449ab68f64d529e6..dadd7ca3978529375cc2b96c90a51c4ff16ac9b1 100644 (file)
@@ -5,8 +5,6 @@ class nspi(PBase):
 
     def __init__(self, name, masteronly):
         PBase.__init__(self, name)
-        if masteronly:
-            name = "m" + name
         self.ifndict = {'N': name.upper(), 'n': name}
         self.masteronly = masteronly
         assert masteronly, "Only master only %s supported for now" % name