Changes between Version 2 and Version 3 of custom_periphs/yes_PPC


Ignore:
Timestamp:
Jul 11, 2006, 11:24:42 PM (18 years ago)
Author:
snovich
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • custom_periphs/yes_PPC

    v2 v3  
    2424  7. In the *.mpd file, change the OPTION HDL parameter to it’s necessary type if any changes in the HDL-types used has been modified ->  [MIXED | VHDL | VERILOG]
    2525  8. At this point, it is probably worthwhile to import the peripheral into the XPS project and generate the bitstream for debugging. The peripheral will be non-functional, but any errors in the PAO and BBD files and/or the custom HDL will appear.
    26   9. If all generates successfully, the user may then proceed to interface their peripherals logic with the user-logic module. The method for doing this is to instantiate the custom peripheral’s top-level (not the auto-generated one) file(s) in user_logic. The rest of what goes on here is to the disgression of the programmer. Provided are just some ideas:[[BR]]
     26  9. If all generates successfully, the user may then proceed to interface their peripherals logic with the user-logic module. The method for doing this is to instantiate the custom peripheral’s top-level (not the auto-generated one) file(s) in user_logic. The rest of what goes on here is to the disgression of the programmer. Provided are just some ideas:[[BR]][[BR]]
    2727    a. If the user included FIFO/registers, and the peripheral is something like an MGT, the user can tie his/her MGT’s rx-data to one auto-generated register and the tx-data to another auto-generated register.[[BR]]
    2828    b. Tie input ports of the user’s HDL module to indeces of a register for control-support[[BR]]
    29     c. Tie output ports of a user’s HDL module for debug-support[[BR]]
     29    c. Tie output ports of a user’s HDL module for debug-support[[BR]][[BR]]
    3030  10. The template drivers that were automatically generated provide the functions for writing and reading these registers. Thus the user has been granted PowerPC control of their peripheral. Alas, there is still work to be done before the peripheral can completely work.
    3131  11. At this point, it is a good idea to re-scan the user repository, clean the hardware, and regenerate the bitstream for debugging any errors on the user’s part for tying their logic in with the auto-generated HDL.