Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 582 Bytes

File metadata and controls

17 lines (14 loc) · 582 Bytes

uart

UART IP-core for FPGA projects.

Folders:

  • uart_vhdl - uart on vhdl;
    • hdl - vhdl files;
    • sim - script files for modelsim/questasim;
    • tb - vhdl testbench.
  • uart_verilog - uart on verilog;
    • hdl - verilog files;
    • sim - script files for modelsim/questasim;
    • tb - verilog testbench.

❗ To set the UART baudrate, you must specify COEFF_BAUDRATE in the top project file (uart.vhd or uart.v).

COEFF_BAUDRATE = i_clk / uart_baudrate.

For example: COEFF_BAUDRATE = 50000000 Hz / 9600 = 5208 dec = 1458 hex