mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
13 lines
265 B
ReStructuredText
13 lines
265 B
ReStructuredText
.. code-block:: sv
|
|
:linenos:
|
|
:emphasize-lines: 3,6
|
|
|
|
module t(input logic clk, input logic d, output logic q);
|
|
|
|
initial q = 1'b0; // <--- Warning
|
|
|
|
always_ff @(posedge clk) begin
|
|
q <= d; // <--- Warning
|
|
end
|
|
endmodule
|