Skip to content

oscc-ip/uart

UART

Features

  • Single wire half duplex mode
  • Compatibility with NS16550
  • Programmable prescaler
    • max division factor is up to 2^16
    • can be changed ongoing
  • Programmable baud-rate generator
    • max transition rate is 2Mbps
  • Fully programmable serial configuration
    • 5, 6, 7 or 8 bits data word length
    • 0 or 1 stop bits
    • odd, even, one or zero parity
  • Independent transmit and receive fifo
    • 16~64 data depth
    • empty or no-emtpy status flag
  • Three maskable interrupt
    • receive interrupt with programmable threshold
    • transmit empty interrupt
    • receive data parity err interrupt
  • Static synchronous design
  • Full synthesizable

FULL vision of datatsheet can be found in datasheet.md.

Build and Test

make comp    # compile code with vcs
make run     # compile and run test with vcs
make wave    # open fsdb format waveform with verdi

About

An APB4-based UART Controller

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published