Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
refs/heads/mithro-patch-1
/
.
/
SVIncCompil
/
Testcases
/
Icarus
/
ivltests
/
landor1.v
blob: 2219315a735458879cd01c685384ade07cc8c9be [
file
] [
log
] [
blame
] [
edit
]
module
test
;
reg
[
1
:
0
]
r1
,
r2
;
initial
begin
r1
=
2
'd2;
r2 = 2'
d0
;
if
(
r1
||
r2
)
$display
(
"PASSED"
);
else
$display
(
"FAILED"
);
r1
=
2
'd2;
r2 = 2'
d1
;
if
(
r1
&&
r2
)
$display
(
"PASSED"
);
else
$display
(
"FAILED"
);
end
endmodule