diff options
Diffstat (limited to 'python/libghdl/thin/vhdl')
-rw-r--r-- | python/libghdl/thin/vhdl/nodes.py | 389 |
1 files changed, 222 insertions, 167 deletions
diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py index 61ff4d14e..62aac4a98 100644 --- a/python/libghdl/thin/vhdl/nodes.py +++ b/python/libghdl/thin/vhdl/nodes.py @@ -132,155 +132,156 @@ class Iir_Kind: Interface_Package_Declaration = 117 Interface_Function_Declaration = 118 Interface_Procedure_Declaration = 119 - Signal_Attribute_Declaration = 120 - Identity_Operator = 121 - Negation_Operator = 122 - Absolute_Operator = 123 - Not_Operator = 124 - Implicit_Condition_Operator = 125 - Condition_Operator = 126 - Reduction_And_Operator = 127 - Reduction_Or_Operator = 128 - Reduction_Nand_Operator = 129 - Reduction_Nor_Operator = 130 - Reduction_Xor_Operator = 131 - Reduction_Xnor_Operator = 132 - And_Operator = 133 - Or_Operator = 134 - Nand_Operator = 135 - Nor_Operator = 136 - Xor_Operator = 137 - Xnor_Operator = 138 - Equality_Operator = 139 - Inequality_Operator = 140 - Less_Than_Operator = 141 - Less_Than_Or_Equal_Operator = 142 - Greater_Than_Operator = 143 - Greater_Than_Or_Equal_Operator = 144 - Match_Equality_Operator = 145 - Match_Inequality_Operator = 146 - Match_Less_Than_Operator = 147 - Match_Less_Than_Or_Equal_Operator = 148 - Match_Greater_Than_Operator = 149 - Match_Greater_Than_Or_Equal_Operator = 150 - Sll_Operator = 151 - Sla_Operator = 152 - Srl_Operator = 153 - Sra_Operator = 154 - Rol_Operator = 155 - Ror_Operator = 156 - Addition_Operator = 157 - Substraction_Operator = 158 - Concatenation_Operator = 159 - Multiplication_Operator = 160 - Division_Operator = 161 - Modulus_Operator = 162 - Remainder_Operator = 163 - Exponentiation_Operator = 164 - Function_Call = 165 - Aggregate = 166 - Parenthesis_Expression = 167 - Qualified_Expression = 168 - Type_Conversion = 169 - Allocator_By_Expression = 170 - Allocator_By_Subtype = 171 - Selected_Element = 172 - Dereference = 173 - Implicit_Dereference = 174 - Slice_Name = 175 - Indexed_Name = 176 - Psl_Expression = 177 - Sensitized_Process_Statement = 178 - Process_Statement = 179 - Concurrent_Simple_Signal_Assignment = 180 - Concurrent_Conditional_Signal_Assignment = 181 - Concurrent_Selected_Signal_Assignment = 182 - Concurrent_Assertion_Statement = 183 - Concurrent_Procedure_Call_Statement = 184 - Psl_Assert_Statement = 185 - Psl_Cover_Statement = 186 - Block_Statement = 187 - If_Generate_Statement = 188 - Case_Generate_Statement = 189 - For_Generate_Statement = 190 - Component_Instantiation_Statement = 191 - Psl_Default_Clock = 192 - Simple_Simultaneous_Statement = 193 - Generate_Statement_Body = 194 - If_Generate_Else_Clause = 195 - Simple_Signal_Assignment_Statement = 196 - Conditional_Signal_Assignment_Statement = 197 - Selected_Waveform_Assignment_Statement = 198 - Null_Statement = 199 - Assertion_Statement = 200 - Report_Statement = 201 - Wait_Statement = 202 - Variable_Assignment_Statement = 203 - Conditional_Variable_Assignment_Statement = 204 - Return_Statement = 205 - For_Loop_Statement = 206 - While_Loop_Statement = 207 - Next_Statement = 208 - Exit_Statement = 209 - Case_Statement = 210 - Procedure_Call_Statement = 211 - If_Statement = 212 - Elsif = 213 - Character_Literal = 214 - Simple_Name = 215 - Selected_Name = 216 - Operator_Symbol = 217 - Reference_Name = 218 - External_Constant_Name = 219 - External_Signal_Name = 220 - External_Variable_Name = 221 - Selected_By_All_Name = 222 - Parenthesis_Name = 223 - Package_Pathname = 224 - Absolute_Pathname = 225 - Relative_Pathname = 226 - Pathname_Element = 227 - Base_Attribute = 228 - Subtype_Attribute = 229 - Element_Attribute = 230 - Left_Type_Attribute = 231 - Right_Type_Attribute = 232 - High_Type_Attribute = 233 - Low_Type_Attribute = 234 - Ascending_Type_Attribute = 235 - Image_Attribute = 236 - Value_Attribute = 237 - Pos_Attribute = 238 - Val_Attribute = 239 - Succ_Attribute = 240 - Pred_Attribute = 241 - Leftof_Attribute = 242 - Rightof_Attribute = 243 - Delayed_Attribute = 244 - Stable_Attribute = 245 - Quiet_Attribute = 246 - Transaction_Attribute = 247 - Event_Attribute = 248 - Active_Attribute = 249 - Last_Event_Attribute = 250 - Last_Active_Attribute = 251 - Last_Value_Attribute = 252 - Driving_Attribute = 253 - Driving_Value_Attribute = 254 - Behavior_Attribute = 255 - Structure_Attribute = 256 - Simple_Name_Attribute = 257 - Instance_Name_Attribute = 258 - Path_Name_Attribute = 259 - Left_Array_Attribute = 260 - Right_Array_Attribute = 261 - High_Array_Attribute = 262 - Low_Array_Attribute = 263 - Length_Array_Attribute = 264 - Ascending_Array_Attribute = 265 - Range_Array_Attribute = 266 - Reverse_Range_Array_Attribute = 267 - Attribute_Name = 268 + Anonymous_Signal_Declaration = 120 + Signal_Attribute_Declaration = 121 + Identity_Operator = 122 + Negation_Operator = 123 + Absolute_Operator = 124 + Not_Operator = 125 + Implicit_Condition_Operator = 126 + Condition_Operator = 127 + Reduction_And_Operator = 128 + Reduction_Or_Operator = 129 + Reduction_Nand_Operator = 130 + Reduction_Nor_Operator = 131 + Reduction_Xor_Operator = 132 + Reduction_Xnor_Operator = 133 + And_Operator = 134 + Or_Operator = 135 + Nand_Operator = 136 + Nor_Operator = 137 + Xor_Operator = 138 + Xnor_Operator = 139 + Equality_Operator = 140 + Inequality_Operator = 141 + Less_Than_Operator = 142 + Less_Than_Or_Equal_Operator = 143 + Greater_Than_Operator = 144 + Greater_Than_Or_Equal_Operator = 145 + Match_Equality_Operator = 146 + Match_Inequality_Operator = 147 + Match_Less_Than_Operator = 148 + Match_Less_Than_Or_Equal_Operator = 149 + Match_Greater_Than_Operator = 150 + Match_Greater_Than_Or_Equal_Operator = 151 + Sll_Operator = 152 + Sla_Operator = 153 + Srl_Operator = 154 + Sra_Operator = 155 + Rol_Operator = 156 + Ror_Operator = 157 + Addition_Operator = 158 + Substraction_Operator = 159 + Concatenation_Operator = 160 + Multiplication_Operator = 161 + Division_Operator = 162 + Modulus_Operator = 163 + Remainder_Operator = 164 + Exponentiation_Operator = 165 + Function_Call = 166 + Aggregate = 167 + Parenthesis_Expression = 168 + Qualified_Expression = 169 + Type_Conversion = 170 + Allocator_By_Expression = 171 + Allocator_By_Subtype = 172 + Selected_Element = 173 + Dereference = 174 + Implicit_Dereference = 175 + Slice_Name = 176 + Indexed_Name = 177 + Psl_Expression = 178 + Sensitized_Process_Statement = 179 + Process_Statement = 180 + Concurrent_Simple_Signal_Assignment = 181 + Concurrent_Conditional_Signal_Assignment = 182 + Concurrent_Selected_Signal_Assignment = 183 + Concurrent_Assertion_Statement = 184 + Concurrent_Procedure_Call_Statement = 185 + Psl_Assert_Statement = 186 + Psl_Cover_Statement = 187 + Block_Statement = 188 + If_Generate_Statement = 189 + Case_Generate_Statement = 190 + For_Generate_Statement = 191 + Component_Instantiation_Statement = 192 + Psl_Default_Clock = 193 + Simple_Simultaneous_Statement = 194 + Generate_Statement_Body = 195 + If_Generate_Else_Clause = 196 + Simple_Signal_Assignment_Statement = 197 + Conditional_Signal_Assignment_Statement = 198 + Selected_Waveform_Assignment_Statement = 199 + Null_Statement = 200 + Assertion_Statement = 201 + Report_Statement = 202 + Wait_Statement = 203 + Variable_Assignment_Statement = 204 + Conditional_Variable_Assignment_Statement = 205 + Return_Statement = 206 + For_Loop_Statement = 207 + While_Loop_Statement = 208 + Next_Statement = 209 + Exit_Statement = 210 + Case_Statement = 211 + Procedure_Call_Statement = 212 + If_Statement = 213 + Elsif = 214 + Character_Literal = 215 + Simple_Name = 216 + Selected_Name = 217 + Operator_Symbol = 218 + Reference_Name = 219 + External_Constant_Name = 220 + External_Signal_Name = 221 + External_Variable_Name = 222 + Selected_By_All_Name = 223 + Parenthesis_Name = 224 + Package_Pathname = 225 + Absolute_Pathname = 226 + Relative_Pathname = 227 + Pathname_Element = 228 + Base_Attribute = 229 + Subtype_Attribute = 230 + Element_Attribute = 231 + Left_Type_Attribute = 232 + Right_Type_Attribute = 233 + High_Type_Attribute = 234 + Low_Type_Attribute = 235 + Ascending_Type_Attribute = 236 + Image_Attribute = 237 + Value_Attribute = 238 + Pos_Attribute = 239 + Val_Attribute = 240 + Succ_Attribute = 241 + Pred_Attribute = 242 + Leftof_Attribute = 243 + Rightof_Attribute = 244 + Delayed_Attribute = 245 + Stable_Attribute = 246 + Quiet_Attribute = 247 + Transaction_Attribute = 248 + Event_Attribute = 249 + Active_Attribute = 250 + Last_Event_Attribute = 251 + Last_Active_Attribute = 252 + Last_Value_Attribute = 253 + Driving_Attribute = 254 + Driving_Value_Attribute = 255 + Behavior_Attribute = 256 + Structure_Attribute = 257 + Simple_Name_Attribute = 258 + Instance_Name_Attribute = 259 + Path_Name_Attribute = 260 + Left_Array_Attribute = 261 + Right_Array_Attribute = 262 + High_Array_Attribute = 263 + Low_Array_Attribute = 264 + Length_Array_Attribute = 265 + Ascending_Array_Attribute = 266 + Range_Array_Attribute = 267 + Reverse_Range_Array_Attribute = 268 + Attribute_Name = 269 class Iir_Kinds: @@ -1043,24 +1044,78 @@ class Iir_Predefined: Ieee_1164_Vector_Xor = 183 Ieee_1164_Vector_Xnor = 184 Ieee_1164_Vector_Not = 185 - Ieee_Numeric_Std_Add_Uns_Uns = 186 - Ieee_Numeric_Std_Add_Uns_Nat = 187 - Ieee_Numeric_Std_Add_Nat_Uns = 188 - Ieee_Numeric_Std_Add_Sgn_Sgn = 189 - Ieee_Numeric_Std_Add_Sgn_Int = 190 - Ieee_Numeric_Std_Add_Int_Sgn = 191 - Ieee_Numeric_Std_Sub_Uns_Uns = 192 - Ieee_Numeric_Std_Sub_Uns_Nat = 193 - Ieee_Numeric_Std_Sub_Nat_Uns = 194 - Ieee_Numeric_Std_Sub_Sgn_Sgn = 195 - Ieee_Numeric_Std_Sub_Sgn_Int = 196 - Ieee_Numeric_Std_Sub_Int_Sgn = 197 - Ieee_Numeric_Std_Eq_Uns_Uns = 198 - Ieee_Numeric_Std_Eq_Uns_Nat = 199 - Ieee_Numeric_Std_Eq_Nat_Uns = 200 - Ieee_Numeric_Std_Eq_Sgn_Sgn = 201 - Ieee_Numeric_Std_Eq_Sgn_Int = 202 - Ieee_Numeric_Std_Eq_Int_Sgn = 203 + Ieee_Numeric_Std_Toint_Uns_Nat = 186 + Ieee_Numeric_Std_Toint_Sgn_Int = 187 + Ieee_Numeric_Std_Touns_Nat_Nat_Uns = 188 + Ieee_Numeric_Std_Touns_Nat_Uns_Uns = 189 + Ieee_Numeric_Std_Tosgn_Int_Nat_Sgn = 190 + Ieee_Numeric_Std_Tosgn_Int_Sgn_Sgn = 191 + Ieee_Numeric_Std_Add_Uns_Uns = 192 + Ieee_Numeric_Std_Add_Uns_Nat = 193 + Ieee_Numeric_Std_Add_Nat_Uns = 194 + Ieee_Numeric_Std_Add_Sgn_Sgn = 195 + Ieee_Numeric_Std_Add_Sgn_Int = 196 + Ieee_Numeric_Std_Add_Int_Sgn = 197 + Ieee_Numeric_Std_Sub_Uns_Uns = 198 + Ieee_Numeric_Std_Sub_Uns_Nat = 199 + Ieee_Numeric_Std_Sub_Nat_Uns = 200 + Ieee_Numeric_Std_Sub_Sgn_Sgn = 201 + Ieee_Numeric_Std_Sub_Sgn_Int = 202 + Ieee_Numeric_Std_Sub_Int_Sgn = 203 + Ieee_Numeric_Std_Gt_Uns_Uns = 204 + Ieee_Numeric_Std_Gt_Uns_Nat = 205 + Ieee_Numeric_Std_Gt_Nat_Uns = 206 + Ieee_Numeric_Std_Gt_Sgn_Sgn = 207 + Ieee_Numeric_Std_Gt_Sgn_Int = 208 + Ieee_Numeric_Std_Gt_Int_Sgn = 209 + Ieee_Numeric_Std_Lt_Uns_Uns = 210 + Ieee_Numeric_Std_Lt_Uns_Nat = 211 + Ieee_Numeric_Std_Lt_Nat_Uns = 212 + Ieee_Numeric_Std_Lt_Sgn_Sgn = 213 + Ieee_Numeric_Std_Lt_Sgn_Int = 214 + Ieee_Numeric_Std_Lt_Int_Sgn = 215 + Ieee_Numeric_Std_Le_Uns_Uns = 216 + Ieee_Numeric_Std_Le_Uns_Nat = 217 + Ieee_Numeric_Std_Le_Nat_Uns = 218 + Ieee_Numeric_Std_Le_Sgn_Sgn = 219 + Ieee_Numeric_Std_Le_Sgn_Int = 220 + Ieee_Numeric_Std_Le_Int_Sgn = 221 + Ieee_Numeric_Std_Ge_Uns_Uns = 222 + Ieee_Numeric_Std_Ge_Uns_Nat = 223 + Ieee_Numeric_Std_Ge_Nat_Uns = 224 + Ieee_Numeric_Std_Ge_Sgn_Sgn = 225 + Ieee_Numeric_Std_Ge_Sgn_Int = 226 + Ieee_Numeric_Std_Ge_Int_Sgn = 227 + Ieee_Numeric_Std_Eq_Uns_Uns = 228 + Ieee_Numeric_Std_Eq_Uns_Nat = 229 + Ieee_Numeric_Std_Eq_Nat_Uns = 230 + Ieee_Numeric_Std_Eq_Sgn_Sgn = 231 + Ieee_Numeric_Std_Eq_Sgn_Int = 232 + Ieee_Numeric_Std_Eq_Int_Sgn = 233 + Ieee_Numeric_Std_Ne_Uns_Uns = 234 + Ieee_Numeric_Std_Ne_Uns_Nat = 235 + Ieee_Numeric_Std_Ne_Nat_Uns = 236 + Ieee_Numeric_Std_Ne_Sgn_Sgn = 237 + Ieee_Numeric_Std_Ne_Sgn_Int = 238 + Ieee_Numeric_Std_Ne_Int_Sgn = 239 + Ieee_Numeric_Std_Neg_Uns = 240 + Ieee_Numeric_Std_Neg_Sgn = 241 + Ieee_Math_Real_Ceil = 242 + Ieee_Math_Real_Log2 = 243 + Ieee_Std_Logic_Unsigned_Add_Slv_Slv = 244 + Ieee_Std_Logic_Unsigned_Add_Slv_Int = 245 + Ieee_Std_Logic_Unsigned_Add_Int_Slv = 246 + Ieee_Std_Logic_Unsigned_Add_Slv_Sl = 247 + Ieee_Std_Logic_Unsigned_Add_Sl_Slv = 248 + Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 249 + Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 250 + Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 251 + Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 252 + Ieee_Std_Logic_Unsigned_Le_Slv_Int = 253 + Ieee_Std_Logic_Unsigned_Le_Int_Slv = 254 + Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 255 + Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 256 + Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 257 Get_Kind = libghdl.vhdl__nodes__get_kind Get_Location = libghdl.vhdl__nodes__get_location |