nczempin / NICNAC16-FPGA

Learning CPU design with an old-school 16-bit FPGA implementation
0 stars 0 forks source link

implement front panel #15

Open nczempin opened 5 years ago

nczempin commented 5 years ago
  1. debounce buttons: #16
  2. toggle run vs halt
  3. READ
  4. WRITE/LOAD
  5. LOAD/WRITE
nczempin commented 5 years ago

the reference TM-16 has:

On the Basys3 board, I have:

a bunch of GPIO lines:

nczempin commented 5 years ago

A rotary switch would have to be implemented off-board, so for now I'll use a different scheme to implement the functionality behind the rotary switch plus push button:

Then I'll have two more dp to use as status LEDs (for now I'll use fetch and execute), as well as 16 bits of hex display. For now I'll just duplicate the 16 LEDs.

For the three remaining buttons I could implement some way to cycle through what is being displayed on the hex and/or LEDs. It would probably make sense then to use the remaining two dps to indicate that state.

nczempin commented 5 years ago

39

nczempin commented 5 years ago

54

nczempin commented 5 years ago

64