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

I would like to see the values of a signal after some mathematical/logical function. How do I do this?

$
0
0

Looking for a way to run a TCL procedure over all values of a signal, and if possible display these values in the wave on another "virtual" signal.

For example:

I would like to do the following transformation

limit_values = [0, 50, 100, 300, 400]

signal_values = [20, 60, 90, 220, 5000]

after transformation:

new_values = [0, 50, 50, 100, 400]

Basically finding the nearest lowest value to the signal value in the limit_values table.


Viewing all articles
Browse latest Browse all 1069

Trending Articles