mirror of https://github.com/YosysHQ/yosys.git
10 lines
131 B
Coq
10 lines
131 B
Coq
|
module test(en, in, out);
|
||
|
input en;
|
||
|
input [1:0] in;
|
||
|
output reg [2:0] out;
|
||
|
|
||
|
always @ (en or in)
|
||
|
if(en)
|
||
|
out = in + 1;
|
||
|
endmodule
|