Professional Documents
Culture Documents
Choose implementation
view
Multiple Modules
Note hierarchy
Spartan 3E Specifications
Spartan Pricing
LEDs
anode (+)
cathode (-)
current flow
current limiting resistor
Seven-Segment Display
Block Diagram
A block diagram is a top-level representation of
the overall system which includes:
inputs / outputs
major functional units
interconnections between units
interconections to external world (hardware interface)
Block Diagram
SW3
0v
interface
SW2
SW1
5v
SW0
BCD to 7-segment
decoder
ab c d e f g
interface
pull-up resistor
can be subdivided
into additional blocks
A pull-up resistor forces the voltage at the input to equal 5 v when the
switch is open. The input shouldnt be left to float, which can cause
erratic values.
Logic Design: Verilog using Xilinx, 7-Segment Display.24
Truth table
Karnaugh map
Schematic
HDL
Simulation
Verification does the circuit simulate according
to its intended design?
Validation does the circuit function according to
what the customer wanted?
Make any necessary design changes to correct
any invalid behavior
Prototype
Download design to prototype board
Verify correct functionality
Repeat necessary design steps to correct any
problems
Homework
Using the Xilinx ISE, create a Verilog model for the g
segment of a seven-segment display, where the value for
the segment must be set to 0 for the LED to light (active
low). Your circuit must display a hex number, i.e., 0, 1
8, 9, A, b, c, E, and F. Submit a text file printout of your
Verilog .v file and a printout of your simulation results.