mirror of https://github.com/YosysHQ/yosys.git
11 lines
146 B
Coq
11 lines
146 B
Coq
|
module test (in1, in2, out);
|
||
|
input in1, in2;
|
||
|
output reg out;
|
||
|
|
||
|
always @ ( in1 or in2)
|
||
|
if(in1 > in2)
|
||
|
out = in1;
|
||
|
else
|
||
|
out = in2;
|
||
|
endmodule
|