Lecture 3 Flashcards
Leading HDLs
Verilog and VHDL (VHSIC HDL)
VHSIC HDL
Very high speed integrate circuits
DoD program
Verilog
Developed by Gateway Design Automation as a propriety language for logic simulation in 1984
IEEE Standard in 1995
VHDL
Developed in 1981 by DoD to describe the structure and function of HW
Roots draw from Ada programming language
IEEE Standard in 1987
Language first envisioned for documentation, but adopted for simulation and synthesis
Module
Block of hardware with inputs and outputs
AND gate, multiplexer, priority circuit
Describing module functionality
Behavioral, structural
Behavioral modeling
Models that describe what a module does
Structural modeling
Describe how module built from different pieces; application of hierarchy
VHDL code has 3 parts
The library use clause, the entity declaration, and the architecture body
Library use clause
IEEE.STD_LOGIC_1164 defines the STD_LOGIC type
library IEEE; use IEEE.STD_LOGIC_1164.all;
Entity declaration
Lists the module name and its inputs and outputs
entity myfunction is
…
end;
Architecture body
Defines what the modules does
architecture synth of myfunction is
begin
…
end;
VHDL signals
Inputs and outputs
Must have a type declaration
Digital signals should be declared to be STD_LOGIC type, values of 0, 1, Z, X
Major purposes of HDLs
Logic simulation and synthesis
Simulation
Inputs are applied to a module, and outputs are checked to verify that the module operates correctly
To catch bugs because people routinely make mistakes