+ All Categories
Home > Engineering > Design and simulation of sayeh processor using verilog copy 1445752708332

Design and simulation of sayeh processor using verilog copy 1445752708332

Date post: 14-Apr-2017
Category:
Upload: akanksha-sharma
View: 356 times
Download: 5 times
Share this document with a friend
17
DESIGN AND SIMULATION OF SAYEH PROCESSOR USING VERILOG Submitted by:
Transcript
Page 1: Design and simulation of sayeh processor using verilog   copy 1445752708332

DESIGN AND SIMULATION OF

SAYEH PROCESSOR USING VERILOG

Submitted by:Akanksha sharma(11507549)

Jasvir kaur(11507996)Shiwani dogra(11500770)

Page 2: Design and simulation of sayeh processor using verilog   copy 1445752708332

BASIC PROCESSOR Computer Architecture = Instruction Set

Architecture + Computer Organization.

The processor is the computer's brain. It

allows the processing of numeric data,

meaning information entered in binary form,

and the execution of instructions stored in

memory.

The first microprocessor (Intel 4004) was

invented in 1971. It was a 4-bit calculation

device with a speed of 108 kHz. Since then,

microprocessor power has grown

exponentially.

Page 3: Design and simulation of sayeh processor using verilog   copy 1445752708332

HISTORY In1823, Baron Jons Jackob Berzelius silicon (Si),

which today is the basic component of processors.

1947 John Bardeen, Walter Brattain, and William

Shockley invent the first transistor at the Bell

Laboratories on December 23, 1947.

1971 Intel with the help of Ted Hoff introduces the

first microprocessor, the Intel 4004 on November

15, 1971. The 4004 had 2,300 transistors,

performed 60,000 operations per second (OPS),

addressed 640 bytes of memory. AND GOES

ON………………………….

Page 4: Design and simulation of sayeh processor using verilog   copy 1445752708332

BASIC PROCESSOR ARCHITECTURE

Page 5: Design and simulation of sayeh processor using verilog   copy 1445752708332

SAYEH PROCESSOR The SAYEH processor (Simple Architecture,Yet

Enough Hardware) has been designed for

educational and benchmarking purpose.

It possesses minimum hardware with enough

operations possible on that hardware. The processor has 8 and 16-bit instructions. Short

instructions contain shadow instructions, which

effectively pack two such instructions into a 16-bit

word.

Page 6: Design and simulation of sayeh processor using verilog   copy 1445752708332

sayeh Interface The CPU has a 16-bit

data bus and a 16-bit address bus, also a 16-bit Instruction Set Architecture (ISA).

It has a register file that is used for data processing instructions.

Page 7: Design and simulation of sayeh processor using verilog   copy 1445752708332

Sayeh Hierarchical structure The processor has a Datapath

and a Controller.

Datapath components are

Addressing Unit, Instruction

Register, Window Pointer,

Register File, Arithmetic Logic

Unit, and the Flags register.

Controller of SAYEH has

eleven states for reset, fetch,

decode, execute, and halt

operations.

Page 8: Design and simulation of sayeh processor using verilog   copy 1445752708332

Processor Architecture Layout PC- Program Counter, 16 bits R0, R1, R2, and R3. General purpose registers part of the register file,16 bits Reg file - The general purpose registers form a window of 4 in a register file of 8 registersWP- Window Pointer points to the register file to define R0, R1, R2, and R3, 3 bitsIR. Instruction Register that is loaded with a 16-bit, an 8-bit, or two 8-bit instructions, 16 bitsALU. The ALU that can AND, OR, NOT, Shift, Compare, Add, Subtract, and Multiply its inputs, 16 bit operandsZ flag. Becomes 1 when the ALU output is 0C flag. Becomes 1 when the ALU has a carry output

Page 9: Design and simulation of sayeh processor using verilog   copy 1445752708332

Instruction Set Architecture The OPCODE field is a 4-bit code that specifies the

type of instruction. The Left and Right fields are 2-bit codes selecting R0

through R3 registers in the Register File for destination and/or source of an instruction.

The 16-bit instructions have the Immediate field and the 8-bit instructions do not.

Page 10: Design and simulation of sayeh processor using verilog   copy 1445752708332

Instruction Set of SAYEH

Page 11: Design and simulation of sayeh processor using verilog   copy 1445752708332

Processor Architecture

Page 12: Design and simulation of sayeh processor using verilog   copy 1445752708332

Addressing unit It consists of Program

Counter and Addressing Logic Unit.

The Addressing Logic is a combinational circuit that is capable of adding its inputs to generate a 16-bit output

The program counter is used as a16 bit address storing register.

Page 13: Design and simulation of sayeh processor using verilog   copy 1445752708332

Status register, Window pointer and Instruction Register Status Register, is

designed as a Carry and Zero bit storing module.

The Window Pointer is a 3-bit register that is used as the base of the Register File .

Instruction Register is a 16 bit register which takes its input from Databus.

Page 14: Design and simulation of sayeh processor using verilog   copy 1445752708332

Register File The Register File is a 2-

port memory and a file of 8,16-bit registers.

Specific registers for read and write (R0,R1, R2, or R3) in the Register File are selected by its 4-bit input bus coming from the Instruction Register and 3-bit bus from window pointer.

Page 15: Design and simulation of sayeh processor using verilog   copy 1445752708332

ALU The Arithmetic Logic

Unit module is able to perform –AND, OR, NOT, Shift, Compare, Add,Subtract, and Multiply .

It interacts with Status register to get the current status of flags from previous computation, gets control signals from controller and sends output to Databus.

Page 16: Design and simulation of sayeh processor using verilog   copy 1445752708332

Alu operations

Page 17: Design and simulation of sayeh processor using verilog   copy 1445752708332

The Controller Controller of

SAYEH has eleven states for reset, fetch, decode, execute,and halt operations.

It takes the Instruction from IR and decodes it and sends appropriate control signals to the Datapath Module.


Recommended