Like the title for the question states, I am trying to figure out how to get a microsecond timer in baremetal for the HPS. I have a DE0-Nano-SoC and I've been looking around but I can't seem to find any examples that do such a thing.
Go to this Page:
From the left side, select SoC Design example, you will get all the Baremetal applications.
One of these applications is the Timer. You can take a look at this design,