Forum Discussion
Altera_Forum
Honored Contributor
21 years agoIORD and IOWR does the multiplication by 4 for you (it's a macro). So if you use those then you don't need to multiply it (MiR was probably talking directly to the peripheral and had to do the multiplication factor of 4 manually).
Can you probe the address pins and figure out what is coming out? If you write to the base address of the peripheral you should see an address of 0 come out of the system, if you write to base + 4 then you should see address 1 come out of the system, .... and so on.