Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
backends
/
write_smv_logic
/
top.v
blob: e97898abe7cbe562cbe8229ef0b7bdf79b9092de [
file
] [
log
] [
blame
]
module
top
(
input x
,
input y
,
input z
,
input clk
,
input A
,
output
signed
B
,
output
signed
C
,
D
,
E
);
`ifndef BUG
assign B = (x || y || !z)? (A & z) : ~x;
assign {D,C} = {y,z} >>> 1;
assign E = {x,y,z} / 3;
`
else
assign B
=
z
-
y
+
x
;
`endif
endmodule