+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 6
    Points: 886, Level: 6

    Join Date
    Apr 2008
    Posts
    12
    Helped
    0 / 0
    Points
    886
    Level
    6

    Information about custom peripheral in microblaze

    hi
    do anybody have idea about custom periperal in microblaze.

    if so passs some information

    •   AltAdvertisment

        
       

  2. #2
    Member level 2
    Points: 1,655, Level: 9

    Join Date
    Oct 2005
    Location
    mumbai
    Posts
    51
    Helped
    4 / 4
    Points
    1,655
    Level
    9

    Re: microblaze

    You have to make a OPB wrapper for making a custom peripheral which will communicate with microblaze. XPS has a tool for generating this wrapper. It will give you an interface for your peripheral.



    •   AltAdvertisment

        
       

  3. #3
    Newbie level 6
    Points: 886, Level: 6

    Join Date
    Apr 2008
    Posts
    12
    Helped
    0 / 0
    Points
    886
    Level
    6

    Re: microblaze

    hi
    i hve generat a opb peripheral with help mannual.
    i got the USER_LOGIC.VHDL
    i dnt hve an idea of what to edit .

    cn u help me



    •   AltAdvertisment

        
       

  4. #4
    Member level 2
    Points: 1,655, Level: 9

    Join Date
    Oct 2005
    Location
    mumbai
    Posts
    51
    Helped
    4 / 4
    Points
    1,655
    Level
    9

    Re: microblaze

    I have not really worked on any of such projects. But to my understanding, you can create your own peripheral using the interface (port-map) provided by the OPB wrapper. You will get clock, din, dout, address etc. signals in that wrapper. Your peripheral will occupy some memory spaces in the OPB address map. You can access your peripheral using the memory assigned to your peripheral from the C-code in microblaze.
    If you are using microblaze and OPB wrapper for the first time, u can start with some LED blinking code in your peripheral. It will help you to understand the OPB wrapper and the interface. Once you are capable of establishing communication between microblaze and the peripheral using OPB bus, that too from C-code on microblaze, you can go ahead with more complex functionality in your peripheral.

    Look for some sample project from Xilinx.



--[[ ]]--