Add Proposal | Add Analysis | Edit Class, Environment, or Release |
Number | 519
|
Category | enhancement
|
Synopsis | system function to get signal strength
|
State | open
|
Class | enhancement
|
Arrival-Date | Dec 18 2003
|
Originator | Shalom Bresticker <Shalom.Bresticker@motorola.com>
|
Release | 2001b
|
Description |
It is common in testbenches to want to be able to get information about the strength of a signal, for example to know whether a net with a driver and a pullup is being driven by the driver or the pullup. Today, you have to go through the PLI. There should be a way to get that information from within the language itself. Shalom From: "Scott Cranston"<cranston@cadence.com> Sounds like you want the "driver_access" functions from Verilog-AMS. Sec 8.10 in the Verilog-AMS LRM (http://www.eda.org/verilog-ams/htmlpages/public-docs/lrm/2.1/AMS-LRM-2-1.pdf) |
Fix |
Unknown |
Audit-Trail |
From: Steven Sharp <sharp@cadence.com> To: etf-bugs@boyd.com, Shalom.Bresticker@motorola.com Cc: Subject: Re: enhancement/519: system function to get signal strength Date: Thu, 18 Dec 2003 14:00:38 -0500 (EST) It is actually possible to get this information now in Verilog-2001, though it is a bit of a kludge. You can use $swrite with a %v format to write the value with strength into a string, and then check the string. Steven Sharp sharp@cadence.com From: Shalom.Bresticker@motorola.com To: Steven Sharp <sharp@cadence.com> Cc: etf-bugs@boyd.com Subject: Re: enhancement/519: system function to get signal strength Date: Thu, 18 Dec 2003 22:32:56 +0200 (IST) Yes, but that is only convenient for an equality comparison. It is inconvenient for a greater/less than comparison. Shalom On Thu, 18 Dec 2003, Steven Sharp wrote: > It is actually possible to get this information now in Verilog-2001, though > it is a bit of a kludge. You can use $swrite with a %v format to write the > value with strength into a string, and then check the string. -- Shalom Bresticker Shalom.Bresticker@motorola.com Design, Verification & Reuse Methodology Tel: +972 9 9522268 Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890 POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478 From: Steven Sharp <sharp@cadence.com> To: sharp@cadence.com, Shalom.Bresticker@motorola.com Cc: etf-bugs@boyd.com Subject: Re: enhancement/519: system function to get signal strength Date: Thu, 18 Dec 2003 15:41:42 -0500 (EST) >Yes, but that is only convenient for an equality comparison. >It is inconvenient for a greater/less than comparison. Note that even in numerical format, signal strength is not a single number. In general, it is a strength range, which must be represented with two numbers. Steven Sharp sharp@cadence.com |
Unformatted |
|
Hosted by Boyd Technology