check the signal strength

Guest
Hi,

do you know if there is a way to check the signal strength of a
signal?

(something like:

if (signal== foo{strength=pullup}) {...}
)


Thanks,
Pazia
 
On Sun, 6 Jul 2008 05:39:52 -0700 (PDT), paziam1@gmail.com wrote:

do you know if there is a way to check the signal strength of a
signal?
There's no direct method.

The VPI allows you to find the strength of the drivers on a
signal, and that would allow you to find this information.

Another possibility is to use the strength-displaying
formatter %v, which reports single-bit nets in a 3-character
format (for example "St1" means "strong 1"). Now that we
have $sformat and the like, we can capture that into a
24-bit variable:

wire w;
reg [23:0] net_string;
...
$sformat(net_string, "%v", w);
if (net_string == "St1") ...
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 

Welcome to EDABoard.com

Sponsor

Back
Top