Re: E 3.2.1 Setting the discipline of analog primitives

From: Geoffrey.Coram <geoffrey.coram_at_.....>
Date: Thu Sep 27 2007 - 07:42:57 PDT
I don't think it's a question of a resistor with rotational ports,
it's a question of those nets being given tolerances defined by
the rotational discipline, rather than electrical.

-Geoffrey


David Miller wrote:
> So I am just trying to understand how this attribute is used.
> The idea behind this is 2 fold.
> 1. it helps the compiler, so that it doesn't raise warnings when it sees 
> I am connecting anything other than electrical to a spice primitive.
> 2. it internally tells the simulator to treat the instance differently 
> if it can (for example if it can handle a resistor with rotational ports).
> 
> module test;
>   rotational node1, node2;
> 
>   (* port_discipline="rotational" *) resistor #(.r(1k)) r1 (node1, node2);
> endmodule
> 
> So when the compiler processes this, it should see that although we are 
> instantiating a spice resistor and passing rotational ports, it 
> shouldn't raise any warning/error since we have set the attribute 
> port_discipline="rotational".
> Internally the simulator may or may not treat this differently depending 
> whether or not it has a specific spice primitive for a resistor with 
> rotational ports.
> 
> Is this how we use this feature?
> 
> Cheers...
> Dave
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Sep 27 07:43:17 2007

This archive was generated by hypermail 2.1.8 : Thu Sep 27 2007 - 07:43:20 PDT