From cb767260554196bee67d309c67b967ba070fa722 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Sat, 17 Sep 2022 16:56:02 +0000 Subject: [PATCH] feat(stage2.py): Added extra 2 gpios to match the dummy pinset example --- src/spec/stage2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() -- 2.30.2