Skip to content

Commit 793a7bf

Browse files
committed
README: Update Readme file
1 parent 83a977a commit 793a7bf

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

README.md

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simple UART for FPGA is UART (Universal Asynchronous Receiver & Transmitter) con
66

77
The UART controller was simulated and tested in hardware.
88

9-
# Inputs and outputs ports:
9+
# Table of inputs and outputs ports:
1010

1111
Port name | IN/OUT | Width | Port description
1212
---|:---:|:---:|---
@@ -19,14 +19,30 @@ DATA_SEND | IN | 1b | Send data byte for transmit.
1919
BUSY | OUT | 1b | Transmitter is busy, can not send next data.
2020
DATA_OUT | OUT | 8b | Received data byte.
2121
DATA_VLD | OUT | 1b | Received data byte is valid.
22-
FRAME_ERROR | OUT | 1b | Stop bit is invalid, current and next data may be corrupted.
22+
FRAME_ERROR | OUT | 1b | Stop bit is invalid, data may be corrupted.
2323

24-
# Synthesis resource usage summary:
24+
# Table of generics:
2525

26-
Parity | LE (LUT) | FF | BRAM
27-
:---:|:---:|:---:|:---:
28-
none | 80 | 55 | 0
29-
even/odd | 91 | 58 | 0
30-
mark/space | 84 | 58 | 0
26+
Generic name | Type | Default value | Generic description
27+
---|:---:|:---:|:---
28+
CLK_FREQ | integer | 50e6 | System clock.
29+
BAUD_RATE | integer | 115200 | Baud rate value.
30+
PARITY_BIT | string | "none" | Type of parity: "none", "even", "odd", "mark", "space".
31+
USE_DEBOUNCER | boolean | True | Use debounce?
3132

32-
*Synthesis was performed using Quartus II 64-Bit Version 13.0.1 for FPGA Altera Cyclone II with these settings: 115200 baud rate and 50 MHz system clock .*
33+
# Table of resource usage summary:
34+
35+
Use debouncer | Parity type | LE (LUT+FF) | LUT | FF | BRAM | Fmax
36+
:---:|:---:|:---:|:---:|:---:|:---:
37+
True | none | 77 | 64 | 55 | 0 | 202.2 MHz
38+
True | even/odd | 82 | 75 | 58 | 0 | 162.5 MHz
39+
True | mark/space | 80 | 68 | 58 | 0 | 184.5 MHz
40+
False | none | 72 | 59 | 50 | 0 | 182.7 MHz
41+
False | even/odd | 77 | 70 | 53 | 0 | 155.6 MHz
42+
False | mark/space | 75 | 62 | 53 | 0 | 200.8 MHz
43+
44+
*Synthesis was performed using Quartus II 64-Bit Version 13.0.1 for FPGA Altera Cyclone II with enable force use of synchronous clear. Setting of some generics: BAUD_RATE = 115200, CLK_FREQ = 50e6.*
45+
46+
# License:
47+
48+
This UART controller is available under the MIT license (MIT). Please read [LICENSE file](LICENSE).

0 commit comments

Comments
 (0)