feat(stage2.py): Added extra 2 gpios to match the dummy pinset example
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Sat, 17 Sep 2022 16:56:02 +0000 (16:56 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Sat, 17 Sep 2022 16:56:02 +0000 (16:56 +0000)
src/spec/stage2.py

index 3bbe438b50d3661e1eac7bd6afa1f3a9bf65869a..2f79bcff83de1499cd8ab798d3c65da873280e06 100644 (file)
@@ -406,7 +406,9 @@ def sim_man_pinmux():
                         "mux%d" % I2C_BANK: ["i2c", 0, "sda"]},
                  "N2": {"mux%d" % GPIO_BANK: ["gpio", 1],
                         "mux%d" % UART_BANK: ["uart", 0, "rx"],
-                        "mux%d" % I2C_BANK: ["i2c", 0, "scl"]}
+                        "mux%d" % I2C_BANK: ["i2c", 0, "scl"]},
+                 "N3": {"mux%d" % GPIO_BANK: ["gpio", 2]},
+                 "N4": {"mux%d" % GPIO_BANK: ["gpio", 3]}
                 }
     dut = ManPinmux(requested)
     vl = rtlil.convert(dut, ports=dut.ports())
@@ -425,4 +427,4 @@ def sim_man_pinmux():
     gen_gtkw_doc("top.manpinmux", dut.requested, filename)
 
 if __name__ == '__main__':
-    sim_man_pinmux()    
+    sim_man_pinmux()