HDL as Anfinal Destination

download HDL as Anfinal Destination

of 21

Transcript of HDL as Anfinal Destination

  • 8/2/2019 HDL as Anfinal Destination

    1/21

    HDL AND ITSAPPLICATIONS

    PRESENTED BY:

    www.tricksworld.net.tc

  • 8/2/2019 HDL as Anfinal Destination

    2/21

    INTRODUCTION

    HDL is any language from a class of computerlanguages and/or programmed languages forformal description of electronic circuits ,and morespecially digital logic circuits

    It can describe the circuit operation, design andorganization and tests to verify its operation by

    means of simulation.

    The first hardware description languages were ISPdeveloped at Carnegie Mellon University, andKARL, developed at University of Kaiserslautern,

    both around 1977.

  • 8/2/2019 HDL as Anfinal Destination

    3/21

    ABEL HDL is developed by telecommunicationresearch center CSELT at Torino , Italy, around1980.

    VERILOG HDL was introduced by gateway designautomation in 1985.

    In 1987, a request from the U.S. Department of

    Defense led to the development of VHDL.

  • 8/2/2019 HDL as Anfinal Destination

    4/21

    INTERPRETATION OF HDLS

    ISP ISP (Instruction Set Processor) was, however, more like

    a software programming language used to describerelations between the inputs and the outputs of thedesign. Therefore, it could be used to simulate the design,but not to synthesize it.

    KARL

    KARL included design calculus language featuressupporting VLSI chip floor planning and structuredhardware design.

  • 8/2/2019 HDL as Anfinal Destination

    5/21

    ABEL

    ABEL stands for Advanced Boolean Equation Logic.

    The ABEL HDL was made for PLD circuit design byDATA I/O and with other hardware descriptorlanguages come to easy the PLD design.

    ABEL hardware description language allows to oneto describe digital designs with equations, truthtables, state diagrams, or any combinations of thethree, optimize and simulate the design without

    specifying a device or assigning pins.

  • 8/2/2019 HDL as Anfinal Destination

    6/21

    ABEL Program Structure

    The complete functional description of the designit is included in the so called module. An ABELprogram can have more than one module, but theenvironment will translate only the first module,

    the other modules will be checked syntactically. Inone module can be specified only one PLD device.

  • 8/2/2019 HDL as Anfinal Destination

    7/21

    ABEL MODULE

    HEADER (module name, options, titlestring)

    DECLARATIONS (keyword, device, pin, node, constant,macro, library)

    LOGIC DESCRIPTION (equations, truth tables, statediagrams, fuses, XOR factors)

    TEST VECTORS (TEST_VECTOR,TRACE)

    END STATEMENT

  • 8/2/2019 HDL as Anfinal Destination

    8/21

    VERILOG HDL

    Verilog is a hardware description language (HDL),similar to VHDL that was originally written by PhilMoorby in 1984 who needed a simple, intuitive

    and effective way of describing digital circuit formodeling, simulation and analysis purpose. It supports the design verification as well as

    implementation of analog, digital and mixed signalcircuits at various levels of abstraction.

    It is similar to C programming language, verilogis a fairly language to learn. Verilog is a casesensitive language.

  • 8/2/2019 HDL as Anfinal Destination

    9/21

    Verilog can be used to describe design at fourlevels of abstraction:

    Switch level (the switches are MOS transistorinside gates)

    Gate level (interconnected AND, NOR etc)

    Register transfer level (RTL uses registersconnected by Boolean equations)

    Algorithmic level (much like code c with case andloop statements)

  • 8/2/2019 HDL as Anfinal Destination

    10/21

    VHDL

    In June 2006, VHDL Technical Committee ofAccellera approved so called Draft 3.0 of VHDL-2006. While maintaining full compatibility witholder versions, this proposed standard providesnumerous extensions that make writing andmanaging VHDL code easier.

    In February 2008, Accellera approved VHDL 4.0also informally known as VHDL 2008, whichaddressed more than 90 issues discoveredduring the trial period for version 3.0 andincludes enhanced generic types.

    http://en.wikipedia.org/wiki/Accellerahttp://en.wikipedia.org/wiki/Accellera
  • 8/2/2019 HDL as Anfinal Destination

    11/21

  • 8/2/2019 HDL as Anfinal Destination

    12/21

    entity but_not_gate is

    port (X, Y: in bit; Z: out bit);

    end entity but_not_gate

    architecture behavioral of but_not_gate is

    begin

    work_cycle: process (X, Y) is begin

    if X = 1 and Y = 0 then

    Z

  • 8/2/2019 HDL as Anfinal Destination

    13/21

    entity declaration establishes external interfacesignal names, modes, types

    architecture details implementationtypessignals

    constantsvariablesfunctionsprocedurescomponents

    beginconcurrent statements (processes)

    end

  • 8/2/2019 HDL as Anfinal Destination

    14/21

    Examples:

    architecture behavioral of but_not_gate isbegin

    work_cycle: process (X, Y) is begin

    if X = 1 and Y = 0 then

    Z

  • 8/2/2019 HDL as Anfinal Destination

    15/21

    Phases in a HDL design project

  • 8/2/2019 HDL as Anfinal Destination

    16/21

  • 8/2/2019 HDL as Anfinal Destination

    17/21

    Timing Diagram

  • 8/2/2019 HDL as Anfinal Destination

    18/21

    VERILOG VS VHDL

    The language syntax is the main factor since VHDL isbased on ADA and Verilog is based on C.

    Verilog is easier to learn since C is a far simpler language.

    It also produces more compact code; easier both to writeand read.

    VHDL is very strongly typed, and allow programmer todefine their own types although, in practice, the main typesused are either the basic types of the language itself or

    those define by the IEEE.

    The benefit is that type checking is performed by thecompiler which can reduce errors; the disadvantage is thatchanging types must be done explicitly.

  • 8/2/2019 HDL as Anfinal Destination

    19/21

    ADVANTAGES OF VHDL OVER

    VERILOG It provides a simple mechanism (the configure

    statement) that allows the designer to switchpainless between different description of aparticular module.

    It allows the conditional instancing of modules(if/for generate). This is one of those featuresthat you do not miss until you have used it once and then you need it all the time.

    Many Verilog users recognize this lack and create

    personal preprocessing routine it implement it(which negates some of the advantages of alanguage standard).

  • 8/2/2019 HDL as Anfinal Destination

    20/21

    ADVANTAGES OF VERILOG HDL

    OVER VHDL

    It ensures that all signals are initialized tounknown which ensures that all designers willproduce the necessary logic to initialize theirdesign the base type in VHDL initialize to zeroand the hasty designer may omit the globalreset.

    It allows switchlevel modeling which somedesigners find useful for exploring new circuits.

  • 8/2/2019 HDL as Anfinal Destination

    21/21

    CONCLUSION

    With the help of HDLs we can perform

    many operations. As we know that HDLs

    are used to operate or design digital

    circuits, so by using HDLs we can designand describe the digital hardware.