Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1074

SystemVerilog EEnet input driven by current source

$
0
0

Hi,

I am using the Cadence System Verilog EEnet package to model analog ports.

I am running the simulation in the Virtuoso (6.1.8) environment. 

I do have a problem with input ports defined as EEnet and driven by a Spectre current source (analogLib->icd).

What I did:

1. Modelled a resistor (100R) in SystemVerilog with port "P" as an input with EEnet datataype.

2. Create a schematic with an ideal current source (100uA) connected to the EEnet input.

3. Defined in the test the following interface element: Setup-->ConnectRules/IEsetup 

    instport | /I0/P | ……  (advanced Setup  current mode=1)

I expect to get the EEnet input current value "P.I" = 100u, but it is not the case, it always gives back 0.

The node voltage "P.V" is solved correctly. 

I basically want to check in the SystemVerilog model if the input current is in the correct range and if not, I want to output an assertion.

How can I do that ?


Viewing all articles
Browse latest Browse all 1074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>