Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 610 Bytes

uart-a-universal-asynchronous-receiver-transmitter.md

File metadata and controls

14 lines (7 loc) · 610 Bytes

UART (a universal asynchronous receiver-transmitter)

This is step 7 of the book Writing a RISC-V Emulator from Scratch in 10 Steps, whose goal is running xv6, a small Unix-like OS, in your emulator in the final step.

The source code is available at d0iasm/rvemu-for-book/step07/.

Goal of This Page

In the end of this page, we can support a universal asynchronous receiver-transmitter (UART) as one of CPU's peripheral devices.

Testing

// TODO: print "Hello, world!" and echoback