Add MulSimplePlugin regressions
This commit is contained in:
parent
b8b053e706
commit
e8236dfebe
|
@ -99,6 +99,22 @@ class MulDivDimension extends VexRiscvDimension("MulDiv") {
|
||||||
val noWriteBack = universes.contains(VexRiscvUniverse.NO_WRITEBACK)
|
val noWriteBack = universes.contains(VexRiscvUniverse.NO_WRITEBACK)
|
||||||
|
|
||||||
var l = List[VexRiscvPosition]()
|
var l = List[VexRiscvPosition]()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new VexRiscvPosition("MulDivFpgaSimple") {
|
||||||
|
override def testParam = "MUL=yes DIV=yes"
|
||||||
|
override def applyOn(config: VexRiscvConfig): Unit = {
|
||||||
|
config.plugins += new MulSimplePlugin
|
||||||
|
config.plugins += new MulDivIterativePlugin(
|
||||||
|
genMul = false,
|
||||||
|
genDiv = true,
|
||||||
|
mulUnrollFactor = 32,
|
||||||
|
divUnrollFactor = 1
|
||||||
|
)
|
||||||
|
}
|
||||||
|
} :: l
|
||||||
|
|
||||||
if(!noMemory) {
|
if(!noMemory) {
|
||||||
l = new VexRiscvPosition("MulDivAsic") {
|
l = new VexRiscvPosition("MulDivAsic") {
|
||||||
override def testParam = "MUL=yes DIV=yes"
|
override def testParam = "MUL=yes DIV=yes"
|
||||||
|
|
Loading…
Reference in New Issue