Code Converters BCD-to Excess-3 Code Converter Hex-to-Seven-Segment Decoder Lab 3 ALU2 Arithmetic and Logic Instructions 7-Segment Decoder Hex-to-Seven-Segment Decoder a q0 q1 q2 q3 seg7dec a b c d e
f g dp f b g e c d dp Turning on an LED No current no light +5V R
GAL output pin light +1.7V R R= 1 LED Current +5V +5V voltage = current +0.2V 0
LED 5 1.7 -3 15 x 10 GAL output pin = 220 ohms 7-Segment Display a +5V f b g e c
d a b c d e f g 7-Segment Display a f b g e
c d 0 1 2 3 4 5 6 7 a 1 0 1 1 0 1 1 1 b
1 1 1 1 1 0 0 1 c 1 1 0 1 1 1 1 1 d 1 0 1 1
0 1 1 0 e 1 0 1 0 0 0 1 0 f 1 0 0 0 1 1 1 0
g 0 0 1 1 1 1 1 0 7-Segment Display a f b g e c d 8
9 A b C d E F a 1 1 1 0 1 0 1 1 b 1 1 1 0 0
1 0 0 c 1 1 1 1 0 1 0 0 d 1 1 0 1 1 1 1 0
e 1 0 1 1 1 1 1 1 f 1 1 1 1 1 0 1 1 g 1 1 1
1 0 1 1 1 Hex-to-Seven-Segment Decoder a q0 q1 q2 q3 seg7dec a b c d e f g dp
f b g e c d dp a f b g e c d
Note: a g LOW to turn ON Code Converters BCD-to Excess-3 Code Converter Hex-to-Seven-Segment Decoder Lab 3 ALU2 Arithmetic and Logic Instructions 7-Segment Decoder ALU2 Arithmetic and Logic Instructions a(n-1:0) n-line ALU2 b(n-1:0) sel(2:0) true = all 1s
false = all 0s sel y Instruction name 000 a+b + 001 b-a - 010 a and b
AND 011 a or b OR 100 a xor b XOR 101 true if a = 0 false otherwise 0= 110 true if a < 0
false otherwise 0< 111 true if b > a (unsigned) false otherwise U> y(n-1:0) Digilab2 DIO1 Boards Four 7-segment displays dig1 dig2 dig3
How many chromosomes would a cell created through mitosis have in an organism with a bone cell with 26 chromosomes? * With your partner(s), move to a lab station with a microscope. Use the scanning, lower power, then high power...
Bank Failures. a. Banks close and loose $$$ b. People . default. ... OBJ #2 -Describe how the Great Depression affected people. Who was the president when it started, and what did he do to help? Who tried to help...
Chapter 8 Erosional Forces Section 8-2 Glaciers ... Esker! 2 Types of Glaciers Continental glaciers cover 10% of the Earth, mostly near Antarctica and Greenland. The continental glaciers are huge masses of Ice and snow, and are thicker than some...
Overview GOLMEST Gain Attention Overview Learning Objectives/Lesson Purpose Method and Media Evaluation Safety Transition Gain Attention Draws students into topic. Should be related to material. Should actually get students attention. Samples: Videos, stories, jokes, etc. End with WIIFM. Overview What...
Weak Duality between Objective Values. The primal objective function evaluated at any feasible solution to a minimize primal is greater than or equal to ( ) the objective function value of the corresponding dual evaluated at any dual feasible solution....