aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-12-01 18:46:04 +0100
committerTristan Gingold <tgingold@free.fr>2017-12-01 18:46:04 +0100
commit2b61f516ef9775502da6dfcc8b21e79cf8482c87 (patch)
treed8aa8f7fa8a87284ab2eba374cdbe7e151df3bf6 /src
parent27a653c717618b0ce5b7e768a0697c3cec5e9a1c (diff)
downloadghdl-2b61f516ef9775502da6dfcc8b21e79cf8482c87.tar.gz
ghdl-2b61f516ef9775502da6dfcc8b21e79cf8482c87.tar.bz2
ghdl-2b61f516ef9775502da6dfcc8b21e79cf8482c87.zip
python: generate more declarations.
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/iirs.ads12
-rwxr-xr-xsrc/vhdl/python/pnodespy.py2
2 files changed, 12 insertions, 2 deletions
diff --git a/src/vhdl/iirs.ads b/src/vhdl/iirs.ads
index 5501894a1..bca85d281 100644
--- a/src/vhdl/iirs.ads
+++ b/src/vhdl/iirs.ads
@@ -4372,9 +4372,17 @@ package Iirs is
subtype Iir_Out_Modes is Iir_Mode range Iir_Out_Mode .. Iir_Inout_Mode;
subtype Iir_Parameter_Modes is Iir_Mode range Iir_Out_Mode .. Iir_In_Mode;
- type Iir_Delay_Mechanism is (Iir_Inertial_Delay, Iir_Transport_Delay);
+ type Iir_Delay_Mechanism is
+ (
+ Iir_Inertial_Delay,
+ Iir_Transport_Delay
+ );
- type Iir_Direction is (Iir_To, Iir_Downto);
+ type Iir_Direction is
+ (
+ Iir_To,
+ Iir_Downto
+ );
-- LRM93 2.7 (conformance rules).
-- To keep this simple, the layout is stored as a bit-string.
diff --git a/src/vhdl/python/pnodespy.py b/src/vhdl/python/pnodespy.py
index 3f3dfb4ee..4c8353fca 100755
--- a/src/vhdl/python/pnodespy.py
+++ b/src/vhdl/python/pnodespy.py
@@ -120,6 +120,8 @@ def do_libghdl_iirs():
read_spec_enum('Iir_Mode', 'Iir_', 'Iir_Mode')
read_spec_enum('Iir_Staticness', '', 'Iir_Staticness')
read_spec_enum('Iir_Constraint', '', 'Iir_Constraint')
+ read_spec_enum('Iir_Direction', 'Iir_', 'Iir_Direction')
+ read_spec_enum('Iir_Delay_Mechanism', 'Iir_', 'Iir_Delay_Mechanism')
read_spec_enum('Date_State_Type', 'Date_', 'Date_State')
read_spec_enum('Iir_Predefined_Functions',
'Iir_Predefined_', 'Iir_Predefined')