aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-nodes.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-12-31 08:22:30 +0100
committerTristan Gingold <tgingold@free.fr>2019-12-31 09:34:34 +0100
commit8a60406d94e89804a5a52afb95bdac4c3bdd7f40 (patch)
tree6ffa80d954978fd005542b46dc20296d8b63cfba /src/vhdl/vhdl-nodes.ads
parent10b0ac263ed7c59c438c1cb82faef51370cbd67e (diff)
downloadghdl-8a60406d94e89804a5a52afb95bdac4c3bdd7f40.tar.gz
ghdl-8a60406d94e89804a5a52afb95bdac4c3bdd7f40.tar.bz2
ghdl-8a60406d94e89804a5a52afb95bdac4c3bdd7f40.zip
ams-vhdl: handle zoh, ltf and ztf attributes.
Diffstat (limited to 'src/vhdl/vhdl-nodes.ads')
-rw-r--r--src/vhdl/vhdl-nodes.ads25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads
index cb51e8920..217f6a562 100644
--- a/src/vhdl/vhdl-nodes.ads
+++ b/src/vhdl/vhdl-nodes.ads
@@ -4475,6 +4475,9 @@ package Vhdl.Nodes is
-- Iir_Kind_Ramp_Attribute (Medium)
-- Iir_Kind_Signal_Slew_Attribute (Medium)
-- Iir_Kind_Quantity_Slew_Attribute (Medium)
+ -- Iir_Kind_Zoh_Attribute (Medium)
+ -- Iir_Kind_Ltf_Attribute (Medium)
+ -- Iir_Kind_Ztf_Attribute (Medium)
--
-- Get/Set_Prefix (Field0)
--
@@ -4486,6 +4489,12 @@ package Vhdl.Nodes is
--
-- Get/Set_Parameter_2 (Field6)
--
+ -- Only for Iir_Kind_Ztf_Attribute:
+ -- Get/Set_Parameter_3 (Field7)
+ --
+ -- Only for Iir_Kind_Ztf_Attribute:
+ -- Get/Set_Parameter_4 (Field8)
+ --
-- Get/Set_Base_Name (Field5)
--
-- Get/Set_Name_Staticness (State2)
@@ -4991,6 +5000,9 @@ package Vhdl.Nodes is
Iir_Kind_Signal_Slew_Attribute,
Iir_Kind_Quantity_Slew_Attribute,
Iir_Kind_Ramp_Attribute,
+ Iir_Kind_Zoh_Attribute,
+ Iir_Kind_Ltf_Attribute,
+ Iir_Kind_Ztf_Attribute,
Iir_Kind_Dot_Attribute,
Iir_Kind_Integ_Attribute,
Iir_Kind_Above_Attribute,
@@ -6205,6 +6217,9 @@ package Vhdl.Nodes is
--Iir_Kind_Signal_Slew_Attribute
--Iir_Kind_Quantity_Slew_Attribute
--Iir_Kind_Ramp_Attribute
+ --Iir_Kind_Zoh_Attribute
+ --Iir_Kind_Ltf_Attribute
+ --Iir_Kind_Ztf_Attribute
--Iir_Kind_Dot_Attribute
--Iir_Kind_Integ_Attribute
--Iir_Kind_Above_Attribute
@@ -8265,6 +8280,16 @@ package Vhdl.Nodes is
function Get_Parameter_2 (Target : Iir) return Iir;
procedure Set_Parameter_2 (Target : Iir; Param : Iir);
+ -- Third parameter of an attribute (for AMS VHDL).
+ -- Field: Field7
+ function Get_Parameter_3 (Target : Iir) return Iir;
+ procedure Set_Parameter_3 (Target : Iir; Param : Iir);
+
+ -- Fourth parameter of an attribute (for AMS VHDL).
+ -- Field: Field8
+ function Get_Parameter_4 (Target : Iir) return Iir;
+ procedure Set_Parameter_4 (Target : Iir; Param : Iir);
+
-- Field: Field2 Forward_Ref
function Get_Attr_Chain (Attr : Iir) return Iir;
procedure Set_Attr_Chain (Attr : Iir; Chain : Iir);