简体   繁体   中英

uninitialized input signal isim

I am stuck with the following situation

I am designing a vhdl project for uart. There are two components namely uart_rx.vhd and uart_tx.vhd.

I suppose uart_tx goes in Mark state initially upon receiving the value '0' to signal: ready. Signal Ready is uninitialized, ie ready = 'U'.

uart_tx waits for input from uart_rx.vhd. As soon as uart_tx receives '0' from uart_rx, FSM goes to Start instead of Mark.

Here is the algorithm I've used:

if ready = o
    state <= Mark
else
    state <= Start

编写一个测试平台并进行初始化以准备就绪:

signal ready : std_logic := '0';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM