Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Logic & Design Dr.Waseem Ikram Lecture 44.

Similar presentations


Presentation on theme: "Digital Logic & Design Dr.Waseem Ikram Lecture 44."— Presentation transcript:

1 Digital Logic & Design Dr.Waseem Ikram Lecture 44

2 Recap Memory Requirement is large Memory Implemented small Standard data unit size Standard number of memory locations Base address of memory Memory Map 1 MB memory map Divided into 16, 64K blocks ROM, Data, Program, Stack 12, 64K vacant blocks for expansion

3 Block diagram of a Logic Element

4 LUT programmed to generate a function Address InputData Output ABCF 0000 0010 0101 0110 1000 1011 1100 1111

5 LUT Programmed as Full-Adder Address InputData Output ABC in SumC out 00000 00110 01010 01101 10010 10101 11001 11111

6 Continuous signal showing temperature varying with time

7 Sampling the Continuous Signal at 15 equal intervals

8 Reconstructed Signal by plotting 15 sampled values

9 Reconstructed Signal by plotting 7 sampled values

10 Sample and Hold Circuit

11 Analogue Signal

12 Sample & Hold Signal

13 Digitized Signal

14 Analogue Signal

15 Sample & Hold Signal

16 Digitized Signal

17 Op-Amp

18 Op-Amp as an Inverting Amplifier

19 Op-Amp as a Comparator

20 Flash A/D Converter +V RE F R R R R R R R R Input from sample and hold circuit Op-Amp Comparators Priority Encoder Parallel Binary Output Enable

21 3-bit FLASH A/D Converter +V REF =8 R R R R R R R R Op-Amp Comparators Priority Encoder Parallel Binary Output Enable 7 volts 6 volts 5 volts 4 volts 3 volts 2 volts 1 volts 4.2 volts 0 0 0 1 1 1 1 7 6 5 4 3 2 1 0 0 0 1

22 Input analogue voltage samples

23 Binary output representing input analogue voltage samples

24 Dual-Slope A/D Converter

25 Recap Expanding Data Unit size Expanding Locations Expanding Data unit size and locations Address Decoders Accessing memory at specified base address Logic gate decoders n x m gate decoders

26 Operation of Dual-Slope A/D Converter Time interval t Input signalOutput of Integrator Output of Comparator Clock InputCounter 0V in -V1enabledCounting 1V in -V1enabledCounting nV in -V1enabledTerminal count reached. Counter reset. Switched to –V ref n+1-V ref -V1enabledCounting n+2-V ref -V1enabledCounting n+m-V ref 00disabledBinary value representing V analogue

27 Recap Field Programmable Logic Array Logic blocks Generate logic functions by programming LUT Row & Col programmable interconnects I/O programmable blocks

28 FPGAs Logic Block Multiple Logic Elements (fig 1) LUT, flip-flop, cascade logic Control logic, programmable selects

29 Programming LUTs Implementing function by Programming LUT Example 1 (tab 1a) Example 2 full adder (tab 1b) Programming Row & Column interconnects through transistor switches.

30 Analogue to Digital & Digital to Analogue Converters Conversion of real world quantities Mobile phones Digital Thermometers Digital storage of sound and pictures Digital voltmeters Industrial control and monitoring.

31 Analogue to Digital Sampling (fig 2a-d) Under-sampling Over-sampling Sampling frequency Nyquist frequency Holding Sampled value Sample and Hold Circuit (fig 3a-b)

32 Quantization Quantization (fig 4, 5)) Process of converting analogue value to a code Few bits, quantization levels less accurate More bits, quantization levels more accurate

33 Operational Amplifier Linear Amplifier (fig 6a) Inverting/Non-inverting inputs Single outputs High input impedance Low output impedance Very High voltage gain Inverting Amplifier (fig 6b) Comparator (fig 6c)

34 FLASH Converter Fast conversion time Expensive circuit complexity Resistor voltage divider Multiple Op-Amps as comparators Input signal connected to all comparators Comparator o/p high if i/p higher than ref Priority encoder Encoder o/p is digital equivalent of i/p

35 FLASH Converter Ckt diagram (fig 7) Input sample values (fig 8) Output digital values (fig 9)

36 Dual-Slope Converter Slower than FLASH Used in Digital voltmeters and other measuring instruments Ckt. Diagram (fig 10) Working (tab 2)


Download ppt "Digital Logic & Design Dr.Waseem Ikram Lecture 44."

Similar presentations


Ads by Google