Guest
#1206665
Hi there I am trying to link some custom made logic to my microblaze processor. Apparently it is not working (who would have guessed so? :D ) and I wondered if the C code I am using is correct.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
The custom logic currently contains only one latch. "Q" side of the latches is connected to the databus the "D" side to pins which are connected to dip switches. "G" is linked to Bus2IP_RdCE It is basically an inital try to read the state of the dip switches into the processor. (I know there are easier ways of doing this but it is just an inital start - the logic will become more complex later on). As the custom logic only contains 1 32-bit data register I assume that the base address is the correct one to work with. Is there any obviours error in accessing the register? If not I have to dig a bit deeper need to look in the VHDL files or the mdp file. Cheers Tobi