z x y | t s
-------+-----
0 0 0 | 0 0
0 0 1 | 0 1
0 1 0 | 0 1
0 1 1 | 1 0
1 0 0 | 0 1
1 0 1 | 1 0
1 1 0 | 1 0
1 1 1 | 1 1
0 0 0 | 0 0
0 0 1 | 0 1
こんなのがつくと
シミュレーションがわかりやすい
initial begin
・・・
$display("z x y | t s");
$display("-------+-----");
$monitor(" %b %b %b・・・