I am new in VHDL programming. I have an output of counter of 32-bit data. Now I want to transmit the 32 bit through the rs232 protocol which can send 8-bit data once. I am attaching my UART file, DCFIFO of 32 to 8-bit mix file baud rate generator file and the counter file. Can anybody help me how to port map them to get 32-bit data transmitted?
Guest
#5165163
I would suggest a state machine to control the transmisson:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
I add STX and ETX to get a chance to synchronice the whole sequence on the receiver. Duke
Thank you very much for your kind help.
Reply
Please log in before posting.