~kameliya/hayasa

749c06e6ceca75680234a6485cc9b73dec45609b — Asherah Connor 8 months ago 60bb012 master
ignore
2 files changed, 9 insertions(+), 8 deletions(-)

A .gitignore
M led.py
A .gitignore => .gitignore +1 -0
@@ 0,0 1,1 @@
build

M led.py => led.py +8 -8
@@ 6,21 6,21 @@ from nmigen_boards.icebreaker import ICEBreakerPlatform
# to PMOD1A.
seven_seg_pmod = [
    Resource("seven_seg", 0,
             Subsignal("aa", PinsN("1", dir="o", conn=("pmod", 1)),
             Subsignal("aa", PinsN("1", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("ab", PinsN("2", dir="o", conn=("pmod", 1)),
             Subsignal("ab", PinsN("2", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("ac", PinsN("3", dir="o", conn=("pmod", 1)),
             Subsignal("ac", PinsN("3", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("ad", PinsN("4", dir="o", conn=("pmod", 1)),
             Subsignal("ad", PinsN("4", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("ae", PinsN("7", dir="o", conn=("pmod", 1)),
             Subsignal("ae", PinsN("7", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("af", PinsN("8", dir="o", conn=("pmod", 1)),
             Subsignal("af", PinsN("8", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("ag", PinsN("9", dir="o", conn=("pmod", 1)),
             Subsignal("ag", PinsN("9", dir="o", conn=("pmod", 0)),
                       Attrs(IO_STANDARD="SB_LVCMOS33")),
             Subsignal("ca", PinsN("10", dir="o", conn=("pmod", 1)), Attrs(IO_STANDARD="SB_LVCMOS33")))
             Subsignal("ca", PinsN("10", dir="o", conn=("pmod", 0)), Attrs(IO_STANDARD="SB_LVCMOS33")))
]