adumont / hrm-cpu

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

Add prog mode, to input new prog via serial #38

Open adumont opened 4 years ago

adumont commented 4 years ago

Need a way to switch into prog mode via UART. (ver señales DTR o RTS) When switching to prog mode, reset PC. When in prog mode, all data received in Inbox is written sequentially (incressing PC) to PROG ram.

See this thread on FPGAwars : https://groups.google.com/d/msgid/fpga-wars-explorando-el-lado-libre/CABqu7xqtcHW25OCdn7%2B5GCJP8J14xkJJHbxkthLfOk_ZT_89pg%40mail.gmail.com?utm_medium=email&utm_source=footer

I am thinking of implementing the logic in the FSM, as an alternative branch, that way I can reuse the control path and data path to/from RX (inbox with FIFO), and PROG.

IMG_20190827_185643