User guide
22-22
SystemVerilog Design Constructs
VCS displays the following warning message:
Warning-[MNA] Making Task or Function Non-Automatic
Making Task non-automatic due to Xmr access into it.
"filename.v", line_number:
task automatic task_name;
Multiple Drivers
If different elements of an unpacked array have structural and
procedural drivers, then you cannot enter a force statement for any
of the elements in the unpacked array.
A procedural driver is a procedural assignment statement.
A structural driver is, for example, a continuous assignment or a
connection to an output or inout port in a module instance.
module mult_driver;
int unpacked_int [3:0];
assign unpacked_int[3]=1; // structural driver
dev dev1(unpacked_int[3],1); // structural driver
initial
begin
unpacked_int[2]=1; // procedural driver
//force unpacked_int[1]=1; //force statement is not valid
end
endmodule
module dev(out,in);
output [31:0] out;
input [31:0] in;
assign out=in;
endmodule
The force statement causes the following error message: