Description: This project provides two modules rx and tx. They can be used to interface your fpga with a uart.
For example, you may want to connect your FPGA to a max232 and communicate with your computer via a DB9 serial cable. I myself use a little USB to TLL bridge with a PL2303 chip.
There are two modules with the following common:
- The
clkshould be 4x your desired baud rate (used for oversampling) - There
res_nsignal is a active low asynchronous reset
The receiver has the following timing diagram.
- The
rdysignal will be high for one clock cycle after therx_byteis ready.
The transmitter has the following timeing diagram. Note:
- The
stbstrobe signal must be high for at least oneclkedge.
- Compiles
- Simulated
- Confirmed in FPGA
This project has been developed with quartus II.
BSD

