I'm using a design which contains a microblaze system as submodule. In the microblaze design there are interrupt used. These interrupts are global ports in the MHS file. What should I do with these ports in the toplevel design? The interrupts are generated by OPB devices which exists inside the microblaze system. So I don't need them in my toplevel design. Actually, the question is: should the toplevel, which includes the microblaze as a component, contain all ports specified in the MHS file?
You can specify in the .mhs file which signals you want to bring out to the entity of the submodule. Only bring out signals that you use and need in the top-level.
You should be aware that the default scope setting for all ports in XPS is 'external' although most ports are only needed 'internal'. So when you are generating your mhs using XPS alway remember to set them 'internal'. i.e when you are using Projects -> Add/edit Cores to add your components in the ports tap always remember to double click the scope colums an set your signals internal. Sometimes it gets very anoying when you forget to do so, as every other port usings this signal is set back to external. The more convinient way, of course, will be writing you mhs by hand using an text editor. This is a bit of a struggle in the beginning, but will your spare a lot of trouble with xps
Erik
******************************************** Erik Hansen SHF Communication Technologies AG edothansenatshfdotbiz
********************************************
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.