verilog task problem
时间:10-02
整理:3721RD
点击:
a[0] = 1'b1;
a[1] = 1'b0;
how to write a task for implementing the function?
task a_val;
input cc;
input val;
begin
cc = val;
end
endtask
?
anyone can help me ?
a[1] = 1'b0;
how to write a task for implementing the function?
task a_val;
input cc;
input val;
begin
cc = val;
end
endtask
?
anyone can help me ?
cc应该定义为output
