Altera_Forum
Honored Contributor
8 years agoQsys Custom Peripheral Memory Mapping
Hello everyone,
I am a complete newbie with Altera Qsys and Nios as I've only done the basic tutorials. Currently I am trying to use a clock circuit which sends an interrupt signal to a Nios II processor when it reaches a specific value and resets. I am familiar with how to set up memory mapped buses in Qsys for custom peripherals but have no idea of how to setup a peripheral that I'm not writing to or reading from. My questions are: - What control signal can be used as an enable for a counter in the Qsys custom component creator? - Once I have created a custom Qsys component how do I know where each control pin (enable, reset, clock) are when I'm trying to write to the same component in Nios II code? Ideally I would like to create an enable and disable counter function for the Nios which switch the enable pin on and off on the counter while also resetting the counter every time I want to enable it. Any help would be greatly appreciated