Rename MachineCsr plugin into CsrPlugin

This commit is contained in:
Charles Papon 2017-05-07 22:26:17 +02:00
parent 392f3a7d8c
commit 579e93bb5a
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ case class CsrMapping(){
class MachineCsr(config : MachineCsrConfig) extends Plugin[VexRiscv] with ExceptionService with PrivilegeService{ class CsrPlugin(config : MachineCsrConfig) extends Plugin[VexRiscv] with ExceptionService with PrivilegeService{
import config._ import config._
import CsrAccess._ import CsrAccess._

View File

@ -176,7 +176,7 @@ object TopLevel {
// new HazardSimplePlugin(false, false, false, false), // new HazardSimplePlugin(false, false, false, false),
new MulPlugin, new MulPlugin,
new DivPlugin, new DivPlugin,
new MachineCsr(csrConfigAll), new CsrPlugin(csrConfigAll),
new BranchPlugin( new BranchPlugin(
earlyBranch = false, earlyBranch = false,
catchAddressMisaligned = true, catchAddressMisaligned = true,
@ -304,7 +304,7 @@ object TopLevel {
virtualRange = _(31 downto 28) === 0xC, virtualRange = _(31 downto 28) === 0xC,
ioRange = _(31 downto 28) === 0xF ioRange = _(31 downto 28) === 0xF
), ),
new MachineCsr(csrConfigSmall), new CsrPlugin(csrConfigSmall),
new DecoderSimplePlugin( new DecoderSimplePlugin(
catchIllegalInstruction = false catchIllegalInstruction = false
), ),