Blink LED - Systemverilog Typing CST Test
Loading…
Blink LED — Systemverilog Code
Toggle an LED using a clock divider with SystemVerilog syntax.
module LED_Blink(
input logic clk,
output logic led
);
logic [23:0] counter = 0;
always_ff @(posedge clk) begin
counter <= counter + 1;
led <= counter[23];
end
endmoduleSystemverilog Language Guide
SystemVerilog is a hardware description and verification language (HDVL) that extends Verilog with advanced features for hardware modeling, simulation, and verification in digital design.
Primary Use Cases
- ▸RTL modeling of digital circuits
- ▸Functional verification using testbenches
- ▸Formal verification with assertions
- ▸Constrained-random stimulus generation
- ▸Coverage-driven verification of complex designs
Notable Features
- ▸Class-based object-oriented programming for verification
- ▸Constrained random stimulus generation
- ▸Functional coverage and assertions
- ▸Interfaces and modports for modular designs
- ▸Enhanced data types (logic, bit, enum, struct, union)
Origin & Creator
Developed by Accellera and later standardized as IEEE 1800, SystemVerilog builds upon Verilog (originally created by Phil Moorby in 1984) to unify design and verification features.
Industrial Note
SystemVerilog is essential in high-performance semiconductor industries for complex SoC verification, coverage-driven testbenches, and constrained-random simulation.