/usr/include/freehdl/fire-chunk.t is in libfreehdl0-dev 0.0.8-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 | ;; -*- scheme -*-
;;; Copyright (C) 1998, 1999, 2000, 2001, 2003 Marius Vollmer
;;;
;;; VAUL is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU Library General Public License as
;;; published by the Free Software Foundation; either version 2 of the
;;; License, or (at your option) any later version.
;;;
;;; VAUL is distributed in the hope that it will be useful, but WITHOUT
;;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
;;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General
;;; Public License for more details.
;;;
;;; You should have received a copy of the GNU Library General Public
;;; License along with VAUL; see the file COPYING.LIB. If not, write
;;; to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;; Boston, MA 02111-1307 USA.
(define (format-fire-kind name)
(upcase (concat-strings (cons "ir" (cdr (syllables name))) "_")))
(chunk fire
(struct-fmt "~a")
(pointer-fmt "p~a")
(kind-fmt-func format-fire-kind)
(creator-fmt "m~a"))
(header-add "#include <freehdl/tree-supp.h>"
"#include <freehdl/fire-types.h>"
"#include <iostream>")
(impl-add "#include <freehdl/fire-chunk.h>")
;; A string who's memory is owned by someone else. This should go
;; away sometime.
(defctype fire_string
(cname "const char*")
(printer "fire_print_string"))
(defctype bool
(printer "fire_print_bool"))
(defctype int
(printer "fire_print_int"))
(defctype IR_Kind)
(defctype IR_Character)
(defctype IR_String
(printer "fire_print_IR_String"))
(defctype IR_SignalKind
(printer "fire_print_int"))
(defctype IR_Mode
(printer "fire_print_int"))
(defctype IR_Pure
(printer "fire_print_int"))
(defctype IR_Direction
(printer "fire_print_int"))
(defctype IR_DelayMechanism
(printer "fire_print_int"))
(defctype IR_StaticLevel
(printer "fire_print_int"))
;;; Chapter 5 -- IIR Base Class
;; Position information
(defnode IIR_PosInfo ()
())
(defnode IIR_PosInfo_TextFile (IIR_PosInfo)
((fire_string file_name) ; XXX - IR_String
(int line_number)))
(defnode IIR_PosInfo_Sheet (IIR_PosInfo)
((fire_string sheet_name) ; XXX - IR_String
(int x_coordinate) ; what units?
(int y_coordinate)))
;; The base class. This is what AIRE calls "IIR", but we give it a
;; real name. "fire-types.h" contains suitable typedefs to make "IIR"
;; an alias for "IIR_Root".
(defnode IIR_Root ()
((IIR_PosInfo pos)))
;;; Dummy definitions. Until FIRE is fully fleshed out we need some
;;; dummy types.
(defnode IIR_Dummy (IIR_Root)
())
(defmacro dummy (name)
`(defnode ,name (IIR_Dummy)
()))
(dummy IIR_Signature)
;;; Chapter 7 -- Literals
(defnode IIR_Literal (IIR_Root)
())
(defnode IIR_TextLiteral (IIR_Literal)
((IR_String text)))
(defnode IIR_Identifier (IIR_TextLiteral)
())
(defnode IIR_CharacterLiteral (IIR_TextLiteral)
())
(defnode IIR_StringLiteral (IIR_TextLiteral)
())
(defnode IIR_AbstractLiteral (IIR_Literal)
())
(defnode IIR_IntegerLiteral (IIR_AbstractLiteral)
((IR_String text)))
(defnode IIR_FloatingPointLiteral (IIR_AbstractLiteral)
((IR_String text)))
;;; Chapter 8 -- Tupels
(defnode IIR_Tuple (IIR_Root)
())
(defnode IIR_AssociationElement (IIR_Tuple)
((IIR_ObjectReference formal)
(IIR_InterfaceDeclaration formal_declaration)
(IIR_Declaration formal_conversion)
(IIR_Expression actual)
(IIR_Declaration actual_conversion)))
(defnode IIR_AssociationElementByExpression (IIR_AssociationElement)
())
(defnode IIR_AssociationElementOpen (IIR_AssociationElement)
())
(defnode IIR_CaseStatementAlternative (IIR_Tuple)
((IIR_SequentialStatementList sequence_of_statements)
(IIR_ChoiceList choices)))
(defnode IIR_Choice (IIR_Tuple)
())
(defnode IIR_ChoiceByExpression (IIR_Choice)
((IIR_Expression value)))
(defnode IIR_ChoiceByRange (IIR_Choice)
((IIR_Range range)))
(defnode IIR_ChoiceByOthers (IIR_Choice)
())
(defnode IIR_EntityClassEntry (IIR_Tuple)
((IR_Kind entity_kind)
(bool is_boxed)))
(defnode IIR_WaveformElement (IIR_Tuple)
((IIR_Expression value)
(IIR_Expression time)))
(defnode IIR_ElementAssociation (IIR_Tuple)
((IIR_ElementDeclaration element)
(IIR_Expression value)))
(defnode IIR_IndexedAssociation (IIR_Tuple)
((IIR_Expression value)))
(defnode IIR_SingleIndexedAssociation (IIR_IndexedAssociation)
((IIR_Expression index)))
(defnode IIR_RangeIndexedAssociation (IIR_IndexedAssociation)
((IIR_Range index_range)))
(defnode IIR_SliceIndexedAssociation (IIR_RangeIndexedAssociation)
())
(defnode IIR_OthersIndexedAssociation (IIR_IndexedAssociation)
())
(defnode IIR_AttributeValue (IIR_Tuple)
((IIR_Expression value)
(IIR_AttributeDeclaration attribute)))
;;; Chapter 9 -- Lists
(defnode IIR_List (IIR_Root)
())
(defmacro deflist (name type)
`(defnode ,name (IIR_List)
((,type first)
(,name rest))
(reverse rest)))
(deflist IIR_AssociationList IIR_AssociationElement)
(deflist IIR_AttributeValueList IIR_AttributeValue)
(deflist IIR_CaseStatementAlternativeList IIR_CaseStatementAlternative)
(deflist IIR_ChoiceList IIR_Choice)
(deflist IIR_ConcurrentStatementList IIR_ConcurrentStatement)
(deflist IIR_ConfigurationItemList IIR_ConfigurationItem)
(deflist IIR_DeclarationList IIR_Declaration)
(deflist IIR_ElementDeclarationList IIR_ElementDeclaration)
(deflist IIR_EntityClassEntryList IIR_EntityClassEntry)
(deflist IIR_EnumerationLiteralList IIR_EnumerationLiteral)
(deflist IIR_InterfaceList IIR_InterfaceDeclaration)
(deflist IIR_LibraryUnitList IIR_LibraryUnit)
(deflist IIR_SequentialStatementList IIR_SequentialStatement)
(deflist IIR_UnitList IIR_PhysicalUnit)
(deflist IIR_WaveformList IIR_WaveformElement)
(deflist IIR_TypeList IIR_Type)
(deflist IIR_ExpressionList IIR_Expression)
(deflist IIR_IndexedAssociationList IIR_IndexedAssociation)
(deflist IIR_ElementAssociationList IIR_ElementAssociation)
(deflist IIR_ComponentInstantiationList IIR_ComponentInstantiationStatement)
(deflist IIR_ConfigurationSpecificationList IIR_ConfigurationSpecification)
(deflist IIR_IdentifierList IIR_Identifier)
;; XXX - can't do this unless IIR_GenericList/IIR_PortList is
;; derived from IIR_InterfaceList
;;(deflist IIR_GenericList IIR_ConstantInterfaceDeclaration)
;;(deflist IIR_PortList IIR_SignalInterfaceDeclaration)
;;; Chapter 10 - Type Definitions
;; This is far from AIRE compliant, but according to me and SAVANT,
;; AIRE is pretty broken in this area anyway. Right now I'm
;; particularily displeased with the long names, AIRE's arrangement of
;; the subtypes, the missing ability to express ranges that are
;; attributes and the way multidimensional arrays are handled.
(defnode IIR_Range (IIR_Root)
())
(defnode IIR_ExplicitRange (IIR_Range)
((IIR_Expression left)
(IIR_Expression right)
(IR_Direction direction)))
(defnode IIR_ArrayRange (IIR_Range)
((IIR_Type type)
(IIR_Expression array)
(IIR_Type array_type)
(IIR_Expression index)))
(defnode IIR_Attr_ArrayRANGE (IIR_ArrayRange)
())
(defnode IIR_Attr_ArrayREVERSE_RANGE (IIR_ArrayRange)
())
(defnode IIR_Type (IIR_Root)
((IIR_TypeDeclaration declaration)
(IIR_Type base (init-filter "(base == NULL)? this:base"))
(IR_StaticLevel static_level)))
(defnode IIR_Subtype (IIR_Type)
((IIR_Type immediate_base)
(IIR_FunctionDeclaration resolution_function)))
(defnode IIR_ScalarType (IIR_Type)
())
(defnode IIR_ScalarSubtype (IIR_Subtype)
((IIR_Range range)))
(defnode IIR_EnumerationType (IIR_ScalarType)
((IIR_EnumerationLiteralList enumeration_literals)))
(defnode IIR_IntegerType (IIR_ScalarType)
())
(defnode IIR_FloatingType (IIR_ScalarType)
())
(defnode IIR_PhysicalType (IIR_ScalarType)
((IIR_PhysicalUnit primary_unit)
(IIR_UnitList units)))
(defnode IIR_CompositeType (IIR_Type)
())
(defnode IIR_RecordType (IIR_CompositeType)
((IIR_ElementDeclarationList element_declarations)))
(defnode IIR_RecordSubtype (IIR_Subtype)
())
(defnode IIR_AccessType (IIR_Type)
((IIR_Type designated_type)))
(defnode IIR_FileType (IIR_Type)
((IIR_Type type_mark)))
(defnode IIR_ArrayType (IIR_CompositeType)
((IIR_TypeList index_types)
(IIR_Type element_type)))
(defnode IIR_ArraySubtype (IIR_Subtype)
((IIR_TypeList constraint)))
;;; Chapter 11 - Declarations
(defnode IIR_Declaration (IIR_Root)
((IIR_TextLiteral declarator)
(IIR_DeclarativeRegion declarative_region)
(IIR_AttributeValueList attributes)
(int seqno)))
(defnode IIR_DeclarativeRegion (IIR_Declaration)
((IIR_DeclarativeRegion continued)
(IIR_DeclarationList declarations)))
(defnode IIR_LoopDeclarativeRegion (IIR_DeclarativeRegion)
((IIR_LoopStatement loop_statement)))
(defnode IIR_SubprogramDeclaration (IIR_DeclarativeRegion)
((IIR_InterfaceList interface_declarations)
(IIR_SequentialStatementList subprogram_body)
(IIR_SubprogramDeclaration prototype)))
(defnode IIR_ProcedureDeclaration (IIR_SubprogramDeclaration)
())
(defnode IIR_PredefinedProcedureDeclaration (IIR_ProcedureDeclaration)
())
(defnode IIR_FunctionDeclaration (IIR_SubprogramDeclaration)
((bool pure)
(IIR_Type return_type)))
(defnode IIR_PredefinedFunctionDeclaration (IIR_FunctionDeclaration)
())
(defnode IIR_EnumerationLiteral (IIR_Declaration)
((IIR_EnumerationType subtype)
(int enum_pos)))
(defnode IIR_ElementDeclaration (IIR_Declaration)
((IIR_Type subtype)
(int declaration_pos)))
(defnode IIR_TypeDeclaration (IIR_Declaration)
((IIR_Type type)))
(defnode IIR_SubtypeDeclaration (IIR_TypeDeclaration)
())
(defnode IIR_ObjectDeclaration (IIR_Declaration)
((IIR_Type subtype)
(IIR_Expression initial_value)
(IIR_ObjectReference alias_base)))
(defnode IIR_ConstantDeclaration (IIR_ObjectDeclaration)
())
(defnode IIR_VariableDeclaration (IIR_ObjectDeclaration)
())
(defnode IIR_SharedVariableDeclaration (IIR_VariableDeclaration)
())
(defnode IIR_SignalDeclaration (IIR_ObjectDeclaration)
((IR_SignalKind signal_kind)))
(defnode IIR_FileDeclaration (IIR_ObjectDeclaration)
((IIR_Expression file_open_expression)
(IIR_Expression file_logical_name)))
(defnode IIR_InterfaceDeclaration (IIR_ObjectDeclaration)
((IR_Mode mode)
(bool bus)))
(defnode IIR_ConstantInterfaceDeclaration (IIR_InterfaceDeclaration)
())
(defnode IIR_VariableInterfaceDeclaration (IIR_InterfaceDeclaration)
())
(defnode IIR_SignalInterfaceDeclaration (IIR_InterfaceDeclaration)
((IR_SignalKind signal_kind)))
(defnode IIR_FileInterfaceDeclaration (IIR_InterfaceDeclaration)
())
;(defnode IIR_AliasDeclaration (IIR_ObjectDeclaration)
; ())
(defnode IIR_AttributeDeclaration (IIR_Declaration)
((IIR_Type subtype)))
(defnode IIR_ComponentDeclaration (IIR_DeclarativeRegion) ;; XXX
((IIR_InterfaceList local_generic_clause)
(IIR_InterfaceList local_port_clause)))
(defnode IIR_LibraryDeclaration (IIR_Declaration)
((IIR_LibraryUnitList primary_units)))
(defnode IIR_LibraryUnit (IIR_DeclarativeRegion)
((IIR_DeclarationList context_items)
(IIR_DeclarationList external_decls)
(IIR_TextLiteral library_name)
(IIR_LibraryUnitList used_units)))
(defnode IIR_EntityDeclaration (IIR_LibraryUnit)
((IIR_InterfaceList generic_clause)
(IIR_InterfaceList port_clause)
(IIR_ConcurrentStatementList entity_statement_part)))
(defnode IIR_ArchitectureDeclaration (IIR_LibraryUnit)
((IIR_EntityDeclaration entity)
(IIR_ConfigurationSpecificationList configuration_specifications)
(IIR_ConcurrentStatementList architecture_statement_part)))
;; A delayed reference to an architecture. The backend has to find
;; out for itself which architecture is requested. This is the right
;; thing to do when the IR can be saved to disk.
(defnode IIR_ArchitectureRef (IIR_DeclarativeRegion)
((IIR_EntityDeclaration entity)
(IIR_TextLiteral architecture_name)))
(defnode IIR_PackageDeclaration (IIR_LibraryUnit)
())
(defnode IIR_PackageBodyDeclaration (IIR_LibraryUnit)
((IIR_PackageDeclaration package)))
(defnode IIR_ConfigurationDeclaration (IIR_LibraryUnit)
((IIR_BlockConfiguration block_configuration)
(IIR_EntityDeclaration entity)))
(defnode IIR_ConfigurationItem (IIR_DeclarativeRegion) ;; XXX
())
(defnode IIR_BlockConfiguration (IIR_ConfigurationItem)
((IIR_DeclarativeRegion block_specification)
(IIR_DeclarationList use_clause_list)
(IIR_ConfigurationItemList configuration_item_list)))
(defnode IIR_ComponentConfiguration (IIR_ConfigurationItem)
((IIR_LibraryUnit entity_aspect)
(IIR_ComponentInstantiationList instantiation_list)
(IIR_AssociationList generic_map_aspect)
(IIR_AssociationList port_map_aspect)
(IIR_BlockConfiguration block_config)))
(defnode IIR_PhysicalUnit (IIR_Declaration)
((IIR_Expression multiplier)
(IIR_PhysicalUnit unit_name)
(IIR_PhysicalType type)
(int unit_pos)))
(defnode IIR_BindingIndication (IIR_Tuple)
((IIR_DeclarativeRegion unit)
(IIR_AssociationList generic_map_list)
(IIR_AssociationList port_map_list)))
;;(defnode IIR_LabelledBindingIndication (IIR_Tuple)
;; ((IIR_IdentifierList labels)
;; (IIR_BindingIndication binding)))
;;(deflist IIR_LabelledBindingIndicationList IIR_LabelledBindingIndication)
(defnode IIR_ConfigurationSpecification (IIR_Tuple)
((IIR_Identifier label) ; label == NULL: others
(IIR_ComponentDeclaration component)
(IIR_BindingIndication binding)))
(defnode IIR_DisconnectSpecification (IIR_Declaration)
((IIR_Type type_mark)
(IIR_Expression time_expression)
(IIR_ObjectReference guarded_signal)))
(defnode IIR_Label (IIR_Declaration)
((IIR_SequentialStatement statement)))
(defnode IIR_LibraryClause (IIR_Declaration)
())
(defnode IIR_UseClause (IIR_Declaration)
((IIR_Declaration used_unit)))
;;; Chapter 13 -- Expressions
(defnode IIR_Expression (IIR_Root)
((IIR_Type subtype)
(IR_StaticLevel static_level)))
(defnode IIR_AbstractLiteralExpression (IIR_Expression)
((IIR_AbstractLiteral value)))
(defnode IIR_PhysicalLiteral (IIR_AbstractLiteralExpression)
((IIR_PhysicalUnit unit)))
(defnode IIR_ArrayLiteralExpression (IIR_Expression)
((IIR_StringLiteral value)))
(defnode IIR_EnumLiteralReference (IIR_Expression)
((IIR_EnumerationLiteral value)))
(defnode IIR_NullExpression (IIR_Expression)
())
(defnode IIR_Aggregate (IIR_Expression)
())
(defnode IIR_RecordAggregate (IIR_Aggregate)
((IIR_ElementAssociationList element_association_list)))
(defnode IIR_ArtificialRecordAggregate (IIR_RecordAggregate)
())
(defnode IIR_ArrayAggregate (IIR_Aggregate)
((IIR_IndexedAssociationList indexed_association_list)))
(defnode IIR_ArtificialArrayAggregate (IIR_ArrayAggregate)
())
(defnode IIR_FunctionCall (IIR_Expression)
((IIR_FunctionDeclaration function)
(IIR_AssociationList parameter_association_list)))
(defnode IIR_QualifiedExpression (IIR_Expression)
((IIR_Type type_mark)
(IIR_Expression expression)))
(defnode IIR_TypeConversion (IIR_Expression)
((IIR_Type type_mark)
(IIR_Expression expression)))
(defnode IIR_Allocator (IIR_Expression)
((IIR_Type type_mark)
(IIR_Expression value)))
(defnode IIR_OpenExpression (IIR_Expression)
())
(defnode IIR_ObjectReference (IIR_Expression)
())
(defnode IIR_SimpleReference (IIR_ObjectReference)
((IIR_ObjectDeclaration object)))
(defnode IIR_AccessReference (IIR_ObjectReference)
((IIR_Expression access)))
(defnode IIR_RecordReference (IIR_ObjectReference)
((IIR_Expression record)
(IIR_ElementDeclaration element)))
(defnode IIR_GenericArrayReference (IIR_ObjectReference)
((IIR_Expression array)))
(defnode IIR_ArrayReference (IIR_GenericArrayReference)
((IIR_ExpressionList indices)))
(defnode IIR_SliceReference (IIR_GenericArrayReference)
((IIR_Range range)))
;;; Chapter 13A -- Attributes
;; Some of the kinds of predefined attribute have an associated node
;; kind, some have not:
;;
;; value: IIR_ValueAttr (IIR_Expression)
;; type: resolved to IIR_Type node
;; range: IIR_ArrayRange
;; function: IIR_FunctionAttr (IIR_Expression)
;; signal: IIR_SignalAttr (IIR_ObjectReference)
(defnode IIR_SignalAttr (IIR_ObjectReference)
((IIR_ObjectReference signal)))
(defnode IIR_Attr_DELAYED (IIR_SignalAttr)
((IIR_Expression delay)))
(defnode IIR_Attr_STABLE (IIR_SignalAttr)
((IIR_Expression duration)))
(defnode IIR_Attr_QUIET (IIR_SignalAttr)
((IIR_Expression duration)))
(defnode IIR_Attr_TRANSACTION (IIR_SignalAttr)
())
(defnode IIR_FunctionAttr (IIR_Expression)
())
(defnode IIR_AttrSigFunc (IIR_FunctionAttr)
((IIR_ObjectReference signal)))
(defnode IIR_Attr_EVENT (IIR_AttrSigFunc)
())
(defnode IIR_Attr_ACTIVE (IIR_AttrSigFunc)
())
(defnode IIR_Attr_LAST_EVENT (IIR_AttrSigFunc)
())
(defnode IIR_Attr_LAST_ACTIVE (IIR_AttrSigFunc)
())
(defnode IIR_Attr_LAST_VALUE (IIR_AttrSigFunc)
())
(defnode IIR_Attr_DRIVING (IIR_AttrSigFunc)
())
(defnode IIR_Attr_DRIVING_VALUE (IIR_AttrSigFunc)
())
(defnode IIR_ValueAttr (IIR_Expression)
())
(defnode IIR_AttrTypeValue (IIR_ValueAttr)
((IIR_Type prefix)
(IIR_Expression argument)))
(defnode IIR_Attr_LEFT (IIR_AttrTypeValue)
())
(defnode IIR_Attr_RIGHT (IIR_AttrTypeValue)
())
(defnode IIR_Attr_LOW (IIR_AttrTypeValue)
())
(defnode IIR_Attr_HIGH (IIR_AttrTypeValue)
())
(defnode IIR_Attr_ASCENDING (IIR_AttrTypeValue)
())
;; XXX - remove this?
(defnode IIR_Attr_LENGTH (IIR_AttrTypeValue)
())
(defnode IIR_AttrTypeFunc (IIR_FunctionAttr)
((IIR_Type prefix)
(IIR_Expression argument)))
(defnode IIR_Attr_IMAGE (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_VALUE (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_POS (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_VAL (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_SUCC (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_PRED (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_LEFTOF (IIR_AttrTypeFunc)
())
(defnode IIR_Attr_RIGHTOF (IIR_AttrTypeFunc)
())
(defnode IIR_AttrArrayFunc (IIR_FunctionAttr)
((IIR_Expression array)
(IIR_Type array_type)
(int index)))
(defnode IIR_Attr_ArrayLEFT (IIR_AttrArrayFunc)
())
(defnode IIR_Attr_ArrayRIGHT (IIR_AttrArrayFunc)
())
(defnode IIR_Attr_ArrayHIGH (IIR_AttrArrayFunc)
())
(defnode IIR_Attr_ArrayLOW (IIR_AttrArrayFunc)
())
(defnode IIR_Attr_ArrayASCENDING (IIR_AttrArrayFunc)
())
(defnode IIR_Attr_ArrayLENGTH (IIR_AttrArrayFunc)
())
;;; Chapter 14 -- Sequential Statements
(defnode IIR_SequentialStatement (IIR_Root)
((IIR_Label label)))
(defnode IIR_WaitStatement (IIR_SequentialStatement)
((IIR_Expression condition_clause)
(IIR_Expression timeout_clause)
(IIR_ExpressionList sensitivity_list)))
(defnode IIR_AssertionStatement (IIR_SequentialStatement)
((IIR_Expression assertion_condition)
(IIR_Expression report_expression)
(IIR_Expression severity_expression)))
(defnode IIR_ReportStatement (IIR_SequentialStatement)
((IIR_Expression report_expression)
(IIR_Expression severity_expression)))
(defnode IIR_SignalAssignmentStatement (IIR_SequentialStatement)
((IIR_Expression target)
(IR_DelayMechanism delay_mechanism)
(IIR_Expression reject_time_expression)
(IIR_WaveformList waveform)))
(defnode IIR_VariableAssignmentStatement (IIR_SequentialStatement)
((IIR_Expression target)
(IIR_Expression expression)))
(defnode IIR_ProcedureCallStatement (IIR_SequentialStatement)
((IIR_ProcedureDeclaration procedure)
(IIR_AssociationList actual_parameter_part)))
(defnode IIR_IfStatement (IIR_SequentialStatement)
((IIR_Expression condition)
(IIR_SequentialStatementList then_sequence)
(IIR_SequentialStatementList else_sequence)))
(defnode IIR_CaseStatement (IIR_SequentialStatement)
((IIR_Expression expression)
(IIR_CaseStatementAlternativeList case_statement_alternatives)))
(defnode IIR_LoopStatement (IIR_SequentialStatement)
((IIR_SequentialStatementList sequence_of_statements)
(IIR_LoopDeclarativeRegion declarative_region)))
(defnode IIR_ForLoopStatement (IIR_LoopStatement)
((IIR_ConstantDeclaration iterator)))
(defnode IIR_WhileLoopStatement (IIR_LoopStatement)
((IIR_Expression condition)))
(defnode IIR_LoopControlStatement (IIR_SequentialStatement)
((IIR_LoopStatement loop)
(IIR_Expression condition)))
(defnode IIR_NextStatement (IIR_LoopControlStatement)
())
(defnode IIR_ExitStatement (IIR_LoopControlStatement)
())
(defnode IIR_ReturnStatement (IIR_SequentialStatement)
((IIR_SubprogramDeclaration enclosing_subprogram)
(IIR_Expression return_expression)))
(defnode IIR_NullStatement (IIR_SequentialStatement)
())
;;; Chapter 15 -- Concurrent Statements
(defnode IIR_ConcurrentStatement (IIR_DeclarativeRegion)
())
(defnode IIR_BlockStatement (IIR_ConcurrentStatement)
((IIR_Expression guard_expression)
(IIR_InterfaceList generic_clause)
(IIR_AssociationList generic_map_aspect)
(IIR_InterfaceList port_clause)
(IIR_AssociationList port_map_aspect)
(IIR_ConfigurationSpecificationList configuration_specifications)
(IIR_ConcurrentStatementList block_statement_part)))
(defnode IIR_ProcessStatement (IIR_ConcurrentStatement)
((bool postponed)
(bool guarded)
(IIR_SequentialStatementList process_statement_part)))
(defnode IIR_ImplicitProcessStatement (IIR_ProcessStatement)
())
(defnode IIR_SensitizedProcessStatement (IIR_ProcessStatement)
((IIR_ExpressionList sensitivity_list)))
(defnode IIR_ComponentInstantiationStatement (IIR_ConcurrentStatement)
((IIR_BindingIndication binding)
(IIR_BindingIndication configuration)))
(defnode IIR_ConcurrentGenerateStatement (IIR_ConcurrentStatement)
((IIR_ConfigurationSpecificationList configuration_specifications)
(IIR_ConcurrentStatementList concurrent_statement_part)))
(defnode IIR_ConcurrentGenerateForStatement (IIR_ConcurrentGenerateStatement)
((IIR_ConstantDeclaration generate_parameter_specification)))
(defnode IIR_ConcurrentGenerateIfStatement (IIR_ConcurrentGenerateStatement)
((IIR_Expression condition)))
|