Line 1... |
Line 1... |
==========================================
|
==========================================
|
UART16750 1.0 (C) 2008-2009 Sebastian Witt
|
UART16750 (C) 2008-2009 Sebastian Witt
|
==========================================
|
==========================================
|
|
|
Description:
|
Description:
|
|
|
Implements a synthesizable 16550/16750 UART core.
|
Implements a synthesizable 16550/16750 UART core.
|
Line 16... |
Line 16... |
- None/Even/Odd parity bit generation and detection
|
- None/Even/Odd parity bit generation and detection
|
- Supports 1/1.5/2 stop bit generation
|
- Supports 1/1.5/2 stop bit generation
|
- 16/64 byte FIFO mode
|
- 16/64 byte FIFO mode
|
- Receiver FIFO trigger levels 1/4/8/14/16/32/56
|
- Receiver FIFO trigger levels 1/4/8/14/16/32/56
|
- Control lines RTS/CTS/DTR/DSR/DCD/RI/OUT1/OUT2
|
- Control lines RTS/CTS/DTR/DSR/DCD/RI/OUT1/OUT2
|
|
- Automatic flow control with RTS/CTS
|
- All interrupts sources/modes
|
- All interrupts sources/modes
|
|
|
Todo:
|
Todo:
|
|
|
- Automatic flow control
|
|
- Variable character time-out counter
|
- Variable character time-out counter
|
|
- DMA control
|
|
|
Tests:
|
Tests:
|
|
|
A script is used to create a extensive functional stimuli file which
|
A script is used to create a extensive functional stimuli file which
|
can be used for simulation or real-hardware testing.
|
can be used for simulation or real-hardware testing.
|
Line 51... |
Line 52... |
|
|
Rules for FIFO generation with vendor tools:
|
Rules for FIFO generation with vendor tools:
|
|
|
The top-word is always available at the output (no read-request/delay).
|
The top-word is always available at the output (no read-request/delay).
|
|
|
|
Resource usage:
|
|
|
|
* Altera Cyclone II
|
|
o 440 LE
|
|
o 1216 memory bits
|
|
o Frequency: 130 MHz
|
|
|
|
* Xilinx Spartan 3E
|
|
o 378 Slices
|
|
o 1 RAMB
|
|
o Frequency: 100 MHz
|
|
|
|
Simulation:
|
|
|
|
It's possible to simulate and test the design with GHDL [1].
|
|
A Makefile is available for starting the simulation. The testbench
|
|
creates a log file (uart_log.txt).
|
|
|
|
[1] http://ghdl.free.fr
|