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/rz_easyfpga_a2_2.py | |
| parent | 08b1b955b1fba1f776ff233a23eb98526a8d0c39 (diff) | |
[breaking-change] Factor out PS2Resource.
Diffstat (limited to 'nmigen_boards/rz_easyfpga_a2_2.py')
| -rw-r--r-- | nmigen_boards/rz_easyfpga_a2_2.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nmigen_boards/rz_easyfpga_a2_2.py b/nmigen_boards/rz_easyfpga_a2_2.py index 892b546..1babc07 100644 --- a/nmigen_boards/rz_easyfpga_a2_2.py +++ b/nmigen_boards/rz_easyfpga_a2_2.py @@ -54,10 +54,7 @@ class RZEasyFPGAA2_2Platform(IntelPlatform): ), # PS2 port, located on upper right of the board. - Resource("ps2_host", 0, - Subsignal("clk", Pins("119", dir="io")), - Subsignal("dat", Pins("120", dir="io")), - ), + PS2Resource(0, clk="119", dat="120"), # LM75 temperature sensor I2CResource(0, scl="112", sda="113"), |
