对FSMC的外部IO仿真接线
This commit is contained in:
@@ -160,12 +160,10 @@ class FSMC2TileLink(implicit p: Parameters) extends LazyModule{
|
||||
val io = IO(new FSMC_Port_Bundle)
|
||||
|
||||
val ( fsmc_bus, fsmc_edge ) = fsmcNode.in.head
|
||||
// val tla = Wire(new DecoupledIO(new TLBundleA(fsmc_edge.bundle)))
|
||||
// val tld = Wire(new DecoupledIO(new TLBundleD(fsmc_edge.bundle)))
|
||||
|
||||
val sram = Module(new MirrorSRAMDP())
|
||||
//assert( ~(sram.io.enwA & sram.io.enrA) )
|
||||
//assert( ~(sram.io.enwB & sram.io.enrB) )
|
||||
assert( ~(sram.io.enwA & sram.io.enrA) )
|
||||
assert( ~(sram.io.enwB & sram.io.enrB) )
|
||||
sram.io.clockA := clock.asBool //system
|
||||
sram.io.clockB := clock.asBool //system
|
||||
|
||||
|
||||
Reference in New Issue
Block a user