mirror of https://github.com/YosysHQ/yosys.git
13 lines
143 B
Coq
13 lines
143 B
Coq
|
module task_global();
|
||
|
|
||
|
reg [7:0] temp_out;
|
||
|
reg [7:0] temp_in;
|
||
|
|
||
|
task convert;
|
||
|
begin
|
||
|
temp_out = (9/5) *( temp_in + 32);
|
||
|
end
|
||
|
endtask
|
||
|
|
||
|
endmodule
|