Forum Discussion
Altera_Forum
Honored Contributor
14 years agoUART recive and send loop
hi: I post attachments about the UART recive and send loop HDL code ( attachments 1)and signaltap waves . I have some questions to ask your gurus~! 1:I use the 50M oscilation, w...
Altera_Forum
Honored Contributor
14 years agoYou defined baud_cnt 8bit wide (range 0 - 255), but for a 9600 baudrate it needs to reach 326, then it overflows.
Replace line 40 with reg [8:0] baud_cnt;