UART is a universal serial communication protocol that transmits data serially between systems. It is an interface that sends out usually a byte at a time. This interface is a simple way to connect an FPGA to a PC. We just need a transmitter and receiver module. The transmitter is essentially a special shift register that loads data in parallel and then shifts it out bit by bit at a specific rate. The receiver, on the other hand, shifts in data bit by bit and then reassembles the data.
-
Icarus-Verilog can be installed via Homebrew :
$ brew install icarus-verilog
-
Download Scansion from here.
-
Clone the repository.
-
Run
$ make
and type MIPS code to see it in binary form in rams_init_file.hex file. -
$ make simulate
will:
- compile design+TB
- simulate the verilog design
$ make display
will:
- display waveforms.