Forum Discussion
Altera_Forum
Honored Contributor
21 years agoQUARTUS 4.2 NIOS 1.1 UPDATE PROBLEM
After update to Quartus 4.2 and Nios 1.1 I have a problem with an 8-Bit Slave (user logic) the adress lines are connected as follows CPU A 9 8 7 6 5 4 3 2 1 ...
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.