Re: [sv-bc] Query regarding cell identifier

From: Steven Sharp <sharp_at_.....>
Date: Tue Mar 18 2008 - 14:35:07 PDT
>confg cfg25;
>  design topLib.confg25;
>  default liblist myLib
>  cell topLib.test1 use myLib.myLogic
>endconfg
>
>
>module confg25 (input clk, input [3:0] in1,in2, output [3:0] out1,out2);
>test1 inst1 (clk,in1,in2,out1);
>endmodule
>
>In the above example , the cell identifier (test1) is bound to mylogic
>(design which exist in library myLib ). Here test1 is a simple
>identifier, not a name of any module, primitive, etc then is this
>binding valid.

I am not sure what you are asking.  Are you asking what happens if we
change the declaration of test1 to something like

	integer test1;
	
I would assume that the binding is only attempted if the identifier
is an instance name.  In that case, the cell clause would not be
applied to other identifiers named test1.  It would have no effect
on them, and would not be an error.  However, I am not an expert on
configs.  It just seems to me that making this an error would be
inconvenient and unnecessary.

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Mar 18 14:36:06 2008

This archive was generated by hypermail 2.1.8 : Tue Mar 18 2008 - 14:36:32 PDT