DE2-115 FPGA image change requests (to help with debugging)
Bill Henning
Posts: 6,445
Chip,
If it does not take too much time, the following changes would make debugging easier:
1) writing to INA (ie writing to shadow register there)
bit 0 - 7 ==> Green LED 0..7
2) writing to INB (which should not interfere with the SDRAM output pins there)
bit 0 - bit 17 ==> LED 0..17
This would allow us to display a hub address with a simple
mov ina,D/#/##
3) writing to INC
write 32 bit value to the eight seven segment LED's as eight hex digits
By writing to the INx port, we are only affecting shadow registers, and since the LED's would reflect the shadow registers, it would not interfere with other uses (debugger?) of the shadow registers.
If it does not take too much time, the following changes would make debugging easier:
1) writing to INA (ie writing to shadow register there)
bit 0 - 7 ==> Green LED 0..7
2) writing to INB (which should not interfere with the SDRAM output pins there)
bit 0 - bit 17 ==> LED 0..17
This would allow us to display a hub address with a simple
mov ina,D/#/##
3) writing to INC
write 32 bit value to the eight seven segment LED's as eight hex digits
By writing to the INx port, we are only affecting shadow registers, and since the LED's would reflect the shadow registers, it would not interfere with other uses (debugger?) of the shadow registers.