01-02-2012 06:15 PM
I'm trying to get my XPS project simulating properly. I open the system in ISE (13.2), ask it to generate a testbench and then simulate the system. All seems fine except that the micro loads a half-dozen instructions or so and then never seems to load any more.
I've simulated out to 3 ms in both isim and modelsim and i get the same result. The iLMB correctly reads the instruction at 0xBC000000 (I've checked the dissassembly in the ELF file) and then advances to 0xBC000004 but pulls the address strobe low so the read never occurs.....
Any suggestions much appreciated
01-04-2012 04:07 PM
I've upgraded to 13.3 and things have changed a little. Now the instruction bus seems to tick away happily (after 50 us or so) but apart from the first 6 or so instructions they are all zero (this matches what I see in the memory view). So it seems like the memory is not being initialised except for the first handful of bytes....
Am I missing something here?
01-08-2012 07:38 PM
After tracing through all the mem files I slowly making progress on this. It seems that data2mem is not working. If I call it from the command line with the "-d -o m mem_file.mem" set it produces a mem file that looks fine (but is of course only a single mem file) but if I do it "properly" with the "-bx" option I get a few instructions at addresses 0x0 and 0x8 and the rest of the .mem is empty.
Help please! - xilinx? anyone??
08-28-2012 02:58 AM
How you getting on with this? I'm at the same point with the Microblaze stalling at the first instruction (weirdly the same as yours in the waveform!) and using ISE 13.1. Do you know if it is a BRAM initialisation problem?