Deanonymize CSRFile's IO bundle
This commit is contained in:
parent
fd5f419eb1
commit
94c1f01ec6
@ -33,9 +33,7 @@ object CSR
|
||||
val C = Bits(3,2)
|
||||
}
|
||||
|
||||
class CSRFile(implicit conf: RocketConfiguration) extends Module
|
||||
{
|
||||
val io = new Bundle {
|
||||
class CSRFileIO(implicit conf: RocketConfiguration) extends Bundle {
|
||||
val host = new HTIFIO(conf.tl.ln.nClients)
|
||||
val rw = new Bundle {
|
||||
val addr = UInt(INPUT, 12)
|
||||
@ -60,7 +58,11 @@ class CSRFile(implicit conf: RocketConfiguration) extends Module
|
||||
val fcsr_rm = Bits(OUTPUT, FPConstants.RM_SZ)
|
||||
val fcsr_flags = Valid(Bits(width = FPConstants.FLAGS_SZ)).flip
|
||||
val rocc = new RoCCInterface().flip
|
||||
}
|
||||
}
|
||||
|
||||
class CSRFile(implicit conf: RocketConfiguration) extends Module
|
||||
{
|
||||
val io = new CSRFileIO
|
||||
|
||||
val reg_epc = Reg(Bits(width = conf.as.vaddrBits+1))
|
||||
val reg_badvaddr = Reg(Bits(width = conf.as.vaddrBits))
|
||||
|
Loading…
Reference in New Issue
Block a user