Segment Decoder, Reducer - Logic Circuit - Lab 6 | ECE 241, Lab Reports of Electrical and Electronics Engineering

Material Type: Lab; Professor: Donohoe; Class: Logic Circuit Lab; Subject: Electrical & Computer Engr; University: University of Idaho; Term: Spring 2009;

Typology: Lab Reports

Pre 2010

Uploaded on 08/19/2009

koofers-user-zid
koofers-user-zid ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 241 โ€“ 7 Segment Decoder, Redux
Objective
Investigate the use of VHDL for implementing combinational logic functions.
Pre-Lab (5 pts)
๎˜ƒ
Bring๎˜ƒin๎˜ƒyour๎˜ƒVHDL๎˜ƒcode๎˜ƒand๎˜ƒany๎˜ƒnotes๎˜ƒyou๎˜ƒmade๎˜ƒwhile๎˜ƒdesigning๎˜ƒit.๎˜ƒ
Experiment (15 pts)
1. Use VHDL concurrent statementsi[1] to implement your binary to seven-segment decoder
(no processes!)
2. Your code will be more readable if you use std_logic_vectors to represent the
hexadecimal inputs instead of std_logic bits.
3. Perform post-synthesis simulation of your design (all 16 combos).ii[2]
4. Download your design to the Digilent board and verify using switches and the 7-segment
display.
Tip: You will need to connect the anode of the 6-segment display to the power supply, VCC. In
the standard_logic library, a logic โ€˜1โ€™ is equivalent to VCC, and a logic โ€˜0โ€™ is equivalent to GND.
Report (5 pts)
Turn in a brief, professional report that describes your design process and results. Comment on
the โ€œefficiencyโ€ of VHDL compared to schematics. Elaborate on any problems you encountered.
Finally, attach to your report hardcopies of your VHDL, post-synthesis simulation, and the
signed project summary. Remember to include conclusions in your report.
๎˜ƒ
๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ
๎˜ƒ
i[1] You may use concurrent signal assignments with logical operators, conditional signal assignments, or selected
signal assignments. See VHDL examples 4.3, 4.5, and 4.6 from Harris & Harris.
ii[2] You may want to investigate the use of buses (i.e., std_logic_vectors).

Partial preview of the text

Download Segment Decoder, Reducer - Logic Circuit - Lab 6 | ECE 241 and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

ECE 241 โ€“ 7 Segment Decoder, Redux

Objective

Investigate the use of VHDL for implementing combinational logic functions.

Pre-Lab (5 pts)

Bring in your VHDL code and any notes you made while designing it.

Experiment (15 pts)

  1. Use VHDL concurrent statementsi[1]^ to implement your binary to seven-segment decoder (no processes!)
  2. Your code will be more readable if you use std_logic_vectors to represent the hexadecimal inputs instead of std_logic bits.
  3. Perform post-synthesis simulation of your design (all 16 combos).ii[2]
  4. Download your design to the Digilent board and verify using switches and the 7-segment display.

Tip: You will need to connect the anode of the 6-segment display to the power supply, VCC. In the standard_logic library, a logic โ€˜1โ€™ is equivalent to VCC, and a logic โ€˜0โ€™ is equivalent to GND.

Report (5 pts)

Turn in a brief, professional report that describes your design process and results. Comment on the โ€œefficiencyโ€ of VHDL compared to schematics. Elaborate on any problems you encountered. Finally, attach to your report hardcopies of your VHDL, post-synthesis simulation, and the signed project summary. Remember to include conclusions in your report.

i[1] (^) You may use concurrent signal assignments with logical operators, conditional signal assignments, or selected

signal assignments. See VHDL examples 4.3, 4.5, and 4.6 from Harris & Harris. ii[2] (^) You may want to investigate the use of buses (i.e., std_logic_vectors).