ECE 5571 Digital System Design 1

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

Microprocessors.
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Computing Machinery Chapter 7: Register Transfers.
Give qualifications of instructors: DAP
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
Memory Management Design & Implementation Segmentation Chapter 4.
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Basic Input/Output Operations
4/10/20081 Lab 9 RT methodology introduction Register operations Data Path Control Path ASM Example TA: Jorge Crichigno.
EKT 221 Digital Electronics II
Computerized Train Control System by: Shawn Lord Christian Thompson.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
CPS120: Introduction to Computer Science
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
EKT 221 : Digital 2 Memory Basics
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 2: Computer-System Structures Computer System Operation I/O Structure.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Combinational vs.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
Senior Project Presentation: Designers: Shreya Prasad & Heather Smith Advisor: Dr. Vinod Prasad May 6th, 2003 Internal Hardware Design of a Microcontroller.
Objective At the conclusion of this chapter you will be able to:
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Implementing Precise Interrupts in Pipelined Processors James E. Smith Andrew R.Pleszkun Presented By: Ravikumar Source:
Slide 1 2. Verilog Elements. Slide 2 Why (V)HDL? (VHDL, Verilog etc.), Karen Parnell, Nick Mehta, “Programmable Logic Design Quick Start Handbook”, Xilinx.
1 Hardware Description Languages: a Comparison of AHPL and VHDL By Tamas Kasza AHPL&VHDL Digital System Design 1 (ECE 5571) Spring 2003 A presentation.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 2 Computer-System Structures Slide 1 Chapter 2 Computer-System Structures.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Implementing Precise Interrupts in Pipelined Processors James E. Smith Andrew R.Pleszkun Presented By: Shrikant G.
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
Introduction to Computing Systems and Programming Programming.
1 Digital Logic Design (41-135) Introduction Younglok Kim Dept. of Electrical Engineering Sogang University Spring 2006.
SUBJECT : DIGITAL ELECTRONICS CLASS : SEM 3(B) TOPIC : INTRODUCTION OF VHDL.
Chapter 2: Computer-System Structures
BLOCK DIAGRAM OF INTEL 8085.
Part of the Assembler Language Programmers Toolbox
Gunjeet Kaur Dronacharya Group of institutions
Assembly Language Programming of 8085
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
CPU Sequencing 6/30/2018.
Ch. 8 File Structures Sequential files. Text files. Indexed files.
Serial I/O and Data Communication.
Chapter 10 © 2011, The McGraw-Hill Companies, Inc.
FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Interfacing Memory Interfacing.
ECE 434 Advanced Digital System L12
T Computer Architecture, Autumn 2005
Module 2: Computer-System Structures
Developing More Advanced Testbenches
Operating Systems Chapter 5: Input/Output Management
BIC 10503: COMPUTER ARCHITECTURE
Programmable Logic- How do they do that?
Module 2: Computer-System Structures
THE ECE 554 XILINX DESIGN PROCESS
Chapter 2: Computer-System Structures
Chapter 2: Computer-System Structures
Module 2: Computer-System Structures
Module 2: Computer-System Structures
THE ECE 554 XILINX DESIGN PROCESS
Computer Operation 6/22/2019.
CPU Sequencing 7/20/2019.
AVR Micro controller & Mojo FPGA.
Chapter 4 The Von Neumann Model
Presentation transcript:

ECE 5571 Digital System Design 1 Message Decoding Design & Simulation Jim Freebourn 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Introduction This message decoding design describes a segment of a data storage system in terms of the AHPL language with logic verification using VHDL with supporting tools. Jim Freebourn Electrical Engineer in the Control Engineering Division at the Harris Corporation 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Project Proposal 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Topics of Discussion The main focus of this project describes the section of a decoding system used to store data at a specified memory location. Each message contains 4-bytes of information Memory section uses the concept of memory mapping 2/22/2019 ECE 5571 Digital System Design 1

Message Decoding Digital Design Message Decoding Concept AHPL Design Methodology Graphical Design using VHDL Hierarchical Design Environment using Visual Elite by Innoveda Inc. Logic Simulations Logic verification using NCLaunch by Cadence Design Systems, Inc. 2/22/2019 ECE 5571 Digital System Design 1

Message Decoding Concept Concept Requirements: An FPGA must store control circuit parameters to operate the Phase Array Circuitry . Amplifier On/Off mask X & Y Element Location Phase Shifter Calibration Data Memory Map Concept Panel Message Header Information Memory Address Data Message Confirmation Byte (Trailer) 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Message Decoding State Machine (7-States Identified) 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Memory Map Concept 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Memory Map Concept 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Panel Header Message Global Msg Bit – Signifies message type. If this bit is 0 then the D6-D0 are actually defined as shown Counter – Indicates how many bytes will follow the header. The 4-bit counter will contain a code that indicates a number of bytes expected Panel Address – Indicates the panel identifier 2/22/2019 ECE 5571 Digital System Design 1

Panel Message Structure 2/22/2019 ECE 5571 Digital System Design 1

Graphical Design using VHDL Serial Decoder to Dual Port Memory Message Decoding Layer Panel Message Module Panel Message Block 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Serial Decoder to Dual Port Memory 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Message Decoding Layer 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Panel Message Model 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Panel Message Block 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Logic Simulations Logic Verification Memory Storage Validation 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Logic Verification 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Logic Verification 2/22/2019 ECE 5571 Digital System Design 1

Memory Storage Validation 2/22/2019 ECE 5571 Digital System Design 1

Memory Storage Validation 2/22/2019 ECE 5571 Digital System Design 1

AHPL Design Methodology Development of a Design Messaging Concept STEP sequence to monitor the output process STATES 7 STATES IDLE, GETMESS, NEXTBYTE, CHECK, DECODE, WAIT, RESET 2/22/2019 ECE 5571 Digital System Design 1

Development of a Design Development of a Design (pg 103) in the Digital Systems “Hardware Organization and Design Third Edition”, Fredrick J. Hill & Gerald R. Peterson It is not always easy to think through a design concept while representing it only in the form of a one-dimensional language or list of branches and transfers (AHPL). A two-dimensional format or a flowchart language sometimes provides a much better vehicle for guiding the thought process through the development of an algorithm. 2/22/2019 ECE 5571 Digital System Design 1

Development of a Design A recommended procedure will be to use a flowchart as a starting point in the development of a complete AHPL description. The example 4.3 on pg 104 in the book begins with a word description of the design problem and then illustrates the development of an AHPL control sequence. A flowchart is used to assist in the process. 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Message Concept Message Stream Valid byte based on parity, start, & stop bits Panel State Machine Header Memory Address Data Confirmation Byte Header routes the Message stream to the correct state machine for decoding. State Machine Decodes Message Memory Address Data Check Confirmation Valid message based on confirmation byte Store data in memory at specified memory location 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Message Concept Transfer Data to Registers Index n and m Dual Port Block Memory mem8x32 X (DATAOUT) DR (AMPDATA) AR (AMPSEL) 8 LOWERADDR UPPERADDR CHECKPANELMESS (If valid process will store data to memory) K = 2 K = 3 K = 4 K = 5 WRITE (AMPVALCAPTURED) Transfer Data to DR Index nbit and mbit 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Step Sequence IDLE STATE – STEP(3 – 9) GETMESS STATE – STEP(10-18) NEXTBYTE STATE – STEP(19-23) CHECK STATE – STEP(24-28) DECODE STATE – STEP(29 – 36) WAIT STATE – STEP(37) RESET STATE – STEP(41) 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 The basic idea is to transfer a data stream that represents the memory address, memory data, and a message confirmation code. The STEP allows tracking the process in the output file. Attempt to use ZEROCNTL to control state processing 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 IDLE STATE (step 3 - 9) COUNTER set to CNT (4) N & M Set to 56 decimal. Transfer 7-bytes. Increment counter until ZEROCNTL reaches 010. COUNTER equals 6. Reset ZEROCNTL. Set DECODE INDEX (4) Set NBIT & MBIT to N & M. Decrement NBIT by 1. DATA(NBIT:MBIT) DATA(55:MBIT) Decrement MBIT by 8. DATA(NBIT:MBIT) DATA(55:48); ZEROCNTL ^(&(111)) next step. &(111) = 1 not this equals 0 stop loop &(101) = 0 not this equals 1 go to step 7 Decrement N by 1. Decrement M by 8. ZEROCNTL ^(&(111)) next step. 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 GETMESS STATE (step 10 - 18) The getmess state is controlled by two 4-bit counters K and COUNTER. K=0000 / 12, k=0001 / 13, k=0010 / 14 K=0011 / 15, k=0100 / 16, k=0101 / 17 K=COUNTER / 18 Transfer Data to Lower Address Transfer Data to Upper Address 1st Data Byte 2nd Data Byte Step 7: &(111) = 1 not this equals 0 stop loop &(101) = 0 not this equals 1 go to step 7 Step 10: Step 10 is not shown: This step checks getmess, panelsel, and endata (enable data) These are just set by projdata file. 3rd Data Byte 4th Data Byte Transfer Message Confirmation 2/22/2019 ECE 5571 Digital System Design 1

NEXT BYTE STATE (step 19 – 23) K counter is incremented Transfer step 20: if K and Counter are not equal and N is not zero. Decrement N by 8 Reset ZEROCNTL Counter Decrement M by 8 &(111) = 1 not this equals 0 stop loop &(101) = 0 not this equals 1 go to step 7 Transfer Upper & Lower Address to ADDRMEM Register 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Step 19 increments K; this means that N and M will be decremented before data is transferred. 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Check State (24 – 28) Max address is 32. If there is a 1 in bits 0:10 then 32 is exceeded. Msg Validity is checked Address Boundary is the Max address minus the beginning address. This indicates the amount of data space available. Max 32 – ADDRMEM = ADDRBOUNDARY. (32 – 15 = 17-bytes available to store 4-bytes) 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 CHECK STATE Incrementing up addrtemp until equal with addrmem. When addrtemp = addrmem then addrboundary stops decrementing down from maximum address. 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Decode State (29 - 36) Max address check & Address Boundary check. If 1 is in 0:11 then the address boundary exceeded. Reset. ------------------------------- DECODEINDEX 0100 / 33, 0011 / 34 0010 / 35, 0001 / 36 0000 / 41 Reset -------------------------------Store Amplifier Data @ AMPSEL address 2/22/2019 ECE 5571 Digital System Design 1

Wait (37) & Reset States (41) Decrement the DECODEINDEX Counter & Reset the AMPVALCAPTURED ------------------------------------------- Reset Registers and Counters 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 2/22/2019 ECE 5571 Digital System Design 1

Summary (Trade Study Results) No concrete design method using AHPL. Seems to be more of a learning tool for investigating basic logic devices. The AHPL software program only supports basic logic. Exploring incrementing, decoding, encoders, comparators … CLUNIT (Increment & decrement) limited to 8-bit and user defined CLUNITs not supported Registers limited to holding 28-bits No Delay not supported 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 Suggestion Use VHDL Digital Systems Design Using VHDL, Charles H. Roth, Jr. http://www.walmart.com ~$100 Features: Teaches the use of VHDL in the digital design process – both digital design concepts and VHDL are covered simultaneously. Teaches the use of VHDL for modeling, simulating, and synthesizing digital systems. Many vendors supply tools for VHDL coding. 2/22/2019 ECE 5571 Digital System Design 1

ECE 5571 Digital System Design 1 2/22/2019 ECE 5571 Digital System Design 1