3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Set more ports explicitly

This commit is contained in:
Eddie Hung 2019-09-12 17:10:43 -07:00
parent a1123b095c
commit 3a39073302
2 changed files with 4 additions and 1 deletions

View file

@ -44,6 +44,8 @@ static Cell* addDsp(Module *module) {
cell->setParam("\\OPMODEREG", 0);
cell->setParam("\\PREG", 0);
cell->setParam("\\USE_MULT", Const("NONE"));
cell->setParam("\\USE_SIMD", Const("ONE48"));
cell->setParam("\\USE_DPORT", Const("FALSE"));
cell->setPort("\\D", Const(0, 24));
cell->setPort("\\INMODE", Const(0, 5));