SOC&VLSI RAM and Memory Controller Peiyuan Wang 4/21/2011.

Slides:



Advertisements
Similar presentations
ARM Based microcontrollers Asst. Prof. Dr. Alper ŞİŞMAN.
Advertisements

MEMORY popo.
Machine cycle.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Altera FLEX 10K technology in Real Time Application.
1 8-bit X 8-bit SRAM and 3 X 8 Decoder Irina Vazir, Prabhjot Balaggan and Sumandeep Kaur Advisor: Dr. David Parent December 06, 2004.
Timing Analysis Timing Analysis Instructor: Dr. Vishwani D. Agrawal ELEC 7770 Advanced VLSI Design Team Project.
Configurable System-on-Chip: Xilinx EDK
MANINDER KAUR RAM and ROM Chips 24-Nov
Computer Organization
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Finite State Machines (FSMs) and RAMs and inner workings of CPUs COS 116, Spring 2010 Guest: Szymon Rusinkiewicz.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
© 2005 Altera Corporation SOPC Builder: a Design Tool for Rapid System Prototyping on FPGAs Kerry Veenstra Workshop on Architecture Research using FPGA.
SOC Consortium Course Material Memory Controller National Taiwan University Adopted from National Taiwan University SoC Design Laboratory.
Finite State Machines (FSMs) and RAMs and CPUs COS 116, Spring 2011 Sanjeev Arora.
The Cosmic Cube Charles L. Seitz Presented By: Jason D. Robey 2 APR 03.
Computer Science 101 Computer Systems Organization.
Chapter 4 MARIE: An Introduction to a Simple Computer.
AT91 Memory Interface. 2 Features –Up to 8 programmable chip select lines –Remap Command allows dynamic exception vectors –Glue-less for both 8-bit and.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
SOC & VLSI PROCESSOR Sumana Kumar 04/26/2011. SOC & VLSI Project : Network on chip Team : Processor team Group : Sumana Kumar Harold Yu Fu Lin Guidance.
Submitted To: Submitted By: Seminar On 8086 Microprocessors.
OCR GCSE Computer Science Teaching and Learning Resources
Computing Science Computer Structure: Lesson 1: Processor Structure
Dr.Faisal Alzyoud 5/9/2018 Datapath and Control.
COURSE OUTCOMES OF Microprocessor and programming
The 8085 Microprocessor Architecture
CA Final Project – Multithreaded Processor with IPC Interface
ECE 2140: SYSTEM-ON-CHIP DESIGN
The 8085 Microprocessor Architecture
THE CPU i Bytes 1.1.
12.4 Memory Organization in Multiprocessor Systems
SOC & VLSI PROCESSOR Harold Yu Fu Lin Sumana Kumar 04/28/2011.
Dr. Michael Nasief Lecture 2
8085 Microprocessor Architecture
Instructor: Prof. Levitan, Prof. Jones Student: Xinyu Yi
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
פרק 2: חיווט, זיכרונות בנקים זוגיים ואי-זוגיים
System Architecture 1 Chapter 2.
Number Representations and Basic Processor Architecture
Intel
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
8086 Ahad.
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
Speaker: Tian-Sheuan Chang July, 2004
Control Unit Introduction Types Comparison Control Memory
FPGA Tools Course Answers
Multiple Processor Systems
8085 Microprocessor Architecture
Ghifar Parahyangan Catholic University August 22, 2011
Morgan Kaufmann Publishers Memory Hierarchy: Cache Basics
Registers.
Fundamental Concepts Processor fetches one instruction at a time and perform the operation specified. Instructions are fetched from successive memory locations.
Word Assembly from Narrow Chips
The 8085 Microprocessor Architecture
ARM ORGANISATION.
8085 Microprocessor Architecture
Computer Operation 6/22/2019.
A CCESSING I/O DEVICES. I/O devices accessed through I/O interface. Requirements for I/O interface: –CPU communication –Device communication –Data buffering.
Presentation transcript:

SOC&VLSI RAM and Memory Controller Peiyuan Wang 4/21/2011

I NTRODUCTION Multi-processor network system Memory is used to store data and program. Processor realizes calculation by fetching instructions, decoding and executing. Memory controller as a block connecting processor and RAM contains the logic necessary to read and write to RAM. In our system, totally 32K byte memory is used for one node. For our project, memory controller also works kind of like an arbiter for loading program.

N ODE B LOCK D IAGRAM

SOC P ART AMBA 3 AHB-lite protocol Memory Generator Memory Controller Design Processor, Memory controller, Memory Integration Test and Debug

D ECODER B LOCK D IAGRAM Processor reads whole word and decides which part to use Processor HWDATA is always 32bits, memory should know how many bytes and which bytes to write. Decoder should give Test Bench access to load program.

D ECODER T RUTH T ABLE LOADDTRANSDWRITEDSIZE [1:0] DADDR [1:0] WEN1*WEN2WEN3WEN Ignore 0000 Other combinations 1111 *WEN in RAM is active low.

D ECODER F UNCTION Translate AHB bus signals to select different RAM cell Realize LOAD, WRITE byte, half word, word function

RAM B LOCK D IAGRAM * CEN is tied to low all the time. TSMC 130nm Process High-Speed Synchronous Single-Port SRAM

RAM T IMING Read-cycle TimingWrite-cycle Timing All setup time and hold time should be satisfied. If not, failure write and/or read

C ONTROLLER _RAM B LOCK D IAGRAM CLK A D CEN WEN Q DCLK DADDR DTRANS DWRITE DSIZE DWDATA LOAD WEN1 WEN2 WEN3 WEN4 CLK A D CEN WEN Q CLK A D CEN WEN Q CLK A D CEN WEN Q WEN1 WEN2 WEN3 WEN4 DADDR [31:0] DCLK LOAD LOADADDR [31:0] LOADDATA [31:0] DWRITE DTRANS [1:0] DSIZE [1:0] DWDATA [31:0] RAMEN DCLK DADDR DTRANS DWRITE DSIZE DWDATA LOAD DCLK WRITEDATA1 DECODER RAM1 RAM2 RAM3 RAM4 WRITEDATA2 WRITEDATA3 WRITEDATA4 RAMADDR RAMEN RDATA [7:0] RDATA [15:8] RDATA [23:16] RDATA [31:24] RDATA RAMADDR

C ONTROLLER _RAM Control data flow Adjust the AHB “address phase”, “data phase” timing to RAM timing Adjust Test Bench “load mode” to RAM timing Synchronize both mode Use load signal to decide which address and data to pass

P ROCESSOR, M EMORY C ONTROLLER, M EMORY I NTEGRATION AND T EST CPU Controller _RAM RAM.bin Test Bench LOADADDR LOADDATA AHB RDATA Processor Other signals

LOAD MODE & CPU MODE LOAD mode CPU mode(AHB)

T EST (“ HELLO WORLD ”)

C ONSOLE

A CHIEVEMENT Get familiar with ARM AMBA bus protocol Learn memory mapping Design soft IP block for certain customed request Detailed interrelation between Processor and Memory

VLSI PART Process to create integrated circuit Design Compiler: generate gate-level netlist Encounter (Place and Route): generate layout

C ONTROLLER 90MH Z Critical Path(RAM  RDATA) Time slack: 3.93ns Reason: RAM block constrain the timing

L AYOUT I NTEGRATION Layout area: nm 2

N ON -V IOLATION R EPORT

P OST _PR S IMULATION Note: Processor is behavioral model Print “hello world” in post_PR sim

C ONCLUSION Memory controller can achieve read and write to 4 memory banks. It can follow processor’s request to do certain byte, half word, word write. It can offer data back to processor in time. It can load program and reset memory state. Memory and memory controller design can be integrated with other block(Processor) and can function correctly in both CPU mode and LOAD mode. Post PR, Controller_RAM can run at 90MHz with no violations.

A CKNOWLEDGEMENT Dr Jones and Dr Levitan for guidance Xiang Chen for layout Mike Rogers for SDF solution Classmates for help If any questions regarding memory and memory controller, please contact

Thank you