03-24-2011 08:12 AM
Hi. I think I have a pretty basic question here. I've built a new peripheral and imported it successfully into my Micorblaze design. I'm on the spartan 3a starter kit, so I opened the SDK and used it to automatically create the peripheral test application. (it goes through all of the peripherals and creates an application testing them). Well, my new peripheral's base address and offset is listed in xparameters.h. Was a basic application created for me accessing the read/write registers of my custom peripheral, or do I need to create one myself? If so, which functions do I use to read/write to it? I've read there are some functions called _mwrite() and _mread(). where do I find their definitions? Thanks.