Fix MulPlugin keep attribute

This commit is contained in:
Charles Papon 2020-02-24 22:43:08 +01:00
parent 999a868c14
commit 76d063f20a
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ class MulPlugin(inputBuffer : Boolean = false) extends Plugin[VexRiscv]{
Component.current.afterElaboration{
//Avoid synthesis tools to retime RS1 RS2 from execute stage to decode stage leading to bad timings (ex : Vivado, even if retiming is disabled)
KeepAttribute(input(RS1).getDrivingReg)
KeepAttribute(input(RS2).getDrivingReg)
KeepAttribute(input(RS1))
KeepAttribute(input(RS2))
}
}