mirror of https://github.com/YosysHQ/yosys.git
Set more ports explicitly
This commit is contained in:
parent
a1123b095c
commit
3a39073302
|
@ -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));
|
||||
|
|
|
@ -25,7 +25,8 @@ module \$__MUL25X18 (input [24:0] A, input [17:0] B, output [42:0] Y);
|
|||
.OPMODEREG(0),
|
||||
.PREG(0),
|
||||
.USE_MULT("MULTIPLY"),
|
||||
.USE_SIMD("ONE48")
|
||||
.USE_SIMD("ONE48"),
|
||||
.USE_DPORT("FALSE")
|
||||
) _TECHMAP_REPLACE_ (
|
||||
//Data path
|
||||
.A({{5{A[24]}}, A}),
|
||||
|
|
Loading…
Reference in New Issue