Sign in
foss-fpga-tools
/
third_party
/
yosys
/
991c2ca95bfac2bedd9fd622dbef15611021a8be
/
.
/
tests
/
ice40
/
div_mod.v
blob: 64a36707da932e7aee9674d2cf08be8677cac292 [
file
]
module
top
(
input
[
3
:
0
]
x
,
input
[
3
:
0
]
y
,
output
[
3
:
0
]
A
,
output
[
3
:
0
]
B
);
assign A
=
x
%
y
;
assign B
=
x
/
y
;
endmodule