DESIGN AND IMPLEMENTATION OF 8 BIT AND 16 BIT ALU USING VERILOG LANGUAGE

Similar documents
Keywords: Soft Core Processor, Arithmetic and Logical Unit, Back End Implementation and Front End Implementation.

VLSI Based 16 Bit ALU with Interfacing Circuit

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University

Design of 8 bit Pipelined Adder using Xilinx ISE

Hardware Description Languages (HDLs) Verilog

Levels in Processor Design

FPGA based Simulation of Clock Gated ALU Architecture with Multiplexed Logic Enable for Low Power Applications

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 11. Introduction to Verilog II Sequential Circuits

Von Neumann Architecture

ECE 2300 Digital Logic & Computer Organization. More Sequential Logic Verilog

structure syntax different levels of abstraction

Here is a list of lecture objectives. They are provided for you to reflect on what you are supposed to learn, rather than an introduction to this

Henry Lin, Department of Electrical and Computer Engineering, California State University, Bakersfield Lecture 7 (Digital Logic) July 24 th, 2012

Verilog. What is Verilog? VHDL vs. Verilog. Hardware description language: Two major languages. Many EDA tools support HDL-based design

Finite State Machines

FPGA Design Challenge :Techkriti 14 Digital Design using Verilog Part 1

SystemC Implementation of VLSI Embedded Systems for MEMS. Application

ARCHITECTURAL DESIGN OF 8 BIT FLOATING POINT MULTIPLICATION UNIT

32 bit Arithmetic Logical Unit (ALU) using VHDL

Analysis of Different Multiplication Algorithms & FPGA Implementation

[Sahu* et al., 5(7): July, 2016] ISSN: IC Value: 3.00 Impact Factor: 4.116

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL September 3, 2018 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)

Introduction. Why Use HDL? Simulation output. Explanation

LAB 1: Combinational Logic: Designing and Simulation of Arithmetic Logic Unit ALU using VHDL

Schematic design. Gate level design. 0 EDA (Electronic Design Assistance) 0 Classical design. 0 Computer based language

(ii) Simplify and implement the following SOP function using NOR gates:

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

Designing an Improved 64 Bit Arithmetic and Logical Unit for Digital Signaling Processing Purposes

Digital Design with FPGAs. By Neeraj Kulkarni

Lecture 3. Behavioral Modeling Sequential Circuits. Registers Counters Finite State Machines

Design and Implementation of CVNS Based Low Power 64-Bit Adder

Chapter 3: Dataflow Modeling

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

Register Transfer Level in Verilog: Part I

Topics. Verilog. Verilog vs. VHDL (2) Verilog vs. VHDL (1)

Recommended Design Techniques for ECE241 Project Franjo Plavec Department of Electrical and Computer Engineering University of Toronto

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

Let s put together a Manual Processor

Verilog for High Performance

Evolution of CAD Tools & Verilog HDL Definition

COE 561 Digital System Design & Synthesis Introduction

Prachi Sharma 1, Rama Laxmi 2, Arun Kumar Mishra 3 1 Student, 2,3 Assistant Professor, EC Department, Bhabha College of Engineering

CS429: Computer Organization and Architecture


Implementation of Low Power High Speed 32 bit ALU using FPGA

Verilog Fundamentals. Shubham Singh. Junior Undergrad. Electrical Engineering

Chapter 1 : Introduction

Graphics: Alexandra Nolte, Gesine Marwedel, Universität Dortmund. RTL Synthesis

Lab Assignment 2. Implementing Combinational and Sequential Logic in VHDL

Design, Analysis and Processing of Efficient RISC Processor

What is Verilog HDL? Lecture 1: Verilog HDL Introduction. Basic Design Methodology. What is VHDL? Requirements

VHDL for Synthesis. Course Description. Course Duration. Goals

PINE TRAINING ACADEMY

Tutorial on VHDL and Verilog Applications

Chapter 2 Logic Gates and Introduction to Computer Architecture

VHDL. Chapter 1 Introduction to VHDL. Course Objectives Affected. Outline

ECE 595Z Digital Systems Design Automation

Chapter 2. Boolean Algebra and Logic Gates

Implementing Tile-based Chip Multiprocessors with GALS Clocking Styles

REALIZATION OF AN 8-BIT PROCESSOR USING XILINX

Introduction to Verilog HDL

תכן חומרה בשפת VERILOG הפקולטה להנדסה

Figure 1: Verilog used to generate divider

N-input EX-NOR gate. N-output inverter. N-input NOR gate

On development of Chip to Control Laser Time for Cell-selective Arrhythmia Ablation of Heart

UNIT V: SPECIFICATION USING VERILOG HDL

ECE 4514 Digital Design II. Spring Lecture 15: FSM-based Control

Design and Implementation of VLSI 8 Bit Systolic Array Multiplier

Design of a Pipelined 32 Bit MIPS Processor with Floating Point Unit

ECE 545 Lecture 12. Datapath vs. Controller. Structure of a Typical Digital System Data Inputs. Required reading. Design of Controllers

Lecture 1: Introduction Course arrangements Recap of basic digital design concepts EDA tool demonstration

ECT 224: Digital Computer Fundamentals Using Xilinx StateCAD

Sunburst Design - Verilog-2001 Design & Best Coding Practices by Recognized Verilog & SystemVerilog Guru, Cliff Cummings of Sunburst Design, Inc.

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016


Performance Analysis and Designing 16 Bit Sram Memory Chip Using XILINX Tool

CHAPTER - 2 : DESIGN OF ARITHMETIC CIRCUITS

Least Common Multiple (LCM)

ECE 459/559 Secure & Trustworthy Computer Hardware Design

RIZALAFANDE CHE ISMAIL TKT. 3, BLOK A, PPK MIKRO-e KOMPLEKS PENGAJIAN KUKUM. SYNTHESIS OF COMBINATIONAL LOGIC (Chapter 8)

Lecture 2 Hardware Description Language (HDL): VHSIC HDL (VHDL)

One and a half hours. Section A is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

ECE 551 Digital System Design and Synthesis. Instructor: Kewal K. Saluja. Midterm Exam

DESIGN AND IMPLEMENTATION OF APPLICATION SPECIFIC 32-BITALU USING XILINX FPGA

DESIGN AND IMPLEMENTATION OF VLSI SYSTOLIC ARRAY MULTIPLIER FOR DSP APPLICATIONS

VLSI DESIGN (ELECTIVE-I) Question Bank Unit I

Implementation of Ripple Carry and Carry Skip Adders with Speed and Area Efficient

Synthesis of Combinational and Sequential Circuits with Verilog

Design and Implementation of 5 Stages Pipelined Architecture in 32 Bit RISC Processor

Overview of Digital Design Methodologies

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010

Synthesis of VHDL Code for FPGA Design Flow Using Xilinx PlanAhead Tool

Fundamental Design Concepts. Fundamental Concepts. Modeling Domains. Basic Definitions. New terminology and overloaded use of common words

Design and Implementation of High Security Optical Shaft Encoder for an Artificial Limb using Xilinx on FPGA

World Class Verilog & SystemVerilog Training

: : (91-44) (Office) (91-44) (Residence)

EEL 4783: HDL in Digital System Design

Building Combinatorial Circuit Using Behavioral Modeling Lab

High Performance and Area Efficient DSP Architecture using Dadda Multiplier

Transcription:

DESIGN AND IMPLEMENTATION OF 8 BIT AND 16 BIT USING VERILOG LANGUAGE MANIT KANTAWALA Dept. of Electronic & Communication Global Institute of Technology, Jaipur Rajasthan, India Abstract: In this Paper present Arithmetic and Logical Unit () using HDL Verilog Language. An arithmetic logic unit () is a digital circuit used to perform arithmetic and logical operations. It represents the fundamental component of a computer's CPU. Modern processors contain very powerful and complex s. In addition to s, modern CPUs contain a control unit (CU). In this Paper presented the 8 bit and 16bit architecture and its implementation using Verilog Language. Keywords:, CU, CPU, HDL, VLSI I. INTRODUCTION An arithmetic logic unit () is a digital circuit used to perform arithmetic and logical operations. It represents the fundamental component of a computer's CPU. Modern processors contain very powerful and complex s. In addition to s, modern CPUs contain a control unit (CU). Most CPU operations are performed by one or more s, which load data from the input registers. A record is a small amount of storage available as part of a CPU. The control unit tells the the operation that will be performed on this data and the stores the result in an output record. The control unit moves the data between these registers, the and the memory. An performs basic arithmetic and logic operations. Examples of arithmetic operations are addition, subtraction, multiplication, and division. Examples of logical operations are comparisons of values such as NOT, AND, and OR. All the information in a computer is stored and manipulated as binary numbers, that is, 0 and 1. Transistor switches are used to manipulate binary numbers because there are only two possible states. A switch: open or closed. An open transistor, through which there is no current, represents 0. A closed transistor, through which there is a current, represents a 1. Operations can be achieved by connecting multiple transistors. A transistor can be used to control a second; in fact, it enables or disables the transistor deping on the state of the second transistor. This is called a door because the arrangement can be used to allow or stop a current. The entries of an are the data to be operated, called operands, and a code that indicates the operation to be performed; the output of the is the result of the operation performed. In many designs, the also has state inputs or outputs, or both, that transmit information about a previous operation or a current operation, respectively, between the and the status registers External. An is a combinational logic circuit, which means that its outputs will change asynchronously in response to input changes. In normal operation, stable signals are applied to all inputs and when enough time is passed (called "propagation delay") for the signals to propagate through the s, the result of the operation appears. in the the exits. The external circuits connected to the are responsible for ensuring the stability of the 's input signals throughout the operation and for allowing sufficient time for the signals to propagate through the beforehand. Shows the result of the. In general, external circuits control an by applying signals to its inputs. Typically, the external circuits use sequential logic to control the operation of the, which is reinforced by a clock signal of a sufficiently low frequency to guarantee sufficient time for the outputs to stabilize under the conditions of the most worst case also. 30

S.no. Input value of S Operation 1 000 A + B 2 001 A B 3 010 A + 1 Figure 1 : Basic Design is getting smaller and more complex nowadays to allow the development of a more powerful system but a smaller computer. However, some limiting factors slow down the development of IC chip more complex and are IC manufacturing technology, designer productivity and design costs. The growing demand for large scale high speed integration (VLSI) can be addressed at different levels of design, like the architecture, the circuit, the design and the level of process technology. At the level of the design of the circuit, there is considerable potential for speed improvement through the appropriate choice of a logical style for implementation combinatorial circuits. This is because all the important parameters that govern the speed switching capability, Transition activity and short-circuit currents are strongly influenced by the chosen logical style. That deps on application, the type of circuit to be implemented and the design technique used, different aspects of the performance be important In the past, such parameters as low power dissipation, small area and low cost issues of concern, while speed considerations attract the attention of the scientific community associated with the VLSI design. II. DESIGN OF 8 BIT This operate on 8 bit input. It performs arethematic and logical operations. This gives appropriate output. 8 bit performs 8 operations. There are 2 data inputs and one select line. According to select line input appropriate operation is performed between 2 inputs. Output of this 8 bit is connected between ROM and RAM. A number of basic arethematic and bitwise logic functions are performed in the. can be used in complex operations, system processing and execution of any program. TABLE1: BASIC OPERATION OF 8BIT DESIGN 4 011 A - 1 5 100 A B 6 101 A & B 7 110 A ^ B 8 111 ~A A. VERILOG PROGRAMME OF 8BIT Module (a, b, s, yout, cf); input [3:0] a; wire [3:0] a; input [3:0] b; wire [3:0] b; input [2:0] s; wire [2:0] s; output [3:0] yout; reg [3:0] yout; output cf; reg cf; reg [4:0] temp; always @ ( a,b,s ) if ( s == 3'b000) temp = {0,a} + {0,b}; 31

else if ( s == 3'b001) temp = {0,a} - {0,b}; else if ( s == 3'b010) temp = {0,a} + 5'b00001; else if ( s == 3'b011) temp = {0,a} - 5'b00001; else if ( s == 3'b100) temp = a b; else if ( s == 3'b101) temp = a & b; else if ( s == 3'b110) temp = a ^ b; else if (s == 3'b100) module temp = ~a; B. RTL VIEW OF 8BIT In the design of digital circuits, the Record Transfer Level (RTL) is a design abstraction that models a synchronous digital circuit in terms of digital signal (data) flows between hardware registers and the logical operations performed on these signals.. The abstraction at the transfer log level is used in hardware description (HDL) languages such as Verilog and VHDL to create high-level representations of a circuit, from which the lowerlevel representations and, finally, the actual wiring It can be derived. The RTL level design is a typical practice of modern digital design. Designers use a description of the Design Log Transfer Level (RTL) to perform optimizations and offsets early in the design flow. The presence of functional blocks in a description of RTL makes the complexity of the architectural design much more manageable, even for larger chips, because RTL has a sufficiently greater granularity than the level descriptions of the gate or circuit. The Basic RTL View of the proposed 8Bit is shown in the figure 2 which is gives the basic implementation design idea about the proposed 8 bit design regarding its inputs and outputs in the form of the block diagram. Figure 2 : BASIC BLOCK DIAGRAM OF 8Bit. 32

logic functions are performed in the. can be used in complex operations, system processing and execution of any program. TABLE2: BASIC OPERATION OF 16 BIT DESIGN S.no Input value of S Operation 1 0000 A + B 2 0001 A B 3 0010 A * B 4 0011 B A 5 0100 A + 1 6 0101 A - 1 7 0110 A + B + 1 8 0111 A - B 1 9 1000 A B 10 1001 A & B 11 1010 A ^ B Figure 3 : Logical Design of 8Bit Proposed C. SIMULATION OF 8 BIT PROPOSED 12 1011 ~A 13 1100 ~B 14 1101 ~(A B) 15 1110 ~(A & B) 16 1111 (A & B) + 1 Figure 4 : Output waveform of 8 bit III. DESIGN OF 16 BIT This operate on 16 bit input. It performs arethematic and logical operations. This gives appropriate output. 16 bit performs 16 operations. There are 2 data inputs and one select line. According to select line input appropriate operation is performed between 2 inputs. Output of this 16 bit is connected between ROM and RAM. A number of basic arethematic and bitwise We executed the Verilog code for the designing of 16bit. The RTL view of the proposed 16 bit is shown in the figure 5 and the logical design implementation of the proposed 16 Bit alu is shown in the figure 6. The output waveform of the 16Bit is shown in the figure 7. 33

Figure 5: BASIC BLOCK DIAGRAM OF 16 BIT Figure 6 : LOGICAL DESIGN OF 16 BIT A. SIMULATION OF 8 BIT PROPOSED IV. CONCLUSION This article presented a new idea to design 16 bits of a processor. It was implemented in the SPARTAN-3E FPGA device. FPGA design offers greater design flexibility. The design is compact and scalable without any change of material. Here, the synthesis tool optimizes the FPGA design architecture for. As a result, additional features can be added to the existing design without any change in Equipment. V. REFERENCES [1]. Ravindran N. and Lourde R. Mary (2015).An Optimum VLSI Design for 16Bit. IEEE International Conference on Information and Communication Technology Research, (pp- 52-55). [2]. Chouhan Ankit (2014).16-Bit Arithmetic and Logic Unit Design Using Mixed Type of Modelling In VHDL. IJERA International Journal of Engineering Research and Applications, (pp 213-215). [3]. B S Premananda, Ravindranath Y M (2013) Design and Synthesis of 16-bit using Reversible Logic Gates. IJARCCE International Journal of Advanced Research in Computer and Communication Engineering, (pp-4137-4141). [4]. N. Naik Chandni and M. Velvani Vaishnavi. VLSI Based 16 Bit with Interfacing Circuit. International Journal of Innovative and Emerging Research in Engineering Volume 2, (pp-65-69). [5]. Zhou Yu and Guo Hui (2008).Application Specific Low Power Design. IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, (pp 214-220). [6]. Sobotka Jiří and Zeman Václav (2011).Application of FMEA Procedure for Unit Testing. IEEE, (pp- 428-432). Figure 7 : OUTPUT WAVEFORM OF 16 BIT 34