Forum Discussion
Altera_Forum
Honored Contributor
10 years agoUART Test ISSUE (LOOPBACk)
hi, I am using Altera Quartus 10.1 SP1, NIOS SBT 10.1 SP1 and ModelSim Altera Starter Edition 6.6D. I am trying to implement UART in SOPC and write a NIOS sample code and test it using ModelSi...
Altera_Forum
Honored Contributor
10 years agoIf you look in the UART code created (by SOPC builder / QSYS) you might find there are two transmitters one is the real transmitter and the other is a stimulus source for rxd. You can go in and hack the connection to connect txd and rxd:-
Have a look for some lines like this:- // assign source_rxd = rxd; and uncomment to become assign source_rxd = rxd; and also find the stimulus_transmitter and disconnect the txd output so change from .txd (source_rxd) to .txd ()