aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pack.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-11-13 14:17:40 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:28 +0000
commitd9a19897c4f236906632e2d1c53bffebd3f9dacc (patch)
tree65294b6ba71aa8ebeed62dcad5212f5b9fd5bc72 /nexus/pack.cc
parent094bf419d4b7aa62a606b8c7bdbcfc1fc63cacf7 (diff)
downloadnextpnr-d9a19897c4f236906632e2d1c53bffebd3f9dacc.tar.gz
nextpnr-d9a19897c4f236906632e2d1c53bffebd3f9dacc.tar.bz2
nextpnr-d9a19897c4f236906632e2d1c53bffebd3f9dacc.zip
nexus: More DSP primitive config
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/pack.cc')
-rw-r--r--nexus/pack.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index d39a1c89..811a7c3a 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -1393,6 +1393,22 @@ struct NexusPacker
cell->params[id_SIGNEDSTATIC_EN] = std::string("DISABLED");
cell->params[id_SR_18BITSHIFT_EN] = std::string("DISABLED");
cell->params[id_SUBSTRACT_EN] = std::string("SUBTRACTION");
+ } else if (type == id_MULT9_CORE) {
+ cell->params[id_ASIGNED_OPERAND_EN] = std::string("DISABLED");
+ cell->params[id_BYPASS_MULT9] = std::string("DISABLED");
+ cell->params[id_GSR] = std::string("DISABLED");
+ cell->params[id_REGBYPSA1] = std::string("DISABLED");
+ cell->params[id_REGBYPSA2] = std::string("DISABLED");
+ cell->params[id_REGBYPSB] = std::string("DISABLED");
+ cell->params[id_RESET] = std::string("SYNC");
+ cell->params[id_GSR] = std::string("DISABLED");
+ cell->params[id_SHIFTA] = std::string("DISABLED");
+ cell->params[id_SIGNEDSTATIC_EN] = std::string("DISABLED");
+ cell->params[id_SR_18BITSHIFT_EN] = std::string("DISABLED");
+ } else if (type == id_REG18_CORE) {
+ cell->params[id_GSR] = std::string("DISABLED");
+ cell->params[id_REGBYPS] = std::string("BYPASS");
+ cell->params[id_RESET] = std::string("SYNC");
}
return cell;
}