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 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