Allow CsrPlugin config access

This commit is contained in:
Charles Papon 2019-05-22 17:27:47 +02:00
parent 8abc06c8f2
commit 9b49638654
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ trait IContextSwitching{
def isContextSwitching : Bool
}
class CsrPlugin(config: CsrPluginConfig) extends Plugin[VexRiscv] with ExceptionService with PrivilegeService with InterruptionInhibitor with ExceptionInhibitor with IContextSwitching with CsrInterface{
class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with ExceptionService with PrivilegeService with InterruptionInhibitor with ExceptionInhibitor with IContextSwitching with CsrInterface{
import config._
import CsrAccess._