CZ80CPU 8-Bit Microprocessor Megafunction

Similar documents
R bit Microcontroller Megafunction

C8051 Legacy-Speed 8-Bit Processor Core

Digital IP Cell 8-bit Microcontroller PE80

V8-uRISC 8-bit RISC Microprocessor AllianceCORE Facts Core Specifics VAutomation, Inc. Supported Devices/Resources Remaining I/O CLBs

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

1. Internal Architecture of 8085 Microprocessor

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

Architecture of 8085 microprocessor

Microprocessor Architecture

Chapter 1: Basics of Microprocessor [08 M]

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

MOXSYN. General Description. Features. Symbol

I 2 C Bus Interface - Slave ver 3.08

Configurable UART ver 2.10

Configurable UART with FIFO ver 2.20

Pin Description, Status & Control Signals of 8085 Microprocessor

Microcomputer Architecture and Programming

Note: Closed book no notes or other material allowed, no calculators or other electronic devices.

Interrupt is a process where an external device can get the attention of the microprocessor. Interrupts can be classified into two types:

MICROPROCESSOR B.Tech. th ECE

Basics of Microprocessor

Lecture Note On Microprocessor and Microcontroller Theory and Applications

DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core

Chapter 7 Central Processor Unit (S08CPUV2)

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

History and Basic Processor Architecture

8085 Interrupts. Lecturer, CSE, AUST

1. Internal Architecture of 8085 Microprocessor

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.


Chapter 4. MARIE: An Introduction to a Simple Computer

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

Microprocessors/Microcontrollers

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

1. Internal Architecture of 8085 Microprocessor

MARIE: An Introduction to a Simple Computer

Interrupts. by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

MICROPROCESSOR BASICS AND RELATED TERMS

Lecture-15 W-Z: Increment-Decrement Address Latch:

TRANSPUTER ARCHITECTURE

ECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL. Fall 2017 Final Exam (6.00 to 8.30pm) Verilog SOLUTIONS

CSE 141L Computer Architecture Lab Fall Lecture 3

Blog -

AL8253 Core Application Note

Introduction to Microprocessor


CPU Structure and Function

Zilog. lechnical Manual. Zilog

Summer 2003 Lecture 21 07/15/03

EE 3170 Microcontroller Applications

Documentation Design File Formats

AL8259 Core Application Note

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

Revolutionary Quad-Pipelined Ultra High Performance 16/32-bit Microcontroller v. 6.05

3. The MC6802 MICROPROCESSOR

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

C O M P A N Y O V E R V I E W

General Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

ADPCM-LCO Voice Compression Logic Core

Lecture-55 System Interface:

DQSPI IP Core. Serial Peripheral Interface Master/Slave with single, dual and quad SPI Bus support v. 2.01

MARIE: An Introduction to a Simple Computer

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors

3.1 Description of Microprocessor. 3.2 History of Microprocessor

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

These three counters can be programmed for either binary or BCD count.

8051 Microcontroller

ADPCM-HCO Voice Compression Logic Core

Types of Interrupts:

ENE 334 Microprocessors

8086 Hardware Specification

Question Bank Microprocessor and Microcontroller

Introduction to Microcontrollers

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions.

icroprocessor istory of Microprocessor ntel 8086:

8086 INTERNAL ARCHITECTURE

Chapter 4. Chapter 4 Objectives. MARIE: An Introduction to a Simple Computer

Nikhil Gupta. FPGA Challenge Takneek 2012

Chapter 13 Direct Memory Access and DMA-Controlled I/O

Job Posting (Aug. 19) ECE 425. ARM7 Block Diagram. ARM Programming. Assembly Language Programming. ARM Architecture 9/7/2017. Microprocessor Systems

Architecture of 8086 Microprocessor

Lecture 5:8086 Outline: 1. introduction 2. execution unit 3. bus interface unit

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

MACHINE CONTROL INSTRUCTIONS: 1. EI

Write A General Form Of The Assembly

6.111 Final Project Jonathan Downey Lauri Kauppila Brian Myhre

BASIC INTERFACING CONCEPTS

Introduction to Field Programmable Gate Arrays

Simulated 16-bit Intel Microprocessor

EKT222 Miroprocessor Systems Lab 5

ELE 3230 Microprocessors and Computer Systems

Transcription:

CZ0CPU -Bit Microprocessor Megafunction General Description Implements a fast, fully-functional, single-chip, - bit microprocessor with the same instruction set as the Z0. The core has a 16-bit address bus capable of directly accessing 64kB of memory space. It has 252 root instructions with the reserved 4 bytes as prefixes, and accesses an additional 30 instructions. The microcode-free design was developed for reuse in ASIC and FPGA implementations. It is strictly synchronous, with no internal tri-states and a synchronous reset. Symbol Features Programming features contain 20 bits of read/write memory that are accessible to the programmer. The internal registers include an accumulator and six -bit registers that can be paired as three 16-bit registers. In addition to general registers, a 16-bit stack-pointer, 16-bit program-counter, and two 16-bit index registers are provided. Control Unit o -bit Instruction decoder Arithmetic-Logic Unit o -bit arithmetic and logical operations o 16-bit arithmetic operations o Boolean manipulations Register File Unit o Duplicate set of both general purpose and flag registers o Two 16-bit index registers Interrupt Controller o Three modes of maskable interrupts o Non maskable interrupt External Memory interface o Can address up to 64 KB of program memory o Can address up to 64 KB of data memory o Can address up to 64 KB of input/output devices n-core dynamic memory refresh counter CAST, Inc. April 2004 Page 1

Applications Suitable for many embedded controller applications, including industrial control systems, point-of-sale terminals, and automotive controls. Block Diagram cycle_control busrqn intn m1 atri bus_control waitn mreqn dotri iorqn rdn control_tri iff_reg im_reg control_bus wrn rfshn di instruction_reg haltn busak nmi_control nmin addr_unit a addr_reg i_reg r_reg pc_reg sp_reg instruction; cycle bus reset_control reset clk data bus register_bank b_reg c_reg b'_reg c'_reg d_reg e_reg d'_reg e'_reg h_reg l_reg ix_reg h'_reg l'_reg alu iy_reg a_reg a'_reg di w_reg z_reg f_reg f'_reg do data_reg CAST, Inc. Page 2

Pin Description Name Type Polarity/ Description Bus size clk I Rise Clock Feeds internal clock counters and all synchronous circuits. reset I Hardware reset input A high on this pin for two clock cycles while the oscillator is running resets the device. wait_n I Wait A low on this pin indicates to the CPU that the addressed memory or I/ devices are not ready for a data transfer. The CPU continues to enter a wait state as long as this signal is active. int_n I Interrupt Request This signal is generated by an I/ device. The CPU honors a request at the end of the current instruction, if the internal software-controlled interrupt enable flip-flop is enabled. nmi_n I Non-maskable Interrupt This pin has a higher priority then int_n and is always recognized at the end of the current instruction independent of the status of the interrupt enable flip-flop and forced the CPU to restart at address 0066h. busreq_n I Bus Request It has higher priority than nmi_n and is always recognized at the end of the current machine cycles. Active state on this pin forces the CPU address bus, data bus, and control signal to go to a high-impedance state, so that other devices can control these lines. busak_n Bus Request Acknowledgment on this pin indicates to the requesting device that the CPU address bus, data bus, and control signal have entered their high-impedance state and it can now control these lines. m1 Machine Cycles ne This pin together with mreq_n indicates that the current machine cycle is the opcode fetch cycle of an instruction execution. It together with iorq_n indicates an interrupt acknowledge cycle. addr_o addr_tri Address Bus Addr_o forms a 16-bit address bus. The address bus provides the address for memory data bus exchanges (up to 64K bytes) and for I/ device exchanges. data_i data_o I Data Bus (input/output, 3-state) -bit bidirectional data bus, used for data exchanges with memory and I/. data_tri mreq_n mreq_tri Memory Request Indicates that the address bus holds a valid address for memory read or memory write operation. ioreq_n ioreq_tri I/ Request Indicates that the lower half of the address bus holds a valid I/ address for an I/ read or write operation. rd_n rd_tri Read rd_n indicates that the CPU wants to read data from memory, or that an I/ device or memory should use this signal to gate data onto the CPU data bus. wr_n wr_tri Write Indicates that the CPU data bus holds valid data to be stored at the addressed memory or I/ device. rfsh_n Refresh Timing This signal together with mreq_n, indicates that the lower seven bits of the system s address bus can be used as a refresh address to the system s dynamic memories. halt_n Halt State low on this pin indicates that the CPU has executed a Halt instruction and is awaiting either a nonmaskable or a maskable interrupt before operation can resume. Functional Description The CZ0CPU core is partitioned into modules as shown in the Block Diagram and described below. Cycle Control The main control machine, which synchronizes all the others. It has an instruction register and all registers controlled interrupts, bus request cycle, wait states etc. This unit controls bus control signals too. Bus Control Registers are triggered on the falling edge and or gates. These are used to form the bus control timing, changed on both clock edges. This is the only unit that has registers synchronized on the falling clock edge. CAST, Inc. Page 3

Address Unit This unit controls all operations on addresses (calculates the next instruction address, nested data address, jump and return address etc.) and increments and decrements the 16-bit addr register. It includes pc_reg (program counter), sp_reg (stack pointer), i_reg (interrupt register) and r_reg (refresh register). NMI Control This unit detects a falling edge on the nmin pin. If detected, the internal nmi register is set and this causes a non-maskable interrupt service cycle. Reset Control This unit controls the state of external signal resetn. If it has value 0 for at least three full clock cycles, then it sets the internal synchronous reset signal (rst) to 1. Register Bank This includes all the commonly used registers (based and alternative) and the logic element needed to change the data in these registers. Arithmetic-Logic Unit (ALU) The unit accumulator and flag registers, and performs -bit arithmetic and logic operations, 16-bit arithmetic operations (without increment and decrement), bit operations, and sets the flag register. Verification Methods The CZ0CPU core s functionality was verified by means of a proprietary hardware modeler. The same stimulus was applied to a hardware model that contained the original Zilog Z4C00 chip, and the results compared with the core s simulation outputs. Device Utilization & Performance The CZ0CPU is designed to run at frequencies up to 0 MHz on a typical 0.5-micron process and it uses less than K gates depending on the technology. The CZ0CPU is a technology independent design that can be implemented in a variety of process technologies. Supported Device Utilization Performance Family Tested LEs Memory Memory bits F max Cyclone EP1C6-6 397 - - 2 MHz Stratix EP1S10-5 3621 - - 99 MHz Stratix-II EP2S15-3 304 - - 13 MHz Note: Results optimized for speed CAST, Inc. Page 4

Deliverables VHDL or Verilog HDL source code Post-synthesis EDIF netlist (netlist license) Testbench (self-checking) Vectors for testing the core Place & route scripts (netlist license) Simulation script Synthesis script Documentation Verification Methods The CZ0CPU core s functionality was verified by means of a proprietary hardware modeler. The same stimulus was applied to a hardware model that contained the original Zilog Z4C00 chip, and the results compared with the core s simulation outputs. Contact Information CAST, Inc. 11 Stonewall Court Woodcliff Lake, New Jersey 07677 USA Phone: +1 201-391-300 Fax: +1 201-391-694 E-Mail: info@cast-inc.com URL: www.cast-inc.com This megafunction developed by the processor experts at Evatronix SA Copyright 2004, CAST, Inc. All Rights Reserved. Contents subject to change without notice. CAST, Inc. Page 5