diff options
author | David Shah <davey1576@gmail.com> | 2018-07-19 13:22:46 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-19 13:22:46 +0200 |
commit | 6c38df7295747ddd37a751ea5de2a73e95a021d1 (patch) | |
tree | b2087ea985ac3af13df594ae51b0b26db6783e97 /ice40/arch.cc | |
parent | 0cb9ec0757c635982e0bd64f3e314786762c7483 (diff) | |
download | nextpnr-6c38df7295747ddd37a751ea5de2a73e95a021d1.tar.gz nextpnr-6c38df7295747ddd37a751ea5de2a73e95a021d1.tar.bz2 nextpnr-6c38df7295747ddd37a751ea5de2a73e95a021d1.zip |
ice40: Adding cell definition for DSPs
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 0decc513..1aa02294 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -44,8 +44,8 @@ IdString Arch::belTypeToId(BelType type) const return id("ICESTORM_PLL"); if (type == TYPE_SB_WARMBOOT) return id("SB_WARMBOOT"); - if (type == TYPE_SB_MAC16) - return id("SB_MAC16"); + if (type == TYPE_ICESTORM_DSP) + return id("ICESTORM_DSP"); if (type == TYPE_ICESTORM_HFOSC) return id("ICESTORM_HFOSC"); if (type == TYPE_ICESTORM_LFOSC) @@ -79,8 +79,8 @@ BelType Arch::belTypeFromId(IdString type) const return TYPE_ICESTORM_PLL; if (type == id("SB_WARMBOOT")) return TYPE_SB_WARMBOOT; - if (type == id("SB_MAC16")) - return TYPE_SB_MAC16; + if (type == id("ICESTORM_DSP")) + return TYPE_ICESTORM_DSP; if (type == id("ICESTORM_HFOSC")) return TYPE_ICESTORM_HFOSC; if (type == id("ICESTORM_LFOSC")) |