adumont / hrm-cpu

Human Resource Machine - CPU Design #HRM
https://twitter.com/i/moments/1017515777610649601
GNU General Public License v3.0
72 stars 8 forks source link

Transform OUTBOX into a FIFO #5

Closed adumont closed 6 years ago

adumont commented 6 years ago

Same as with INBOX.

Modify CPU FSM: WHen in state DECODE, if INSTR = "OUTBOX", if OUBOX FIFO is full (? full == 1) then next_state <= DECODE (stay here until FIFO not full anymore)

will allow to plug a UART-TX to OUTBOX

adumont commented 6 years ago

See https://github.com/adumont/uartrx-fifo/ for a working FIFO example that could be used for OUTBOX.

adumont commented 6 years ago

Added in e28dc764