Closed adrien-lessard closed 7 years ago
Hi, I have same problem with my RV32IMA configuration.
Generated Configuration String plic { priority 0xc000000; pending 0xc001000; ndevs 0; }; rtc { addr 0x200bff8; }; ram { 0 { addr 0x80000000; size 0x10000000; }; }; core { 0 { 0 { isa rv32imas; timecmp 0x2004000; ipi 0x2000000; plic { m { ie 0xc002000; thresh 0xc200000; claim 0xc200004; }; s { ie 0xc002080; thresh 0xc201000; claim 0xc201004; }; }; }; }; }; bootrom { addr 0x1000; size 0x1000; } clint { addr 0x2000000; size 0x10000; }
Ended with same error as adrien-lessard.
Any news on this issue?
Hey @zhemao can you deal with this?
I'm sorry, but we don't really have the cycles right now to support non-default configurations right now.
Problem
Building the rocket-chip on a 32-bit architecture causes a failure in
Steps to reproduce
$ cd <repo>/zedboard
$ make rocket CONFIG=Config32bitsFailure
Additional info
At the point of failure, here's the value of some relevant variables:
64 bits:
32 bits:
The line
addr(tlByteAddrBits - 1, log2Up(w/8))
in a 32-bit architecture causes to try accessingaddr
in the range(1, 2)
, which is invalid