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 CsrAccess._

View File

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