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.

data read write between microblaze and custom IP using PLB

Status
Not open for further replies.

melexia

Member level 2
Joined
Jun 2, 2008
Messages
43
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,620
Hi all
I am using EDK 11.1. I have generated a TEMAC core in ISE using core generator, wrote some VHDL code to handle data packets. I have added this TEMAC core to my xmp project i.e. microblaze as a custom IP through PLB. Now my aim is to write data from microblaze to custom IP so that it will take it as data and use that data for transfer. Also whatever data is received back should get written back to microblaze through PLB only and saved inside microblaze.
I believe that as a specific memory space is allotted to custom IP whatever I am expecting it to do i.e. above mentioned is possible.
Am I going wrong somewhere.
Is it like as custom IP in this case will act as slave and hence it can not write some 1 k of data bytes back to PLB.
Please suggest if there is some other easier way to perform this task.

thanks and regards
 

I wonder why you want to do this upside down. You could instead use temac soft core in microblaze from IP category instead of custom IP. Use a memory interface between microblaze and your local bus then. Or create a memory and interface it with your Microblaze. I dont understand why you are interested in using custom IP....while it is available already as IP
 

I wonder why you want to do this upside down. You could instead use temac soft core in microblaze from IP category instead of custom IP. Use a memory interface between microblaze and your local bus then. Or create a memory and interface it with your Microblaze. I dont understand why you are interested in using custom IP....while it is available already as IP

I am using it as a custom IP because its easy to configure TEMAC using coregen. Also I get access to all its ports for debugging. While using TEMAC IP available in EDK I have to depend upon register read/write sequence, I even dont know how to do that. I feel that its bit complicated and slow.
But anyways I am now trying to use TEMAC IP from EDK only. I am successfully writing data from link_Fifo but data is not getting received back and I am clueless how will I debug it.
If you have some example code to access TEMAC from C code please give me some link.
thanks
 

well, we are using soft Temac in our project, but I dont have access to that C code as it is maintained confidential. Even I use Temac for send\receive data, but all low level and high level drivers are provided by Xilinx as well as TCP stack is provided by client.

But did you check from Xilinx if there is any example files to start with?. Also check if you can get a TCP stack for free, so that it will ease your project.
 

well, we are using soft Temac in our project, but I dont have access to that C code as it is maintained confidential. Even I use Temac for send\receive data, but all low level and high level drivers are provided by Xilinx as well as TCP stack is provided by client.

But did you check from Xilinx if there is any example files to start with?. Also check if you can get a TCP stack for free, so that it will ease your project.

Thanks for replying
I found one linux code for configuring temac. I followed same procedure but when I tried to debug my code I found that I am being able to write data to ll_fifo but TEMAC is not getting started, probably its DCM lock bit is not getting high. I am unable to figure out why it is happening cause I am using ISE 11.1 which does not support ISIM for EDK and I dont have modelsim on my PC. :(
Still I am trying to find out something simpler.
Regarding TCP I have not reached upto that level but I believe that xilinx lwIP (open source TCP stack) application example will help for that.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top