aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-vcd.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-12-01 06:09:00 +0100
committerTristan Gingold <tgingold@free.fr>2014-12-01 06:09:00 +0100
commita30f7137ff1efe33174f840e3fe16d35cd554d97 (patch)
treed050ec0374a19cf939dc6b200c55421a0e425ee1 /src/grt/grt-vcd.ads
parentf75810293f0b1d43ba7492fd774a75ee7872584e (diff)
downloadghdl-a30f7137ff1efe33174f840e3fe16d35cd554d97.tar.gz
ghdl-a30f7137ff1efe33174f840e3fe16d35cd554d97.tar.bz2
ghdl-a30f7137ff1efe33174f840e3fe16d35cd554d97.zip
grt-vcd: in verilog_wire_info, replace addr by sigs.
Diffstat (limited to 'src/grt/grt-vcd.ads')
-rw-r--r--src/grt/grt-vcd.ads10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/grt/grt-vcd.ads b/src/grt/grt-vcd.ads
index 73096c5dd..a3561f534 100644
--- a/src/grt/grt-vcd.ads
+++ b/src/grt/grt-vcd.ads
@@ -22,9 +22,10 @@
-- covered by the GNU General Public License. This exception does not
-- however invalidate any other reasons why the executable file might be
-- covered by the GNU Public License.
-with System; use System;
+
with Grt.Types; use Grt.Types;
with Grt.Avhpi; use Grt.Avhpi;
+with Grt.Signals;
package Grt.Vcd is
-- Abstract type for IO.
@@ -47,8 +48,8 @@ package Grt.Vcd is
type Vcd_Value_Kind is (Vcd_Effective, Vcd_Driving);
type Verilog_Wire_Info is record
- -- Signal address
- Addr : Address;
+ -- Access to an array of signals.
+ Sigs : Grt.Signals.Signal_Arr_Ptr;
Irange : Ghdl_Range_Ptr;
Kind : Vcd_Var_Kind;
@@ -58,6 +59,9 @@ package Grt.Vcd is
procedure Get_Verilog_Wire (Sig : VhpiHandleT;
Info : out Verilog_Wire_Info);
+ -- Number of signals in INFO (at least one).
+ function Get_Wire_Length (Info : Verilog_Wire_Info) return Ghdl_Index_Type;
+
-- Return TRUE if last change time of the wire described by INFO is LAST.
function Verilog_Wire_Changed (Info : Verilog_Wire_Info;
Last : Std_Time)