Skip to content

Parity bit in the uart VCs#906

Open
nicdes wants to merge 4 commits intoVUnit:masterfrom
corel-dependencies:uart_parity
Open

Parity bit in the uart VCs#906
nicdes wants to merge 4 commits intoVUnit:masterfrom
corel-dependencies:uart_parity

Conversation

@nicdes
Copy link

@nicdes nicdes commented Feb 26, 2023

Implementation of the parity bit (none, even, odd, mark, space) in the uart VCs.

  • Adds a parity_mode in the uart_master_t and uart_slave_t records (uart_pkg.vhd).
  • uart_master.vhd sends the parity bit (if parity_mode /= none).
  • uart_slave.vhd checks the parity bit and logs errors on the "uart" logger.
  • run.py generates the configurations for the "test parity" test case.
  • tb_uart.vhd mocks the uart logger and checks for expected failure when master and slave use different parity modes.

Could be related to PR #495.

@nicdes nicdes mentioned this pull request Feb 27, 2023
@eine eine modified the milestones: v4.7.0, v4.8.0, v5.0.0 Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants