config default needs to be a dict not a list
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Aug 2018 04:23:19 +0000 (05:23 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Aug 2018 04:23:19 +0000 (05:23 +0100)
src/spec/base.py

index bdb50ea69d9a01ec172e27fc3defc445854fc0d1..9993f19e47263a00f59683ba2a976bf45d1cdd26 100644 (file)
@@ -6,7 +6,7 @@ from spec.ifaceprint import display_fixed
 
 class PinSpec(Pinouts):
     def __init__(self, pinbanks, fixedpins, function_names, fast=None):
-        self.fastbus = fast or []
+        self.fastbus = fast or {}
         self.pinbanks = {}
         self.muxwidths = {}
         for bank, (sz, muxwidth) in pinbanks.items():