diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-08-01 03:11:41 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-08-01 03:11:41 +0100 |
commit | d80bacfe67bbd52516878363a3e21c753dc7c328 (patch) | |
tree | 87d14e58619884622fdf36954ea92e8440b75da2 /ice40 | |
parent | 900649ce7a337dd7d3dcadf0d323302f09339325 (diff) | |
parent | b55ccc12f0b2ac964cb4ff72b191fee2c4e1bdad (diff) | |
download | nextpnr-d80bacfe67bbd52516878363a3e21c753dc7c328.tar.gz nextpnr-d80bacfe67bbd52516878363a3e21c753dc7c328.tar.bz2 nextpnr-d80bacfe67bbd52516878363a3e21c753dc7c328.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/treemodel-fast
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.cc | 2 | ||||
-rw-r--r-- | ice40/arch.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index fd68e972..f3004155 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -204,7 +204,7 @@ Arch::Arch(ArchArgs args) : args(args) // ----------------------------------------------------------------------- -std::string Arch::getChipName() +std::string Arch::getChipName() const { #ifdef ICE40_HX1K_ONLY if (args.type == ArchArgs::HX1K) { diff --git a/ice40/arch.h b/ice40/arch.h index 1d68ec4a..7efa733c 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -365,7 +365,7 @@ struct Arch : BaseCtx ArchArgs args; Arch(ArchArgs args); - std::string getChipName(); + std::string getChipName() const; IdString archId() const { return id("ice40"); } IdString archArgsToId(ArchArgs args) const; |