ECE-L304 Lecture 5. 2 Step 3 Lab Complete 8-pin header Data Bus Test Port Resistor Array LED Array Timing & Filter Components Self-Clocked ADC DAC External.

Slides:



Advertisements
Similar presentations
VHDL 8 Practical example
Advertisements

EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
The 8085 Microprocessor Architecture
Data Acquisition ET 228 Chapter
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
ECE 301 – Digital Electronics Memory (Lecture #21)
EE1A Revision What should you be expected to do in a typical exam question ? Understanding of basic principles. Ability to perform simple circuit analysis.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Sequential Circuit: Register Introduction N-bit register contains n flip-flop and several logic gates and.
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
Chapter 2 Introduction to Digital Concepts. Analog Representation Voltage, current, movement.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Chapter 6 Memory and Programmable Logic Devices
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
This Thursday, Oct. 25 th 1-1:50pm: Exam in DUANE G140 Covers lectures and labs (except today’s lecture on microcontrollers) You may bring handwritten.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
Memory interface Memory is a device to store data
ECE-L304 Lecture 6 Review of Step 5 Introduction to Step 6 and 7 Final Lecture Quiz Next Week.
Introduction to Computing: Lecture 4
Lab IV Lecture 1 Course Overview Introduce Step 1 Course Web Page
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Address Decoding Memory/IO.
The 8253 Programmable Interval Timer
Final Lecture Review Step 7 Deliverables Final Course Information.
Power Point Presentation Donald Bearden CS 147 September 13, 2001.
Digital Logic Fundamentals CT101 – Computing Systems.
Lab IV Lecture 1 Course Overview Introduce Step 1 Course Web Page:
Memory and Storage Dr. Rebhi S. Baraka
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Memory Devices May be classified as: Connections: ROM; Flash; SRAM;
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
ENG241 Digital Design Week #8 Registers and Counters.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits II.
ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.
ELE22MIC Lecture 10 MULTIPLEXOR - DATA SELECTOR
ELE2MIC Lecture 19 MULTIPLEXOR - DATA SELECTOR
Preliminary Design of FONT4 Digital ILC Feedback System Hamid Dabiri khah Queen Mary, University of London 30/05/2005.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
More on data storage and representation CSC 2001.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Presented by Sadhish Prabhu
Random Access Memory (RAM).  A memory unit stores binary information in groups of bits called words.  The data consists of n lines (for n-bit words).
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
3/19/  Differentiate the class of memory  List the type of main memory  Explain memory architecture and operation  Draw memory map  Design.
Objectives : At the end of this lesson, students should be able to : i.Identify the types of memory chip and their functions. ii.Define the difference.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
BIRLA VISHVAKARMA MAHAVIDYALAY SUBJECT: SPI PROTOCOL & MAX7221 DISPLAY INTERFACING SUBMITTED BY: KISHAN AVASTHI( ) MANSI CHANDEGARA( )
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني System buses.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
FOR MORE CLASSES VISIT   ECET 340 Week 1 HomeWork 1  ECET 340 Week 1 iLab 1  ECET 340 Week 2 HomeWork 2  ECET 340 Week 2 iLab.
Class Exercise 1B.
Registers and Counters
Memory Systems 7/21/2018.
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
ECE-L304 Lecture 3.
Introduction to Microprocessors and Microcontrollers
Interfacing Memory Interfacing.
EE345: Introduction to Microcontrollers Memory
Overview Last lecture Digital hardware systems Today
Presentation transcript:

ECE-L304 Lecture 5

2 Step 3 Lab Complete 8-pin header Data Bus Test Port Resistor Array LED Array Timing & Filter Components Self-Clocked ADC DAC External Components

ECE-L304 Lecture 53 Step 4 Purpose Introduce the static RAM chip Write mode, read mode Introduce the address generator Step the address from 00H to FFH (256 steps) using 8 bits “H” indicates hexadecimal format Introduce control Record 256 words in RAM, then play back

ECE-L304 Lecture 54 This Week  Step 4 Prelab  Skim the data sheet for the 1 MB RAM chip  Look for control and timing information  Step 4 Lab Simulate a simple data acquisition system with memory Answer a few short questions

ECE-L304 Lecture 55 Static RAM An Introduction Static RAM is read/write storage that is volatile Volatile - when power is removed, contents are lost Words are written to or read from sites determined by the address location under RE/WE (read enable/write enable) control An 8k x 8 RAM has a 13-bit address bus giving 2 13 = bit locations, or 64kB (65,536) A 128k x 8 RAM has a 17-bit address bus, giving 2 17 = 131,072 8-bit locations, or 1MB

ECE-L304 Lecture 56 A[12-0] D[7-0] RE WE stable Static RAM Read and Write Timing Write Operation After the address and data have been stable for a setup time, pulse the write enable

ECE-L304 Lecture 57 Static RAM Read and Write Timing Read Operation Once the address is stable, raise the read enable After a settling time, the data is valid D[7-0] RE WE stable valid A[12-0]

ECE-L304 Lecture 58 What will you do? Part 1 Write two data bytes to two RAM locations and read them back Learn to display data in hex format in Probe Observe Read/Write operations and timing Part 2 Write 8-bit ADC data to 256 locations and read it back

ECE-L304 Lecture 59 Data Acquisition System Operation Repeat n times to store: Sample an analog signal Convert to digital Write to the next RAM location Repeat n times to retrieve: Read from next RAM location Convert to analog Display analog signal n = number of RAM locations

ECE-L304 Lecture 511 Address Generation RAM DAC ADC Control

ECE-L304 Lecture 512 Step 4 - Part 1 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 RE WE R7 R6 R5 R4 R3 R2 R1 R0 W7 W6 W5 W4 W3 W2 W1 W0 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 RW0 RW1 DSTM1 A[16-0] DSTM2 RW[3-0] FORMAT=1111 0s us us us us us s us us us 0006 FORMAT=4444 RAM8kX8break R[7-0] W[7-0] FORMAT=44 0s 54 1us 36 2us XX DSTM3 R7 R6 R5 R4 R3 R2 R1 R0 W7 W6 W5 W4 W3 W2 W1 W0 S16 S4 S8

ECE-L304 Lecture 513 Step 4 - Part 1 Simulate the following activities Write data 54H from port W to address 5H Write data 36H from port W to address 6H Read the contents of address 5H to port R Read the contents of address 6H to port R

ECE-L304 Lecture 514 Step 4 - Part 2

ECE-L304 Lecture 515 Step 4 - Part 2 Why are the two AND gates (U8A, U12A) needed? The address must be set up and stable before the WRITE signal is applied

ECE-L304 Lecture 516 Step 4 - Part 2

ECE-L304 Lecture 517 Step 4 - Part 2

ECE-L304 Lecture 518 Step 4 - Part 2 Simulate the following activities Write 8-bit ADC data to the lowest 256 addresses in memory Read the lowest 256 addresses to the R port Generate an analog signal using these 8- bit words

ECE-L304 Lecture 519 The 8-Bit Counter The 74LS590 binary counter Used to generate addresses Ripple Carry Out pin makes it easy to set up multiple-chip counters

ECE-L304 Lecture 520 The 8-Bit Counter Multiple Chips G CCLK CCLKEN RCLK CCLR RCO A7 A6 A5 A4 A3 A2 A1 A0 LO HI CLK G CCLK CCLKEN RCLK CCLR RCO A7 A6 A5 A4 A3 A2 A1 A0 LO HI A7 A6 A5 A4 A3 A2 A1 A0 A15 A14 A13 A12 A11 A10 A9 A8

ECE-L304 Lecture 521 RAM Control RCO CLK

ECE-L304 Lecture 522 Your Hardware Static RAM NEC uPD431000A 128k x 8 Static RAM RAM - Random Access Memory 128k x 8 - storage for 131,072 8-bit words Data is transferred in and out in parallel 8-bit tristate data bus Input, output, high impedance Status controlled by CE1, CE2, WE, OE pins Control truth table on datasheet

ECE-L304 Lecture 523 Your Hardware Static RAM Address locations The 128k x 8 RAM has a 17-bit address bus (2 17 = 131,072) You will use the 16 address bits (2 16 = 65,536) generated by two 74LS590 chips and design a simple circuit to provide the 17th address bit This gives a total memory of 1024k You have the option of using 16 bits for less than full credit

ECE-L304 Lecture 524 Step 4 Deliverables Complete Part 1 Simulation Part 1 Schematic Part 1 Simulation Plot A[15-0], W[7-0], RW1, RW0, R[7-0] vs time over span of 0 to 4 us Are proper read/write timing rules followed? Relationships between address, data, RE, WE Is the data read from memory identical to what was written?

ECE-L304 Lecture 525 Step 4 Deliverables Complete Part 2 Simulation Part 2 Schematic Part 2 Simulation Plot W[7-0], R[7-0], WE, RE, RCO_, AIN, AOUT vs time over one complete read/write cycle Are proper read/write timing rules followed? Relationships between address, data, RE, WE Does the data read from memory and converted to analog (AOUT) match the input waveform (AIN) to the resolution of the system?

ECE-L304 Lecture 526 Step 4 Deliverables How would you correct the timing flaw at the transition from write to read? Repeat the simulation with the correction and include the results in your report. Why is there a lag time in the READ operation between the time RE goes high and when the data is valid?