jenardo
Newbie level 6
I used the Microblaze as a sub-module in a certain design.
I can easily write to any of the output (or input/output) ports that I defined.
But, however, when I try to read from that port that I just wrote to, the function (XGpio_DiscreteRead) just returns zeros.
This makes debugging a very difficult issue, as I can't check that certain registers (for example) that I wrote to, were correctly written.
Note:
I used input/output port instead of just output port.
I made the bus a bidirectional one.
Reading from an input port is no problem and funtions correctly.
Any help appreciated.
Thanks.
I can easily write to any of the output (or input/output) ports that I defined.
But, however, when I try to read from that port that I just wrote to, the function (XGpio_DiscreteRead) just returns zeros.
This makes debugging a very difficult issue, as I can't check that certain registers (for example) that I wrote to, were correctly written.
Note:
I used input/output port instead of just output port.
I made the bus a bidirectional one.
Reading from an input port is no problem and funtions correctly.
Any help appreciated.
Thanks.