You are not logged in.
Pages: 1
We create the Sysgen model with all the register and gateway in/out, but how do we specify the gateway such that it will be identified as a class Interrupt port with sensitivity list, for which we will use "sysgen2opb" to convert it to OPB model and attach as a IP core in XPS?
Offline
Unfortunately, the current verison of sysgen2opb and the OPB Export Tool don't have a way to automatically identify interrupt signals in custom cores. However, it's easy to do this manully after generating your core.
After running the OPB Export Tool, open the MPD file in the pcore's data folder (named something like myCore_opbw_v2_1_0.mpd). Scroll down to the PORT entry for your interrupt signal, and add the necessary flags.
For example, if you want a rising-edge sensitive interrupt output, change the PORT line to look like:
... PORT myIntOut = "", DIR = O, SIGIS = INTERRUPT, SENSITIVITY = EDGE_RISING, INTERRUPT_PRIORITY = HIGH ...
For a complete example, look at the MPD file for our OFDM pcore.
For more details about the MPD syntax (like other sensitivity options), see the EDK's Platform Specification Format Reference Manual.
Offline
Thanks a lot for the hint.
P.S, anyway to refresh the OPB pcore without existing the project after making change to MPD files?
Offline
Choose Project->Rescan User Repositories in XPS. This forces XPS to re-read the MPD files for every core in the search path (c:\EDK\hw, c:\EDK_User_Repository\, <project_root>\pcores).
Offline
Pages: 1