41 lines
432 B
Plaintext
41 lines
432 B
Plaintext
$date
|
|
Sat Apr 06 17:40:37 2024
|
|
$end
|
|
$version
|
|
Icarus Verilog
|
|
$end
|
|
$timescale
|
|
1s
|
|
$end
|
|
$scope module hello $end
|
|
$var wire 1 ! A $end
|
|
$var wire 1 " B $end
|
|
$var wire 1 # C $end
|
|
$var wire 1 $ D $end
|
|
$upscope $end
|
|
$scope module hello_tb $end
|
|
$var reg 1 % A $end
|
|
$var reg 1 & B $end
|
|
$upscope $end
|
|
$enddefinitions $end
|
|
$comment Show the parameter values. $end
|
|
$dumpall
|
|
$end
|
|
#0
|
|
$dumpvars
|
|
0&
|
|
0%
|
|
x$
|
|
x#
|
|
z"
|
|
z!
|
|
$end
|
|
#10
|
|
1&
|
|
#20
|
|
0&
|
|
1%
|
|
#30
|
|
1&
|
|
#40
|