H
Holger Schmidt
Guest
Hi,
is it valid Verilog syntax (Verilog 2001) to have a task like this:
task in2out;
input in;
output out;
input real delay;
begin
#(delay) out = in;
end
endtask
The special thing is "real" type input. According to the IEEE Std.
1364-2001 an input can have a task_port_type which can be real (amongst
others). However, my Verilog compiler (Cadence ncvlog 5.7) complains
that the "real" is not an identifier which would be expected at that
position. It also says something about section 13.3.2 and 3.2.1 of the
LRM (don't know which version). But that sections do not seem to be
related. Any ideas?
Thanks,
Holger
is it valid Verilog syntax (Verilog 2001) to have a task like this:
task in2out;
input in;
output out;
input real delay;
begin
#(delay) out = in;
end
endtask
The special thing is "real" type input. According to the IEEE Std.
1364-2001 an input can have a task_port_type which can be real (amongst
others). However, my Verilog compiler (Cadence ncvlog 5.7) complains
that the "real" is not an identifier which would be expected at that
position. It also says something about section 13.3.2 and 3.2.1 of the
LRM (don't know which version). But that sections do not seem to be
related. Any ideas?
Thanks,
Holger