typo
This commit is contained in:
parent
c8016e90a4
commit
67d2071a32
|
@ -121,7 +121,7 @@ object VexRiscvSynthesisBench {
|
||||||
) ++ IcestormStdTargets().take(1)
|
) ++ IcestormStdTargets().take(1)
|
||||||
|
|
||||||
// val targets = IcestormStdTargets()
|
// val targets = IcestormStdTargets()
|
||||||
Bench(rtls, targets, "/media/miaou/HD/linux/tmp")
|
Bench(rtls, targets, "/media/miaou/HD/linux/tmp/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -686,7 +686,7 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep
|
||||||
|
|
||||||
|
|
||||||
//Aggregate all exception port and remove required instructions
|
//Aggregate all exception port and remove required instructions
|
||||||
val exceptionPortCtrl = if(exceptionPortsInfos.nonEmpty) new Area{
|
val exceptionPortCtrl = exceptionPortsInfos.nonEmpty generate new Area{
|
||||||
val firstStageIndexWithExceptionPort = exceptionPortsInfos.map(i => indexOf(i.stage)).min
|
val firstStageIndexWithExceptionPort = exceptionPortsInfos.map(i => indexOf(i.stage)).min
|
||||||
val exceptionValids = Vec(stages.map(s => Bool().setPartialName(s.getName())))
|
val exceptionValids = Vec(stages.map(s => Bool().setPartialName(s.getName())))
|
||||||
val exceptionValidsRegs = Vec(stages.map(s => Reg(Bool).init(False).setPartialName(s.getName()))).allowUnsetRegToAvoidLatch
|
val exceptionValidsRegs = Vec(stages.map(s => Reg(Bool).init(False).setPartialName(s.getName()))).allowUnsetRegToAvoidLatch
|
||||||
|
@ -763,7 +763,7 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep
|
||||||
//Avoid the PC register of the last stage to change durring an exception handleing (Used to fill Xepc)
|
//Avoid the PC register of the last stage to change durring an exception handleing (Used to fill Xepc)
|
||||||
stages.last.dontSample.getOrElseUpdate(PC, ArrayBuffer[Bool]()) += exceptionValids.last
|
stages.last.dontSample.getOrElseUpdate(PC, ArrayBuffer[Bool]()) += exceptionValids.last
|
||||||
exceptionPendings := exceptionValidsRegs
|
exceptionPendings := exceptionValidsRegs
|
||||||
} else null
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue