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

Issue related to use of cadence analog fetch function $cgav with a multi-bit analog signal

$
0
0

Hi,

I am running into following issue. I have a signal adc_do which is 6 bit width and when AMS netlist is generated it is defined as 

output [5:0] adc_do in analog module. When I use cds_analog_get_width on adc_do, it provides me a value of 1 and treats it as scalar.

Is there a way I can access individual bit values, For example, adc_do[1] using $cgav

The definition of $cgav in Cadence app notes is $cgav(hierarchical name, [optional index, qualifier]) 

Since the signal adc_do above is treated as scalar. I can not use index field to access individual value of this analog bus.

I get value fetch errors if i try to use  $cgav("X.X.adc_do", 1,"potential")    --- [which is expected as tool is treating value as scalar]

when I do $cgav("X.X.adc_do") , the resulting values is real value of adc_do[5]

BR


Viewing all articles
Browse latest Browse all 1074

Trending Articles



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