This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
labs:uart_rx [2019/04/08 18:11] kenmcg Pass Off changes |
labs:uart_rx [2019/04/09 11:47] (current) djlee |
||
---|---|---|---|
Line 91: | Line 91: | ||
* Connect the tx_out output of your tx module to the top_level tx_debug output | * Connect the tx_out output of your tx module to the top_level tx_debug output | ||
* Connect an unused signal to the 'Sent' signal of your tx module ('Sent' will not be used in this circuit) | * Connect an unused signal to the 'Sent' signal of your tx module ('Sent' will not be used in this circuit) | ||
- | * Connect the 8 switches to the 'din' input of your tx module | + | * Connect the 8 switches to the 'Din' input of your tx module |
* Connect the top-level clock to the clk input of your tx module | * Connect the top-level clock to the clk input of your tx module | ||
- | * Drive the tx "send" signal with the same circuit you used in the top-level of your previous lab (attach to btnc, use a synchronizer and debouncer). | + | * Drive the tx "Send" signal with the same circuit you used in the top-level of your previous lab (attach to btnc, use a synchronizer and debouncer). |
- | * Drive the tx "reset" signal the same way (attach to btnd, use a synchronizer and debouncer). | + | * Drive the tx "Reset" signal the same way (attach to btnd, use a synchronizer and debouncer). |
After instancing your tx circuit, instance your rx circuit and connect it to your rx module. | After instancing your tx circuit, instance your rx circuit and connect it to your rx module. | ||
Line 104: | Line 104: | ||
* Attach the 8 switches to the lower 8-bits of the data in of the seven-segment controller (bottom two digits) | * Attach the 8 switches to the lower 8-bits of the data in of the seven-segment controller (bottom two digits) | ||
- | * Attach the 8-bit signal "rx_data" to bits 23-16 of the data going to the seven segment controller (digits 5 and 4) | + | * Attach the 8-bit signal "rx_in" to bits 23-16 of the data going to the seven segment controller (digits 5 and 4) |
* Only display the bottom two digits and digits 5 and 4 of the seven segment display | * Only display the bottom two digits and digits 5 and 4 of the seven segment display | ||
* Do not use any of the digit points | * Do not use any of the digit points | ||
* Attach the anode and segment signals of the controller to the top-level outputs of the top-level module | * Attach the anode and segment signals of the controller to the top-level outputs of the top-level module | ||
+ | |||
+ | The following diagram illustrates the interconnections of different modules. | ||
+ | |||
+ | {{ :labs:UART_tx_rx.png |}} | ||
<color red>Include a copy of your top-level module in your laboratory report</color> | <color red>Include a copy of your top-level module in your laboratory report</color> | ||
**Exercise 3 Pass-off:** Show a TA your top level module and explain how we will know when the rx module has received a byte.\\ \\ | **Exercise 3 Pass-off:** Show a TA your top level module and explain how we will know when the rx module has received a byte.\\ \\ | ||
+ | |||
==== Exercise #4 - Implementation ==== | ==== Exercise #4 - Implementation ==== | ||
Line 261: | Line 266: | ||
characters). | characters). | ||
*/ | */ | ||
- |