Re: Static connections to input ports

From: <edaorg_at_.....>
Date: Sun Nov 27 2005 - 23:54:16 PST
> 
> Hello,
> 
> The Verilog language seems to allow the connection of a 4-state value to discrete input port within a module instantiation. See the first port connection in the example below. This type of port connection is very useful. The syntax of port connections in the IEEE-1364-2005 standard allows this type of port connection but there is little detail about it in body of the document.
> 
> Currently Verilog-AMS LRM v2.2 syntax does not allow this type of the port connection. The upcoming merger of the Verilog-AMS LRM 2.2 and 1364-2005 will correct this but it is unclear if equivalent types of port connections are allowed for wreal and continuous input ports. For example:
>   
>      module testbench();
>           example i1(1'b1, 0.1, 3.1);
>      endmodule
>   
>      module example(p1, p2, p3);
>          input p1; logic p1; wire p1;
>          input p2; logic p2; wreal p2;
>          input p3; electrical p3;
>      endmodule
>   
> NOTE: The static values in these wreal and continuous input port connections are handled in the same way as initialization values in explicit wreal and continuous net declarations.
>   
> Should the merged Verilog-AMS/2005 LRM support the static connections to all types of input ports?

Yes.

BTW, all connections are static (there are no dynamic connections). What you probably need in the text is that a constant value connected as above is equivalent to a driver of the equivalent type in the module where it is used (testbench), with a strength of "supply".

I doubt "input p2; logic p2; wreal p2;" is allowed or feasible since it's hard to seperate the usage as real or logic syntactically, and there are no resolution rules for wreal and logic.

Kev.
   
> Regards 
> Graham Helwig
> AMS Verification Engineer
> Australia SoC Technology Centre
> Freescale Semiconductor
>  
> Phone: +61-8-81683532
> Fax: +61-8-81683201
> Email: graham.helwig@freescale.com
> 
Received on Mon Nov 28 00:41:58 2005

This archive was generated by hypermail 2.1.8 : Mon Nov 28 2005 - 00:42:15 PST