15 Dec 2011 18:49
Re: [ORLinux] [OpenRISC] Memory Init that allows Linux simulation
Julius Baxter <juliusbaxter <at> gmail.com>
2011-12-15 17:49:19 GMT
2011-12-15 17:49:19 GMT
On Thu, Dec 15, 2011 at 5:10 PM, Matthew Hicks <firefalcon <at> gmail.com> wrote: > On Thu, Dec 15, 2011 at 10:09 AM, Julius Baxter <juliusbaxter <at> gmail.com> > wrote: >> >> On Thu, Dec 15, 2011 at 3:57 PM, Matthew Hicks <firefalcon <at> gmail.com> >> wrote: >> > The method I used is just as synthesizable as the readmem tasks, plus >> > you >> > don't need to keep an external file. The method I used is also more >> > modular >> > and scalable than readmem. >> > >> > I agree that a better fix is to correct the OR32 boot code, but I also >> > like >> > initializing the memories to make RTL simulation closer to hardware >> > execution. >> > >> >> If you want to make the RTL simulation closer to what you experience >> with hardware, I would fill the RAMs with random values, not zeroes. >> > I agree. > >> >> Sometimes it's good to have X go everywhere, because it doesn't let >> you get away with not initialising things properly. In this case I >> think X is a good thing. >> > I agree here to, but when the software doesn't initialize things properly, > it is a pain to debug. The simulation doesn't just stop, it locks.(Continue reading)
RSS Feed