forked from libre-chip/fayalite
47 lines
633 B
Text
47 lines
633 B
Text
$timescale 1 ps $end
|
|
$scope module mod1 $end
|
|
$scope struct o $end
|
|
$var wire 4 ! i $end
|
|
$var wire 2 " o $end
|
|
$var wire 2 # i2 $end
|
|
$var wire 4 $ o2 $end
|
|
$upscope $end
|
|
$scope struct child $end
|
|
$var wire 4 ) i $end
|
|
$var wire 2 * o $end
|
|
$var wire 2 + i2 $end
|
|
$var wire 4 , o2 $end
|
|
$upscope $end
|
|
$scope module mod1_child $end
|
|
$var wire 4 % i $end
|
|
$var wire 2 & o $end
|
|
$var wire 2 ' i2 $end
|
|
$var wire 4 ( o2 $end
|
|
$upscope $end
|
|
$upscope $end
|
|
$enddefinitions $end
|
|
$dumpvars
|
|
b11 !
|
|
b11 "
|
|
b10 #
|
|
b1110 $
|
|
b11 %
|
|
b11 &
|
|
b10 '
|
|
b1110 (
|
|
b11 )
|
|
b11 *
|
|
b10 +
|
|
b1110 ,
|
|
$end
|
|
#1000000
|
|
b1010 !
|
|
b10 "
|
|
b1111 $
|
|
b1010 %
|
|
b10 &
|
|
b1111 (
|
|
b1010 )
|
|
b10 *
|
|
b1111 ,
|
|
#2000000
|