Change MIF_DATA_BITS back to 64
It turns out the Chisel C++ backend can't emit correct initialization code for a 128 bit wide NastiROM. Rather than trying to fix Chisel, I'm just going to hack up the backup memory port Verilog harness a bit more to make it work. Note that the backup memory port Verilog already couldn't take arbitrary parameters for MIF_*, so it's not like we're losing any flexibility here.
This commit is contained in:
@ -93,7 +93,7 @@ class DefaultConfig extends Config (
|
||||
// Bits added by NASTI interconnect
|
||||
max(log2Up(site(MaxBanksPerMemoryChannel)),
|
||||
(if (site(UseDma)) 3 else 2)))
|
||||
case MIFDataBits => Dump("MIF_DATA_BITS", 128)
|
||||
case MIFDataBits => Dump("MIF_DATA_BITS", 64)
|
||||
case MIFAddrBits => Dump("MIF_ADDR_BITS",
|
||||
site(PAddrBits) - site(CacheBlockOffsetBits))
|
||||
case MIFDataBeats => site(CacheBlockBytes) * 8 / site(MIFDataBits)
|
||||
|
Reference in New Issue
Block a user