Makni
Junior Member level 1
- Joined
- Dec 26, 2013
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 114
Hi everybody,
I'm working with EDK 12.4 and ML507 VIRTEX5 board and I'm implementing a custom processor (written in Verilog) that uses RAM which is created from Block RAMs. I have connected my custom processor (slave) to a MicroBlaze (master) via FSL BUS.
Then, I have written the BMM file "by hand" looking up the number and names of your BRAMs in my routed design, with Planahead.
After that, I used the data2mem tool to turn my c code into a .MEM file and then combine this with my .BIT file to produce a new .BIT file.
My problem is when I use C to send data from microblaze to my custom processor and read data from my processor by FSL using :
microblaze_bwrite_datafsl(val , 0); //to send data
microblaze_bread_datafsl(res , 0);//to read data
I don't get any display of result in the terminal and the code is crashed on the instructions below. Giving that I have simulated my processor in ISE and it works very well.
Thanks in advance.
I'm working with EDK 12.4 and ML507 VIRTEX5 board and I'm implementing a custom processor (written in Verilog) that uses RAM which is created from Block RAMs. I have connected my custom processor (slave) to a MicroBlaze (master) via FSL BUS.
Then, I have written the BMM file "by hand" looking up the number and names of your BRAMs in my routed design, with Planahead.
After that, I used the data2mem tool to turn my c code into a .MEM file and then combine this with my .BIT file to produce a new .BIT file.
My problem is when I use C to send data from microblaze to my custom processor and read data from my processor by FSL using :
microblaze_bwrite_datafsl(val , 0); //to send data
microblaze_bread_datafsl(res , 0);//to read data
I don't get any display of result in the terminal and the code is crashed on the instructions below. Giving that I have simulated my processor in ISE and it works very well.
Thanks in advance.