vhdl design of multifunctional risc processor on fpga a.girish pawan kumar v.raghavendran s.sudarsan...

21
VHDL Design of VHDL Design of Multifunctional Multifunctional RISC Processor on RISC Processor on FPGA FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Upload: madeline-morgan

Post on 26-Mar-2015

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

VHDL Design of VHDL Design of Multifunctional RISC Multifunctional RISC Processor on FPGAProcessor on FPGA

A.Girish Pawan KumarV.Raghavendran

S.SudarsanV.Swaminathan

Page 2: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

VLSI Basics

VLSI-Very large scale integrated circuit. Electronic system with integrated dedicated components. Semi custom and full custom. Design styles-ASIC,PLD,CPLD,FPGA,system on chip. FPGA-RAM based devices,these devices loose their

configuration when power is switched off. FPGA uses hex file for design. FPGA programming-Verilog and VHDL.

Page 3: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

VHDL basics VHDL-Very high speed IC Hardware Description Language. Modeling of digital system. Concurrent and sequential statements. Man and machine readable specification. Simulatable source code.

Modeling Behavioral,structural,data flow.

FeaturesStrongly typed-describes from abstract to concrete level.Case insensitive.Top- down and down-top methods.Flexible design methods.

Page 4: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

What is RISC? Computer arithmetic-logic unit. Fastest instruction execution. Instructions are of same size and execute within a

single cycle. Efficient way of completing a operation. Reduces hardware space complexity.

PropertiesSmaller number of instruction commands.Single word standard length.Large general purpose CPU registers. Less costly to design, test and manufacture.Fixed length and easy decoder format.

Page 5: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

CISC Vs RISC

CISC Emphasis on hardware

Includes multi-clockcomplex instructions

Memory-to-memory:"LOAD" and "STORE"incorporated in instructions

Small code sizes,high cycles per second

Transistors used for storing complex instructions

RISC Emphasis on software

Single-clock,reduced instruction only

Register to register:"LOAD" and "STORE"are independent instructions

Low cycles per second,large code sizes

Spends more transistorson memory registers

Page 6: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Features An 8 bit processor. Designed for achieving one clock per instruction. Memory facilitates the control unit with the instructions

which in turn generates appropriate signals for rest of the processor.

Provides four to ten times better performances than existing micro controllers.

Data path

Page 7: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

RISC ARCHITECTURE

Page 8: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

INSTRUCTION MEMORY

INSTRUCTION DECODER

ROM5-bit Address16-bit Data

Multiple output logic circuitControl SignalsInstruction and address

Page 9: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

REGISTER

ALU BLOCK

group of flip-flops to store 1-bit information.

both storing and retrieving data.

arithmetic and logic functions on 8-bit data.

addition, subtraction, excess 3, increment, decrement compare,logic gates, Shifting operations, complement.

Page 10: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Stepper Motor Control

Electromechanical DeviceStatorRotorField coils

Page 11: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Simulation MODELSIM software Mixed language simulator Design up and running is quick Test benches-regression test Low cost,consumes less time and good

performance. Signals in design-waveform generation.

Page 12: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

DEMUX

D I V I D E R

CLOCK

Page 13: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Synthesis

Converting higher level of abstraction to lower level of abstraction

Higher level-HDL language Lower level-equivalent gate level implementation of

HDL language Xilinx synthesis technology-project navigator Project Navigator-design source files,run processes,view

output. It integrates the tools and process is designed easily.

Page 14: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

RTL SCHEMATICS

RISC

BLOC K S

STEPPER MOTORCONTROL

Page 15: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Keypad and LCD interfaceRI SC

P INS

LCD AND KEYPAD

Page 16: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Kit Specifications INPUT: 230V,50Hz. OUTPUT: +5V DC. LCD: 16*2 display. LED:16 digital I/O indication. DIP switches:inputs and outputs. 4 x 3 Keypad CPLD,micro controller,clock provider. ADC,DAC. FPGA - XC 2S 150 ,plastic quad,208 pins,15MHZ. MICRO CONTROLLER - ATMEL 89C519,18.432MHZ. 40 I/O’s of the device are available for external use.

Page 17: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Spartan II Kit

Page 18: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Configuration SANDS FPGA DEVELOPMENT PLATFORM Software

-Configures FPGA device and checks for functionality-Transferring the hex file from the system to the kit.

Page 19: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Applications

Engineering and Graphic work station. Parallel processing systems. Ideal for Embedded applications (mobile phones,

digital cameras, etc).

Apple iMAC RISC inside the system

Page 20: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan

Conclusion

RISC is an evolution in computer architecture.

Emphasizes on speed and cost-effectiveness over the ease of assembly-language programming and conservation of memory.

RISC-based designs will continue to grow in speed and ability, more rapidly than CISC design.

FUTURE TRENDS

The features of RISC processor can be extended by including Program Counter, Generic Statement, Load and Store instructions. This facilitate running the program continuously, increasing the number of bits.

Page 21: VHDL Design of Multifunctional RISC Processor on FPGA A.Girish Pawan Kumar V.Raghavendran S.Sudarsan V.Swaminathan