From: Andrey Miroshnikov <andrey@technepisteme.xyz>
Date: Sat, 17 Sep 2022 16:56:02 +0000 (+0000)
Subject: feat(stage2.py): Added extra 2 gpios to match the dummy pinset example
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb767260554196bee67d309c67b967ba070fa722;p=pinmux.git

feat(stage2.py): Added extra 2 gpios to match the dummy pinset example
---

diff --git a/src/spec/stage2.py b/src/spec/stage2.py
index 3bbe438..2f79bcf 100644
--- a/src/spec/stage2.py
+++ b/src/spec/stage2.py
@@ -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()