Verilog
Table of Contents
.v
Hardware Descriptive Language (HDL) standardized as IEEE 1364-2001.
HDLs have a notion of time.
1. VHDL
- VHSIC (Very High Speed Integrated Circuit) HDL
Old HDL used in electronic design, based on Pascal and Ada language.
2. Switch Level
nmos and pmos is used to define circuits in terms of switches.
<mos_name> <instance_name> (<output>, <data>, <control>);
Example
module inverter(Q, A);
input A;
output Q;
supply1 vdd;
supply0 vss;
pmos p (Q, vdd, A);
nmos n (Q, vss, A);
endmodule
This represents the following circuit