Code Converters
Design A
Implement Design A (for the Cyclone V device) of the pre-lab. Verify the design correctness by simulating it in Quartus Prime.
Download and test Design A on the Cyclone V device. Have the TA verify your results.
- Use inputs SW[3..0] (Note: SW[0] is the LSB) for the input h3h0.
- Use seven-digit display HEX0 [6..0] (note: HEX1 [0] is the MSB( led0 ) and HEX0[6] is the
LSB(led6 )) for the LEDs outputs (led0 led6 ).
Design B
Implement Design B (for the Cyclone V device) of the pre-lab. Verify the design correctness by simulating it in Quartus Prime. Download and test Design B on the Cyclone V device. You can decide on the pin assignments yourself.
- Use inputs SW [3..0] (note: SW[0] is the LSB) for the inputs (h3h0).
| EXPECTED | SIMULATED | DE1 Board | |||||||||
| A | B | S | fo | co | S | Fo | co | S | fo | co | |
| ADD | 5 | 2 | |||||||||
| ADD | 8 | F | |||||||||
| ADD | 7 | E | |||||||||
| ADD | 9 | E | |||||||||
| SUB | E | F | |||||||||
| SUB | 7 | 3 | |||||||||
| SUB | 7 | E | |||||||||
| SUB | E | 4 | |||||||||
- Use two seven-digit displays HEX1 [6] and HEX0 [6..0] (Note: HEX1 [6] is the MSB and HEX0[6] is the LSB) for the LEDs outputs (led0 leds7).
Design C
Implement Design C (for the Cyclone V device) of the pre-lab. Verify the design correctness by simulating it in Quartus Prime. Download and test Design C on the Cyclone V device. You can decide on the pin assignments yourself. Fill out the form below.
- Use inputs SW [9..6] (note: SW[6] is the LSB) for the X input (X3X0).
- Use inputs SW [5..2] (note: SW[2] is the LSB) for the Y input (Y3Y0).
- Use inputs SW [0] for ADD_SUB.
- Use inputs LEDR [3..0] (note: LEDR[0] is the LSB) for the S output (S3S0).
- Use inputs LEDR [9], LEDR[8] for overflow and Cout.
- Use two seven digit display HEX5 [6] and HEX4 [6..0] (note: HEX5 [6] is the MSB and HEX4[6] is the LSB) for the outputs (hexx0 hexx7). Use two seven-digit displays HEX3
[6] and HEX2 [6..0] (again, HEX3 [6] is the MSB and HEX2[6] is the LSB) for the outputs (hexy0 hexy7). Use two seven-digit displays HEX1 [6] and HEX0 [6..0] (again, HEX1 [6] is the MSB and HEX0[6] is the LSB) for the outputs (hexs0 hexs7 ).
- Draw two implementations of gated SR latches and their characteristic table.
- Draw a D latch and its characteristic table.
- Draw a negative-edge-triggered D flip-flop using the master-slave configuration. Draw its characteristic table.
- Draw a positive-edge-triggered D flip-flop using the master-slave configuration. Draw its characteristic table.
- Explain the difference between the following pair of concepts:
- D latches versus D flip-flops
- Basic latches versus gated latches
- Asynchronous clear versus synchronous clear
- Level sensitive devices versus edge-triggered devices

![[Solved] ECE380 Lab 08-Code Converters](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] ECE380 Lab 10-Counter and Finite State Machine](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.