Discipline Resolution

S

Stefan Joeres

Guest
Hi altogether,

I do have a net labeled netA, connected to pinA and pinB (VerilogAMS
building blocks).
pinA and pin B can now be switched between electrical and logic
implementation.

The netA therefore can be either digital or analog.

Now I'm tapping netA with a third pinC.

Is there a way to have the pinC automatically detect whether netA is
electrical or logic and have it behave in different manners ?

The reason is that I don't want to have an connect module inserted between
netA and pinC (would slow down simulation dramatically...).

Regards,

Stefan
 
On Wed, 22 Nov 2006 09:20:28 +0100, Stefan Joeres <joeres@ias.rwth-aachen.de>
wrote:

Hi altogether,

I do have a net labeled netA, connected to pinA and pinB (VerilogAMS
building blocks).
pinA and pin B can now be switched between electrical and logic
implementation.

The netA therefore can be either digital or analog.

Now I'm tapping netA with a third pinC.

Is there a way to have the pinC automatically detect whether netA is
electrical or logic and have it behave in different manners ?

The reason is that I don't want to have an connect module inserted between
netA and pinC (would slow down simulation dramatically...).

Regards,

Stefan
Hi Stefan,

So is pinC within a Verilog-AMS model? You can of course choose to not
specify the discipline, and thus it would resolve to whatever it is connected
to. However, if it is a verilog-ams model, it presumably needs to do something
with the net - and so would need to do different things in the code.

So I don't think I can quite picture what you're trying to achieve here - I
think you need to be a bit more explicit about your goals.

Regards,

Andrew.
--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top