NC Verilog+specify block

A

Anshul Bansal

Guest
Hello all

I am trying to use the following specify block in my program.

reg nX1, nX0, X1, X0;

specify

specparam D1=10;
specparam D2=20;
(A0,A1,B0,B1,Xe,en *> nX1) = D1;
(A0,A1,B0,B1,Xe,en *> nX0) = D1;
(A0,A1,B0,B1,Xe,en *> X0) = D2;
(A0,A1,B0,B1,Xe,en *> X1) = D2;

endspecify

When I try to compile this entire design in NC Verilog simulator then
it gives me an error that
"Register Encountered in specify block".

does this mean I can't use registers in specify block.

Moreover when I compile the same design in Modelsim simulator, it
compiles properly without giving any error.

Please help asap.

thanks

anshul
 
Anshul Bansal wrote:
does this mean I can't use registers in specify block.

From IEEE Std 1364-2001:
The module path source shall be a net that is connected to a module
input port or inout port.

The purpose of a path delay is to specify the delay from inputs to
outputs of an ASIC cell.

Moreover when I compile the same design in Modelsim simulator, it
compiles properly without giving any error.
Then Modelsim is allowing a non-standard construct.
 

Welcome to EDABoard.com

Sponsor

Back
Top