1
0
mirror of synced 2026-01-19 09:38:22 +00:00
YosysHQ.yosys/tests/asicworld/code_verilog_tutorial_task_global.v
2013-01-05 11:13:26 +01:00

13 lines
143 B
Verilog

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