Skip to content
/ UART Public

OSVVM UART Verification Components. Uart Transmitter with error injection for parity, stop, and break errors. UART Receiver verification component with error handling for parity, stop, and break errors.

License

Notifications You must be signed in to change notification settings

OSVVM/UART

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UART Verification Component Library

The UART Verification Component Library contains UART Transmitter and Receiver verification components. Both of these verification components simplify injecting and checking for parity, stop, and break errors.

Testbenches are Included

Testbenches are in the Git repository, so you can run a simulation and see a live example of how to use the models.

UART Project Structure

  • UART
    • src
    • testbench

Building Depencencies

Before building this project, you must build the following libraries in order

See the OSVVM Verification Script Library for a simple way to build the OSVVM libraries.

UART/src

UART verification components. Uses OSVVM Model Independent Transactions for Streaming, See OSVVM-Common repository, file Common/src/StreamTransactionPkg.vhd

  • UartTbPkg.vhd
    • Constants and subprograms that support the UART and UART scoreboards.
  • ScoreboardPkg_Uart.vhd
    • ScoreboardGeneric instance to support the UART.
  • UartTxComponentPkg.vhd
    • Package containing a component declaration for UART Transmitter verification component.
  • UartRxComponentPkg.vhd
    • Package containing a component declaration for UART Receiver verification component.
  • UartContext.vhd
    • References all packages required to use the UART verificaton components
  • UartTx.vhd
    • UART Transmitter verification component.
  • UartRx.vhd
    • UART Receiver verification component.

For current compile order see UART/UART.pro.

UART/testbench

  • TbUart.vhd
    • Test harness for UART testbench
  • TestCtrl_e.vhd
    • Entity for TestCtrl - the test sequencer
  • TbUart_SendGet1.vhd
    • Test architecture SendGet1 and configuration TbUart_SendGet1
  • TbUart_SendGet2.vhd
    • Test architecture SendGet2 and configuration TbUart_SendGet2
  • TbUart_Options1.vhd
    • Test architecture Options1 and configuration TbUart_Options1
  • TbUart_Options2.vhd
    • Test architecture Options2 and configuration TbUart_Options2
  • TbUart_Checkers1.vhd
    • Test architecture Checkers1 and configuration TbUart_Checkers1
  • TbUart_Checkers2.vhd
    • Test architecture Checkers2 and configuration TbUart_Checkers2
  • TbUart_Scoreboard1.vhd
    • Test architecture Scoreboard1 and configuration TbUart_Scoreboard1
  • TbUart_Overload1.vhd
    • Test architecture Overload1 and configuration TbUart_Overload1

For current compile order see UART/testbench/testbench.pro.

Release History

For the release history see, CHANGELOG.md

Downloading the libraries

The library OSVVM-Libraries contains all of the OSVVM libraries as submodules. Download the entire OSVVM model library using git clone with the "--recursive" flag:
$ git clone --recursive https://opensource.ieee.org/osvvm/OsvvmLibraries

Participating and Project Organization

The OSVVM project welcomes your participation with either issue reports or pull requests. For details on how to participate see

You can find the project Authors here and Contributors here.

More Information on OSVVM

OSVVM Forums and Blog: http://www.osvvm.org/
SynthWorks OSVVM Blog: http://www.synthworks.com/blog/osvvm/
Gitter: https://gitter.im/OSVVM/Lobby
Documentation: Documentation for the OSVVM libraries can be found here

Copyright and License

Copyright (C) 2006-2020 by SynthWorks Design Inc.
Copyright (C) 2020 by OSVVM contributors

This file is part of OSVVM.

Licensed under Apache License, Version 2.0 (the "License")
You may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

OSVVM UART Verification Components. Uart Transmitter with error injection for parity, stop, and break errors. UART Receiver verification component with error handling for parity, stop, and break errors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published