Module 4: Introduction to Verilog HDL · 4.1 Why HDL?

From Schematics to Code

In 1971, Intel manufactured the 4004, the first commercial single-chip microprocessor.

The 4004 contained 2,300 transistors and operated at a clock frequency of 740 kHz. Engineers designed the processor manually using physical schematic drawings and hand-cut rubylith photomasks.

Modern microprocessor integrated circuits contain more than one hundred billion transistors. Engineering teams design these complex devices by writing hardware description code rather than drafting schematic diagrams.

The Physical Limits of Manual Schematic Capture

Manual schematic capture functioned effectively for circuits containing up to ten thousand transistors. An engineer could inspect printed schematics and verify point-to-point electrical connections manually.

As semiconductor transistor density doubled every two years (Moore’s Law), integrated circuits expanded to millions of transistors.

A schematic diagram representing one million discrete transistors would span several hundred square meters. Manual visual inspection became impossible. The engineering methodology had to evolve from manual drawing to programmatic description.

Behavioral Description and Logic Synthesis

Electronic Design Automation (EDA) introduced logic synthesis:

  • The engineer writes code describing circuit behavior (e.g., add two 8-bit registers to generate a 9-bit sum).
  • The automated synthesis tool maps the behavioral description into logic gates, optimizes timing paths, and minimizes silicon area.

The engineer specifies system function; the automated tool synthesizes the physical gate-level implementation.

This automation enables small engineering teams to design devices containing billions of components.

History of Verilog HDL

Verilog was created to support software simulation rather than formal standardization (Figure 1):

  1. Gateway Design Automation (1984): Phil Moorby and Prabhu Goel created Verilog as an input modeling language for their logic simulator. The syntax adopted familiar C language constructs.
  2. Cadence Design Systems (1989–1990): Cadence acquired Gateway and placed the Verilog language into the public domain in 1990 to expand the simulator market.
  3. IEEE 1364-1995 (Verilog-95): The Institute of Electrical and Electronics Engineers (IEEE) published the first open standard. The standard formalized module ports, wire and reg data types, and procedural blocks.
  4. IEEE 1364-2001 (Verilog-2001): Introduced major enhancements: ANSI-style port declarations, signed arithmetic, automatic sensitivity lists (always @*), generate blocks, and $clog2.
  5. SystemVerilog IEEE 1800 (2005–Present): Extended Verilog with object-oriented verification classes, constrained random testing, hardware assertions, and unified data types. In 2009, IEEE merged Verilog directly into SystemVerilog.

Verilog timeline
Figure 1: Historical evolution from Gateway Verilog to IEEE SystemVerilog

This course teaches Verilog-2001, which forms the synthesizable RTL foundation of modern SystemVerilog.

Engineering Advantages of Hardware Description Languages

Hardware Description Languages provide four essential engineering benefits:

  1. Pre-Silicon Simulation: Engineers verify digital systems across millions of test vectors before committing designs to fabrication. Correcting defects in simulation prevents costly physical photomask revisions.
  2. Automated Synthesis: Compilers optimize Boolean logic and map generic RTL code into target ASIC standard-cell libraries or FPGA Look-Up Tables.
  3. Parametric Design Reuse: Engineers write parameterized modules once (such as an $N$-bit adder) and instantiate them across multiple data widths.
  4. Portability and Collaboration: The same RTL source code can target an FPGA prototype or an ASIC fabrication process. Version control systems enable hundreds of engineers to collaborate on unified codebases.

The Semiconductor Abstraction Stack

Modern integrated circuit design operates across structured levels of abstraction (Figure 2):

Abstraction stack
Figure 2: The digital hardware design abstraction stack from system algorithms down to physical silicon

  • System Level: Defines algorithmic models and software architectures.
  • Register Transfer Level (RTL): Defines synchronous state registers and intermediate combinational logic. This level is where digital logic designers write Verilog.
  • Gate Level: Structural netlists comprising logic gates, multiplexers, and flip-flops.
  • Transistor Level: Physical CMOS pull-up and pull-down transistor networks.
  • Physical Layout: Geometric diffusion, polysilicon, and metal interconnect geometries.

Each level of abstraction conceals underlying physical implementation details, allowing engineers to manage vast system complexity.

Scale of Modern VLSI Design

A modern multi-core processor contains tens of millions of lines of synthesizable RTL code.

If an engineer verified one thousand electrical connections daily, inspecting a billion-transistor processor manually would require thousands of years. Using HDLs and automated EDA toolchains, teams complete designs in two to three years.

The next article examines the fundamental distinction between software simulation and hardware logic synthesis.

Simulation and Synthesis →