I'm running a the wishbone interface with the picoblaze inside the FPGA. Within the code is a FIFO that outputs to a port at address 0x0010. At 0x0000 I can read 0xdead and 0x0001 0Xbeef. Everything is wonderful! Of course when I run devmem2 with an address of 0x5000_0000 which according to the TDM matches up with the GPMC I get 0x60? What's most confusing is that when I look at the source the two programs look almost identical. What am I missing? Even more at issues is why can I run wb_util I read at address 0x0000_0000 which should match up with 0x5000_0000 according to the TDM. I don't find a reference to the GPMC address anywhere in the source code. How and where is the address of the GPMC passed?
What the hell is going on? What am I missing?
Comments
0x01000000 (in generic.h file of the logibone_mem driver code).