mirror of https://github.com/YosysHQ/yosys.git
11 lines
132 B
Verilog
11 lines
132 B
Verilog
|
module simple_function();
|
||
|
|
||
|
function myfunction;
|
||
|
input a, b, c, d;
|
||
|
begin
|
||
|
myfunction = ((a+b) + (c-d));
|
||
|
end
|
||
|
endfunction
|
||
|
|
||
|
endmodule
|