diff options
author | gingold | 2008-06-02 04:40:09 +0000 |
---|---|---|
committer | gingold | 2008-06-02 04:40:09 +0000 |
commit | 205582d0c16c41843976dd9bff9cf9a8ea0557df (patch) | |
tree | 65fea3caa09849b92aab8c3276fa78f2d642f58b /translate/grt/grt-sdf.ads | |
parent | 55b1d510131724ec767a7a1eef0665c6bf86bedc (diff) | |
download | ghdl-205582d0c16c41843976dd9bff9cf9a8ea0557df.tar.gz ghdl-205582d0c16c41843976dd9bff9cf9a8ea0557df.tar.bz2 ghdl-205582d0c16c41843976dd9bff9cf9a8ea0557df.zip |
Improve SDF annotator
Diffstat (limited to 'translate/grt/grt-sdf.ads')
-rw-r--r-- | translate/grt/grt-sdf.ads | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/translate/grt/grt-sdf.ads b/translate/grt/grt-sdf.ads index 9e24776..c6d0514 100644 --- a/translate/grt/grt-sdf.ads +++ b/translate/grt/grt-sdf.ads @@ -68,11 +68,22 @@ package Grt.Sdf is Read_Size : constant Natural := 4096; Buf_Size : constant Natural := Read_Size + 1024 + 1; + Invalid_Dnumber : constant Ghdl_I32 := -1; + type Port_Spec_Type is record - Name : String (1 .. 1024); + -- Port identifier. + Name : String (1 .. 128); Name_Len : Natural; + + -- Left and Right range. + -- If L = R = Invalid_Dnumber, this is a simple scalar port. + -- If R = Invalid_Dnumber, this is a scalar port (from a vector) + -- Otherwise, this is a bus port. + L, R : Ghdl_I32; + -- Cond : String (1 .. 1024); -- Cond_Len : Natural; + Edge : Edge_Type; end record; |