Altera_Forum
Honored Contributor
17 years agoCycloneiii Flip Flop mistery
Hello!
I have a cycloneiii starterkit board from altera and terasic. This little one has a RS232 interface in the PIN_E18 and PIN_H17 , RXD and TXD respectively. I test the pins by making a loopback: architecture loopback of uart is beginTx <= Rx; end loopback; Which works just fine ( I can see in my favorite xxxxxxterminal software an echoed character). Next test... let's interface them with a flip: architecture loopback_registered of uart is beginlb_reg: process (clk,rst) beginif rst='1' then Tx <= '1' then --- Line always at one! elseif rising_edge(clk)Tx <= Rx; -- Lets sample incoming Rxd! end if; [/INDENT]end process; [/INDENT]end loopback_registered; BUT IT DOES NOT WORK! :eek:, In the simulation works fine (in order to discard clk and reset miss assignments). So I focused in the following two questions::rolleyes: 1. ¿ Does anyone knows what Am I doing wrong at a RTL level :D?. 2. If nothing wrong with it... Is there any feature quartus have in order to make a clk is not arriving properly to the flip's clk gate :confused: ? Im using a EP3C25F324C6. Cycloneiii FPGA starter board kit. I also tried to register a button into a led.... etc... but neither did it work. Regards to everyone!!! And Thank You!