diff options
author | D. Shah <dave@ds0.me> | 2021-01-29 13:30:56 +0000 |
---|---|---|
committer | D. Shah <dave@ds0.me> | 2021-02-02 17:00:32 +0000 |
commit | d792bce0fb03529ee57b6f6ed5b0c234f503e452 (patch) | |
tree | dbc54e0d44ccd0ecfcb4a8c746e00ab2bdfa148b /common/archcheck.cc | |
parent | 9614d3722929f99520c6b83600641c14ef37188b (diff) | |
download | nextpnr-d792bce0fb03529ee57b6f6ed5b0c234f503e452.tar.gz nextpnr-d792bce0fb03529ee57b6f6ed5b0c234f503e452.tar.bz2 nextpnr-d792bce0fb03529ee57b6f6ed5b0c234f503e452.zip |
ecp5: Implement IdStringList for all arch object names
This is a complete implementation of IdStringList for ECP5; excluding
the GUI (which you will have to disable for it to build).
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'common/archcheck.cc')
-rw-r--r-- | common/archcheck.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/archcheck.cc b/common/archcheck.cc index 6efa3a1e..28b0c147 100644 --- a/common/archcheck.cc +++ b/common/archcheck.cc @@ -45,7 +45,7 @@ void archcheck_names(const Context *ctx) log_info("Checking wire names..\n"); for (WireId wire : ctx->getWires()) { - IdString name = ctx->getWireName(wire); + IdStringList name = ctx->getWireName(wire); WireId wire2 = ctx->getWireByName(name); if (wire != wire2) { log_error("wire != wire2, name = %s\n", ctx->nameOfWire(wire)); @@ -64,7 +64,7 @@ void archcheck_names(const Context *ctx) #ifndef ARCH_ECP5 log_info("Checking pip names..\n"); for (PipId pip : ctx->getPips()) { - IdString name = ctx->getPipName(pip); + IdStringList name = ctx->getPipName(pip); PipId pip2 = ctx->getPipByName(name); if (pip != pip2) { log_error("pip != pip2, name = %s\n", ctx->nameOfPip(pip)); |