aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/blackice_ii.py
diff options
context:
space:
mode:
authorGuzTech <GuzTech@users.noreply.github.com>2020-11-26 15:50:00 +0100
committerGitHub <noreply@github.com>2020-11-26 14:50:00 +0000
commitb40c3d6cb20081ff8941fc4addef92170ffb01a9 (patch)
tree77ec275eeedadcce9a0b621cb4ae5c8db32211a3 /nmigen_boards/blackice_ii.py
parentb90a89da7c3878ee10db3cb2d10f13aa2bbb85c3 (diff)
[breaking-change] Add `_n` suffix to argument names of pins with fixed inverters.
Note: this change does NOT affect pin functionality or naming, and does not require modifying your design. It does however affect some board files, where keywords corresponding to active low pins will have to be adjusted: SPIResource(0, cs="C1", ...) → SPIResource(0, cs_n="C1", ...) The new naming scheme will make it easier to write and audit board files by clearly marking inverted pins in resource factories, similarly to how `PinsN` indicates the same in bare resources. Fixes #129.
Diffstat (limited to 'nmigen_boards/blackice_ii.py')
-rw-r--r--nmigen_boards/blackice_ii.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/blackice_ii.py b/nmigen_boards/blackice_ii.py
index 2187d60..f05b063 100644
--- a/nmigen_boards/blackice_ii.py
+++ b/nmigen_boards/blackice_ii.py
@@ -35,10 +35,10 @@ class BlackIceIIPlatform(LatticeICE40Platform):
),
SRAMResource(0,
- cs="136", oe="29", we="120",
+ cs_n="136", oe_n="29", we_n="120",
a="137 138 139 141 142 42 43 44 73 74 75 76 115 116 117 118 119 78",
d="136 135 134 130 125 124 122 121 62 61 60 56 55 48 47 45",
- dm="24 28",
+ dm_n="24 28",
attrs=Attrs(IO_STANDARD="SB_LVCMOS"),
),
]