Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

simulation a custom peripheral

Status
Not open for further replies.

mahound

Newbie level 5
Joined
Feb 14, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,376
hi
I want to create a microblaze and add a custom peripheral such as some registers. and also the value of registers are changed by C program in SDK. eventually, I want to simulate the project.
I made this project in PlanAhead 14.2 and simulated it. but there is some problems: I can't see any changes in the value of registers in output of simulation while these values are changed in C program.
is there any tutorial (as video or documentation) that it shows a similar project?? (indeed, I want to simulate it!!)
 

Yes there is plenty of tutorial but may i solve your problem earlier.Are you use XPS?
 

You might not have run the simulation for a long enough period of time.

My take on this is if you want to build a microblaze system. Run submodule simulations on the custom peripheral and then stick it into a XPS system with the microblaze, and download the image onto a board to test it. Running simulations that take 100's of ms to run are no fun.

Regards
 

I run it for 1 second but there wasn't any change!!
I prefer to simulate because it isn't possible for me to have a board. hence I want to simulate my project and that is foremost for me.

kind regards
 

Did you load your RAM with the compiled sw image?

Make sure you see address/data for the BRAM that is used as the reset vector. If you don't see the correct data or you see the microblaze fetching U's or X's then you'll need to determine why the BRAM initialization isn't done.
 

Did you load your RAM with the compiled sw image?

Make sure you see address/data for the BRAM that is used as the reset vector. If you don't see the correct data or you see the microblaze fetching U's or X's then you'll need to determine why the BRAM initialization isn't done.

thanks for reply
I don't have anyidea about loading RAM!! I thought that the operation will be done automatically.
How can it be loaded?

indeed, I must say that I follow the instruction of PDF which is attached here. there isn't any words about loading RAM!
 

Attachments

  • AXI_DDR3_SIM_PA.pdf
    325.2 KB · Views: 26

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top