periphery: a handy trait to turn-off ExtMem
This commit is contained in:
parent
30e890b480
commit
a670f63c81
@ -72,6 +72,14 @@ trait PeripheryExtInterruptsModule {
|
||||
|
||||
/////
|
||||
|
||||
trait PeripheryNoMem extends TopNetwork {
|
||||
private val channels = p(BankedL2Config).nMemoryChannels
|
||||
require (channels == 0)
|
||||
val mem = Seq()
|
||||
}
|
||||
|
||||
/////
|
||||
|
||||
trait PeripheryMasterAXI4Mem {
|
||||
this: TopNetwork =>
|
||||
val module: PeripheryMasterAXI4MemModule
|
||||
|
Loading…
Reference in New Issue
Block a user