diff options
| author | S.J.R. van Schaik <stephan@synkhronix.com> | 2021-06-03 10:53:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-03 14:53:08 +0000 |
| commit | dbde179dc53e6cc3bdde0b6b00b31446367f5451 (patch) | |
| tree | 2edad4a7a1db0d5f2c0736bb8d78bd8e1cf2323d /nmigen_boards/de0_cv.py | |
| parent | 08b1b955b1fba1f776ff233a23eb98526a8d0c39 (diff) | |
[breaking-change] Factor out PS2Resource.
Diffstat (limited to 'nmigen_boards/de0_cv.py')
| -rw-r--r-- | nmigen_boards/de0_cv.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/nmigen_boards/de0_cv.py b/nmigen_boards/de0_cv.py index 4abbe88..093b772 100644 --- a/nmigen_boards/de0_cv.py +++ b/nmigen_boards/de0_cv.py @@ -59,16 +59,10 @@ class DE0CVPlatform(IntelPlatform): hs="H8", vs="G8", attrs=Attrs(io_standard="3.3-V LVTTL")), - Resource("ps2_host", 0, # Keyboard - Subsignal("clk", Pins("D3", dir="i")), - Subsignal("dat", Pins("G2", dir="io")), - Attrs(io_standard="3.3-V LVTTL") - ), - Resource("ps2_host", 1, # Mouse - Subsignal("clk", Pins("E2", dir="i")), - Subsignal("dat", Pins("G1", dir="io")), - Attrs(io_standard="3.3-V LVTTL") - ), + PS2Resource(0, # Keyboard + clk="D3", dat="G2", attrs=Attrs(io_standard="3.3-V LVTTL")), + PS2Resource(1, # Mouse + clk="E2", dat="G1", attrs=Attrs(io_standard="3.3-V LVTTL")), *SDCardResources(0, clk="H11", cmd="B11", dat0="K9", dat1="D12", dat2="E12", dat3="C11", |
