aboutsummaryrefslogtreecommitdiffstats
path: root/icetime
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-01-28 16:38:46 +0000
committerDavid Shah <davey1576@gmail.com>2018-01-28 16:38:46 +0000
commitdd49c058a553bfd1538539197f63847e24fab0f6 (patch)
tree9272bd806cd92f452414b1a5f0c98338380dbbed /icetime
parenta6b2ca91e58c3de2dbd403647eeea4de2915522e (diff)
downloadicestorm-dd49c058a553bfd1538539197f63847e24fab0f6.tar.gz
icestorm-dd49c058a553bfd1538539197f63847e24fab0f6.tar.bz2
icestorm-dd49c058a553bfd1538539197f63847e24fab0f6.zip
DSP related fixes
Diffstat (limited to 'icetime')
-rw-r--r--icetime/icetime.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index 51c9c03..66357fa 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -601,7 +601,8 @@ bool is_primary(std::string cell_name, std::string out_port)
std::string dsp_prefix = "SB_MAC16";
if(cell_type.substr(0, dsp_prefix.length()) == dsp_prefix)
- return true;
+ return (cell_type != "SB_MAC16_MUL_U_16X16_BYPASS" && cell_type != "SB_MAC16_MUL_U_8X8_BYPASS"
+ && cell_type != "SB_MAC16_ADS_U_16P16_BYPASS" && cell_type != "SB_MAC16_ADS_U_32P32_BYPASS");
return false;
}