mirror of
https://github.com/verilator/verilator.git
synced 2025-01-10 08:37:35 +00:00
21 lines
443 B
Systemverilog
21 lines
443 B
Systemverilog
|
// DESCRIPTION: Verilator: Verilog Test module
|
||
|
//
|
||
|
// This file ONLY is placed under The Creative Commons Public Domain, for
|
||
|
// any use, without warranty, 2020 by Wilson Snyder.
|
||
|
// SPDX-License-Identifier: CC0-1.0
|
||
|
|
||
|
// units < precision
|
||
|
`timescale 1ps/1ns
|
||
|
|
||
|
// Bad scale
|
||
|
`timescale frump
|
||
|
`timescale 1xs
|
||
|
`timescale 2ps
|
||
|
`timescale 1ns / frump
|
||
|
`timescale 1ns / 1ps /extra
|
||
|
|
||
|
module t;
|
||
|
timeunit 2ps; // Bad
|
||
|
timeprecision 2ps; // Bad
|
||
|
endmodule
|