aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pins.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-12-02 17:07:34 +0000
committerDavid Shah <dave@ds0.me>2020-12-02 17:07:34 +0000
commit270efdca8571a58c6ec40dbe27247f6a30fb62fb (patch)
treee452061dc9cf7f682ce7d16e0e69fb54a94ecf91 /nexus/pins.cc
parent86e6a2225c57cf26961efa92ba82b4e59ad53fda (diff)
downloadnextpnr-270efdca8571a58c6ec40dbe27247f6a30fb62fb.tar.gz
nextpnr-270efdca8571a58c6ec40dbe27247f6a30fb62fb.tar.bz2
nextpnr-270efdca8571a58c6ec40dbe27247f6a30fb62fb.zip
nexus: Add basic LRAM support (no init)
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/pins.cc')
-rw-r--r--nexus/pins.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/nexus/pins.cc b/nexus/pins.cc
index 05bffb1e..5586aeea 100644
--- a/nexus/pins.cc
+++ b/nexus/pins.cc
@@ -168,7 +168,16 @@ static const std::unordered_map<IdString, Arch::CellPinsData> base_cell_pin_data
{id_ENEXT, PINSTYLE_DEDI},
{{}, PINSTYLE_CIB},
}},
-};
+ {id_LRAM_CORE,
+ {
+ {id_CLK, PINSTYLE_CLK}, {id_CEA, PINSTYLE_CE}, {id_CEB, PINSTYLE_CE},
+ {id_OCEA, PINSTYLE_PU}, {id_OCEB, PINSTYLE_PU}, {id_CSA, PINSTYLE_CE},
+ {id_CSB, PINSTYLE_CE}, {id_RSTA, PINSTYLE_LSR}, {id_RSTB, PINSTYLE_LSR},
+ {id_WEA, PINSTYLE_LSR}, {id_WEB, PINSTYLE_LSR}, {id_IGN, PINSTYLE_PU},
+ {id_INITN, PINSTYLE_PU}, {id_STDBYN, PINSTYLE_PU}, {id_TBISTN, PINSTYLE_PU},
+ {id_SCANCLK, PINSTYLE_DEDI}, {id_SCANRST, PINSTYLE_DEDI}, {id_OPCGLDCK, PINSTYLE_DEDI},
+ {{}, PINSTYLE_CIB},
+ }}};
} // namespace
void Arch::init_cell_pin_data() { cell_pins_db = base_cell_pin_data; }