Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Lightweight UART core in VHDL

License

NotificationsYou must be signed in to change notification settings

akaeba/tinyUART

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unittest

tinyUART

LightweightUART core written in VHDL.

Releases

VersionDateSourceChange log
latestlatest.zip
v0.2.02021-06-06v0.2.0.ziprevised interface and architecture, new debouncer
v0.1.02018-09-06v0.1.0.zipinitial draft

Features

  • independent RX and TX path
  • buffer register on RX and TX
  • parameterizable data size
  • one or two stop bits
  • settable baud rate
  • optional parity (odd/even)

Interface

Generics

NameDefaultValuesDescription
WLS85..8word length select; data bits
CLK50_000_000positivemaster clock frequency in Hz
BPS115200positivebaud rate per second
SBS11..2Stop bit select
PItruebooleanParity inhibit
EPEtruebooleanEven parity enable, otherwise odd
DEBU30..11debouncer stages
TXIMPLtruebooleanTX path implemented
RXIMPLtruebooleanRX path implemented

Settable at compile time.

Ports

PortDirWidthDescription
Rin1basynchronous reset
Cin1bclock, rising-edge only
TXDout1bserial UART output
RXDin1bserial UART input
RRout5b..8bReceiver Holding Register Data Output
PEout1bParity error
FEout1bFraming error
DRout1bData Received, one clock cycle high
TRin5b..8bTransmitter Holding Register Data Input
THREout1bTransmitter Holding Register Empty
THRLin1bTransmitter Holding Register Load
TREout1bTransmitter Register Empty

Architecture

The block diagram visualizes the simplifiedtinyUART architecture. Blocks with solid lines are own sub entities. All blocks with dashed lines are implementedin the top level.


block level diagram


Timing

TX

timing diagram tiny UART

RX

timing diagram tiny UART

Resource allocation

TechnologyEDAHDL genericsLogicRegistersBRAMFmax
Cyclone 10Q18.1defaults89LEs79FF089.61MHz
Cyclone 10Q18.1defaults, TXIMPL=false43LEs41FF089.61MHz
Cyclone 10Q18.1defaults, RXIMPL=false50LEs38FF089.67MHz

References


[8]ページ先頭

©2009-2025 Movatter.jp