-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi, this is Alex.
I suggest that we replace the expression "wire next_bit = cycle_counter == CYCLES_PER_BIT;" [uart_tx.v (line:92)] with a new one: "wire next_bit = cycle_counter == (CYCLES_PER_BIT >= 1 ? CYCLES_PER_BIT - 1 : 0);".
This change is necessary because when BIT_RATE is equal to CLK_HZ, the module does not transfer data at a rate of one bit per cycle, leading to a redundant cycle. (see below)
After making this modification, the waveform will look like this:
Best Regards.
Metadata
Metadata
Assignees
Labels
No labels