Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Strange bus failure

I am using Quartus 2 schematic entry for my project. I have designed an RS232 uart and baud rate generator. On the board, there is a 4 digit LED display.

At the top level, if I connect the output bus of the RS232 receiver directly to the display circuitry bus, then it outputs the correct Hex value of every RS232 character it receives and does so reliably.

Also at the top level, if I connect a constant value bus to the input of the RS232 sender circuit, and a 1 Hz square wave as a trigger, it also correctly sends the constant every second to the computer.

However, when I remove the constant and connect the output of the receiver to both the display and the sender, suddenly, the circuit forgets how to work properly. Instead, the LED display displays erroneous values and the echoed characters are not correct.

I have tried triggering the sender with the 1Hz clock and also the RX_READY pulse from the receiver - neither work. The output bus from the receiver remains constant until a new character is received, so there are no timing issues with that.

I have also tried naming and un-naming the bus - no luck.

Could fan out be an issue here? Is there such a thing with FPGAs?

Could a schematic at a lower level with a bus with the same name cause a conflict with the current level?

There are no I/O ports in use except for the RxD and TxD plus the LED ports and the system clock. So the bus in question is completely internal.

Its compiling fine.

Anybody seen this before?

13 Replies