Set number of idbits correctly for fpga ddr

This commit is contained in:
Jerry Zhao
2023-05-15 00:04:12 -07:00
parent f4739be632
commit 57f5168408
3 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ class VCU118FPGATestHarness(override implicit val p: Parameters) extends VCU118S
// connect 1 mem. channel to the FPGA DDR
val ddrClient = TLClientNode(Seq(TLMasterPortParameters.v1(Seq(TLMasterParameters.v1(
name = "chip_ddr",
sourceId = IdRange(0, 64)
sourceId = IdRange(0, 1 << dp(ExtTLMem).get.master.idBits)
)))))
ddrNode := ddrClient