What Is An HDL? (Verilog/VHDL) : I I I I I I
What Is An HDL? (Verilog/VHDL) : I I I I I I
I VHDL:
I more difficult to learn
I strongly typed
I widely used for FPGAs, military
I Verilog
I simpler to learn
I looks like C
I weakly typed
I 85% of ASIC designs use Verilog
I Once either is used, the other is learned quickly
I System Verilog is Verilog with lots of goodies added from VHDL
Logic Synthesis was a later thought (1985)
I Productivity!
I Logic Synthesis
I 10-20K gates/day/designer
I Design changes are fast and easily done (text vs. drawing)
I Leverage of SW design tools
I vi, source control, make files, Unix text tools
I Optimization of designs is easier
I Exploration of alternative designs can be done quickly
I Easy to trade off time and complexity (speed vs. area)
What are the advantages of using HDLs(cont.)
I Reusability
I Packages, libraries, designs all can be reusable
I Vendor and technology independence
I CMOS, ECL, GaAs, NEC, TI, TSMC,... same code
I Documentation
I Textual documentation is part of the code, not a separate document
I Standards
I There is no such thing as a schematic standard
I Strict standards promote clear and consistent delivery of design intent
What does Verilog HDL look like?
//-------------------------------------------------------------------
//This module creates an adder/accumulator
//-------------------------------------------------------------------
module adder(
input clk, //input clock
input reset_n, //reset async active low
input first_select, //on first data item use this
input rd_fifo, //enable for ff
input [7:0] data, //data in
output logic [11:0] acc_out //data out of accumulator
);
I Can not make architectural tradeoffs for you, it can help however
I Does not relieve you of understanding digital design
I Guess what it is that you want something to do
I If you can’t draw the structure you are looking for, stop coding