CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with AMF.Elements; with AMF.Internals.Element_Collections; with AMF.Internals.Helpers; with AMF.Internals.Tables.UML_Attributes; with AMF.Visitors.UML_Iterators; with AMF.Visitors.UML_Visitors; with League.Strings.Internals; with Matreshka.Internals.Strings; package body AMF.Internals.UML_Actors is ------------------- -- Enter_Element -- ------------------- overriding procedure Enter_Element (Self : not null access constant UML_Actor_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.UML_Visitors.UML_Visitor'Class then AMF.Visitors.UML_Visitors.UML_Visitor'Class (Visitor).Enter_Actor (AMF.UML.Actors.UML_Actor_Access (Self), Control); end if; end Enter_Element; ------------------- -- Leave_Element -- ------------------- overriding procedure Leave_Element (Self : not null access constant UML_Actor_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.UML_Visitors.UML_Visitor'Class then AMF.Visitors.UML_Visitors.UML_Visitor'Class (Visitor).Leave_Actor (AMF.UML.Actors.UML_Actor_Access (Self), Control); end if; end Leave_Element; ------------------- -- Visit_Element -- ------------------- overriding procedure Visit_Element (Self : not null access constant UML_Actor_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Iterator in AMF.Visitors.UML_Iterators.UML_Iterator'Class then AMF.Visitors.UML_Iterators.UML_Iterator'Class (Iterator).Visit_Actor (Visitor, AMF.UML.Actors.UML_Actor_Access (Self), Control); end if; end Visit_Element; ----------------------------- -- Get_Classifier_Behavior -- ----------------------------- overriding function Get_Classifier_Behavior (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Behaviors.UML_Behavior_Access is begin return AMF.UML.Behaviors.UML_Behavior_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Classifier_Behavior (Self.Element))); end Get_Classifier_Behavior; ----------------------------- -- Set_Classifier_Behavior -- ----------------------------- overriding procedure Set_Classifier_Behavior (Self : not null access UML_Actor_Proxy; To : AMF.UML.Behaviors.UML_Behavior_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Classifier_Behavior (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Classifier_Behavior; ------------------------------- -- Get_Interface_Realization -- ------------------------------- overriding function Get_Interface_Realization (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Interface_Realizations.Collections.Set_Of_UML_Interface_Realization is begin return AMF.UML.Interface_Realizations.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Interface_Realization (Self.Element))); end Get_Interface_Realization; ------------------------ -- Get_Owned_Behavior -- ------------------------ overriding function Get_Owned_Behavior (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Behaviors.Collections.Set_Of_UML_Behavior is begin return AMF.UML.Behaviors.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Behavior (Self.Element))); end Get_Owned_Behavior; ------------------- -- Get_Attribute -- ------------------- overriding function Get_Attribute (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Properties.Collections.Set_Of_UML_Property is begin return AMF.UML.Properties.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Attribute (Self.Element))); end Get_Attribute; --------------------------- -- Get_Collaboration_Use -- --------------------------- overriding function Get_Collaboration_Use (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Collaboration_Uses.Collections.Set_Of_UML_Collaboration_Use is begin return AMF.UML.Collaboration_Uses.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Collaboration_Use (Self.Element))); end Get_Collaboration_Use; ----------------- -- Get_Feature -- ----------------- overriding function Get_Feature (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Features.Collections.Set_Of_UML_Feature is begin return AMF.UML.Features.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Feature (Self.Element))); end Get_Feature; ----------------- -- Get_General -- ----------------- overriding function Get_General (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is begin return AMF.UML.Classifiers.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_General (Self.Element))); end Get_General; ------------------------ -- Get_Generalization -- ------------------------ overriding function Get_Generalization (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Generalizations.Collections.Set_Of_UML_Generalization is begin return AMF.UML.Generalizations.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Generalization (Self.Element))); end Get_Generalization; -------------------------- -- Get_Inherited_Member -- -------------------------- overriding function Get_Inherited_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin return AMF.UML.Named_Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Inherited_Member (Self.Element))); end Get_Inherited_Member; --------------------- -- Get_Is_Abstract -- --------------------- overriding function Get_Is_Abstract (Self : not null access constant UML_Actor_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Abstract (Self.Element); end Get_Is_Abstract; --------------------------------- -- Get_Is_Final_Specialization -- --------------------------------- overriding function Get_Is_Final_Specialization (Self : not null access constant UML_Actor_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Final_Specialization (Self.Element); end Get_Is_Final_Specialization; --------------------------------- -- Set_Is_Final_Specialization -- --------------------------------- overriding procedure Set_Is_Final_Specialization (Self : not null access UML_Actor_Proxy; To : Boolean) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Final_Specialization (Self.Element, To); end Set_Is_Final_Specialization; ---------------------------------- -- Get_Owned_Template_Signature -- ---------------------------------- overriding function Get_Owned_Template_Signature (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access is begin return AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Template_Signature (Self.Element))); end Get_Owned_Template_Signature; ---------------------------------- -- Set_Owned_Template_Signature -- ---------------------------------- overriding procedure Set_Owned_Template_Signature (Self : not null access UML_Actor_Proxy; To : AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Owned_Template_Signature (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Owned_Template_Signature; ------------------------ -- Get_Owned_Use_Case -- ------------------------ overriding function Get_Owned_Use_Case (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Use_Cases.Collections.Set_Of_UML_Use_Case is begin return AMF.UML.Use_Cases.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Use_Case (Self.Element))); end Get_Owned_Use_Case; -------------------------- -- Get_Powertype_Extent -- -------------------------- overriding function Get_Powertype_Extent (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Generalization_Sets.Collections.Set_Of_UML_Generalization_Set is begin return AMF.UML.Generalization_Sets.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Powertype_Extent (Self.Element))); end Get_Powertype_Extent; ------------------------------ -- Get_Redefined_Classifier -- ------------------------------ overriding function Get_Redefined_Classifier (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is begin return AMF.UML.Classifiers.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Classifier (Self.Element))); end Get_Redefined_Classifier; ------------------------ -- Get_Representation -- ------------------------ overriding function Get_Representation (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access is begin return AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Representation (Self.Element))); end Get_Representation; ------------------------ -- Set_Representation -- ------------------------ overriding procedure Set_Representation (Self : not null access UML_Actor_Proxy; To : AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Representation (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Representation; ---------------------- -- Get_Substitution -- ---------------------- overriding function Get_Substitution (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Substitutions.Collections.Set_Of_UML_Substitution is begin return AMF.UML.Substitutions.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Substitution (Self.Element))); end Get_Substitution; ---------------------------- -- Get_Template_Parameter -- ---------------------------- overriding function Get_Template_Parameter (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access is begin return AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Template_Parameter (Self.Element))); end Get_Template_Parameter; ---------------------------- -- Set_Template_Parameter -- ---------------------------- overriding procedure Set_Template_Parameter (Self : not null access UML_Actor_Proxy; To : AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Template_Parameter; ------------------ -- Get_Use_Case -- ------------------ overriding function Get_Use_Case (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Use_Cases.Collections.Set_Of_UML_Use_Case is begin return AMF.UML.Use_Cases.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Use_Case (Self.Element))); end Get_Use_Case; ------------------------ -- Get_Element_Import -- ------------------------ overriding function Get_Element_Import (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Element_Imports.Collections.Set_Of_UML_Element_Import is begin return AMF.UML.Element_Imports.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Element_Import (Self.Element))); end Get_Element_Import; ------------------------- -- Get_Imported_Member -- ------------------------- overriding function Get_Imported_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is begin return AMF.UML.Packageable_Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Imported_Member (Self.Element))); end Get_Imported_Member; ---------------- -- Get_Member -- ---------------- overriding function Get_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin return AMF.UML.Named_Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Member (Self.Element))); end Get_Member; ---------------------- -- Get_Owned_Member -- ---------------------- overriding function Get_Owned_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin return AMF.UML.Named_Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Member (Self.Element))); end Get_Owned_Member; -------------------- -- Get_Owned_Rule -- -------------------- overriding function Get_Owned_Rule (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint is begin return AMF.UML.Constraints.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Rule (Self.Element))); end Get_Owned_Rule; ------------------------ -- Get_Package_Import -- ------------------------ overriding function Get_Package_Import (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Package_Imports.Collections.Set_Of_UML_Package_Import is begin return AMF.UML.Package_Imports.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Package_Import (Self.Element))); end Get_Package_Import; --------------------------- -- Get_Client_Dependency -- --------------------------- overriding function Get_Client_Dependency (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency is begin return AMF.UML.Dependencies.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Client_Dependency (Self.Element))); end Get_Client_Dependency; ------------------------- -- Get_Name_Expression -- ------------------------- overriding function Get_Name_Expression (Self : not null access constant UML_Actor_Proxy) return AMF.UML.String_Expressions.UML_String_Expression_Access is begin return AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Name_Expression (Self.Element))); end Get_Name_Expression; ------------------------- -- Set_Name_Expression -- ------------------------- overriding procedure Set_Name_Expression (Self : not null access UML_Actor_Proxy; To : AMF.UML.String_Expressions.UML_String_Expression_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Name_Expression (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Name_Expression; ------------------- -- Get_Namespace -- ------------------- overriding function Get_Namespace (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access is begin return AMF.UML.Namespaces.UML_Namespace_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Namespace (Self.Element))); end Get_Namespace; ------------------------ -- Get_Qualified_Name -- ------------------------ overriding function Get_Qualified_Name (Self : not null access constant UML_Actor_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.UML_Attributes.Internal_Get_Qualified_Name (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Qualified_Name; ----------------- -- Get_Package -- ----------------- overriding function Get_Package (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Packages.UML_Package_Access is begin return AMF.UML.Packages.UML_Package_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Package (Self.Element))); end Get_Package; ----------------- -- Set_Package -- ----------------- overriding procedure Set_Package (Self : not null access UML_Actor_Proxy; To : AMF.UML.Packages.UML_Package_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Package (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Package; ----------------------------------- -- Get_Owning_Template_Parameter -- ----------------------------------- overriding function Get_Owning_Template_Parameter (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Template_Parameters.UML_Template_Parameter_Access is begin return AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owning_Template_Parameter (Self.Element))); end Get_Owning_Template_Parameter; ----------------------------------- -- Set_Owning_Template_Parameter -- ----------------------------------- overriding procedure Set_Owning_Template_Parameter (Self : not null access UML_Actor_Proxy; To : AMF.UML.Template_Parameters.UML_Template_Parameter_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Owning_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Owning_Template_Parameter; ---------------------------- -- Get_Template_Parameter -- ---------------------------- overriding function Get_Template_Parameter (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Template_Parameters.UML_Template_Parameter_Access is begin return AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Template_Parameter (Self.Element))); end Get_Template_Parameter; ---------------------------- -- Set_Template_Parameter -- ---------------------------- overriding procedure Set_Template_Parameter (Self : not null access UML_Actor_Proxy; To : AMF.UML.Template_Parameters.UML_Template_Parameter_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Template_Parameter; ---------------------------------- -- Get_Owned_Template_Signature -- ---------------------------------- overriding function Get_Owned_Template_Signature (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Template_Signatures.UML_Template_Signature_Access is begin return AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Template_Signature (Self.Element))); end Get_Owned_Template_Signature; ---------------------------------- -- Set_Owned_Template_Signature -- ---------------------------------- overriding procedure Set_Owned_Template_Signature (Self : not null access UML_Actor_Proxy; To : AMF.UML.Template_Signatures.UML_Template_Signature_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Owned_Template_Signature (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Owned_Template_Signature; -------------------------- -- Get_Template_Binding -- -------------------------- overriding function Get_Template_Binding (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Template_Bindings.Collections.Set_Of_UML_Template_Binding is begin return AMF.UML.Template_Bindings.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Template_Binding (Self.Element))); end Get_Template_Binding; ----------------- -- Get_Is_Leaf -- ----------------- overriding function Get_Is_Leaf (Self : not null access constant UML_Actor_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Leaf (Self.Element); end Get_Is_Leaf; ----------------- -- Set_Is_Leaf -- ----------------- overriding procedure Set_Is_Leaf (Self : not null access UML_Actor_Proxy; To : Boolean) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Leaf (Self.Element, To); end Set_Is_Leaf; --------------------------- -- Get_Redefined_Element -- --------------------------- overriding function Get_Redefined_Element (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Redefinable_Elements.Collections.Set_Of_UML_Redefinable_Element is begin return AMF.UML.Redefinable_Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Element (Self.Element))); end Get_Redefined_Element; ------------------------------ -- Get_Redefinition_Context -- ------------------------------ overriding function Get_Redefinition_Context (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is begin return AMF.UML.Classifiers.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefinition_Context (Self.Element))); end Get_Redefinition_Context; ------------------ -- All_Features -- ------------------ overriding function All_Features (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Features.Collections.Set_Of_UML_Feature is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Features unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.All_Features"; return All_Features (Self); end All_Features; ----------------- -- Conforms_To -- ----------------- overriding function Conforms_To (Self : not null access constant UML_Actor_Proxy; Other : AMF.UML.Classifiers.UML_Classifier_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Conforms_To unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Conforms_To"; return Conforms_To (Self, Other); end Conforms_To; ------------- -- General -- ------------- overriding function General (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "General unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.General"; return General (Self); end General; ----------------------- -- Has_Visibility_Of -- ----------------------- overriding function Has_Visibility_Of (Self : not null access constant UML_Actor_Proxy; N : AMF.UML.Named_Elements.UML_Named_Element_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Has_Visibility_Of unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Has_Visibility_Of"; return Has_Visibility_Of (Self, N); end Has_Visibility_Of; ------------- -- Inherit -- ------------- overriding function Inherit (Self : not null access constant UML_Actor_Proxy; Inhs : AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Inherit unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Inherit"; return Inherit (Self, Inhs); end Inherit; ------------------------- -- Inheritable_Members -- ------------------------- overriding function Inheritable_Members (Self : not null access constant UML_Actor_Proxy; C : AMF.UML.Classifiers.UML_Classifier_Access) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Inheritable_Members unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Inheritable_Members"; return Inheritable_Members (Self, C); end Inheritable_Members; ---------------------- -- Inherited_Member -- ---------------------- overriding function Inherited_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Inherited_Member unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Inherited_Member"; return Inherited_Member (Self); end Inherited_Member; ----------------- -- Is_Template -- ----------------- overriding function Is_Template (Self : not null access constant UML_Actor_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Template unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Is_Template"; return Is_Template (Self); end Is_Template; ------------------------- -- May_Specialize_Type -- ------------------------- overriding function May_Specialize_Type (Self : not null access constant UML_Actor_Proxy; C : AMF.UML.Classifiers.UML_Classifier_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "May_Specialize_Type unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.May_Specialize_Type"; return May_Specialize_Type (Self, C); end May_Specialize_Type; ------------------------ -- Exclude_Collisions -- ------------------------ overriding function Exclude_Collisions (Self : not null access constant UML_Actor_Proxy; Imps : AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element) return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Exclude_Collisions unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Exclude_Collisions"; return Exclude_Collisions (Self, Imps); end Exclude_Collisions; ------------------------- -- Get_Names_Of_Member -- ------------------------- overriding function Get_Names_Of_Member (Self : not null access constant UML_Actor_Proxy; Element : AMF.UML.Named_Elements.UML_Named_Element_Access) return AMF.String_Collections.Set_Of_String is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Get_Names_Of_Member unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Get_Names_Of_Member"; return Get_Names_Of_Member (Self, Element); end Get_Names_Of_Member; -------------------- -- Import_Members -- -------------------- overriding function Import_Members (Self : not null access constant UML_Actor_Proxy; Imps : AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element) return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Import_Members unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Import_Members"; return Import_Members (Self, Imps); end Import_Members; --------------------- -- Imported_Member -- --------------------- overriding function Imported_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Imported_Member unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Imported_Member"; return Imported_Member (Self); end Imported_Member; --------------------------------- -- Members_Are_Distinguishable -- --------------------------------- overriding function Members_Are_Distinguishable (Self : not null access constant UML_Actor_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Members_Are_Distinguishable unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Members_Are_Distinguishable"; return Members_Are_Distinguishable (Self); end Members_Are_Distinguishable; ------------------ -- Owned_Member -- ------------------ overriding function Owned_Member (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Owned_Member unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Owned_Member"; return Owned_Member (Self); end Owned_Member; ------------------------- -- All_Owning_Packages -- ------------------------- overriding function All_Owning_Packages (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Packages.Collections.Set_Of_UML_Package is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Owning_Packages unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.All_Owning_Packages"; return All_Owning_Packages (Self); end All_Owning_Packages; ----------------------------- -- Is_Distinguishable_From -- ----------------------------- overriding function Is_Distinguishable_From (Self : not null access constant UML_Actor_Proxy; N : AMF.UML.Named_Elements.UML_Named_Element_Access; Ns : AMF.UML.Namespaces.UML_Namespace_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Distinguishable_From unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Is_Distinguishable_From"; return Is_Distinguishable_From (Self, N, Ns); end Is_Distinguishable_From; --------------- -- Namespace -- --------------- overriding function Namespace (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Namespace unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Namespace"; return Namespace (Self); end Namespace; ----------------- -- Conforms_To -- ----------------- overriding function Conforms_To (Self : not null access constant UML_Actor_Proxy; Other : AMF.UML.Types.UML_Type_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Conforms_To unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Conforms_To"; return Conforms_To (Self, Other); end Conforms_To; ------------------------ -- Is_Compatible_With -- ------------------------ overriding function Is_Compatible_With (Self : not null access constant UML_Actor_Proxy; P : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Compatible_With unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Is_Compatible_With"; return Is_Compatible_With (Self, P); end Is_Compatible_With; --------------------------- -- Is_Template_Parameter -- --------------------------- overriding function Is_Template_Parameter (Self : not null access constant UML_Actor_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Template_Parameter unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Is_Template_Parameter"; return Is_Template_Parameter (Self); end Is_Template_Parameter; ---------------------------- -- Parameterable_Elements -- ---------------------------- overriding function Parameterable_Elements (Self : not null access constant UML_Actor_Proxy) return AMF.UML.Parameterable_Elements.Collections.Set_Of_UML_Parameterable_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Parameterable_Elements unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Parameterable_Elements"; return Parameterable_Elements (Self); end Parameterable_Elements; ------------------------ -- Is_Consistent_With -- ------------------------ overriding function Is_Consistent_With (Self : not null access constant UML_Actor_Proxy; Redefinee : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Consistent_With unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Is_Consistent_With"; return Is_Consistent_With (Self, Redefinee); end Is_Consistent_With; ----------------------------------- -- Is_Redefinition_Context_Valid -- ----------------------------------- overriding function Is_Redefinition_Context_Valid (Self : not null access constant UML_Actor_Proxy; Redefined : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Redefinition_Context_Valid unimplemented"); raise Program_Error with "Unimplemented procedure UML_Actor_Proxy.Is_Redefinition_Context_Valid"; return Is_Redefinition_Context_Valid (Self, Redefined); end Is_Redefinition_Context_Valid; end AMF.Internals.UML_Actors;
-- Copyright 2017-2021 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- Steam Sky 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with Steam Sky. If not, see <http://www.gnu.org/licenses/>. -- ****h* Ships/SCargo -- FUNCTION -- Provides code to manipulate ships cargos -- SOURCE package Ships.Cargo is -- **** -- ****f* SCargo/SCargo.UpdateCargo -- FUNCTION -- Update selected item in ship cargo -- PARAMETERS -- Ship - Ship which cargo will be updated -- ProtoIndex - Prototype index of the item which will be modified. Can be -- empty if CargoIndex is set -- Amount - Amount of item to add or delete from cargo -- Durability - Durability of item to modify. Can be empty -- CargoIndex - Ship cargo index of the item which will be modified. Can be -- empty if ProtoIndex is set -- Price - Price of the item which will be modified -- RESULT -- Parameter Ship -- SOURCE procedure UpdateCargo (Ship: in out Ship_Record; ProtoIndex: Unbounded_String := Null_Unbounded_String; Amount: Integer; Durability: Items_Durability := Default_Item_Durability; CargoIndex, Price: Natural := 0) with Pre => CargoIndex <= Ship.Cargo.Last_Index, Test_Case => (Name => "Test_UpdateCargo", Mode => Nominal); -- **** -- ****f* SCargo/SCargo.FreeCargo -- FUNCTION -- Check how much is free space in cargo of selected ship -- PARAMETERS -- Amount - Amount of kilograms to add or delete before count free -- cargo space -- Ship - Ship in which cargo will be check for free space. Default -- is player ship -- RESULT -- Amount of free cargo space in kilograms after add or remove Amount -- of kilograms -- SOURCE function FreeCargo (Amount: Integer; Ship: Ship_Record := Player_Ship) return Integer with Test_Case => (Name => "Test_FreeCargo", Mode => Robustness); -- **** -- ****f* SCargo/SCargo.GetItemAmount -- FUNCTION -- Check how much selected items is in player ship cargo -- PARAMETERS -- ItemType - Type of items which will be looking for -- RESULT -- Amount of items of selected type on player ship -- SOURCE function GetItemAmount(ItemType: Unbounded_String) return Natural with Pre => ItemType /= Null_Unbounded_String, Test_Case => (Name => "Test_GetItemAmount", Mode => Nominal); -- **** -- ****f* SCargo/SCargo.GetItemsAmount -- FUNCTION -- Check amount of selected consumables on player ship -- PARAMETERS -- IType - "Drinks" or "Food". Type of items which will be looking for -- RESULT -- Amount of drinks or food, depends on IType on the player ship -- SOURCE function GetItemsAmount(IType: String) return Natural with Pre => IType in "Drinks" | "Food", Test_Case => (Name => "Test_GetItemsAmount", Mode => Nominal); -- **** end Ships.Cargo;
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; package Pixtend.wiringPi_h is -- TRUE : constant := 1; -- wiringPi.h:32 -- unsupported macro: FALSE (!TRUE) -- unsupported macro: UNU __attribute__((unused)) PI_GPIO_MASK : constant := (16#FFFFFFC0#); -- wiringPi.h:43 WPI_MODE_PINS : constant := 0; -- wiringPi.h:49 WPI_MODE_GPIO : constant := 1; -- wiringPi.h:50 WPI_MODE_GPIO_SYS : constant := 2; -- wiringPi.h:51 WPI_MODE_PHYS : constant := 3; -- wiringPi.h:52 WPI_MODE_PIFACE : constant := 4; -- wiringPi.h:53 WPI_MODE_UNINITIALISED : constant := -1; -- wiringPi.h:54 INPUT : constant := 0; -- wiringPi.h:58 OUTPUT : constant := 1; -- wiringPi.h:59 PWM_OUTPUT : constant := 2; -- wiringPi.h:60 GPIO_CLOCK : constant := 3; -- wiringPi.h:61 SOFT_PWM_OUTPUT : constant := 4; -- wiringPi.h:62 SOFT_TONE_OUTPUT : constant := 5; -- wiringPi.h:63 PWM_TONE_OUTPUT : constant := 6; -- wiringPi.h:64 LOW : constant := 0; -- wiringPi.h:66 HIGH : constant := 1; -- wiringPi.h:67 PUD_OFF : constant := 0; -- wiringPi.h:71 PUD_DOWN : constant := 1; -- wiringPi.h:72 PUD_UP : constant := 2; -- wiringPi.h:73 PWM_MODE_MS : constant := 0; -- wiringPi.h:77 PWM_MODE_BAL : constant := 1; -- wiringPi.h:78 INT_EDGE_SETUP : constant := 0; -- wiringPi.h:82 INT_EDGE_FALLING : constant := 1; -- wiringPi.h:83 INT_EDGE_RISING : constant := 2; -- wiringPi.h:84 INT_EDGE_BOTH : constant := 3; -- wiringPi.h:85 PI_MODEL_A : constant := 0; -- wiringPi.h:90 PI_MODEL_B : constant := 1; -- wiringPi.h:91 PI_MODEL_AP : constant := 2; -- wiringPi.h:92 PI_MODEL_BP : constant := 3; -- wiringPi.h:93 PI_MODEL_2 : constant := 4; -- wiringPi.h:94 PI_ALPHA : constant := 5; -- wiringPi.h:95 PI_MODEL_CM : constant := 6; -- wiringPi.h:96 PI_MODEL_07 : constant := 7; -- wiringPi.h:97 PI_MODEL_3B : constant := 8; -- wiringPi.h:98 PI_MODEL_ZERO : constant := 9; -- wiringPi.h:99 PI_MODEL_CM3 : constant := 10; -- wiringPi.h:100 PI_MODEL_ZERO_W : constant := 12; -- wiringPi.h:101 PI_MODEL_3BP : constant := 13; -- wiringPi.h:102 PI_MODEL_3AP : constant := 14; -- wiringPi.h:103 PI_MODEL_CM3P : constant := 16; -- wiringPi.h:104 PI_VERSION_1 : constant := 0; -- wiringPi.h:106 PI_VERSION_1_1 : constant := 1; -- wiringPi.h:107 PI_VERSION_1_2 : constant := 2; -- wiringPi.h:108 PI_VERSION_2 : constant := 3; -- wiringPi.h:109 PI_MAKER_SONY : constant := 0; -- wiringPi.h:111 PI_MAKER_EGOMAN : constant := 1; -- wiringPi.h:112 PI_MAKER_EMBEST : constant := 2; -- wiringPi.h:113 PI_MAKER_UNKNOWN : constant := 3; -- wiringPi.h:114 -- arg-macro: procedure PI_THREAD (X) -- void *X (UNU void *dummy) WPI_FATAL : constant := 1; -- wiringPi.h:130 WPI_ALMOST : constant := 0; -- wiringPi.h:131 piModelNames : array (0 .. 19) of Interfaces.C.Strings.chars_ptr -- wiringPi.h:116 with Import => True, Convention => C, External_Name => "piModelNames"; piRevisionNames : array (0 .. 15) of Interfaces.C.Strings.chars_ptr -- wiringPi.h:117 with Import => True, Convention => C, External_Name => "piRevisionNames"; piMakerNames : array (0 .. 15) of Interfaces.C.Strings.chars_ptr -- wiringPi.h:118 with Import => True, Convention => C, External_Name => "piMakerNames"; piMemorySize : aliased array (0 .. 7) of aliased int -- wiringPi.h:119 with Import => True, Convention => C, External_Name => "piMemorySize"; type wiringPiNodeStruct; type wiringPiNodeStruct is record pinBase : aliased int; -- wiringPi.h:144 pinMax : aliased int; -- wiringPi.h:145 fd : aliased int; -- wiringPi.h:147 data0 : aliased unsigned; -- wiringPi.h:148 data1 : aliased unsigned; -- wiringPi.h:149 data2 : aliased unsigned; -- wiringPi.h:150 data3 : aliased unsigned; -- wiringPi.h:151 pinMode : access procedure (arg1 : access wiringPiNodeStruct; arg2 : int; arg3 : int); -- wiringPi.h:153 pullUpDnControl : access procedure (arg1 : access wiringPiNodeStruct; arg2 : int; arg3 : int); -- wiringPi.h:154 digitalRead : access function (arg1 : access wiringPiNodeStruct; arg2 : int) return int; -- wiringPi.h:155 digitalWrite : access procedure (arg1 : access wiringPiNodeStruct; arg2 : int; arg3 : int); -- wiringPi.h:157 pwmWrite : access procedure (arg1 : access wiringPiNodeStruct; arg2 : int; arg3 : int); -- wiringPi.h:159 analogRead : access function (arg1 : access wiringPiNodeStruct; arg2 : int) return int; -- wiringPi.h:160 analogWrite : access procedure (arg1 : access wiringPiNodeStruct; arg2 : int; arg3 : int); -- wiringPi.h:161 next : access wiringPiNodeStruct; -- wiringPi.h:163 end record with Convention => C_Pass_By_Copy; -- wiringPi.h:142 wiringPiNodes : access wiringPiNodeStruct -- wiringPi.h:166 with Import => True, Convention => C, External_Name => "wiringPiNodes"; function wiringPiFailure (fatal : int; message : Interfaces.C.Strings.chars_ptr -- , ... ) return int -- wiringPi.h:190 with Import => True, Convention => C, External_Name => "wiringPiFailure"; function wiringPiFindNode (pin : int) return access wiringPiNodeStruct -- wiringPi.h:194 with Import => True, Convention => C, External_Name => "wiringPiFindNode"; function wiringPiNewNode (pinBase : int; numPins : int) return access wiringPiNodeStruct -- wiringPi.h:195 with Import => True, Convention => C, External_Name => "wiringPiNewNode"; procedure wiringPiVersion (major : access int; minor : access int) -- wiringPi.h:197 with Import => True, Convention => C, External_Name => "wiringPiVersion"; function wiringPiSetup return int -- wiringPi.h:198 with Import => True, Convention => C, External_Name => "wiringPiSetup"; function wiringPiSetupSys return int -- wiringPi.h:199 with Import => True, Convention => C, External_Name => "wiringPiSetupSys"; function wiringPiSetupGpio return int -- wiringPi.h:200 with Import => True, Convention => C, External_Name => "wiringPiSetupGpio"; function wiringPiSetupPhys return int -- wiringPi.h:201 with Import => True, Convention => C, External_Name => "wiringPiSetupPhys"; procedure pinModeAlt (pin : int; mode : int) -- wiringPi.h:203 with Import => True, Convention => C, External_Name => "pinModeAlt"; procedure pinMode (pin : int; mode : int) -- wiringPi.h:204 with Import => True, Convention => C, External_Name => "pinMode"; procedure pullUpDnControl (pin : int; pud : int) -- wiringPi.h:205 with Import => True, Convention => C, External_Name => "pullUpDnControl"; function digitalRead (pin : int) return int -- wiringPi.h:206 with Import => True, Convention => C, External_Name => "digitalRead"; procedure digitalWrite (pin : int; value : int) -- wiringPi.h:207 with Import => True, Convention => C, External_Name => "digitalWrite"; function digitalRead8 (pin : int) return unsigned -- wiringPi.h:208 with Import => True, Convention => C, External_Name => "digitalRead8"; procedure digitalWrite8 (pin : int; value : int) -- wiringPi.h:209 with Import => True, Convention => C, External_Name => "digitalWrite8"; procedure pwmWrite (pin : int; value : int) -- wiringPi.h:210 with Import => True, Convention => C, External_Name => "pwmWrite"; function analogRead (pin : int) return int -- wiringPi.h:211 with Import => True, Convention => C, External_Name => "analogRead"; procedure analogWrite (pin : int; value : int) -- wiringPi.h:212 with Import => True, Convention => C, External_Name => "analogWrite"; function wiringPiSetupPiFace return int -- wiringPi.h:217 with Import => True, Convention => C, External_Name => "wiringPiSetupPiFace"; function wiringPiSetupPiFaceForGpioProg return int -- wiringPi.h:218 with Import => True, Convention => C, External_Name => "wiringPiSetupPiFaceForGpioProg"; function piGpioLayout return int -- wiringPi.h:222 with Import => True, Convention => C, External_Name => "piGpioLayout"; function piBoardRev return int -- wiringPi.h:223 with Import => True, Convention => C, External_Name => "piBoardRev"; procedure piBoardId (model : access int; rev : access int; mem : access int; maker : access int; overVolted : access int) -- wiringPi.h:224 with Import => True, Convention => C, External_Name => "piBoardId"; function wpiPinToGpio (wpiPin : int) return int -- wiringPi.h:225 with Import => True, Convention => C, External_Name => "wpiPinToGpio"; function physPinToGpio (physPin : int) return int -- wiringPi.h:226 with Import => True, Convention => C, External_Name => "physPinToGpio"; procedure setPadDrive (group : int; value : int) -- wiringPi.h:227 with Import => True, Convention => C, External_Name => "setPadDrive"; function getAlt (pin : int) return int -- wiringPi.h:228 with Import => True, Convention => C, External_Name => "getAlt"; procedure pwmToneWrite (pin : int; freq : int) -- wiringPi.h:229 with Import => True, Convention => C, External_Name => "pwmToneWrite"; procedure pwmSetMode (mode : int) -- wiringPi.h:230 with Import => True, Convention => C, External_Name => "pwmSetMode"; procedure pwmSetRange (c_range : unsigned) -- wiringPi.h:231 with Import => True, Convention => C, External_Name => "pwmSetRange"; procedure pwmSetClock (divisor : int) -- wiringPi.h:232 with Import => True, Convention => C, External_Name => "pwmSetClock"; procedure gpioClockSet (pin : int; freq : int) -- wiringPi.h:233 with Import => True, Convention => C, External_Name => "gpioClockSet"; function digitalReadByte return unsigned -- wiringPi.h:234 with Import => True, Convention => C, External_Name => "digitalReadByte"; function digitalReadByte2 return unsigned -- wiringPi.h:235 with Import => True, Convention => C, External_Name => "digitalReadByte2"; procedure digitalWriteByte (value : int) -- wiringPi.h:236 with Import => True, Convention => C, External_Name => "digitalWriteByte"; procedure digitalWriteByte2 (value : int) -- wiringPi.h:237 with Import => True, Convention => C, External_Name => "digitalWriteByte2"; function waitForInterrupt (pin : int; mS : int) return int -- wiringPi.h:242 with Import => True, Convention => C, External_Name => "waitForInterrupt"; function wiringPiISR (pin : int; mode : int; c_function : access procedure) return int -- wiringPi.h:243 with Import => True, Convention => C, External_Name => "wiringPiISR"; function piThreadCreate (fn : access function (arg1 : System.Address) return System.Address) return int -- wiringPi.h:247 with Import => True, Convention => C, External_Name => "piThreadCreate"; procedure piLock (key : int) -- wiringPi.h:248 with Import => True, Convention => C, External_Name => "piLock"; procedure piUnlock (key : int) -- wiringPi.h:249 with Import => True, Convention => C, External_Name => "piUnlock"; function piHiPri (pri : int) return int -- wiringPi.h:253 with Import => True, Convention => C, External_Name => "piHiPri"; procedure c_delay (howLong : unsigned) -- wiringPi.h:257 with Import => True, Convention => C, External_Name => "delay"; procedure delayMicroseconds (howLong : unsigned) -- wiringPi.h:258 with Import => True, Convention => C, External_Name => "delayMicroseconds"; function millis return unsigned -- wiringPi.h:259 with Import => True, Convention => C, External_Name => "millis"; function micros return unsigned -- wiringPi.h:260 with Import => True, Convention => C, External_Name => "micros"; end Pixtend.wiringPi_h;
M:lab2 F:G$SYSCLK_Init$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$UART0_Init$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$Sys_Init$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$putchar$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$getchar$0$0({2}DF,SC:U),C,0,0,0,0,0 F:G$getchar_nw$0$0({2}DF,SC:U),C,0,0,0,0,0 F:G$main$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$Port_Init$0$0({2}DF,SV:S),Z,0,0,0,0,0 F:G$Interrupt_Init$0$0({2}DF,SV:S),Z,0,0,0,0,0 F:G$Timer_Init$0$0({2}DF,SV:S),Z,0,0,0,0,0 F:G$ADC_Init$0$0({2}DF,SV:S),Z,0,0,0,0,0 F:G$Timer0_ISR$0$0({2}DF,SV:S),Z,0,0,1,1,0 F:G$ADC_Convert$0$0({2}DF,SV:S),Z,0,0,0,0,0 F:G$random$0$0({2}DF,SC:U),Z,0,0,0,0,0 S:Llab2.getchar$c$1$10({1}SC:U),R,0,0,[] S:Llab2.getchar_nw$c$1$12({1}SC:U),R,0,0,[] S:G$counts$0$0({2}SI:U),E,0,0 S:G$temp$0$0({2}SI:U),E,0,0 S:G$input$0$0({1}SC:U),E,0,0 S:G$speed$0$0({1}SC:U),E,0,0 S:G$wait$0$0({2}SI:U),E,0,0 S:G$score$0$0({2}SI:U),E,0,0 S:G$points$0$0({2}SI:U),E,0,0 S:G$num$0$0({1}SC:U),E,0,0 S:G$i$0$0({1}SC:U),E,0,0 S:G$tryn$0$0({1}SC:U),E,0,0 S:Llab2.aligned_alloc$size$1$39({2}SI:U),E,0,0 S:Llab2.aligned_alloc$alignment$1$39({2}SI:U),E,0,0 S:G$P0$0$0({1}SC:U),I,0,0 S:G$SP$0$0({1}SC:U),I,0,0 S:G$DPL$0$0({1}SC:U),I,0,0 S:G$DPH$0$0({1}SC:U),I,0,0 S:G$P4$0$0({1}SC:U),I,0,0 S:G$P5$0$0({1}SC:U),I,0,0 S:G$P6$0$0({1}SC:U),I,0,0 S:G$PCON$0$0({1}SC:U),I,0,0 S:G$TCON$0$0({1}SC:U),I,0,0 S:G$TMOD$0$0({1}SC:U),I,0,0 S:G$TL0$0$0({1}SC:U),I,0,0 S:G$TL1$0$0({1}SC:U),I,0,0 S:G$TH0$0$0({1}SC:U),I,0,0 S:G$TH1$0$0({1}SC:U),I,0,0 S:G$CKCON$0$0({1}SC:U),I,0,0 S:G$PSCTL$0$0({1}SC:U),I,0,0 S:G$P1$0$0({1}SC:U),I,0,0 S:G$TMR3CN$0$0({1}SC:U),I,0,0 S:G$TMR3RLL$0$0({1}SC:U),I,0,0 S:G$TMR3RLH$0$0({1}SC:U),I,0,0 S:G$TMR3L$0$0({1}SC:U),I,0,0 S:G$TMR3H$0$0({1}SC:U),I,0,0 S:G$P7$0$0({1}SC:U),I,0,0 S:G$SCON$0$0({1}SC:U),I,0,0 S:G$SCON0$0$0({1}SC:U),I,0,0 S:G$SBUF$0$0({1}SC:U),I,0,0 S:G$SBUF0$0$0({1}SC:U),I,0,0 S:G$SPI0CFG$0$0({1}SC:U),I,0,0 S:G$SPI0DAT$0$0({1}SC:U),I,0,0 S:G$ADC1$0$0({1}SC:U),I,0,0 S:G$SPI0CKR$0$0({1}SC:U),I,0,0 S:G$CPT0CN$0$0({1}SC:U),I,0,0 S:G$CPT1CN$0$0({1}SC:U),I,0,0 S:G$P2$0$0({1}SC:U),I,0,0 S:G$EMI0TC$0$0({1}SC:U),I,0,0 S:G$EMI0CF$0$0({1}SC:U),I,0,0 S:G$PRT0CF$0$0({1}SC:U),I,0,0 S:G$P0MDOUT$0$0({1}SC:U),I,0,0 S:G$PRT1CF$0$0({1}SC:U),I,0,0 S:G$P1MDOUT$0$0({1}SC:U),I,0,0 S:G$PRT2CF$0$0({1}SC:U),I,0,0 S:G$P2MDOUT$0$0({1}SC:U),I,0,0 S:G$PRT3CF$0$0({1}SC:U),I,0,0 S:G$P3MDOUT$0$0({1}SC:U),I,0,0 S:G$IE$0$0({1}SC:U),I,0,0 S:G$SADDR0$0$0({1}SC:U),I,0,0 S:G$ADC1CN$0$0({1}SC:U),I,0,0 S:G$ADC1CF$0$0({1}SC:U),I,0,0 S:G$AMX1SL$0$0({1}SC:U),I,0,0 S:G$P3IF$0$0({1}SC:U),I,0,0 S:G$SADEN1$0$0({1}SC:U),I,0,0 S:G$EMI0CN$0$0({1}SC:U),I,0,0 S:G$_XPAGE$0$0({1}SC:U),I,0,0 S:G$P3$0$0({1}SC:U),I,0,0 S:G$OSCXCN$0$0({1}SC:U),I,0,0 S:G$OSCICN$0$0({1}SC:U),I,0,0 S:G$P74OUT$0$0({1}SC:U),I,0,0 S:G$FLSCL$0$0({1}SC:U),I,0,0 S:G$FLACL$0$0({1}SC:U),I,0,0 S:G$IP$0$0({1}SC:U),I,0,0 S:G$SADEN0$0$0({1}SC:U),I,0,0 S:G$AMX0CF$0$0({1}SC:U),I,0,0 S:G$AMX0SL$0$0({1}SC:U),I,0,0 S:G$ADC0CF$0$0({1}SC:U),I,0,0 S:G$P1MDIN$0$0({1}SC:U),I,0,0 S:G$ADC0L$0$0({1}SC:U),I,0,0 S:G$ADC0H$0$0({1}SC:U),I,0,0 S:G$SMB0CN$0$0({1}SC:U),I,0,0 S:G$SMB0STA$0$0({1}SC:U),I,0,0 S:G$SMB0DAT$0$0({1}SC:U),I,0,0 S:G$SMB0ADR$0$0({1}SC:U),I,0,0 S:G$ADC0GTL$0$0({1}SC:U),I,0,0 S:G$ADC0GTH$0$0({1}SC:U),I,0,0 S:G$ADC0LTL$0$0({1}SC:U),I,0,0 S:G$ADC0LTH$0$0({1}SC:U),I,0,0 S:G$T2CON$0$0({1}SC:U),I,0,0 S:G$T4CON$0$0({1}SC:U),I,0,0 S:G$RCAP2L$0$0({1}SC:U),I,0,0 S:G$RCAP2H$0$0({1}SC:U),I,0,0 S:G$TL2$0$0({1}SC:U),I,0,0 S:G$TH2$0$0({1}SC:U),I,0,0 S:G$SMB0CR$0$0({1}SC:U),I,0,0 S:G$PSW$0$0({1}SC:U),I,0,0 S:G$REF0CN$0$0({1}SC:U),I,0,0 S:G$DAC0L$0$0({1}SC:U),I,0,0 S:G$DAC0H$0$0({1}SC:U),I,0,0 S:G$DAC0CN$0$0({1}SC:U),I,0,0 S:G$DAC1L$0$0({1}SC:U),I,0,0 S:G$DAC1H$0$0({1}SC:U),I,0,0 S:G$DAC1CN$0$0({1}SC:U),I,0,0 S:G$PCA0CN$0$0({1}SC:U),I,0,0 S:G$PCA0MD$0$0({1}SC:U),I,0,0 S:G$PCA0CPM0$0$0({1}SC:U),I,0,0 S:G$PCA0CPM1$0$0({1}SC:U),I,0,0 S:G$PCA0CPM2$0$0({1}SC:U),I,0,0 S:G$PCA0CPM3$0$0({1}SC:U),I,0,0 S:G$PCA0CPM4$0$0({1}SC:U),I,0,0 S:G$ACC$0$0({1}SC:U),I,0,0 S:G$XBR0$0$0({1}SC:U),I,0,0 S:G$XBR1$0$0({1}SC:U),I,0,0 S:G$XBR2$0$0({1}SC:U),I,0,0 S:G$RCAP4L$0$0({1}SC:U),I,0,0 S:G$RCAP4H$0$0({1}SC:U),I,0,0 S:G$EIE1$0$0({1}SC:U),I,0,0 S:G$EIE2$0$0({1}SC:U),I,0,0 S:G$ADC0CN$0$0({1}SC:U),I,0,0 S:G$PCA0L$0$0({1}SC:U),I,0,0 S:G$PCA0CPL0$0$0({1}SC:U),I,0,0 S:G$PCA0CPL1$0$0({1}SC:U),I,0,0 S:G$PCA0CPL2$0$0({1}SC:U),I,0,0 S:G$PCA0CPL3$0$0({1}SC:U),I,0,0 S:G$PCA0CPL4$0$0({1}SC:U),I,0,0 S:G$RSTSRC$0$0({1}SC:U),I,0,0 S:G$B$0$0({1}SC:U),I,0,0 S:G$SCON1$0$0({1}SC:U),I,0,0 S:G$SBUF1$0$0({1}SC:U),I,0,0 S:G$SADDR1$0$0({1}SC:U),I,0,0 S:G$TL4$0$0({1}SC:U),I,0,0 S:G$TH4$0$0({1}SC:U),I,0,0 S:G$EIP1$0$0({1}SC:U),I,0,0 S:G$EIP2$0$0({1}SC:U),I,0,0 S:G$SPI0CN$0$0({1}SC:U),I,0,0 S:G$PCA0H$0$0({1}SC:U),I,0,0 S:G$PCA0CPH0$0$0({1}SC:U),I,0,0 S:G$PCA0CPH1$0$0({1}SC:U),I,0,0 S:G$PCA0CPH2$0$0({1}SC:U),I,0,0 S:G$PCA0CPH3$0$0({1}SC:U),I,0,0 S:G$PCA0CPH4$0$0({1}SC:U),I,0,0 S:G$WDTCN$0$0({1}SC:U),I,0,0 S:G$TMR0$0$0({2}SI:U),I,0,0 S:G$TMR1$0$0({2}SI:U),I,0,0 S:G$TMR2$0$0({2}SI:U),I,0,0 S:G$RCAP2$0$0({2}SI:U),I,0,0 S:G$TMR3$0$0({2}SI:U),I,0,0 S:G$TMR3RL$0$0({2}SI:U),I,0,0 S:G$TMR4$0$0({2}SI:U),I,0,0 S:G$RCAP4$0$0({2}SI:U),I,0,0 S:G$ADC0$0$0({2}SI:U),I,0,0 S:G$ADC0GT$0$0({2}SI:U),I,0,0 S:G$ADC0LT$0$0({2}SI:U),I,0,0 S:G$DAC0$0$0({2}SI:U),I,0,0 S:G$DAC1$0$0({2}SI:U),I,0,0 S:G$PCA0$0$0({2}SI:U),I,0,0 S:G$PCA0CP0$0$0({2}SI:U),I,0,0 S:G$PCA0CP1$0$0({2}SI:U),I,0,0 S:G$PCA0CP2$0$0({2}SI:U),I,0,0 S:G$PCA0CP3$0$0({2}SI:U),I,0,0 S:G$PCA0CP4$0$0({2}SI:U),I,0,0 S:G$P0_0$0$0({1}SX:U),J,0,0 S:G$P0_1$0$0({1}SX:U),J,0,0 S:G$P0_2$0$0({1}SX:U),J,0,0 S:G$P0_3$0$0({1}SX:U),J,0,0 S:G$P0_4$0$0({1}SX:U),J,0,0 S:G$P0_5$0$0({1}SX:U),J,0,0 S:G$P0_6$0$0({1}SX:U),J,0,0 S:G$P0_7$0$0({1}SX:U),J,0,0 S:G$IT0$0$0({1}SX:U),J,0,0 S:G$IE0$0$0({1}SX:U),J,0,0 S:G$IT1$0$0({1}SX:U),J,0,0 S:G$IE1$0$0({1}SX:U),J,0,0 S:G$TR0$0$0({1}SX:U),J,0,0 S:G$TF0$0$0({1}SX:U),J,0,0 S:G$TR1$0$0({1}SX:U),J,0,0 S:G$TF1$0$0({1}SX:U),J,0,0 S:G$P1_0$0$0({1}SX:U),J,0,0 S:G$P1_1$0$0({1}SX:U),J,0,0 S:G$P1_2$0$0({1}SX:U),J,0,0 S:G$P1_3$0$0({1}SX:U),J,0,0 S:G$P1_4$0$0({1}SX:U),J,0,0 S:G$P1_5$0$0({1}SX:U),J,0,0 S:G$P1_6$0$0({1}SX:U),J,0,0 S:G$P1_7$0$0({1}SX:U),J,0,0 S:G$RI$0$0({1}SX:U),J,0,0 S:G$RI0$0$0({1}SX:U),J,0,0 S:G$TI$0$0({1}SX:U),J,0,0 S:G$TI0$0$0({1}SX:U),J,0,0 S:G$RB8$0$0({1}SX:U),J,0,0 S:G$RB80$0$0({1}SX:U),J,0,0 S:G$TB8$0$0({1}SX:U),J,0,0 S:G$TB80$0$0({1}SX:U),J,0,0 S:G$REN$0$0({1}SX:U),J,0,0 S:G$REN0$0$0({1}SX:U),J,0,0 S:G$SM2$0$0({1}SX:U),J,0,0 S:G$SM20$0$0({1}SX:U),J,0,0 S:G$MCE0$0$0({1}SX:U),J,0,0 S:G$SM1$0$0({1}SX:U),J,0,0 S:G$SM10$0$0({1}SX:U),J,0,0 S:G$SM0$0$0({1}SX:U),J,0,0 S:G$SM00$0$0({1}SX:U),J,0,0 S:G$S0MODE$0$0({1}SX:U),J,0,0 S:G$P2_0$0$0({1}SX:U),J,0,0 S:G$P2_1$0$0({1}SX:U),J,0,0 S:G$P2_2$0$0({1}SX:U),J,0,0 S:G$P2_3$0$0({1}SX:U),J,0,0 S:G$P2_4$0$0({1}SX:U),J,0,0 S:G$P2_5$0$0({1}SX:U),J,0,0 S:G$P2_6$0$0({1}SX:U),J,0,0 S:G$P2_7$0$0({1}SX:U),J,0,0 S:G$EX0$0$0({1}SX:U),J,0,0 S:G$ET0$0$0({1}SX:U),J,0,0 S:G$EX1$0$0({1}SX:U),J,0,0 S:G$ET1$0$0({1}SX:U),J,0,0 S:G$ES0$0$0({1}SX:U),J,0,0 S:G$ES$0$0({1}SX:U),J,0,0 S:G$ET2$0$0({1}SX:U),J,0,0 S:G$EA$0$0({1}SX:U),J,0,0 S:G$P3_0$0$0({1}SX:U),J,0,0 S:G$P3_1$0$0({1}SX:U),J,0,0 S:G$P3_2$0$0({1}SX:U),J,0,0 S:G$P3_3$0$0({1}SX:U),J,0,0 S:G$P3_4$0$0({1}SX:U),J,0,0 S:G$P3_5$0$0({1}SX:U),J,0,0 S:G$P3_6$0$0({1}SX:U),J,0,0 S:G$P3_7$0$0({1}SX:U),J,0,0 S:G$PX0$0$0({1}SX:U),J,0,0 S:G$PT0$0$0({1}SX:U),J,0,0 S:G$PX1$0$0({1}SX:U),J,0,0 S:G$PT1$0$0({1}SX:U),J,0,0 S:G$PS0$0$0({1}SX:U),J,0,0 S:G$PS$0$0({1}SX:U),J,0,0 S:G$PT2$0$0({1}SX:U),J,0,0 S:G$SMBTOE$0$0({1}SX:U),J,0,0 S:G$SMBFTE$0$0({1}SX:U),J,0,0 S:G$AA$0$0({1}SX:U),J,0,0 S:G$SI$0$0({1}SX:U),J,0,0 S:G$STO$0$0({1}SX:U),J,0,0 S:G$STA$0$0({1}SX:U),J,0,0 S:G$ENSMB$0$0({1}SX:U),J,0,0 S:G$BUSY$0$0({1}SX:U),J,0,0 S:G$CPRL2$0$0({1}SX:U),J,0,0 S:G$CT2$0$0({1}SX:U),J,0,0 S:G$TR2$0$0({1}SX:U),J,0,0 S:G$EXEN2$0$0({1}SX:U),J,0,0 S:G$TCLK$0$0({1}SX:U),J,0,0 S:G$RCLK$0$0({1}SX:U),J,0,0 S:G$EXF2$0$0({1}SX:U),J,0,0 S:G$TF2$0$0({1}SX:U),J,0,0 S:G$P$0$0({1}SX:U),J,0,0 S:G$F1$0$0({1}SX:U),J,0,0 S:G$OV$0$0({1}SX:U),J,0,0 S:G$RS0$0$0({1}SX:U),J,0,0 S:G$RS1$0$0({1}SX:U),J,0,0 S:G$F0$0$0({1}SX:U),J,0,0 S:G$AC$0$0({1}SX:U),J,0,0 S:G$CY$0$0({1}SX:U),J,0,0 S:G$CCF0$0$0({1}SX:U),J,0,0 S:G$CCF1$0$0({1}SX:U),J,0,0 S:G$CCF2$0$0({1}SX:U),J,0,0 S:G$CCF3$0$0({1}SX:U),J,0,0 S:G$CCF4$0$0({1}SX:U),J,0,0 S:G$CR$0$0({1}SX:U),J,0,0 S:G$CF$0$0({1}SX:U),J,0,0 S:G$ADLJST$0$0({1}SX:U),J,0,0 S:G$AD0LJST$0$0({1}SX:U),J,0,0 S:G$ADWINT$0$0({1}SX:U),J,0,0 S:G$AD0WINT$0$0({1}SX:U),J,0,0 S:G$ADSTM0$0$0({1}SX:U),J,0,0 S:G$AD0CM0$0$0({1}SX:U),J,0,0 S:G$ADSTM1$0$0({1}SX:U),J,0,0 S:G$AD0CM1$0$0({1}SX:U),J,0,0 S:G$ADBUSY$0$0({1}SX:U),J,0,0 S:G$AD0BUSY$0$0({1}SX:U),J,0,0 S:G$ADCINT$0$0({1}SX:U),J,0,0 S:G$AD0INT$0$0({1}SX:U),J,0,0 S:G$ADCTM$0$0({1}SX:U),J,0,0 S:G$AD0TM$0$0({1}SX:U),J,0,0 S:G$ADCEN$0$0({1}SX:U),J,0,0 S:G$AD0EN$0$0({1}SX:U),J,0,0 S:G$SPIEN$0$0({1}SX:U),J,0,0 S:G$MSTEN$0$0({1}SX:U),J,0,0 S:G$SLVSEL$0$0({1}SX:U),J,0,0 S:G$TXBSY$0$0({1}SX:U),J,0,0 S:G$RXOVRN$0$0({1}SX:U),J,0,0 S:G$MODF$0$0({1}SX:U),J,0,0 S:G$WCOL$0$0({1}SX:U),J,0,0 S:G$SPIF$0$0({1}SX:U),J,0,0 S:G$POT$0$0({1}SX:U),J,0,0 S:G$PB0$0$0({1}SX:U),J,0,0 S:G$PB1$0$0({1}SX:U),J,0,0 S:G$PBEnter$0$0({1}SX:U),J,0,0 S:G$PB2$0$0({1}SX:U),J,0,0 S:G$SS$0$0({1}SX:U),J,0,0 S:G$BILED1$0$0({1}SX:U),J,0,0 S:G$BILED2$0$0({1}SX:U),J,0,0 S:G$LED2$0$0({1}SX:U),J,0,0 S:G$LED1$0$0({1}SX:U),J,0,0 S:G$LED0$0$0({1}SX:U),J,0,0 S:G$BUZZER$0$0({1}SX:U),J,0,0 S:G$SYSCLK_Init$0$0({2}DF,SV:S),C,0,0 S:G$UART0_Init$0$0({2}DF,SV:S),C,0,0 S:G$Sys_Init$0$0({2}DF,SV:S),C,0,0 S:G$getchar_nw$0$0({2}DF,SC:U),C,0,0 S:G$_print_format$0$0({2}DF,SI:S),C,0,0 S:G$printf_small$0$0({2}DF,SV:S),C,0,0 S:G$printf$0$0({2}DF,SI:S),C,0,0 S:G$vprintf$0$0({2}DF,SI:S),C,0,0 S:G$sprintf$0$0({2}DF,SI:S),C,0,0 S:G$vsprintf$0$0({2}DF,SI:S),C,0,0 S:G$puts$0$0({2}DF,SI:S),C,0,0 S:G$getchar$0$0({2}DF,SC:U),C,0,0 S:G$putchar$0$0({2}DF,SV:S),C,0,0 S:G$printf_fast$0$0({2}DF,SV:S),C,0,0 S:G$printf_fast_f$0$0({2}DF,SV:S),C,0,0 S:G$printf_tiny$0$0({2}DF,SV:S),C,0,0 S:G$atof$0$0({2}DF,SF:S),C,0,0 S:G$atoi$0$0({2}DF,SI:S),C,0,0 S:G$atol$0$0({2}DF,SL:S),C,0,0 S:G$_uitoa$0$0({2}DF,SV:S),C,0,0 S:G$_itoa$0$0({2}DF,SV:S),C,0,0 S:G$_ultoa$0$0({2}DF,SV:S),C,0,0 S:G$_ltoa$0$0({2}DF,SV:S),C,0,0 S:G$rand$0$0({2}DF,SI:S),C,0,0 S:G$srand$0$0({2}DF,SV:S),C,0,0 S:G$calloc$0$0({2}DF,DX,SV:S),C,0,0 S:G$malloc$0$0({2}DF,DX,SV:S),C,0,0 S:G$realloc$0$0({2}DF,DX,SV:S),C,0,0 S:G$aligned_alloc$0$0({2}DF,DG,SV:S),C,0,0 S:G$free$0$0({2}DF,SV:S),C,0,0 S:G$abs$0$0({2}DF,SI:S),C,0,0 S:G$labs$0$0({2}DF,SL:S),C,0,0 S:G$mblen$0$0({2}DF,SI:S),C,0,0 S:G$mbtowc$0$0({2}DF,SI:S),C,0,0 S:G$wctomb$0$0({2}DF,SI:S),C,0,0 S:G$main$0$0({2}DF,SV:S),C,0,0 S:Flab2$__str_0$0$0({10}DA10d,SC:S),D,0,0 S:Flab2$__str_1$0$0({24}DA24d,SC:S),D,0,0 S:Flab2$__str_2$0$0({33}DA33d,SC:S),D,0,0 S:Flab2$__str_3$0$0({76}DA76d,SC:S),D,0,0 S:Flab2$__str_4$0$0({63}DA63d,SC:S),D,0,0 S:Flab2$__str_5$0$0({60}DA60d,SC:S),D,0,0 S:Flab2$__str_6$0$0({61}DA61d,SC:S),D,0,0 S:Flab2$__str_7$0$0({53}DA53d,SC:S),D,0,0 S:Flab2$__str_8$0$0({52}DA52d,SC:S),D,0,0 S:Flab2$__str_9$0$0({40}DA40d,SC:S),D,0,0 S:Flab2$__str_10$0$0({20}DA20d,SC:S),D,0,0 S:Flab2$__str_11$0$0({59}DA59d,SC:S),D,0,0 S:Flab2$__str_12$0$0({67}DA67d,SC:S),D,0,0 S:Flab2$__str_13$0$0({39}DA39d,SC:S),D,0,0 S:Flab2$__str_14$0$0({13}DA13d,SC:S),D,0,0 S:Flab2$__str_15$0$0({38}DA38d,SC:S),D,0,0 S:Flab2$__str_16$0$0({18}DA18d,SC:S),D,0,0
--------------------------------------------------------------------------------- -- Copyright 2004-2005 © Luke A. Guest -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. --------------------------------------------------------------------------------- with Unchecked_Conversion; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Numerics; with Sphere; with Vector3; use type Vector3.Object; package body Mesh is package Trig is new Ada.Numerics.Generic_Elementary_Functions(Float); function Degrees_To_Radians(Angle : in Float) return Float is begin return Angle * (Ada.Numerics.PI / 180.0); end Degrees_To_Radians; function Radians_To_Degrees(Angle : in Float) return Float is begin return Angle * (180.0 / Ada.Numerics.PI); end Radians_To_Degrees; function To_GLpointer is new Unchecked_Conversion(Source => VectorArrayPtr, Target => GL.GLpointer); function To_GLpointer is new Unchecked_Conversion(Source => ColourArrayPtr, Target => GL.GLpointer); function To_GLpointer is new Unchecked_Conversion(Source => IntegerPtr, Target => GL.GLpointer); function To_GLpointer is new Unchecked_Conversion(Source => TCArrayPtr, Target => GL.GLpointer); function GetVertices(MeshData : in Object) return GL.GLpointer is begin return To_GLpointer(MeshData.Vertices.all(MeshData.Vertices.all'First)'Access); end GetVertices; function GetNormals(MeshData : in Object) return GL.GLpointer is begin return To_GLpointer(MeshData.Normals.all(MeshData.Normals.all'First)'Access); end GetNormals; function GetIndices(MeshData : in Object) return GL.GLpointer is begin return To_GLpointer(MeshData.Indices.all(MeshData.Indices.all'First)'Access); end GetIndices; function GetTextureCoords(MeshData : in Object) return GL.GLpointer is begin return To_GLpointer(MeshData.TexCoords.all(MeshData.TexCoords.all'First)'Access); end GetTextureCoords; -- Create a torus mesh around the origin in the XZ plane. function Create(Data : in Torus.Object) return Object is Total_Vertices : Integer := Data.Sections * Data.Tube_Sections; Section_Angle : Float := 360.0 / Float(Data.Sections); Tube_Section_Angle : Float := 360.0 / Float(Data.Tube_Sections); Current_Vertex : Integer := 1; Current_Index : Integer := 1; -- x := cos tube_section_theta -- y := sin tube_section_theta -- z := sin section_theta Torus_Mesh : Object; Vertex : VectorArray; Angle : Float; begin Torus_Mesh.Primitive:= GL.GL_LINE_STRIP; Torus_Mesh.Vertices := new VertexArray(1 .. Total_Vertices); Torus_Mesh.Indices := new IndexArray(1 .. Total_Vertices); for Section in 0 .. Data.Sections loop Angle := Degrees_To_Radians(Section_Angle * Float(Section)); Torus_Mesh.Indices(Current_Index) := Current_Index; Vertex(3) := GL.GLfloat(Data.Radius * Trig.Sin(Angle)); -- Z for Tube_Section in 0 .. Data.Tube_Sections loop -- Generate the vertex. Angle := Degrees_To_Radians(Tube_Section_Angle * Float(Tube_Section)); Vertex(1) := GL.GLfloat(Data.Radius + (Data.Section_Radius * Trig.Cos(Angle))); -- X Vertex(2) := GL.GLfloat(Data.Radius + (Data.Section_Radius * Trig.Sin(Angle))); -- Y end loop; Torus_Mesh.Vertices(Current_Vertex) := Vertex; Current_Index := Current_Index + 1; Current_Vertex := Current_Vertex + 1; end loop; return Torus_Mesh; end Create; -- Create a cylinder which is centred at the origin. function Create(Data : in Cylinder.Object) return Object is -- x := cos tube_section_theta -- y := sin tube_section_theta -- z := sin section_theta TOTAL_VERTICES : constant Integer := ((Data.Sections + 1) * 2); TOTAL_INDICES : constant Integer := Total_Vertices; Section_Angle : Float := Degrees_To_Radians(360.0 / Float(Data.Sections)); Current_Vertex : Integer := 1; Current_Index : Integer := 1; Cylinder_Mesh : Object; procedure CreateVertex(Height, Section : in Float) is function Generate(Angle, Height : in Float) return VectorArray is Vertex : VectorArray; begin Vertex(1) := GL.GLfloat(Data.Radius * Trig.Cos(Angle)); -- X Vertex(2) := GL.GLfloat(Data.Radius * Trig.Sin(Angle)); -- Y Vertex(3) := GL.GLfloat(Height); -- Z return Vertex; end Generate; Angle : Float := -Section_Angle * Section; begin Cylinder_Mesh.Vertices(Current_Vertex) := Generate(Angle, Height); Cylinder_Mesh.Indices(Current_Index) := Current_Index; Current_Vertex := Current_Vertex + 1; Current_Index := Current_Index + 1; end CreateVertex; begin Cylinder_Mesh.Primitive:= GL.GL_TRIANGLE_STRIP; Cylinder_Mesh.Vertices := new VertexArray(Current_Vertex .. TOTAL_VERTICES); Cylinder_Mesh.Indices := new IndexArray(Current_Index .. TOTAL_INDICES); -- Generate a vertex for the bottom end of the cylinder. Copy this and modify the Y co-ord to make the opposite vertex for the top end -- of the cylinder. for Section in 0 .. Data.Sections loop CreateVertex(-(Float(Data.Height) / 2.0), Float(Section)); CreateVertex(Float(Data.Height) / 2.0, Float(Section)); end loop; AABB.Empty(Cylinder_Mesh.AABB_Bounds); OBB.Empty(Cylinder_Mesh.OBB_Bounds); return Cylinder_Mesh; end Create; -- Update the Asix-Aligned Bounding Box by using the 8 vertices defined by the Oriented Bounding Box. procedure Update_AABB(Self : in out Object) is begin AABB.Empty(Self.AABB_Bounds); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Min.X, Self.OBB_Bounds.Min.Y, Self.OBB_Bounds.Min.Z)); AaBB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Min.X, Self.OBB_Bounds.Max.Y, Self.OBB_Bounds.Min.Z)); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Max.X, Self.OBB_Bounds.Max.Y, Self.OBB_Bounds.Min.Z)); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Max.X, Self.OBB_Bounds.Min.Y, Self.OBB_Bounds.Min.Z)); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Min.X, Self.OBB_Bounds.Min.Y, Self.OBB_Bounds.Max.Z)); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Min.X, Self.OBB_Bounds.Max.Y, Self.OBB_Bounds.Max.Z)); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Max.X, Self.OBB_Bounds.Max.Y, Self.OBB_Bounds.Max.Z)); AABB.Add(Self.AABB_Bounds, Self.Transform, Vector3.Object'(Self.OBB_Bounds.Max.X, Self.OBB_Bounds.Min.Y, Self.OBB_Bounds.Max.Z)); end Update_AABB; -- This procedure is slow. As the total number of vertices in a mesh increase the total number of matrix transformations -- inside the OBB.Add will increase, thus slowing down the whole calculation. This should be generated inside the modelling -- package (Maya, 3DS Max, etc.) and exported with the mesh data! procedure Update_OBB(Self : in out Object) is V : Vector3.Object; begin OBB.Empty(Self.OBB_Bounds); for Vertex in Self.Vertices'Range loop V := Vector3.Object'(Float(Self.Vertices(Vertex)(1)), Float(Self.Vertices(Vertex)(2)), Float(Self.Vertices(Vertex)(3))); OBB.Add(Self.OBB_Bounds, V); end loop; end Update_OBB; procedure Update_Sphere(Self : in out Object) is Box_Length : Vector3.Object := Self.AABB_Bounds.Max - Self.AABB_Bounds.Min; begin Self.Sphere_Bounds.Centre := Box_Length / 2.0; Self.Sphere_Bounds.Radius := Vector3.Length(Box_Length - Self.Sphere_Bounds.Centre); end Update_Sphere; end Mesh;
with impact.d3.collision.Proxy, impact.d3.collision.create_Func; -- with btCollisionCreateFunc; use btCollisionCreateFunc; -- with impact.d3.collision.Proxy; package impact.d3.Collision.Configuration -- -- Allows to configure stack allocator size, default collision algorithms and persistent manifold pool size -- for collision detection. -- is type Item is abstract tagged null record; procedure destruct (Self : in out Item) is null; function getCollisionAlgorithmCreateFunc (Self : in Item; proxyType0, proxyType1 : impact.d3.collision.Proxy.BroadphaseNativeTypes) return access impact.d3.collision.create_Func.item'Class is abstract; end impact.d3.Collision.Configuration; -- struct impact.d3.collision.AlgorithmCreateFunc; -- class impact.d3.collision.Configuration -- { -- -- public: -- -- -- -- virtual impact.d3.collision.AlgorithmCreateFunc* getCollisionAlgorithmCreateFunc(int proxyType0,int proxyType1) =0; -- -- };
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package body WSDL.Iterators is ----------- -- Visit -- ----------- procedure Visit (Self : in out WSDL_Iterator'Class; Visitor : in out WSDL.Visitors.WSDL_Visitor'Class; Node : not null WSDL.AST.Node_Access; Control : in out Traverse_Control) is begin Node.Enter (Visitor, Control); if Control = Continue then Node.Visit (Self, Visitor, Control); end if; if Control /= Terminate_Immediately then Node.Leave (Visitor, Control); end if; end Visit; end WSDL.Iterators;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- G N A T . B O U N D E D _ M A I L B O X E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2003-2020, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). -- -- -- ------------------------------------------------------------------------------ -- This package provides a thread-safe asynchronous communication facility -- in the form of mailboxes. Individual mailbox objects are bounded in size -- to a value specified by their Capacity discriminants. -- Mailboxes actually hold references to messages, not the message values -- themselves. -- Type Mailbox is defined explicitly as a protected type (via derivation -- from a protected type) so that clients may treat them accordingly (for -- example, by making conditional/timed entry calls). with System; with GNAT.Bounded_Buffers; generic type Message (<>) is limited private; type Message_Reference is access all Message; -- Mailboxes hold references to Message values, of this type package GNAT.Bounded_Mailboxes is pragma Preelaborate; package Message_Refs is new GNAT.Bounded_Buffers (Message_Reference); type Mailbox is new Message_Refs.Bounded_Buffer; -- Type Mailbox has two inherited discriminants: -- Capacity : Positive; -- Capacity is the maximum number of Message references -- possibly contained at any given instant. -- Ceiling : System.Priority; -- Users must specify the ceiling priority for the object. -- If the Real-Time Systems Annex is not in use this value -- is not important. -- Protected type Mailbox has the following inherited interface: -- entry Insert (Item : Message_Reference); -- Insert Item into the Mailbox. Blocks caller -- until space is available. -- entry Remove (Item : out Message_Reference); -- Remove next available Message_Reference from Mailbox. -- Blocks caller until a Message_Reference is available. -- function Empty return Boolean; -- Returns whether the Mailbox contains any Message_References. -- Note: State may change immediately after call returns. -- function Full return Boolean; -- Returns whether any space remains within the Mailbox. -- Note: State may change immediately after call returns. -- function Extent return Natural; -- Returns the number of Message_Reference values currently held -- within the Mailbox. -- Note: State may change immediately after call returns. Default_Ceiling : constant System.Priority := Message_Refs.Default_Ceiling; -- A convenience value for the Ceiling discriminant end GNAT.Bounded_Mailboxes;
with Ada.Text_IO; use Ada.Text_IO; --05.02.2018 20:19:12 --http://www.radford.edu/nokie/classes/320/Tour/procs.funcs.html procedure demo is procedure printlines (numLines, numChars : Natural; c : Character) is begin for i in 1 .. numLines loop for j in 1 .. numChars loop -- put('x'); Put (c); end loop; New_Line; end loop; end printlines; --procedure half(given: natural) is --begin -- Put_Line(given / 2 ); --end half; -- no need for declare here upper : constant Integer := 12; begin printlines (2, upper, '='); -- do something printlines (3, 20, '-'); -- half (10) ; end demo;
------------------------------------------------------------------------------- -- -- WAVEFILES GTK APPLICATION -- -- Main Application -- -- The MIT License (MIT) -- -- Copyright (c) 2017 Gustavo A. Hoffmann -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, copy, modify, merge, publish, distribute, sublicense, and / -- or sell copies of the Software, and to permit persons to whom the Software -- is furnished to do so, subject to the following conditions: -- -- The above copyright notice and this permission notice shall be included in -- all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -- IN THE SOFTWARE. ------------------------------------------------------------------------------- with Gtk.Window; with Gtk.Box; package WaveFiles_Gtk is procedure Create; private procedure Destroy_Window; function Get_Window return not null access Gtk.Window.Gtk_Window_Record'Class; function Get_VBox return not null access Gtk.Box.Gtk_Vbox_Record'Class; procedure Set_Wavefile_Info (Info : String); end WaveFiles_Gtk;
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- -- * Neither the name of the nor the names of its contributors may be used -- to endorse or promote products derived from this software without -- specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS -- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- Debug package -- -- Debug is done through Debug pragmas. As the compiler has to with the debug -- package to make it available to this pragma, this is an empty package which -- makes the SPARK Examiner accept the respective with clause. Debug functions, -- however, cannot (and should not) be use from within SPARK. ------------------------------------------------------------------------------- private package LSC.Internal.RIPEMD160.Print is pragma Pure; end LSC.Internal.RIPEMD160.Print;
----------------------------------------------------------------------- -- awa-modules-beans -- Module beans factory -- Copyright (C) 2009, 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- package body AWA.Modules.Beans is -- Register under the given name a function to create the bean instance when -- it is accessed for a first time. The scope defines the scope of the bean. -- bean procedure Register (Plugin : in out Module'Class; Name : in String; Handler : in Create_Bean_Access) is Binding : constant Module_Binding_Access := new Module_Binding; begin Binding.Module := Plugin'Unchecked_Access; Binding.Create := Handler; Plugin.Register (Name, Binding.all'Access); end Register; -- ------------------------------ -- Binding record -- ------------------------------ -- procedure Create (Factory : in Module_Binding; Name : in Ada.Strings.Unbounded.Unbounded_String; Result : out Util.Beans.Basic.Readonly_Bean_Access) is pragma Unreferenced (Name); begin Result := Factory.Create.all (Factory.Module); end Create; end AWA.Modules.Beans;
-- Copyright 2018-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. procedure Foo_H731_021 is Procedure C_Func; Procedure C_FuncNoDebug; pragma Import (C, C_Func, "MixedCaseFunc"); pragma Import (C, C_FuncNoDebug, "NoDebugMixedCaseFunc"); begin C_Func; C_FuncNoDebug; end Foo_H731_021;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package stdint_h is subtype int8_t is signed_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:35 subtype uint8_t is unsigned_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:36 subtype int16_t is short; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:37 subtype uint16_t is unsigned_short; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:38 subtype int32_t is int; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:39 subtype uint32_t is unsigned; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:40 subtype int64_t is Long_Long_Integer; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:41 subtype uint64_t is Extensions.unsigned_long_long; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:42 subtype int_least8_t is signed_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:45 subtype uint_least8_t is unsigned_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:46 subtype int_least16_t is short; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:47 subtype uint_least16_t is unsigned_short; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:48 subtype int_least32_t is int; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:49 subtype uint_least32_t is unsigned; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:50 subtype int_least64_t is Long_Long_Integer; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:51 subtype uint_least64_t is Extensions.unsigned_long_long; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:52 subtype int_fast8_t is signed_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:58 subtype uint_fast8_t is unsigned_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:59 subtype int_fast16_t is short; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:60 subtype uint_fast16_t is unsigned_short; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:61 subtype int_fast32_t is int; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:62 subtype uint_fast32_t is unsigned; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:63 subtype int_fast64_t is Long_Long_Integer; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:64 subtype uint_fast64_t is Extensions.unsigned_long_long; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:65 subtype intmax_t is Long_Long_Integer; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:68 subtype uintmax_t is Extensions.unsigned_long_long; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:69 end stdint_h;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2022, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with STM32.Device; use STM32.Device; with Serial_IO; use Serial_IO; with Serial_IO.Streaming; package Peripherals_Streaming is -- the USART selection is arbitrary but the AF number and the pins must -- be those required by that USART Peripheral : aliased Serial_IO.Peripheral_Descriptor := (Transceiver => USART_1'Access, Transceiver_AF => GPIO_AF_USART1_7, Tx_Pin => PB6, Rx_Pin => PB7); COM : aliased Streaming.Serial_Port (Peripheral'Access); end Peripherals_Streaming;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . D I R E C T O R I E S . V A L I D I T Y -- -- -- -- B o d y -- -- (POSIX Version) -- -- -- -- Copyright (C) 2004-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the POSIX version of this package package body Ada.Directories.Validity is --------------------------------- -- Is_Path_Name_Case_Sensitive -- --------------------------------- function Is_Path_Name_Case_Sensitive return Boolean is begin return True; end Is_Path_Name_Case_Sensitive; ------------------------ -- Is_Valid_Path_Name -- ------------------------ function Is_Valid_Path_Name (Name : String) return Boolean is begin -- A path name cannot be empty and cannot contain any NUL character if Name'Length = 0 then return False; else for J in Name'Range loop if Name (J) = ASCII.NUL then return False; end if; end loop; end if; -- If Name does not contain any NUL character, it is valid return True; end Is_Valid_Path_Name; -------------------------- -- Is_Valid_Simple_Name -- -------------------------- function Is_Valid_Simple_Name (Name : String) return Boolean is begin -- A file name cannot be empty and cannot contain a slash ('/') or -- the NUL character. if Name'Length = 0 then return False; else for J in Name'Range loop if Name (J) = '/' or else Name (J) = ASCII.NUL then return False; end if; end loop; end if; -- If Name does not contain any slash or NUL, it is valid return True; end Is_Valid_Simple_Name; ------------- -- Windows -- ------------- function Windows return Boolean is begin return False; end Windows; end Ada.Directories.Validity;
with Ada.Directories; with Generic_Logging; package body Lal_Adapter.Tool is ------------ -- EXPORTED: ------------ -- LEAKS (only intended to be called once per program execution): procedure Process (This : in out Class; Project_File_Name : in String; Input_File_Name : in String; Output_Dir_Name : in String := Use_Current_Dir; Process_Predefined_Units : in Boolean; Process_Implementation_Units : in Boolean; Debug : in Boolean) is Parent_Name : constant String := Module_Name; Module_Name : constant String := Parent_Name & ".Process"; package Logging is new Generic_Logging (Module_Name); use Logging; Auto : Logging.Auto_Logger; -- Logs BEGIN and END package AD renames Ada.Directories; Full_Input_File_Name : constant String := AD.Full_Name (Input_File_Name); Source_File_Dir : constant String := AD.Containing_Directory (Full_Input_File_Name); Simple_File_Name : aliased String := AD.Simple_Name (Full_Input_File_Name); Full_Output_Dir_Name : constant String := (if Output_Dir_Name = Use_Current_Dir then AD.Current_Directory else AD.Full_Name (Output_Dir_Name)); -- Unit_Options : Unit.Options_Record; -- Initialized begin -- Process Lal_Adapter.Trace_On := Debug; Log ("Project_File_Name => """ & Project_File_Name & """"); Log ("Input_File_Name => """ & Input_File_Name & """"); Log ("Output_Dir_Name => """ & Output_Dir_Name & """"); Log ("Current directory => """ & Ada.Directories.Current_Directory & """"); Log ("Full_Input_File_Name => """ & Full_Input_File_Name & """"); Log ("Full_Output_Dir_Name => """ & Full_Output_Dir_Name & """"); if Input_File_Name = "" then raise Usage_Error with "Input_File_Name must be provided, was empty."; end if; -- Unit_Options.Process_If_Origin_Is (Lal.A_Predefined_Unit) := -- Process_Predefined_Units; -- Unit_Options.Process_If_Origin_Is (Lal.An_Implementation_Unit) := -- Process_Implementation_Units; This.Outputs.Text := new Indented_Text.Class; This.Outputs.Graph := Dot.Graphs.Create (Is_Digraph => True, Is_Strict => False); This.Outputs.A_Nodes := new A_Nodes.Class; -- This.My_Context.Process (Unit_Options => Unit_Options, -- Outputs => This.Outputs); This.My_Context.Process (Input_File_Name => Input_File_Name, Project_File_Name => Project_File_Name, Outputs => This.Outputs); This.Outputs.Graph.Write_File (Full_Output_Dir_Name & '/' & Simple_File_Name); This.Outputs.A_Nodes.Print_Stats; exception when X : External_Error | Internal_Error | Usage_Error => raise; when X: others => Logging.Log_Exception (X); Logging.Log ("No handler for this exception. Raising Internal_Error"); raise Internal_Error; end Process; ------------ -- EXPORTED: ------------ function Get_Nodes (This : in out Class) return a_nodes_h.Nodes_Struct is Parent_Name : constant String := Module_Name; Module_Name : constant String := Parent_Name & ".Get_Nodes"; package Logging is new Generic_Logging (Module_Name); use Logging; begin return This.Outputs.A_Nodes.Get_Nodes; exception when X : External_Error | Internal_Error | Usage_Error => raise; when X: others => Logging.Log_Exception (X); Logging.Log ("No handler for this exception. Raising Internal_Error"); raise Internal_Error; end Get_Nodes; end Lal_Adapter.Tool;
----------------------------------------------------------------------- -- util-http -- HTTP Utility Library -- Copyright (C) 2012, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Calendar; -- = HTTP = -- The `Util.Http` package provides a set of APIs that allows applications to use -- the HTTP protocol. It defines a common interface on top of CURL and AWS so that -- it is possible to use one of these two libraries in a transparent manner. -- -- @include util-http-clients.ads package Util.Http is -- Standard codes returned in HTTP responses. SC_CONTINUE : constant Natural := 100; SC_SWITCHING_PROTOCOLS : constant Natural := 101; SC_OK : constant Natural := 200; SC_CREATED : constant Natural := 201; SC_ACCEPTED : constant Natural := 202; SC_NON_AUTHORITATIVE_INFORMATION : constant Natural := 203; SC_NO_CONTENT : constant Natural := 204; SC_RESET_CONTENT : constant Natural := 205; SC_PARTIAL_CONTENT : constant Natural := 206; SC_MULTIPLE_CHOICES : constant Natural := 300; SC_MOVED_PERMANENTLY : constant Natural := 301; SC_MOVED_TEMPORARILY : constant Natural := 302; SC_FOUND : constant Natural := 302; SC_SEE_OTHER : constant Natural := 303; SC_NOT_MODIFIED : constant Natural := 304; SC_USE_PROXY : constant Natural := 305; SC_TEMPORARY_REDIRECT : constant Natural := 307; SC_BAD_REQUEST : constant Natural := 400; SC_UNAUTHORIZED : constant Natural := 401; SC_PAYMENT_REQUIRED : constant Natural := 402; SC_FORBIDDEN : constant Natural := 403; SC_NOT_FOUND : constant Natural := 404; SC_METHOD_NOT_ALLOWED : constant Natural := 405; SC_NOT_ACCEPTABLE : constant Natural := 406; SC_PROXY_AUTHENTICATION_REQUIRED : constant Natural := 407; SC_REQUEST_TIMEOUT : constant Natural := 408; SC_CONFLICT : constant Natural := 409; SC_GONE : constant Natural := 410; SC_LENGTH_REQUIRED : constant Natural := 411; SC_PRECONDITION_FAILED : constant Natural := 412; SC_REQUEST_ENTITY_TOO_LARGE : constant Natural := 413; SC_REQUEST_URI_TOO_LONG : constant Natural := 414; SC_UNSUPPORTED_MEDIA_TYPE : constant Natural := 415; SC_REQUESTED_RANGE_NOT_SATISFIABLE : constant Natural := 416; SC_EXPECTATION_FAILED : constant Natural := 417; SC_INTERNAL_SERVER_ERROR : constant Natural := 500; SC_NOT_IMPLEMENTED : constant Natural := 501; SC_BAD_GATEWAY : constant Natural := 502; SC_SERVICE_UNAVAILABLE : constant Natural := 503; SC_GATEWAY_TIMEOUT : constant Natural := 504; SC_HTTP_VERSION_NOT_SUPPORTED : constant Natural := 505; -- ------------------------------ -- Abstract Message -- ------------------------------ -- The <b>Abstract_Message</b> interface describe an HTTP message representing either -- a request or a response. type Abstract_Message is limited interface; -- Returns a boolean indicating whether the named message header has already -- been set. function Contains_Header (Message : in Abstract_Message; Name : in String) return Boolean is abstract; -- Returns the value of the specified message header as a String. If the message -- did not include a header of the specified name, this method returns null. -- If there are multiple headers with the same name, this method returns the -- first head in the request. The header name is case insensitive. You can use -- this method with any message header. function Get_Header (Message : in Abstract_Message; Name : in String) return String is abstract; -- Sets a message header with the given name and value. If the header had already -- been set, the new value overwrites the previous one. The containsHeader -- method can be used to test for the presence of a header before setting its value. procedure Set_Header (Message : in out Abstract_Message; Name : in String; Value : in String) is abstract; -- Adds a request header with the given name and value. -- This method allows request headers to have multiple values. procedure Add_Header (Message : in out Abstract_Message; Name : in String; Value : in String) is abstract; -- Iterate over the message headers and executes the <b>Process</b> procedure. procedure Iterate_Headers (Message : in Abstract_Message; Process : not null access procedure (Name : in String; Value : in String)) is abstract; -- Sets a header with the given name and date-value. -- The date is specified in terms of milliseconds since the epoch. -- If the header had already been set, the new value overwrites the previous one. -- The containsHeader method can be used to test for the presence of a header -- before setting its value. procedure Set_Date_Header (Request : in out Abstract_Message'Class; Name : in String; Date : in Ada.Calendar.Time); -- Adds a header with the given name and date-value. The date is specified -- in terms of milliseconds since the epoch. This method allows response headers -- to have multiple values. procedure Add_Date_Header (Request : in out Abstract_Message'Class; Name : in String; Date : in Ada.Calendar.Time); -- Sets a header with the given name and integer value. -- If the header had already been set, the new value overwrites the previous one. -- The containsHeader method can be used to test for the presence of a header -- before setting its value. procedure Set_Int_Header (Request : in out Abstract_Message'Class; Name : in String; Value : in Integer); -- Adds a header with the given name and integer value. This method -- allows headers to have multiple values. procedure Add_Int_Header (Request : in out Abstract_Message'Class; Name : in String; Value : in Integer); -- ------------------------------ -- Abstract Request -- ------------------------------ type Abstract_Request is limited interface and Abstract_Message; type Abstract_Request_Access is access all Abstract_Request'Class; -- ------------------------------ -- Abstract Response -- ------------------------------ type Abstract_Response is limited interface and Abstract_Message; type Abstract_Response_Access is access all Abstract_Response'Class; -- Get the response status code. function Get_Status (Response : in Abstract_Response) return Natural is abstract; -- Get the response body as a string. function Get_Body (Response : in Abstract_Response) return String is abstract; end Util.Http;
-- Auto generated file. Don't edit -- Read copyright and license at the end of this file package Encodings.Maps.CP_500 is function Decode (Char : Character) return Wide_Character; pragma Inline (Decode); procedure Encode (Text : in Wide_String; Text_Last : out Natural; Result : out Raw_String; Result_Last : out Natural; Map : in Encoding := Encodings.CP_500); procedure Decode (Text : in Raw_String; Text_Last : out Natural; Result : out Wide_String; Result_Last : out Natural; Map : in Encoding := Encodings.CP_500); end Encodings.Maps.CP_500; ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * Neither the name of the Maxim Reznik, IE nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E L I S T S -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2001 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- WARNING: There is a C version of this package. Any changes to this -- source file must be properly reflected in the C header a-elists.h. with Alloc; with Debug; use Debug; with Output; use Output; with Table; package body Elists is ------------------------------------- -- Implementation of Element Lists -- ------------------------------------- -- Element lists are composed of three types of entities. The element -- list header, which references the first and last elements of the -- list, the elements themselves which are singly linked and also -- reference the nodes on the list, and finally the nodes themselves. -- The following diagram shows how an element list is represented: -- +----------------------------------------------------+ -- | +------------------------------------------+ | -- | | | | -- V | V | -- +-----|--+ +-------+ +-------+ +-------+ | -- | Elmt | | 1st | | 2nd | | Last | | -- | List |--->| Elmt |--->| Elmt ---...-->| Elmt ---+ -- | Header | | | | | | | | | | -- +--------+ +---|---+ +---|---+ +---|---+ -- | | | -- V V V -- +-------+ +-------+ +-------+ -- | | | | | | -- | Node1 | | Node2 | | Node3 | -- | | | | | | -- +-------+ +-------+ +-------+ -- The list header is an entry in the Elists table. The values used for -- the type Elist_Id are subscripts into this table. The First_Elmt field -- (Lfield1) points to the first element on the list, or to No_Elmt in the -- case of an empty list. Similarly the Last_Elmt field (Lfield2) points to -- the last element on the list or to No_Elmt in the case of an empty list. -- The elements themselves are entries in the Elmts table. The Next field -- of each entry points to the next element, or to the Elist header if this -- is the last item in the list. The Node field points to the node which -- is referenced by the corresponding list entry. -------------------------- -- Element List Tables -- -------------------------- type Elist_Header is record First : Elmt_Id; Last : Elmt_Id; end record; package Elists is new Table.Table ( Table_Component_Type => Elist_Header, Table_Index_Type => Elist_Id, Table_Low_Bound => First_Elist_Id, Table_Initial => Alloc.Elists_Initial, Table_Increment => Alloc.Elists_Increment, Table_Name => "Elists"); type Elmt_Item is record Node : Node_Id; Next : Union_Id; end record; package Elmts is new Table.Table ( Table_Component_Type => Elmt_Item, Table_Index_Type => Elmt_Id, Table_Low_Bound => First_Elmt_Id, Table_Initial => Alloc.Elmts_Initial, Table_Increment => Alloc.Elmts_Increment, Table_Name => "Elmts"); ----------------- -- Append_Elmt -- ----------------- procedure Append_Elmt (Node : Node_Id; To : Elist_Id) is L : constant Elmt_Id := Elists.Table (To).Last; begin Elmts.Increment_Last; Elmts.Table (Elmts.Last).Node := Node; Elmts.Table (Elmts.Last).Next := Union_Id (To); if L = No_Elmt then Elists.Table (To).First := Elmts.Last; else Elmts.Table (L).Next := Union_Id (Elmts.Last); end if; Elists.Table (To).Last := Elmts.Last; if Debug_Flag_N then Write_Str ("Append new element Elmt_Id = "); Write_Int (Int (Elmts.Last)); Write_Str (" to list Elist_Id = "); Write_Int (Int (To)); Write_Str (" referencing Node_Id = "); Write_Int (Int (Node)); Write_Eol; end if; end Append_Elmt; -------------------- -- Elists_Address -- -------------------- function Elists_Address return System.Address is begin return Elists.Table (First_Elist_Id)'Address; end Elists_Address; ------------------- -- Elmts_Address -- ------------------- function Elmts_Address return System.Address is begin return Elmts.Table (First_Elmt_Id)'Address; end Elmts_Address; ---------------- -- First_Elmt -- ---------------- function First_Elmt (List : Elist_Id) return Elmt_Id is begin pragma Assert (List > Elist_Low_Bound); return Elists.Table (List).First; end First_Elmt; ---------------- -- Initialize -- ---------------- procedure Initialize is begin Elists.Init; Elmts.Init; end Initialize; ----------------------- -- Insert_Elmt_After -- ----------------------- procedure Insert_Elmt_After (Node : Node_Id; Elmt : Elmt_Id) is N : constant Union_Id := Elmts.Table (Elmt).Next; begin pragma Assert (Elmt /= No_Elmt); Elmts.Increment_Last; Elmts.Table (Elmts.Last).Node := Node; Elmts.Table (Elmts.Last).Next := N; Elmts.Table (Elmt).Next := Union_Id (Elmts.Last); if N in Elist_Range then Elists.Table (Elist_Id (N)).Last := Elmts.Last; end if; end Insert_Elmt_After; ------------------------ -- Is_Empty_Elmt_List -- ------------------------ function Is_Empty_Elmt_List (List : Elist_Id) return Boolean is begin return Elists.Table (List).First = No_Elmt; end Is_Empty_Elmt_List; ------------------- -- Last_Elist_Id -- ------------------- function Last_Elist_Id return Elist_Id is begin return Elists.Last; end Last_Elist_Id; --------------- -- Last_Elmt -- --------------- function Last_Elmt (List : Elist_Id) return Elmt_Id is begin return Elists.Table (List).Last; end Last_Elmt; ------------------ -- Last_Elmt_Id -- ------------------ function Last_Elmt_Id return Elmt_Id is begin return Elmts.Last; end Last_Elmt_Id; ---------- -- Lock -- ---------- procedure Lock is begin Elists.Locked := True; Elmts.Locked := True; Elists.Release; Elmts.Release; end Lock; ------------------- -- New_Elmt_List -- ------------------- function New_Elmt_List return Elist_Id is begin Elists.Increment_Last; Elists.Table (Elists.Last).First := No_Elmt; Elists.Table (Elists.Last).Last := No_Elmt; if Debug_Flag_N then Write_Str ("Allocate new element list, returned ID = "); Write_Int (Int (Elists.Last)); Write_Eol; end if; return Elists.Last; end New_Elmt_List; --------------- -- Next_Elmt -- --------------- function Next_Elmt (Elmt : Elmt_Id) return Elmt_Id is N : constant Union_Id := Elmts.Table (Elmt).Next; begin if N in Elist_Range then return No_Elmt; else return Elmt_Id (N); end if; end Next_Elmt; procedure Next_Elmt (Elmt : in out Elmt_Id) is begin Elmt := Next_Elmt (Elmt); end Next_Elmt; -------- -- No -- -------- function No (List : Elist_Id) return Boolean is begin return List = No_Elist; end No; function No (Elmt : Elmt_Id) return Boolean is begin return Elmt = No_Elmt; end No; ----------- -- Node -- ----------- function Node (Elmt : Elmt_Id) return Node_Id is begin if Elmt = No_Elmt then return Empty; else return Elmts.Table (Elmt).Node; end if; end Node; ---------------- -- Num_Elists -- ---------------- function Num_Elists return Nat is begin return Int (Elmts.Last) - Int (Elmts.First) + 1; end Num_Elists; ------------------ -- Prepend_Elmt -- ------------------ procedure Prepend_Elmt (Node : Node_Id; To : Elist_Id) is F : constant Elmt_Id := Elists.Table (To).First; begin Elmts.Increment_Last; Elmts.Table (Elmts.Last).Node := Node; if F = No_Elmt then Elists.Table (To).Last := Elmts.Last; Elmts.Table (Elmts.Last).Next := Union_Id (To); else Elmts.Table (Elmts.Last).Next := Union_Id (F); end if; Elists.Table (To).First := Elmts.Last; end Prepend_Elmt; ------------- -- Present -- ------------- function Present (List : Elist_Id) return Boolean is begin return List /= No_Elist; end Present; function Present (Elmt : Elmt_Id) return Boolean is begin return Elmt /= No_Elmt; end Present; ----------------- -- Remove_Elmt -- ----------------- procedure Remove_Elmt (List : Elist_Id; Elmt : Elmt_Id) is Nxt : Elmt_Id; Prv : Elmt_Id; begin Nxt := Elists.Table (List).First; -- Case of removing only element in the list if Elmts.Table (Nxt).Next in Elist_Range then pragma Assert (Nxt = Elmt); Elists.Table (List).First := No_Elmt; Elists.Table (List).Last := No_Elmt; -- Case of removing the first element in the list elsif Nxt = Elmt then Elists.Table (List).First := Elmt_Id (Elmts.Table (Nxt).Next); -- Case of removing second or later element in the list else loop Prv := Nxt; Nxt := Elmt_Id (Elmts.Table (Prv).Next); exit when Nxt = Elmt or else Elmts.Table (Nxt).Next in Elist_Range; end loop; pragma Assert (Nxt = Elmt); Elmts.Table (Prv).Next := Elmts.Table (Nxt).Next; if Elmts.Table (Prv).Next in Elist_Range then Elists.Table (List).Last := Prv; end if; end if; end Remove_Elmt; ---------------------- -- Remove_Last_Elmt -- ---------------------- procedure Remove_Last_Elmt (List : Elist_Id) is Nxt : Elmt_Id; Prv : Elmt_Id; begin Nxt := Elists.Table (List).First; -- Case of removing only element in the list if Elmts.Table (Nxt).Next in Elist_Range then Elists.Table (List).First := No_Elmt; Elists.Table (List).Last := No_Elmt; -- Case of at least two elements in list else loop Prv := Nxt; Nxt := Elmt_Id (Elmts.Table (Prv).Next); exit when Elmts.Table (Nxt).Next in Elist_Range; end loop; Elmts.Table (Prv).Next := Elmts.Table (Nxt).Next; Elists.Table (List).Last := Prv; end if; end Remove_Last_Elmt; ------------------ -- Replace_Elmt -- ------------------ procedure Replace_Elmt (Elmt : Elmt_Id; New_Node : Node_Id) is begin Elmts.Table (Elmt).Node := New_Node; end Replace_Elmt; --------------- -- Tree_Read -- --------------- procedure Tree_Read is begin Elists.Tree_Read; Elmts.Tree_Read; end Tree_Read; ---------------- -- Tree_Write -- ---------------- procedure Tree_Write is begin Elists.Tree_Write; Elmts.Tree_Write; end Tree_Write; end Elists;
-------------------------------------------------------------------------------- -- Copyright (c) 2013, Felix Krause <contact@flyx.org> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- with Ada.Numerics.Generic_Elementary_Functions; package body CL.Vectors is generic type Vector_Range is (<>); type Vector is array (Vector_Range) of Float; function Normalizer (Left : Vector) return Vector; function Normalizer (Left : Vector) return Vector is package Math is new Ada.Numerics.Generic_Elementary_Functions (CL.Float); Norm : CL.Float := 0.0; Normed : Vector; begin for I in Vector_Range loop Norm := Norm + Left (I) ** 2; end loop; Norm := Math.Sqrt (Norm); for I in Vector_Range loop Normed (I) := Left (I) / Norm; end loop; return Normed; end Normalizer; function Normalized (Left : Float2) return Float2 is function Normalizer2 is new Normalizer (Range2, Float_Set.V2.Vector); pragma Inline (Normalizer2); Result : Float2; begin Result.S := Normalizer2 (Left.S); return Result; end Normalized; function Normalized (Left : Float3) return Float3 is function Normalizer3 is new Normalizer (Range3, Float_Set.V3.Vector); pragma Inline (Normalizer3); Result : Float3; begin Result.S := Normalizer3 (Left.S); return Result; end Normalized; function Normalized (Left : Float4) return Float4 is function Normalizer4 is new Normalizer (Range4, Float_Set.V4.Vector); pragma Inline (Normalizer4); Result : Float4; begin Result.S := Normalizer4 (Left.S); return Result; end Normalized; function Normalized (Left : Float8) return Float8 is function Normalizer8 is new Normalizer (Range8, Float_Set.V8.Vector); pragma Inline (Normalizer8); Result : Float8; begin Result.S := Normalizer8 (Left.S); return Result; end Normalized; function Normalized (Left : Float16) return Float16 is function Normalizer16 is new Normalizer (Range16, Float_Set.V16.Vector); pragma Inline (Normalizer16); Result : Float16; begin Result.S := Normalizer16 (Left.S); return Result; end Normalized; function New_Char2_Array is new Char_Set.Vector2_Array (Char2, Char2_Array); function New_Char3_Array is new Char_Set.Vector3_Array (Char3, Char3_Array); function New_Char4_Array is new Char_Set.Vector4_Array (Char4, Char4_Array); function New_Char8_Array is new Char_Set.Vector8_Array (Char8, Char8_Array); function New_Char16_Array is new Char_Set.Vector16_Array (Char16, Char16_Array); function New_Array (List : Char_Set.V2.Vector_Array) return Char2_Array renames New_Char2_Array; function New_Array (List : Char_Set.V3.Vector_Array) return Char3_Array renames New_Char3_Array; function New_Array (List : Char_Set.V4.Vector_Array) return Char4_Array renames New_Char4_Array; function New_Array (List : Char_Set.V8.Vector_Array) return Char8_Array renames New_Char8_Array; function New_Array (List : Char_Set.V16.Vector_Array) return Char16_Array renames New_Char16_Array; function New_Short2_Array is new Short_Set.Vector2_Array (Short2, Short2_Array); function New_Short3_Array is new Short_Set.Vector3_Array (Short3, Short3_Array); function New_Short4_Array is new Short_Set.Vector4_Array (Short4, Short4_Array); function New_Short8_Array is new Short_Set.Vector8_Array (Short8, Short8_Array); function New_Short16_Array is new Short_Set.Vector16_Array (Short16, Short16_Array); function New_Array (List : Short_Set.V2.Vector_Array) return Short2_Array renames New_Short2_Array; function New_Array (List : Short_Set.V3.Vector_Array) return Short3_Array renames New_Short3_Array; function New_Array (List : Short_Set.V4.Vector_Array) return Short4_Array renames New_Short4_Array; function New_Array (List : Short_Set.V8.Vector_Array) return Short8_Array renames New_Short8_Array; function New_Array (List : Short_Set.V16.Vector_Array) return Short16_Array renames New_Short16_Array; function New_Int2_Array is new Int_Set.Vector2_Array (Int2, Int2_Array); function New_Int3_Array is new Int_Set.Vector3_Array (Int3, Int3_Array); function New_Int4_Array is new Int_Set.Vector4_Array (Int4, Int4_Array); function New_Int8_Array is new Int_Set.Vector8_Array (Int8, Int8_Array); function New_Int16_Array is new Int_Set.Vector16_Array (Int16, Int16_Array); function New_Array (List : Int_Set.V2.Vector_Array) return Int2_Array renames New_Int2_Array; function New_Array (List : Int_Set.V3.Vector_Array) return Int3_Array renames New_Int3_Array; function New_Array (List : Int_Set.V4.Vector_Array) return Int4_Array renames New_Int4_Array; function New_Array (List : Int_Set.V8.Vector_Array) return Int8_Array renames New_Int8_Array; function New_Array (List : Int_Set.V16.Vector_Array) return Int16_Array renames New_Int16_Array; function New_Long2_Array is new Long_Set.Vector2_Array (Long2, Long2_Array); function New_Long3_Array is new Long_Set.Vector3_Array (Long3, Long3_Array); function New_Long4_Array is new Long_Set.Vector4_Array (Long4, Long4_Array); function New_Long8_Array is new Long_Set.Vector8_Array (Long8, Long8_Array); function New_Long16_Array is new Long_Set.Vector16_Array (Long16, Long16_Array); function New_Array (List : Long_Set.V2.Vector_Array) return Long2_Array renames New_Long2_Array; function New_Array (List : Long_Set.V3.Vector_Array) return Long3_Array renames New_Long3_Array; function New_Array (List : Long_Set.V4.Vector_Array) return Long4_Array renames New_Long4_Array; function New_Array (List : Long_Set.V8.Vector_Array) return Long8_Array renames New_Long8_Array; function New_Array (List : Long_Set.V16.Vector_Array) return Long16_Array renames New_Long16_Array; function New_UChar2_Array is new UChar_Set.Vector2_Array (UChar2, UChar2_Array); function New_UChar3_Array is new UChar_Set.Vector3_Array (UChar3, UChar3_Array); function New_UChar4_Array is new UChar_Set.Vector4_Array (UChar4, UChar4_Array); function New_UChar8_Array is new UChar_Set.Vector8_Array (UChar8, UChar8_Array); function New_UChar16_Array is new UChar_Set.Vector16_Array (UChar16, UChar16_Array); function New_Array (List : UChar_Set.V2.Vector_Array) return UChar2_Array renames New_UChar2_Array; function New_Array (List : UChar_Set.V3.Vector_Array) return UChar3_Array renames New_UChar3_Array; function New_Array (List : UChar_Set.V4.Vector_Array) return UChar4_Array renames New_UChar4_Array; function New_Array (List : UChar_Set.V8.Vector_Array) return UChar8_Array renames New_UChar8_Array; function New_Array (List : UChar_Set.V16.Vector_Array) return UChar16_Array renames New_UChar16_Array; function New_UShort2_Array is new UShort_Set.Vector2_Array (UShort2, UShort2_Array); function New_UShort3_Array is new UShort_Set.Vector3_Array (UShort3, UShort3_Array); function New_UShort4_Array is new UShort_Set.Vector4_Array (UShort4, UShort4_Array); function New_UShort8_Array is new UShort_Set.Vector8_Array (UShort8, UShort8_Array); function New_UShort16_Array is new UShort_Set.Vector16_Array (UShort16, UShort16_Array); function New_Array (List : UShort_Set.V2.Vector_Array) return UShort2_Array renames New_UShort2_Array; function New_Array (List : UShort_Set.V3.Vector_Array) return UShort3_Array renames New_UShort3_Array; function New_Array (List : UShort_Set.V4.Vector_Array) return UShort4_Array renames New_UShort4_Array; function New_Array (List : UShort_Set.V8.Vector_Array) return UShort8_Array renames New_UShort8_Array; function New_Array (List : UShort_Set.V16.Vector_Array) return UShort16_Array renames New_UShort16_Array; function New_UInt2_Array is new UInt_Set.Vector2_Array (UInt2, UInt2_Array); function New_UInt3_Array is new UInt_Set.Vector3_Array (UInt3, UInt3_Array); function New_UInt4_Array is new UInt_Set.Vector4_Array (UInt4, UInt4_Array); function New_UInt8_Array is new UInt_Set.Vector8_Array (UInt8, UInt8_Array); function New_UInt16_Array is new UInt_Set.Vector16_Array (UInt16, UInt16_Array); function New_Array (List : UInt_Set.V2.Vector_Array) return UInt2_Array renames New_UInt2_Array; function New_Array (List : UInt_Set.V3.Vector_Array) return UInt3_Array renames New_UInt3_Array; function New_Array (List : UInt_Set.V4.Vector_Array) return UInt4_Array renames New_UInt4_Array; function New_Array (List : UInt_Set.V8.Vector_Array) return UInt8_Array renames New_UInt8_Array; function New_Array (List : UInt_Set.V16.Vector_Array) return UInt16_Array renames New_UInt16_Array; function New_ULong2_Array is new ULong_Set.Vector2_Array (ULong2, ULong2_Array); function New_ULong3_Array is new ULong_Set.Vector3_Array (ULong3, ULong3_Array); function New_ULong4_Array is new ULong_Set.Vector4_Array (ULong4, ULong4_Array); function New_ULong8_Array is new ULong_Set.Vector8_Array (ULong8, ULong8_Array); function New_ULong16_Array is new ULong_Set.Vector16_Array (ULong16, ULong16_Array); function New_Array (List : ULong_Set.V2.Vector_Array) return ULong2_Array renames New_ULong2_Array; function New_Array (List : ULong_Set.V3.Vector_Array) return ULong3_Array renames New_ULong3_Array; function New_Array (List : ULong_Set.V4.Vector_Array) return ULong4_Array renames New_ULong4_Array; function New_Array (List : ULong_Set.V8.Vector_Array) return ULong8_Array renames New_ULong8_Array; function New_Array (List : ULong_Set.V16.Vector_Array) return ULong16_Array renames New_ULong16_Array; function Float2_Equals (Left, Right : Float2) return Boolean is function Element_Equals is new Float_Equals (Epsilon); pragma Inline (Element_Equals); begin for I in Range2 loop if not Element_Equals (Left.S (I), Right.S (I)) then return False; end if; end loop; return True; end Float2_Equals; function Float3_Equals (Left, Right : Float3) return Boolean is function Element_Equals is new Float_Equals (Epsilon); pragma Inline (Element_Equals); begin for I in Range3 loop if not Element_Equals (Left.S (I), Right.S (I)) then return False; end if; end loop; return True; end Float3_Equals; function Float4_Equals (Left, Right : Float4) return Boolean is function Element_Equals is new Float_Equals (Epsilon); pragma Inline (Element_Equals); begin for I in Range4 loop if not Element_Equals (Left.S (I), Right.S (I)) then return False; end if; end loop; return True; end Float4_Equals; function Float8_Equals (Left, Right : Float8) return Boolean is function Element_Equals is new Float_Equals (Epsilon); pragma Inline (Element_Equals); begin for I in Range8 loop if not Element_Equals (Left.S (I), Right.S (I)) then return False; end if; end loop; return True; end Float8_Equals; function Float16_Equals (Left, Right : Float16) return Boolean is function Element_Equals is new Float_Equals (Epsilon); pragma Inline (Element_Equals); begin for I in Range16 loop if not Element_Equals (Left.S (I), Right.S (I)) then return False; end if; end loop; return True; end Float16_Equals; function New_Float2_Array is new Float_Set.Vector2_Array (Float2, Float2_Array); function New_Float3_Array is new Float_Set.Vector3_Array (Float3, Float3_Array); function New_Float4_Array is new Float_Set.Vector4_Array (Float4, Float4_Array); function New_Float8_Array is new Float_Set.Vector8_Array (Float8, Float8_Array); function New_Float16_Array is new Float_Set.Vector16_Array (Float16, Float16_Array); function New_Array (List : Float_Set.V2.Vector_Array) return Float2_Array renames New_Float2_Array; function New_Array (List : Float_Set.V3.Vector_Array) return Float3_Array renames New_Float3_Array; function New_Array (List : Float_Set.V4.Vector_Array) return Float4_Array renames New_Float4_Array; function New_Array (List : Float_Set.V8.Vector_Array) return Float8_Array renames New_Float8_Array; function New_Array (List : Float_Set.V16.Vector_Array) return Float16_Array renames New_Float16_Array; end CL.Vectors;
-- Copyright 2015-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is procedure Do_Nothing (A : System.Address); end Pck;
-- { dg-do compile } -- { dg-options "-O2 -gnatp -fdump-tree-optimized" } package body Loop_Optimization6 is procedure Foo is begin for I in 1 .. 1_000_000 loop A := A + 1; end loop; end Foo; procedure Bar is begin for J in 1 .. 1_000 loop Foo; end loop; end Bar; procedure Main is begin Bar; end; end Loop_Optimization6; -- { dg-final { scan-tree-dump-not "goto" "optimized"} }
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements; with AMF.Internals.Helpers; with AMF.Internals.Tables.Utp_Attributes; with AMF.String_Collections; with AMF.UML.Behaviors; with AMF.Utp; with AMF.Visitors.Utp_Iterators; with AMF.Visitors.Utp_Visitors; with League.Strings.Internals; with Matreshka.Internals.Strings; package body AMF.Internals.Utp_Test_Logs is ----------------------- -- Get_Base_Behavior -- ----------------------- overriding function Get_Base_Behavior (Self : not null access constant Utp_Test_Log_Proxy) return AMF.UML.Behaviors.UML_Behavior_Access is begin return AMF.UML.Behaviors.UML_Behavior_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.Utp_Attributes.Internal_Get_Base_Behavior (Self.Element))); end Get_Base_Behavior; ----------------------- -- Set_Base_Behavior -- ----------------------- overriding procedure Set_Base_Behavior (Self : not null access Utp_Test_Log_Proxy; To : AMF.UML.Behaviors.UML_Behavior_Access) is begin AMF.Internals.Tables.Utp_Attributes.Internal_Set_Base_Behavior (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Base_Behavior; ---------------- -- Get_Tester -- ---------------- overriding function Get_Tester (Self : not null access constant Utp_Test_Log_Proxy) return AMF.String_Collections.Set_Of_String is begin raise Program_Error; return X : AMF.String_Collections.Set_Of_String; end Get_Tester; --------------------- -- Get_Executed_At -- --------------------- overriding function Get_Executed_At (Self : not null access constant Utp_Test_Log_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.Utp_Attributes.Internal_Get_Executed_At (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Executed_At; --------------------- -- Set_Executed_At -- --------------------- overriding procedure Set_Executed_At (Self : not null access Utp_Test_Log_Proxy; To : AMF.Optional_String) is begin if To.Is_Empty then AMF.Internals.Tables.Utp_Attributes.Internal_Set_Executed_At (Self.Element, null); else AMF.Internals.Tables.Utp_Attributes.Internal_Set_Executed_At (Self.Element, League.Strings.Internals.Internal (To.Value)); end if; end Set_Executed_At; ------------------ -- Get_Duration -- ------------------ overriding function Get_Duration (Self : not null access constant Utp_Test_Log_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.Utp_Attributes.Internal_Get_Duration (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Duration; ------------------ -- Set_Duration -- ------------------ overriding procedure Set_Duration (Self : not null access Utp_Test_Log_Proxy; To : AMF.Optional_String) is begin if To.Is_Empty then AMF.Internals.Tables.Utp_Attributes.Internal_Set_Duration (Self.Element, null); else AMF.Internals.Tables.Utp_Attributes.Internal_Set_Duration (Self.Element, League.Strings.Internals.Internal (To.Value)); end if; end Set_Duration; ----------------- -- Get_Verdict -- ----------------- overriding function Get_Verdict (Self : not null access constant Utp_Test_Log_Proxy) return AMF.Utp.Utp_Verdict is begin return AMF.Internals.Tables.Utp_Attributes.Internal_Get_Verdict (Self.Element); end Get_Verdict; ----------------- -- Set_Verdict -- ----------------- overriding procedure Set_Verdict (Self : not null access Utp_Test_Log_Proxy; To : AMF.Utp.Utp_Verdict) is begin AMF.Internals.Tables.Utp_Attributes.Internal_Set_Verdict (Self.Element, To); end Set_Verdict; ------------------------ -- Get_Verdict_Reason -- ------------------------ overriding function Get_Verdict_Reason (Self : not null access constant Utp_Test_Log_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.Utp_Attributes.Internal_Get_Verdict_Reason (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Verdict_Reason; ------------------------ -- Set_Verdict_Reason -- ------------------------ overriding procedure Set_Verdict_Reason (Self : not null access Utp_Test_Log_Proxy; To : AMF.Optional_String) is begin if To.Is_Empty then AMF.Internals.Tables.Utp_Attributes.Internal_Set_Verdict_Reason (Self.Element, null); else AMF.Internals.Tables.Utp_Attributes.Internal_Set_Verdict_Reason (Self.Element, League.Strings.Internals.Internal (To.Value)); end if; end Set_Verdict_Reason; --------------------- -- Get_Sut_Version -- --------------------- overriding function Get_Sut_Version (Self : not null access constant Utp_Test_Log_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.Utp_Attributes.Internal_Get_Sut_Version (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Sut_Version; --------------------- -- Set_Sut_Version -- --------------------- overriding procedure Set_Sut_Version (Self : not null access Utp_Test_Log_Proxy; To : AMF.Optional_String) is begin if To.Is_Empty then AMF.Internals.Tables.Utp_Attributes.Internal_Set_Sut_Version (Self.Element, null); else AMF.Internals.Tables.Utp_Attributes.Internal_Set_Sut_Version (Self.Element, League.Strings.Internals.Internal (To.Value)); end if; end Set_Sut_Version; ------------------- -- Enter_Element -- ------------------- overriding procedure Enter_Element (Self : not null access constant Utp_Test_Log_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.Utp_Visitors.Utp_Visitor'Class then AMF.Visitors.Utp_Visitors.Utp_Visitor'Class (Visitor).Enter_Test_Log (AMF.Utp.Test_Logs.Utp_Test_Log_Access (Self), Control); end if; end Enter_Element; ------------------- -- Leave_Element -- ------------------- overriding procedure Leave_Element (Self : not null access constant Utp_Test_Log_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.Utp_Visitors.Utp_Visitor'Class then AMF.Visitors.Utp_Visitors.Utp_Visitor'Class (Visitor).Leave_Test_Log (AMF.Utp.Test_Logs.Utp_Test_Log_Access (Self), Control); end if; end Leave_Element; ------------------- -- Visit_Element -- ------------------- overriding procedure Visit_Element (Self : not null access constant Utp_Test_Log_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Iterator in AMF.Visitors.Utp_Iterators.Utp_Iterator'Class then AMF.Visitors.Utp_Iterators.Utp_Iterator'Class (Iterator).Visit_Test_Log (Visitor, AMF.Utp.Test_Logs.Utp_Test_Log_Access (Self), Control); end if; end Visit_Element; end AMF.Internals.Utp_Test_Logs;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 2 8 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_28 is subtype Bit_Order is System.Bit_Order; Reverse_Bit_Order : constant Bit_Order := Bit_Order'Val (1 - Bit_Order'Pos (System.Default_Bit_Order)); subtype Ofs is System.Storage_Elements.Storage_Offset; subtype Uns is System.Unsigned_Types.Unsigned; subtype N07 is System.Unsigned_Types.Unsigned range 0 .. 7; use type System.Storage_Elements.Storage_Offset; use type System.Unsigned_Types.Unsigned; type Cluster is record E0, E1, E2, E3, E4, E5, E6, E7 : Bits_28; end record; for Cluster use record E0 at 0 range 0 * Bits .. 0 * Bits + Bits - 1; E1 at 0 range 1 * Bits .. 1 * Bits + Bits - 1; E2 at 0 range 2 * Bits .. 2 * Bits + Bits - 1; E3 at 0 range 3 * Bits .. 3 * Bits + Bits - 1; E4 at 0 range 4 * Bits .. 4 * Bits + Bits - 1; E5 at 0 range 5 * Bits .. 5 * Bits + Bits - 1; E6 at 0 range 6 * Bits .. 6 * Bits + Bits - 1; E7 at 0 range 7 * Bits .. 7 * Bits + Bits - 1; end record; for Cluster'Size use Bits * 8; for Cluster'Alignment use Integer'Min (Standard'Maximum_Alignment, 1 + 1 * Boolean'Pos (Bits mod 2 = 0) + 2 * Boolean'Pos (Bits mod 4 = 0)); -- Use maximum possible alignment, given the bit field size, since this -- will result in the most efficient code possible for the field. type Cluster_Ref is access Cluster; type Rev_Cluster is new Cluster with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_Cluster_Ref is access Rev_Cluster; -- The following declarations are for the case where the address -- passed to GetU_28 or SetU_28 is not guaranteed to be aligned. -- These routines are used when the packed array is itself a -- component of a packed record, and therefore may not be aligned. type ClusterU is new Cluster; for ClusterU'Alignment use 1; type ClusterU_Ref is access ClusterU; type Rev_ClusterU is new ClusterU with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_ClusterU_Ref is access Rev_ClusterU; ------------ -- Get_28 -- ------------ function Get_28 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_28 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end Get_28; ------------- -- GetU_28 -- ------------- function GetU_28 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_28 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : ClusterU_Ref with Address => A'Address, Import; RC : Rev_ClusterU_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end GetU_28; ------------ -- Set_28 -- ------------ procedure Set_28 (Arr : System.Address; N : Natural; E : Bits_28; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end Set_28; ------------- -- SetU_28 -- ------------- procedure SetU_28 (Arr : System.Address; N : Natural; E : Bits_28; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : ClusterU_Ref with Address => A'Address, Import; RC : Rev_ClusterU_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end SetU_28; end System.Pack_28;
-- Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; procedure Lang_Switch is pragma Linker_Options ("foo.o"); function C_Procedure (Msg : String) return Integer; pragma Import(C, C_Procedure, "c_procedure"); procedure Ada_Procedure (Msg : String) is C_Msg : String (1 .. 1024); Tmp_Int : Integer; begin C_Msg (1 .. Msg'length + 1) := Msg & Ascii.Nul; Tmp_Int := C_Procedure (Msg => C_Msg); end Ada_Procedure; begin Ada_Procedure ("msg"); end Lang_Switch;
----------------------------------------------------------------------- -- components-util -- ASF Util Components -- Copyright (C) 2009, 2010, 2011, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Beans.Basic; with ASF.Components.Base; with ASF.Contexts.Faces; package ASF.Components.Utils is -- Get the line information where the component is defined. -- function Get_Line_Info (UI : in UIComponent'Class) return Views.Nodes.Line_Info; -- Get the line information where the component is defined. function Get_Line_Info (UI : in Base.UIComponent'Class) return String; -- Get the component attribute that implements the <tt>List_Bean</tt> interface. -- Returns null if the attribute is not found or does not implement the interface. function Get_List_Bean (UI : in Base.UIComponent'Class; Name : in String; Context : in ASF.Contexts.Faces.Faces_Context'Class) return Util.Beans.Basic.List_Bean_Access; end ASF.Components.Utils;
-- REST API Validation -- API to validate -- -- The version of the OpenAPI document: 1.0.0 -- Contact: Stephane.Carrez@gmail.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.2.1-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. pragma Warnings (Off, "*is not referenced"); with Swagger.Streams; package body TestAPI.Clients is pragma Style_Checks ("-mr"); -- -- Query an orchestrated service instance procedure Orch_Store (Client : in out Client_Type; Inline_Object_3Type : in TestAPI.Models.InlineObject3_Type) is URI : Swagger.Clients.URI_Type; Req : Swagger.Clients.Request_Type; begin Client.Initialize (Req, (1 => Swagger.Clients.APPLICATION_JSON)); TestAPI.Models.Serialize (Req.Stream, "", Inline_Object_3Type); URI.Set_Path ("/orchestration"); Client.Call (Swagger.Clients.POST, URI, Req); end Orch_Store; -- Create a ticket procedure Do_Create_Ticket (Client : in out Client_Type; Title : in Swagger.UString; Owner : in Swagger.Nullable_UString; Status : in Swagger.Nullable_UString; Description : in Swagger.Nullable_UString) is URI : Swagger.Clients.URI_Type; Req : Swagger.Clients.Request_Type; begin Client.Initialize (Req, (1 => Swagger.Clients.APPLICATION_FORM)); Req.Stream.Write_Entity ("owner", Owner); Req.Stream.Write_Entity ("status", Status); Req.Stream.Write_Entity ("title", Title); Req.Stream.Write_Entity ("description", Description); URI.Set_Path ("/tickets"); Client.Call (Swagger.Clients.POST, URI, Req); end Do_Create_Ticket; -- Delete a ticket procedure Do_Delete_Ticket (Client : in out Client_Type; Tid : in Swagger.Long) is URI : Swagger.Clients.URI_Type; begin URI.Set_Path ("/tickets/{tid}"); URI.Set_Path_Param ("tid", Swagger.To_String (Tid)); Client.Call (Swagger.Clients.DELETE, URI); end Do_Delete_Ticket; -- List the tickets procedure Do_Head_Ticket (Client : in out Client_Type) is URI : Swagger.Clients.URI_Type; begin URI.Set_Path ("/tickets"); Client.Call (Swagger.Clients.HEAD, URI); end Do_Head_Ticket; -- Patch a ticket procedure Do_Patch_Ticket (Client : in out Client_Type; Tid : in Swagger.Long; Owner : in Swagger.Nullable_UString; Status : in Swagger.Nullable_UString; Title : in Swagger.Nullable_UString; Description : in Swagger.Nullable_UString; Result : out TestAPI.Models.Ticket_Type) is URI : Swagger.Clients.URI_Type; Req : Swagger.Clients.Request_Type; Reply : Swagger.Value_Type; begin Client.Set_Accept ((1 => Swagger.Clients.APPLICATION_JSON)); Client.Initialize (Req, (1 => Swagger.Clients.APPLICATION_FORM)); Req.Stream.Write_Entity ("owner", Owner); Req.Stream.Write_Entity ("status", Status); Req.Stream.Write_Entity ("title", Title); Req.Stream.Write_Entity ("description", Description); URI.Set_Path ("/tickets/{tid}"); URI.Set_Path_Param ("tid", Swagger.To_String (Tid)); Client.Call (Swagger.Clients.PATCH, URI, Req, Reply); TestAPI.Models.Deserialize (Reply, "", Result); end Do_Patch_Ticket; -- Update a ticket procedure Do_Update_Ticket (Client : in out Client_Type; Tid : in Swagger.Long; Owner : in Swagger.Nullable_UString; Status : in Swagger.Nullable_UString; Title : in Swagger.Nullable_UString; Description : in Swagger.Nullable_UString; Result : out TestAPI.Models.Ticket_Type) is URI : Swagger.Clients.URI_Type; Req : Swagger.Clients.Request_Type; Reply : Swagger.Value_Type; begin Client.Set_Accept ((1 => Swagger.Clients.APPLICATION_JSON)); Client.Initialize (Req, (1 => Swagger.Clients.APPLICATION_FORM)); Req.Stream.Write_Entity ("owner", Owner); Req.Stream.Write_Entity ("status", Status); Req.Stream.Write_Entity ("title", Title); Req.Stream.Write_Entity ("description", Description); URI.Set_Path ("/tickets/{tid}"); URI.Set_Path_Param ("tid", Swagger.To_String (Tid)); Client.Call (Swagger.Clients.PUT, URI, Req, Reply); TestAPI.Models.Deserialize (Reply, "", Result); end Do_Update_Ticket; -- Get a ticket -- Get a ticket procedure Do_Get_Ticket (Client : in out Client_Type; Tid : in Swagger.Long; Result : out TestAPI.Models.Ticket_Type) is URI : Swagger.Clients.URI_Type; Reply : Swagger.Value_Type; begin Client.Set_Accept ((1 => Swagger.Clients.APPLICATION_JSON)); URI.Set_Path ("/tickets/{tid}"); URI.Set_Path_Param ("tid", Swagger.To_String (Tid)); Client.Call (Swagger.Clients.GET, URI, Reply); TestAPI.Models.Deserialize (Reply, "", Result); end Do_Get_Ticket; -- List the tickets -- List the tickets created for the project. procedure Do_List_Tickets (Client : in out Client_Type; Status : in Swagger.Nullable_UString; Owner : in Swagger.Nullable_UString; Result : out TestAPI.Models.Ticket_Type_Vectors.Vector) is URI : Swagger.Clients.URI_Type; Reply : Swagger.Value_Type; begin Client.Set_Accept ((1 => Swagger.Clients.APPLICATION_JSON)); URI.Add_Param ("status", Status); URI.Add_Param ("owner", Owner); URI.Set_Path ("/tickets"); Client.Call (Swagger.Clients.GET, URI, Reply); TestAPI.Models.Deserialize (Reply, "", Result); end Do_List_Tickets; -- Get a ticket -- Get a ticket procedure Do_Options_Ticket (Client : in out Client_Type; Tid : in Swagger.Long; Result : out TestAPI.Models.Ticket_Type) is URI : Swagger.Clients.URI_Type; Reply : Swagger.Value_Type; begin Client.Set_Accept ((1 => Swagger.Clients.APPLICATION_JSON)); URI.Set_Path ("/tickets/{tid}"); URI.Set_Path_Param ("tid", Swagger.To_String (Tid)); Client.Call (Swagger.Clients.OPTIONS, URI, Reply); TestAPI.Models.Deserialize (Reply, "", Result); end Do_Options_Ticket; end TestAPI.Clients;
package Sensors.Images is function Image (Source : Bus_Id) return String; function Image (Source : Chip_Name'class) return String; function Image (Source : Feature_Type)return String; function Image (Source : Natural)return String; function Image (Source : Ada.Strings.Unbounded.Unbounded_String)return String; function Image (Source : String)return String; end Sensors.Images;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>colordetect_accel</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>src_V_data_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>0</coreId> </Obj> <bitwidth>24</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>src_V_keep_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3581900032</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>src_V_strb_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3583718976</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>src_V_user_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>52</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>src_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3585149872</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>src_V_id_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3581747088</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>src_V_dest_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>src</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3584959904</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>low_thresh</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>RAM_1P</coreName> <coreId>72</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>9</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>high_thresh</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>RAM_1P</coreName> <coreId>68</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>9</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>dst_V_data_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3584360864</coreId> </Obj> <bitwidth>24</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_11"> <Value> <Obj> <type>1</type> <id>11</id> <name>dst_V_keep_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>132</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_12"> <Value> <Obj> <type>1</type> <id>12</id> <name>dst_V_strb_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>68</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_13"> <Value> <Obj> <type>1</type> <id>13</id> <name>dst_V_user_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_14"> <Value> <Obj> <type>1</type> <id>14</id> <name>dst_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>52</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_15"> <Value> <Obj> <type>1</type> <id>15</id> <name>dst_V_id_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_16"> <Value> <Obj> <type>1</type> <id>16</id> <name>dst_V_dest_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>dst</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>513</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_17"> <Value> <Obj> <type>1</type> <id>17</id> <name>rows</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>rows</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>132</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_18"> <Value> <Obj> <type>1</type> <id>18</id> <name>cols</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>cols</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>35</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_19"> <Value> <Obj> <type>0</type> <id>25</id> <name>cols_read</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>cols</originalName> <rtlName/> <control>auto</control> <opType/> <implIndex>UNSUPPORTED</implIndex> <coreName>s_axilite</coreName> <coreId>114</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>141</item> <item>142</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>26</id> <name>rows_read</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>rows</originalName> <rtlName/> <control>auto</control> <opType/> <implIndex>UNSUPPORTED</implIndex> <coreName>s_axilite</coreName> <coreId>114</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>143</item> <item>144</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>27</id> <name>imgInput_cols_c20</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgInput_cols_c20_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>146</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>28</id> <name>imgInput_rows_c19</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgInput_rows_c19_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>147</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>29</id> <name>imgOutput_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgOutput_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>148</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>30</id> <name>imgOutput_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgOutput_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>149</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>31</id> <name>imgHelper4_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper4_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>150</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>32</id> <name>imgHelper4_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper4_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>151</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>33</id> <name>imgHelper3_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper3_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>152</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>34</id> <name>imgHelper3_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper3_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>153</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>35</id> <name>imgHelper2_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper2_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>154</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>36</id> <name>imgHelper2_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper2_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>155</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>37</id> <name>imgHelper1_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper1_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>156</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>38</id> <name>imgHelper1_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgHelper1_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>157</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>39</id> <name>rgb2hsv_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>rgb2hsv_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>158</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>40</id> <name>rgb2hsv_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>rgb2hsv_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>159</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>41</id> <name>imgInput_cols_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgInput_cols_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>160</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>42</id> <name>imgInput_rows_c</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>imgInput_rows_c_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>161</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>76</id> <name>imgInput_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>149</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>149</second> </item> </second> </item> </inlineStackInfo> <originalName>imgInput.data</originalName> <rtlName>imgInput_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>162</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>79</id> <name>rgb2hsv_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>150</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>150</second> </item> </second> </item> </inlineStackInfo> <originalName>rgb2hsv.data</originalName> <rtlName>rgb2hsv_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>163</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>82</id> <name>imgHelper1_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>152</second> </item> </second> </item> </inlineStackInfo> <originalName>imgHelper1.data</originalName> <rtlName>imgHelper1_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>164</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>85</id> <name>imgHelper2_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName>imgHelper2.data</originalName> <rtlName>imgHelper2_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>165</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>88</id> <name>imgHelper3_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>154</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>154</second> </item> </second> </item> </inlineStackInfo> <originalName>imgHelper3.data</originalName> <rtlName>imgHelper3_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>166</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>91</id> <name>imgHelper4_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName>imgHelper4.data</originalName> <rtlName>imgHelper4_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>167</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>94</id> <name>imgOutput_data</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>156</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>156</second> </item> </second> </item> </inlineStackInfo> <originalName>imgOutput.data</originalName> <rtlName>imgOutput_data_U</rtlName> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>168</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>125</id> <name>_ln0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>17</count> <item_version>0</item_version> <item>170</item> <item>171</item> <item>172</item> <item>173</item> <item>174</item> <item>175</item> <item>176</item> <item>177</item> <item>178</item> <item>179</item> <item>180</item> <item>181</item> <item>182</item> <item>183</item> <item>184</item> <item>185</item> <item>186</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.40</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>130</id> <name>_ln174</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>axis2xfMat_24_9_2160_3840_1_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>15</count> <item_version>0</item_version> <item>188</item> <item>189</item> <item>190</item> <item>191</item> <item>192</item> <item>193</item> <item>194</item> <item>195</item> <item>196</item> <item>197</item> <item>198</item> <item>199</item> <item>200</item> <item>1204</item> <item>1205</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>131</id> <name>_ln178</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>bgr2hsv_9_2160_3840_1_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>202</item> <item>203</item> <item>204</item> <item>205</item> <item>206</item> <item>251</item> <item>252</item> <item>253</item> <item>1203</item> <item>1206</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>132</id> <name>_ln182</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>182</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>182</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>colorthresholding_9_0_3_2160_3840_1_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>609</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>208</item> <item>209</item> <item>210</item> <item>211</item> <item>212</item> <item>213</item> <item>214</item> <item>1196</item> <item>1202</item> <item>1207</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>133</id> <name>_ln187</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>187</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>187</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>erode_0_0_2160_3840_0_3_3_1_1_11_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>216</item> <item>217</item> <item>218</item> <item>219</item> <item>220</item> <item>1201</item> <item>1208</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>134</id> <name>_ln189</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>189</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>189</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>dilate_0_0_2160_3840_0_3_3_1_1_12_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>609</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>222</item> <item>223</item> <item>224</item> <item>225</item> <item>226</item> <item>1200</item> <item>1209</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>135</id> <name>_ln191</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>191</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>191</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>dilate_0_0_2160_3840_0_3_3_1_1_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>228</item> <item>229</item> <item>230</item> <item>231</item> <item>232</item> <item>1199</item> <item>1210</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>136</id> <name>_ln193</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>193</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>193</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>erode_0_0_2160_3840_0_3_3_1_1_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>234</item> <item>235</item> <item>236</item> <item>237</item> <item>238</item> <item>1198</item> <item>1211</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>137</id> <name>_ln199</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>199</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>199</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>xfMat2axis_24_0_2160_3840_1_U0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>13</count> <item_version>0</item_version> <item>240</item> <item>241</item> <item>242</item> <item>243</item> <item>244</item> <item>245</item> <item>246</item> <item>247</item> <item>248</item> <item>249</item> <item>250</item> <item>1197</item> <item>1212</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>138</id> <name>_ln201</name> <fileName>src/xf_colordetect_accel_stream.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>201</lineNumber> <contextFuncName>colordetect_accel</contextFuncName> <contextNormFuncName>colordetect_accel</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/xf_colordetect_accel_stream.cpp</first> <second>colordetect_accel</second> </first> <second>201</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_54"> <Value> <Obj> <type>2</type> <id>145</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_55"> <Value> <Obj> <type>2</type> <id>169</id> <name>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3585215689</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:Block__ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii.exit1_proc&gt;</content> </item> <item class_id_reference="16" object_id="_56"> <Value> <Obj> <type>2</type> <id>187</id> <name>axis2xfMat_24_9_2160_3840_1_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>609</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:axis2xfMat&lt;24, 9, 2160, 3840, 1&gt;&gt;</content> </item> <item class_id_reference="16" object_id="_57"> <Value> <Obj> <type>2</type> <id>201</id> <name>bgr2hsv_9_2160_3840_1_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:bgr2hsv&lt;9, 2160, 3840, 1&gt;&gt;</content> </item> <item class_id_reference="16" object_id="_58"> <Value> <Obj> <type>2</type> <id>207</id> <name>colorthresholding_9_0_3_2160_3840_1_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>0</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:colorthresholding&lt;9, 0, 3, 2160, 3840, 1&gt;&gt;</content> </item> <item class_id_reference="16" object_id="_59"> <Value> <Obj> <type>2</type> <id>215</id> <name>erode_0_0_2160_3840_0_3_3_1_1_11</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:erode&lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&gt;11&gt;</content> </item> <item class_id_reference="16" object_id="_60"> <Value> <Obj> <type>2</type> <id>221</id> <name>dilate_0_0_2160_3840_0_3_3_1_1_12</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>808531508</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:dilate&lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&gt;12&gt;</content> </item> <item class_id_reference="16" object_id="_61"> <Value> <Obj> <type>2</type> <id>227</id> <name>dilate_0_0_2160_3840_0_3_3_1_1_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>561</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:dilate&lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&gt;&gt;</content> </item> <item class_id_reference="16" object_id="_62"> <Value> <Obj> <type>2</type> <id>233</id> <name>erode_0_0_2160_3840_0_3_3_1_1_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:erode&lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&gt;&gt;</content> </item> <item class_id_reference="16" object_id="_63"> <Value> <Obj> <type>2</type> <id>239</id> <name>xfMat2axis_24_0_2160_3840_1_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:xfMat2axis&lt;24, 0, 2160, 3840, 1&gt;&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_64"> <Obj> <type>3</type> <id>139</id> <name>colordetect_accel</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>3584931744</coreId> </Obj> <node_objs> <count>35</count> <item_version>0</item_version> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>76</item> <item>79</item> <item>82</item> <item>85</item> <item>88</item> <item>91</item> <item>94</item> <item>125</item> <item>130</item> <item>131</item> <item>132</item> <item>133</item> <item>134</item> <item>135</item> <item>136</item> <item>137</item> <item>138</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>118</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_65"> <id>142</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>144</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>146</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>147</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>148</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>149</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>150</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>151</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>152</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>153</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>154</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>155</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>156</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>157</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>158</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>159</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_81"> <id>160</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>161</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>162</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>163</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>164</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>165</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>166</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>167</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>168</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>170</id> <edge_type>1</edge_type> <source_obj>169</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>171</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>172</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>173</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>174</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>175</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>176</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>177</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>178</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>179</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>180</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>181</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>182</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>183</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>184</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>185</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>186</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>188</id> <edge_type>1</edge_type> <source_obj>187</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>189</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>190</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>191</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>192</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>193</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>194</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>195</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>196</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>197</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>198</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>199</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>200</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_120"> <id>202</id> <edge_type>1</edge_type> <source_obj>201</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>203</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_122"> <id>204</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>205</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>206</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>208</id> <edge_type>1</edge_type> <source_obj>207</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>209</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>210</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>211</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>212</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>213</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>214</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>216</id> <edge_type>1</edge_type> <source_obj>215</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>217</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>218</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>219</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>220</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>222</id> <edge_type>1</edge_type> <source_obj>221</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>223</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>224</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>225</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>226</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>228</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>229</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>230</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>231</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>232</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>234</id> <edge_type>1</edge_type> <source_obj>233</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>235</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>236</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>237</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>238</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>240</id> <edge_type>1</edge_type> <source_obj>239</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>241</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>242</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>243</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>244</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>245</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>246</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>247</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>248</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>249</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>250</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>251</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>252</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>253</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>1196</id> <edge_type>4</edge_type> <source_obj>131</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>1197</id> <edge_type>4</edge_type> <source_obj>136</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>1198</id> <edge_type>4</edge_type> <source_obj>135</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>1199</id> <edge_type>4</edge_type> <source_obj>134</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>1200</id> <edge_type>4</edge_type> <source_obj>133</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>1201</id> <edge_type>4</edge_type> <source_obj>132</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>1202</id> <edge_type>4</edge_type> <source_obj>131</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>1203</id> <edge_type>4</edge_type> <source_obj>130</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>1204</id> <edge_type>4</edge_type> <source_obj>125</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>1205</id> <edge_type>4</edge_type> <source_obj>125</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>1206</id> <edge_type>4</edge_type> <source_obj>130</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>1207</id> <edge_type>4</edge_type> <source_obj>131</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>1208</id> <edge_type>4</edge_type> <source_obj>132</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>1209</id> <edge_type>4</edge_type> <source_obj>133</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>1210</id> <edge_type>4</edge_type> <source_obj>134</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>1211</id> <edge_type>4</edge_type> <source_obj>135</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>1212</id> <edge_type>4</edge_type> <source_obj>136</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_183"> <mId>1</mId> <mTag>colordetect_accel</mTag> <mNormTag>colordetect_accel</mNormTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>139</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>56</mMinLatency> <mMaxLatency>8319416</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_184"> <port_list class_id="24" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="25" tracking_level="1" version="0" object_id="_185"> <name>src_V_data_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_186"> <name>src_V_keep_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_187"> <name>src_V_strb_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_188"> <name>src_V_user_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_189"> <name>src_V_last_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_190"> <name>src_V_id_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_191"> <name>src_V_dest_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_192"> <name>low_thresh</name> <dir>0</dir> <type>2</type> <need_hs>1</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_193"> <name>high_thresh</name> <dir>0</dir> <type>2</type> <need_hs>1</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_194"> <name>dst_V_data_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_195"> <name>dst_V_keep_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_196"> <name>dst_V_strb_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_197"> <name>dst_V_user_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_198"> <name>dst_V_last_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_199"> <name>dst_V_id_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_200"> <name>dst_V_dest_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_201"> <name>rows</name> <dir>0</dir> <type>3</type> <need_hs>1</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> <item class_id_reference="25" object_id="_202"> <name>cols</name> <dir>0</dir> <type>3</type> <need_hs>1</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </item> </port_list> <process_list class_id="27" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_203"> <type>0</type> <name>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0</name> <ssdmobj_id>125</ssdmobj_id> <pins class_id="29" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_204"> <port class_id_reference="25" object_id="_205"> <name>rows</name> <dir>0</dir> <type>3</type> <need_hs>1</need_hs> <top_port class_id_reference="25" object_id_reference="_201"/> <chan class_id="-1"/> </port> <inst class_id="31" tracking_level="1" version="0" object_id="_206"> <type>0</type> <name>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0</name> <ssdmobj_id>125</ssdmobj_id> </inst> </item> <item class_id_reference="30" object_id="_207"> <port class_id_reference="25" object_id="_208"> <name>cols</name> <dir>0</dir> <type>3</type> <need_hs>1</need_hs> <top_port class_id_reference="25" object_id_reference="_202"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </item> </pins> <in_source_fork>1</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_209"> <type>0</type> <name>axis2xfMat_24_9_2160_3840_1_U0</name> <ssdmobj_id>130</ssdmobj_id> <pins> <count>7</count> <item_version>0</item_version> <item class_id_reference="30" object_id="_210"> <port class_id_reference="25" object_id="_211"> <name>AXI_video_strm_V_data_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_185"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_212"> <type>0</type> <name>axis2xfMat_24_9_2160_3840_1_U0</name> <ssdmobj_id>130</ssdmobj_id> </inst> </item> <item class_id_reference="30" object_id="_213"> <port class_id_reference="25" object_id="_214"> <name>AXI_video_strm_V_keep_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_186"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </item> <item class_id_reference="30" object_id="_215"> <port class_id_reference="25" object_id="_216"> <name>AXI_video_strm_V_strb_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_187"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </item> <item class_id_reference="30" object_id="_217"> <port class_id_reference="25" object_id="_218"> <name>AXI_video_strm_V_user_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_188"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </item> <item class_id_reference="30" object_id="_219"> <port class_id_reference="25" object_id="_220"> <name>AXI_video_strm_V_last_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_189"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </item> <item class_id_reference="30" object_id="_221"> <port class_id_reference="25" object_id="_222"> <name>AXI_video_strm_V_id_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_190"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </item> <item class_id_reference="30" object_id="_223"> <port class_id_reference="25" object_id="_224"> <name>AXI_video_strm_V_dest_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_191"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </item> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>1</flag_in_gui> </item> <item class_id_reference="28" object_id="_225"> <type>0</type> <name>bgr2hsv_9_2160_3840_1_U0</name> <ssdmobj_id>131</ssdmobj_id> <pins> <count>0</count> <item_version>0</item_version> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_226"> <type>0</type> <name>colorthresholding_9_0_3_2160_3840_1_U0</name> <ssdmobj_id>132</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="30" object_id="_227"> <port class_id_reference="25" object_id="_228"> <name>low_thresh</name> <dir>0</dir> <type>2</type> <need_hs>1</need_hs> <top_port class_id_reference="25" object_id_reference="_192"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_229"> <type>0</type> <name>colorthresholding_9_0_3_2160_3840_1_U0</name> <ssdmobj_id>132</ssdmobj_id> </inst> </item> <item class_id_reference="30" object_id="_230"> <port class_id_reference="25" object_id="_231"> <name>high_thresh</name> <dir>0</dir> <type>2</type> <need_hs>1</need_hs> <top_port class_id_reference="25" object_id_reference="_193"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_229"/> </item> </pins> <in_source_fork>1</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>1</flag_in_gui> </item> <item class_id_reference="28" object_id="_232"> <type>0</type> <name>erode_0_0_2160_3840_0_3_3_1_1_11_U0</name> <ssdmobj_id>133</ssdmobj_id> <pins> <count>0</count> <item_version>0</item_version> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_233"> <type>0</type> <name>dilate_0_0_2160_3840_0_3_3_1_1_12_U0</name> <ssdmobj_id>134</ssdmobj_id> <pins> <count>0</count> <item_version>0</item_version> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_234"> <type>0</type> <name>dilate_0_0_2160_3840_0_3_3_1_1_U0</name> <ssdmobj_id>135</ssdmobj_id> <pins> <count>0</count> <item_version>0</item_version> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_235"> <type>0</type> <name>erode_0_0_2160_3840_0_3_3_1_1_U0</name> <ssdmobj_id>136</ssdmobj_id> <pins> <count>0</count> <item_version>0</item_version> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_236"> <type>0</type> <name>xfMat2axis_24_0_2160_3840_1_U0</name> <ssdmobj_id>137</ssdmobj_id> <pins> <count>7</count> <item_version>0</item_version> <item class_id_reference="30" object_id="_237"> <port class_id_reference="25" object_id="_238"> <name>dst_V_data_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_194"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_239"> <type>0</type> <name>xfMat2axis_24_0_2160_3840_1_U0</name> <ssdmobj_id>137</ssdmobj_id> </inst> </item> <item class_id_reference="30" object_id="_240"> <port class_id_reference="25" object_id="_241"> <name>dst_V_keep_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_195"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </item> <item class_id_reference="30" object_id="_242"> <port class_id_reference="25" object_id="_243"> <name>dst_V_strb_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_196"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </item> <item class_id_reference="30" object_id="_244"> <port class_id_reference="25" object_id="_245"> <name>dst_V_user_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_197"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </item> <item class_id_reference="30" object_id="_246"> <port class_id_reference="25" object_id="_247"> <name>dst_V_last_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_198"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </item> <item class_id_reference="30" object_id="_248"> <port class_id_reference="25" object_id="_249"> <name>dst_V_id_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_199"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </item> <item class_id_reference="30" object_id="_250"> <port class_id_reference="25" object_id="_251"> <name>dst_V_dest_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_200"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </item> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>1</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> </process_list> <channel_list class_id="32" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_252"> <type>1</type> <name>imgInput_rows_c</name> <ssdmobj_id>42</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_253"> <port class_id_reference="25" object_id="_254"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_255"> <port class_id_reference="25" object_id="_256"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </sink> </item> <item class_id_reference="26" object_id="_257"> <type>1</type> <name>imgInput_cols_c</name> <ssdmobj_id>41</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_258"> <port class_id_reference="25" object_id="_259"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_260"> <port class_id_reference="25" object_id="_261"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </sink> </item> <item class_id_reference="26" object_id="_262"> <type>1</type> <name>rgb2hsv_rows_c</name> <ssdmobj_id>40</ssdmobj_id> <ctype>0</ctype> <depth>4</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>4</suggested_depth> <source class_id_reference="30" object_id="_263"> <port class_id_reference="25" object_id="_264"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_265"> <port class_id_reference="25" object_id="_266"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_229"/> </sink> </item> <item class_id_reference="26" object_id="_267"> <type>1</type> <name>rgb2hsv_cols_c</name> <ssdmobj_id>39</ssdmobj_id> <ctype>0</ctype> <depth>4</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>4</suggested_depth> <source class_id_reference="30" object_id="_268"> <port class_id_reference="25" object_id="_269"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_270"> <port class_id_reference="25" object_id="_271"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_229"/> </sink> </item> <item class_id_reference="26" object_id="_272"> <type>1</type> <name>imgHelper1_rows_c</name> <ssdmobj_id>38</ssdmobj_id> <ctype>0</ctype> <depth>5</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>5</suggested_depth> <source class_id_reference="30" object_id="_273"> <port class_id_reference="25" object_id="_274"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_275"> <port class_id_reference="25" object_id="_276"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_277"> <type>0</type> <name>erode_0_0_2160_3840_0_3_3_1_1_11_U0</name> <ssdmobj_id>133</ssdmobj_id> </inst> </sink> </item> <item class_id_reference="26" object_id="_278"> <type>1</type> <name>imgHelper1_cols_c</name> <ssdmobj_id>37</ssdmobj_id> <ctype>0</ctype> <depth>5</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>5</suggested_depth> <source class_id_reference="30" object_id="_279"> <port class_id_reference="25" object_id="_280"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_281"> <port class_id_reference="25" object_id="_282"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_277"/> </sink> </item> <item class_id_reference="26" object_id="_283"> <type>1</type> <name>imgHelper2_rows_c</name> <ssdmobj_id>36</ssdmobj_id> <ctype>0</ctype> <depth>6</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>6</suggested_depth> <source class_id_reference="30" object_id="_284"> <port class_id_reference="25" object_id="_285"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_286"> <port class_id_reference="25" object_id="_287"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_288"> <type>0</type> <name>dilate_0_0_2160_3840_0_3_3_1_1_12_U0</name> <ssdmobj_id>134</ssdmobj_id> </inst> </sink> </item> <item class_id_reference="26" object_id="_289"> <type>1</type> <name>imgHelper2_cols_c</name> <ssdmobj_id>35</ssdmobj_id> <ctype>0</ctype> <depth>6</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>6</suggested_depth> <source class_id_reference="30" object_id="_290"> <port class_id_reference="25" object_id="_291"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_292"> <port class_id_reference="25" object_id="_293"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_288"/> </sink> </item> <item class_id_reference="26" object_id="_294"> <type>1</type> <name>imgHelper3_rows_c</name> <ssdmobj_id>34</ssdmobj_id> <ctype>0</ctype> <depth>7</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>7</suggested_depth> <source class_id_reference="30" object_id="_295"> <port class_id_reference="25" object_id="_296"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_297"> <port class_id_reference="25" object_id="_298"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_299"> <type>0</type> <name>dilate_0_0_2160_3840_0_3_3_1_1_U0</name> <ssdmobj_id>135</ssdmobj_id> </inst> </sink> </item> <item class_id_reference="26" object_id="_300"> <type>1</type> <name>imgHelper3_cols_c</name> <ssdmobj_id>33</ssdmobj_id> <ctype>0</ctype> <depth>7</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>7</suggested_depth> <source class_id_reference="30" object_id="_301"> <port class_id_reference="25" object_id="_302"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_303"> <port class_id_reference="25" object_id="_304"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_299"/> </sink> </item> <item class_id_reference="26" object_id="_305"> <type>1</type> <name>imgHelper4_rows_c</name> <ssdmobj_id>32</ssdmobj_id> <ctype>0</ctype> <depth>8</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>8</suggested_depth> <source class_id_reference="30" object_id="_306"> <port class_id_reference="25" object_id="_307"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_308"> <port class_id_reference="25" object_id="_309"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_310"> <type>0</type> <name>erode_0_0_2160_3840_0_3_3_1_1_U0</name> <ssdmobj_id>136</ssdmobj_id> </inst> </sink> </item> <item class_id_reference="26" object_id="_311"> <type>1</type> <name>imgHelper4_cols_c</name> <ssdmobj_id>31</ssdmobj_id> <ctype>0</ctype> <depth>8</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>8</suggested_depth> <source class_id_reference="30" object_id="_312"> <port class_id_reference="25" object_id="_313"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_314"> <port class_id_reference="25" object_id="_315"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_310"/> </sink> </item> <item class_id_reference="26" object_id="_316"> <type>1</type> <name>imgOutput_rows_c</name> <ssdmobj_id>30</ssdmobj_id> <ctype>0</ctype> <depth>9</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>9</suggested_depth> <source class_id_reference="30" object_id="_317"> <port class_id_reference="25" object_id="_318"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_319"> <port class_id_reference="25" object_id="_320"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </sink> </item> <item class_id_reference="26" object_id="_321"> <type>1</type> <name>imgOutput_cols_c</name> <ssdmobj_id>29</ssdmobj_id> <ctype>0</ctype> <depth>9</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>9</suggested_depth> <source class_id_reference="30" object_id="_322"> <port class_id_reference="25" object_id="_323"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_206"/> </source> <sink class_id_reference="30" object_id="_324"> <port class_id_reference="25" object_id="_325"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </sink> </item> <item class_id_reference="26" object_id="_326"> <type>1</type> <name>imgInput_data</name> <ssdmobj_id>76</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>24</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_327"> <port class_id_reference="25" object_id="_328"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </source> <sink class_id_reference="30" object_id="_329"> <port class_id_reference="25" object_id="_330"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id="_331"> <type>0</type> <name>bgr2hsv_9_2160_3840_1_U0</name> <ssdmobj_id>131</ssdmobj_id> </inst> </sink> </item> <item class_id_reference="26" object_id="_332"> <type>1</type> <name>imgInput_rows_c19</name> <ssdmobj_id>28</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_333"> <port class_id_reference="25" object_id="_334"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </source> <sink class_id_reference="30" object_id="_335"> <port class_id_reference="25" object_id="_336"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_331"/> </sink> </item> <item class_id_reference="26" object_id="_337"> <type>1</type> <name>imgInput_cols_c20</name> <ssdmobj_id>27</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <suggested_type>2</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_338"> <port class_id_reference="25" object_id="_339"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_212"/> </source> <sink class_id_reference="30" object_id="_340"> <port class_id_reference="25" object_id="_341"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_331"/> </sink> </item> <item class_id_reference="26" object_id="_342"> <type>1</type> <name>rgb2hsv_data</name> <ssdmobj_id>79</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>24</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_343"> <port class_id_reference="25" object_id="_344"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_331"/> </source> <sink class_id_reference="30" object_id="_345"> <port class_id_reference="25" object_id="_346"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_229"/> </sink> </item> <item class_id_reference="26" object_id="_347"> <type>1</type> <name>imgHelper1_data</name> <ssdmobj_id>82</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>8</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_348"> <port class_id_reference="25" object_id="_349"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_229"/> </source> <sink class_id_reference="30" object_id="_350"> <port class_id_reference="25" object_id="_351"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_277"/> </sink> </item> <item class_id_reference="26" object_id="_352"> <type>1</type> <name>imgHelper2_data</name> <ssdmobj_id>85</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>8</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_353"> <port class_id_reference="25" object_id="_354"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_277"/> </source> <sink class_id_reference="30" object_id="_355"> <port class_id_reference="25" object_id="_356"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_288"/> </sink> </item> <item class_id_reference="26" object_id="_357"> <type>1</type> <name>imgHelper3_data</name> <ssdmobj_id>88</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>8</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_358"> <port class_id_reference="25" object_id="_359"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_288"/> </source> <sink class_id_reference="30" object_id="_360"> <port class_id_reference="25" object_id="_361"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_299"/> </sink> </item> <item class_id_reference="26" object_id="_362"> <type>1</type> <name>imgHelper4_data</name> <ssdmobj_id>91</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>8</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_363"> <port class_id_reference="25" object_id="_364"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_299"/> </source> <sink class_id_reference="30" object_id="_365"> <port class_id_reference="25" object_id="_366"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_310"/> </sink> </item> <item class_id_reference="26" object_id="_367"> <type>1</type> <name>imgOutput_data</name> <ssdmobj_id>94</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>8</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>2</suggested_depth> <source class_id_reference="30" object_id="_368"> <port class_id_reference="25" object_id="_369"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_310"/> </source> <sink class_id_reference="30" object_id="_370"> <port class_id_reference="25" object_id="_371"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"/> <chan class_id="-1"/> </port> <inst class_id_reference="31" object_id_reference="_239"/> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="34" tracking_level="1" version="0" object_id="_372"> <states class_id="35" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="36" tracking_level="1" version="0" object_id="_373"> <id>1</id> <operations class_id="37" tracking_level="0" version="0"> <count>26</count> <item_version>0</item_version> <item class_id="38" tracking_level="1" version="0" object_id="_374"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_375"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_376"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_377"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_378"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_379"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_380"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_381"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_382"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_383"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_384"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_385"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_386"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_387"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_388"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_389"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_390"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_391"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_392"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_393"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_394"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_395"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_396"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_397"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_398"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_399"> <id>125</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_400"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_401"> <id>130</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_402"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_403"> <id>130</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_404"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_405"> <id>131</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_406"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_407"> <id>131</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_408"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_409"> <id>132</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_410"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_411"> <id>132</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_412"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_413"> <id>133</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_414"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_415"> <id>133</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_416"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_417"> <id>134</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_418"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_419"> <id>134</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_420"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_421"> <id>135</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_422"> <id>13</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_423"> <id>135</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_424"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_425"> <id>136</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_426"> <id>15</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_427"> <id>136</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_428"> <id>16</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_429"> <id>137</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_430"> <id>17</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_431"> <id>137</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_432"> <id>18</id> <operations> <count>80</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_433"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_434"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_435"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_436"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_437"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_438"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_439"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_440"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_441"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_442"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_443"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_444"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_445"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_446"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_447"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_448"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_449"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_450"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_451"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_452"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_453"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_454"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_455"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_456"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_457"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_458"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_459"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_460"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_461"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_462"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_463"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_464"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_465"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_466"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_467"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_468"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_469"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_470"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_471"> <id>84</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_472"> <id>86</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_473"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_474"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_475"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_476"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_477"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_478"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_479"> <id>96</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_480"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_481"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_482"> <id>99</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_483"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_484"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_485"> <id>102</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_486"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_487"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_488"> <id>105</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_489"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_490"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_491"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_492"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_493"> <id>110</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_494"> <id>111</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_495"> <id>112</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_496"> <id>113</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_497"> <id>114</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_498"> <id>115</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_499"> <id>116</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_500"> <id>117</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_501"> <id>118</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_502"> <id>119</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_503"> <id>120</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_504"> <id>121</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_505"> <id>122</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_506"> <id>123</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_507"> <id>124</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_508"> <id>126</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_509"> <id>127</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_510"> <id>128</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_511"> <id>129</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_512"> <id>138</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="39" tracking_level="0" version="0"> <count>17</count> <item_version>0</item_version> <item class_id="40" tracking_level="1" version="0" object_id="_513"> <inState>1</inState> <outState>2</outState> <condition class_id="41" tracking_level="0" version="0"> <id>-1</id> <sop class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_514"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_515"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_516"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_517"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_518"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_519"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_520"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_521"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_522"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_523"> <inState>11</inState> <outState>12</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_524"> <inState>12</inState> <outState>13</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_525"> <inState>13</inState> <outState>14</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_526"> <inState>14</inState> <outState>15</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_527"> <inState>15</inState> <outState>16</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_528"> <inState>16</inState> <outState>17</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_529"> <inState>17</inState> <outState>18</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="44" tracking_level="1" version="0" object_id="_530"> <dp_component_resource class_id="45" tracking_level="0" version="0"> <count>17</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0 (Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc)</first> <second class_id="47" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>FF</first> <second>3</second> </item> <item> <first>LUT</first> <second>145</second> </item> </second> </item> <item> <first>axis2xfMat_24_9_2160_3840_1_U0 (axis2xfMat_24_9_2160_3840_1_s)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>133</second> </item> <item> <first>LUT</first> <second>180</second> </item> </second> </item> <item> <first>bgr2hsv_9_2160_3840_1_U0 (bgr2hsv_9_2160_3840_1_s)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>5</second> </item> <item> <first>DSP</first> <second>2</second> </item> <item> <first>FF</first> <second>818</second> </item> <item> <first>LUT</first> <second>708</second> </item> </second> </item> <item> <first>colorthresholding_9_0_3_2160_3840_1_U0 (colorthresholding_9_0_3_2160_3840_1_s)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>DSP</first> <second>1</second> </item> <item> <first>FF</first> <second>2484</second> </item> <item> <first>LUT</first> <second>2242</second> </item> </second> </item> <item> <first>control_s_axi_U (control_s_axi)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>4</second> </item> <item> <first>FF</first> <second>272</second> </item> <item> <first>LUT</first> <second>308</second> </item> </second> </item> <item> <first>dilate_0_0_2160_3840_0_3_3_1_1_12_U0 (dilate_0_0_2160_3840_0_3_3_1_1_12)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>6</second> </item> <item> <first>FF</first> <second>647</second> </item> <item> <first>LUT</first> <second>878</second> </item> </second> </item> <item> <first>dilate_0_0_2160_3840_0_3_3_1_1_U0 (dilate_0_0_2160_3840_0_3_3_1_1_s)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>6</second> </item> <item> <first>FF</first> <second>647</second> </item> <item> <first>LUT</first> <second>878</second> </item> </second> </item> <item> <first>erode_0_0_2160_3840_0_3_3_1_1_11_U0 (erode_0_0_2160_3840_0_3_3_1_1_11)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>6</second> </item> <item> <first>FF</first> <second>647</second> </item> <item> <first>LUT</first> <second>878</second> </item> </second> </item> <item> <first>erode_0_0_2160_3840_0_3_3_1_1_U0 (erode_0_0_2160_3840_0_3_3_1_1_s)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>6</second> </item> <item> <first>FF</first> <second>647</second> </item> <item> <first>LUT</first> <second>878</second> </item> </second> </item> <item> <first>start_for_axis2xfMat_24_9_2160_3840_1_U0_U (start_for_axis2xfMat_24_9_2160_3840_1_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_bgr2hsv_9_2160_3840_1_U0_U (start_for_bgr2hsv_9_2160_3840_1_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_dilate_0_0_2160_3840_0_3_3_1_1_12_U0_U (start_for_dilate_0_0_2160_3840_0_3_3_1_1_12_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_dilate_0_0_2160_3840_0_3_3_1_1_U0_U (start_for_dilate_0_0_2160_3840_0_3_3_1_1_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_erode_0_0_2160_3840_0_3_3_1_1_11_U0_U (start_for_erode_0_0_2160_3840_0_3_3_1_1_11_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_erode_0_0_2160_3840_0_3_3_1_1_U0_U (start_for_erode_0_0_2160_3840_0_3_3_1_1_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_xfMat2axis_24_0_2160_3840_1_U0_U (start_for_xfMat2axis_24_0_2160_3840_1_U0)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>xfMat2axis_24_0_2160_3840_1_U0 (xfMat2axis_24_0_2160_3840_1_s)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>176</second> </item> <item> <first>LUT</first> <second>249</second> </item> </second> </item> </dp_component_resource> <dp_expression_resource> <count>7</count> <item_version>0</item_version> <item> <first>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0_ap_start ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0_start_full_n ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_idle ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_sync_Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0_ap_ready ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_sync_colorthresholding_9_0_3_2160_3840_1_U0_ap_ready ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_sync_ready ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>colorthresholding_9_0_3_2160_3840_1_U0_ap_start ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>23</count> <item_version>0</item_version> <item> <first>imgHelper1_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>5</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>160</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper1_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Size:D*B)</first> <second>16</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgHelper1_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>5</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>160</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper2_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>6</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>192</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper2_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Size:D*B)</first> <second>16</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgHelper2_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>6</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>192</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper3_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>7</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>224</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper3_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Size:D*B)</first> <second>16</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgHelper3_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>7</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>224</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper4_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>8</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>256</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgHelper4_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Size:D*B)</first> <second>16</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgHelper4_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>8</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>256</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgInput_cols_c20_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>64</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgInput_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>64</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgInput_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Size:D*B)</first> <second>48</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgInput_rows_c19_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>64</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgInput_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>64</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgOutput_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>9</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>288</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>imgOutput_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Size:D*B)</first> <second>16</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>imgOutput_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>9</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>288</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>67</second> </item> </second> </item> <item> <first>rgb2hsv_cols_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>4</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>128</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>rgb2hsv_data_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Size:D*B)</first> <second>48</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> <item> <first>rgb2hsv_rows_c_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>4</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Size:D*B)</first> <second>128</second> </item> <item> <first>FF</first> <second>99</second> </item> <item> <first>LUT</first> <second>68</second> </item> </second> </item> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>2</count> <item_version>0</item_version> <item> <first>ap_sync_reg_Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0_ap_ready</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_sync_reg_colorthresholding_9_0_3_2160_3840_1_U0_ap_ready</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>2</count> <item_version>0</item_version> <item> <first>ap_sync_reg_Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0_ap_ready</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_sync_reg_colorthresholding_9_0_3_2160_3840_1_U0_ap_ready</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>17</count> <item_version>0</item_version> <item> <first>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>axis2xfMat_24_9_2160_3840_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>bgr2hsv_9_2160_3840_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>colorthresholding_9_0_3_2160_3840_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>control_s_axi_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>dilate_0_0_2160_3840_0_3_3_1_1_12_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>dilate_0_0_2160_3840_0_3_3_1_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>erode_0_0_2160_3840_0_3_3_1_1_11_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>erode_0_0_2160_3840_0_3_3_1_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_axis2xfMat_24_9_2160_3840_1_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_bgr2hsv_9_2160_3840_1_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_dilate_0_0_2160_3840_0_3_3_1_1_12_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_dilate_0_0_2160_3840_0_3_3_1_1_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_erode_0_0_2160_3840_0_3_3_1_1_11_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_erode_0_0_2160_3840_0_3_3_1_1_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>start_for_xfMat2axis_24_0_2160_3840_1_U0_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>xfMat2axis_24_0_2160_3840_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_dsp_resource> <dp_component_map class_id="49" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first>Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_U0 (Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc)</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>axis2xfMat_24_9_2160_3840_1_U0 (axis2xfMat_24_9_2160_3840_1_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> <item> <first>bgr2hsv_9_2160_3840_1_U0 (bgr2hsv_9_2160_3840_1_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>colorthresholding_9_0_3_2160_3840_1_U0 (colorthresholding_9_0_3_2160_3840_1_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>132</item> </second> </item> <item> <first>dilate_0_0_2160_3840_0_3_3_1_1_12_U0 (dilate_0_0_2160_3840_0_3_3_1_1_12)</first> <second> <count>1</count> <item_version>0</item_version> <item>134</item> </second> </item> <item> <first>dilate_0_0_2160_3840_0_3_3_1_1_U0 (dilate_0_0_2160_3840_0_3_3_1_1_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>135</item> </second> </item> <item> <first>erode_0_0_2160_3840_0_3_3_1_1_11_U0 (erode_0_0_2160_3840_0_3_3_1_1_11)</first> <second> <count>1</count> <item_version>0</item_version> <item>133</item> </second> </item> <item> <first>erode_0_0_2160_3840_0_3_3_1_1_U0 (erode_0_0_2160_3840_0_3_3_1_1_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>xfMat2axis_24_0_2160_3840_1_U0 (xfMat2axis_24_0_2160_3840_1_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </dp_expression_map> <dp_fifo_map> <count>23</count> <item_version>0</item_version> <item> <first>imgHelper1_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>369</item> </second> </item> <item> <first>imgHelper1_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>505</item> </second> </item> <item> <first>imgHelper1_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>359</item> </second> </item> <item> <first>imgHelper2_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>390</item> </second> </item> <item> <first>imgHelper2_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>515</item> </second> </item> <item> <first>imgHelper2_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>380</item> </second> </item> <item> <first>imgHelper3_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>411</item> </second> </item> <item> <first>imgHelper3_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>525</item> </second> </item> <item> <first>imgHelper3_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>401</item> </second> </item> <item> <first>imgHelper4_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>432</item> </second> </item> <item> <first>imgHelper4_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>535</item> </second> </item> <item> <first>imgHelper4_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>422</item> </second> </item> <item> <first>imgInput_cols_c20_U</first> <second> <count>1</count> <item_version>0</item_version> <item>484</item> </second> </item> <item> <first>imgInput_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>327</item> </second> </item> <item> <first>imgInput_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>464</item> </second> </item> <item> <first>imgInput_rows_c19_U</first> <second> <count>1</count> <item_version>0</item_version> <item>474</item> </second> </item> <item> <first>imgInput_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>317</item> </second> </item> <item> <first>imgOutput_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>453</item> </second> </item> <item> <first>imgOutput_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>545</item> </second> </item> <item> <first>imgOutput_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>443</item> </second> </item> <item> <first>rgb2hsv_cols_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>348</item> </second> </item> <item> <first>rgb2hsv_data_U</first> <second> <count>1</count> <item_version>0</item_version> <item>494</item> </second> </item> <item> <first>rgb2hsv_rows_c_U</first> <second> <count>1</count> <item_version>0</item_version> <item>338</item> </second> </item> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="51" tracking_level="0" version="0"> <count>35</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>25</first> <second class_id="53" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>125</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>130</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>131</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>132</first> <second> <first>5</first> <second>1</second> </second> </item> <item> <first>133</first> <second> <first>7</first> <second>1</second> </second> </item> <item> <first>134</first> <second> <first>9</first> <second>1</second> </second> </item> <item> <first>135</first> <second> <first>11</first> <second>1</second> </second> </item> <item> <first>136</first> <second> <first>13</first> <second>1</second> </second> </item> <item> <first>137</first> <second> <first>15</first> <second>1</second> </second> </item> <item> <first>138</first> <second> <first>17</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="54" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>139</first> <second class_id="56" tracking_level="0" version="0"> <first>0</first> <second>17</second> </second> </item> </bblk_ent_exit> <regions class_id="57" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="58" tracking_level="1" version="0" object_id="_531"> <region_name>colordetect_accel</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>139</item> </basic_blocks> <nodes> <count>114</count> <item_version>0</item_version> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> <item>102</item> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>111</item> <item>112</item> <item>113</item> <item>114</item> <item>115</item> <item>116</item> <item>117</item> <item>118</item> <item>119</item> <item>120</item> <item>121</item> <item>122</item> <item>123</item> <item>124</item> <item>125</item> <item>126</item> <item>127</item> <item>128</item> <item>129</item> <item>130</item> <item>131</item> <item>132</item> <item>133</item> <item>134</item> <item>135</item> <item>136</item> <item>137</item> <item>138</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="59" tracking_level="0" version="0"> <count>34</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>178</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>182</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>186</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>190</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>194</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>198</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>206</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>214</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>218</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>222</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>226</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>230</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>234</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>238</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>242</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>246</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>250</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>254</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>258</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>262</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>266</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>270</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>282</first> <second> <count>2</count> <item_version>0</item_version> <item>132</item> <item>132</item> </second> </item> <item> <first>294</first> <second> <count>2</count> <item_version>0</item_version> <item>131</item> <item>131</item> </second> </item> <item> <first>308</first> <second> <count>2</count> <item_version>0</item_version> <item>133</item> <item>133</item> </second> </item> <item> <first>316</first> <second> <count>2</count> <item_version>0</item_version> <item>134</item> <item>134</item> </second> </item> <item> <first>324</first> <second> <count>2</count> <item_version>0</item_version> <item>135</item> <item>135</item> </second> </item> <item> <first>332</first> <second> <count>2</count> <item_version>0</item_version> <item>136</item> <item>136</item> </second> </item> <item> <first>340</first> <second> <count>2</count> <item_version>0</item_version> <item>137</item> <item>137</item> </second> </item> <item> <first>361</first> <second> <count>2</count> <item_version>0</item_version> <item>130</item> <item>130</item> </second> </item> <item> <first>384</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="62" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="63" tracking_level="0" version="0"> <first>imgHelper1_cols_c_fu_218</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>imgHelper1_data_fu_250</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>imgHelper1_rows_c_fu_222</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>imgHelper2_cols_c_fu_210</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>imgHelper2_data_fu_254</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>imgHelper2_rows_c_fu_214</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>imgHelper3_cols_c_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>imgHelper3_data_fu_258</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>imgHelper3_rows_c_fu_206</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>imgHelper4_cols_c_fu_194</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>imgHelper4_data_fu_262</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>imgHelper4_rows_c_fu_198</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>imgInput_cols_c20_fu_178</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>imgInput_cols_c_fu_234</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>imgInput_data_fu_242</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>imgInput_rows_c19_fu_182</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>imgInput_rows_c_fu_238</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>imgOutput_cols_c_fu_186</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>imgOutput_data_fu_266</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>imgOutput_rows_c_fu_190</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>rgb2hsv_cols_c_fu_226</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>rgb2hsv_data_fu_246</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>rgb2hsv_rows_c_fu_230</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>9</count> <item_version>0</item_version> <item> <first>call_ln0_Block_ZN2xf2cv3MatILi9ELi2160ELi3840ELi1ELi2EEC2Eii_exit1_proc_fu_384</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>grp_axis2xfMat_24_9_2160_3840_1_s_fu_361</first> <second> <count>2</count> <item_version>0</item_version> <item>130</item> <item>130</item> </second> </item> <item> <first>grp_bgr2hsv_9_2160_3840_1_s_fu_294</first> <second> <count>2</count> <item_version>0</item_version> <item>131</item> <item>131</item> </second> </item> <item> <first>grp_colorthresholding_9_0_3_2160_3840_1_s_fu_282</first> <second> <count>2</count> <item_version>0</item_version> <item>132</item> <item>132</item> </second> </item> <item> <first>grp_dilate_0_0_2160_3840_0_3_3_1_1_12_fu_316</first> <second> <count>2</count> <item_version>0</item_version> <item>134</item> <item>134</item> </second> </item> <item> <first>grp_dilate_0_0_2160_3840_0_3_3_1_1_s_fu_324</first> <second> <count>2</count> <item_version>0</item_version> <item>135</item> <item>135</item> </second> </item> <item> <first>grp_erode_0_0_2160_3840_0_3_3_1_1_11_fu_308</first> <second> <count>2</count> <item_version>0</item_version> <item>133</item> <item>133</item> </second> </item> <item> <first>grp_erode_0_0_2160_3840_0_3_3_1_1_s_fu_332</first> <second> <count>2</count> <item_version>0</item_version> <item>136</item> <item>136</item> </second> </item> <item> <first>grp_xfMat2axis_24_0_2160_3840_1_s_fu_340</first> <second> <count>2</count> <item_version>0</item_version> <item>137</item> <item>137</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>cols_read_read_fu_270</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>rows_read_read_fu_276</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="64" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="65" tracking_level="0" version="0"> <first class_id="66" tracking_level="0" version="0"> <first>void_bgr2hsv_9_2160_3840_1_Mat_9_2160_3840_1_2_Mat_9_2160_3840_1_2_hdiv</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first> <first>void_bgr2hsv_9_2160_3840_1_Mat_9_2160_3840_1_2_Mat_9_2160_3840_1_2_sdiv</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first> <first>xf_cv_icvSaturate8u_cv</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>23</count> <item_version>0</item_version> <item> <first>406</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>412</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>418</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>424</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>430</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>436</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>442</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>448</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>454</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>460</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>466</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>472</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>478</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>484</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>490</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>496</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>502</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>508</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>514</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>520</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>526</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>532</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>538</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>23</count> <item_version>0</item_version> <item> <first>imgHelper1_cols_c_reg_466</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>imgHelper1_data_reg_514</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>imgHelper1_rows_c_reg_472</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>imgHelper2_cols_c_reg_454</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>imgHelper2_data_reg_520</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>imgHelper2_rows_c_reg_460</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>imgHelper3_cols_c_reg_442</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>imgHelper3_data_reg_526</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>imgHelper3_rows_c_reg_448</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>imgHelper4_cols_c_reg_430</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>imgHelper4_data_reg_532</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>imgHelper4_rows_c_reg_436</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>imgInput_cols_c20_reg_406</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>imgInput_cols_c_reg_490</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>imgInput_data_reg_502</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>imgInput_rows_c19_reg_412</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>imgInput_rows_c_reg_496</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>imgOutput_cols_c_reg_418</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>imgOutput_data_reg_538</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>imgOutput_rows_c_reg_424</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>rgb2hsv_cols_c_reg_478</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>rgb2hsv_data_reg_508</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>rgb2hsv_rows_c_reg_484</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="67" tracking_level="0" version="0"> <count>16</count> <item_version>0</item_version> <item class_id="68" tracking_level="0" version="0"> <first>cols</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </second> </item> <item> <first>dst_V_data_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>dst_V_dest_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>dst_V_id_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>dst_V_keep_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>dst_V_last_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>dst_V_strb_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>dst_V_user_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </second> </item> <item> <first>rows</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </second> </item> <item> <first>src_V_data_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> <item> <first>src_V_dest_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> <item> <first>src_V_id_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> <item> <first>src_V_keep_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> <item> <first>src_V_last_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> <item> <first>src_V_strb_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> <item> <first>src_V_user_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>130</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core> <count>2</count> <item_version>0</item_version> <item> <first>8</first> <second> <first>666</first> <second>17</second> </second> </item> <item> <first>9</first> <second> <first>666</first> <second>17</second> </second> </item> </port2core> <node2core> <count>34</count> <item_version>0</item_version> <item> <first>25</first> <second> <first>1150</first> <second>155</second> </second> </item> <item> <first>26</first> <second> <first>1150</first> <second>155</second> </second> </item> <item> <first>27</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>28</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>29</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>30</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>31</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>32</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>33</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>34</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>35</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>36</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>37</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>38</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>39</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>40</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>41</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>42</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>76</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>79</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>82</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>85</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>88</first> <second> <first>1151</first> <second>10</second> </second> </item> <item> <first>91</first> <second> <first>666</first> <second>10</second> </second> </item> <item> <first>94</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>125</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>130</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>131</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>132</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>133</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>134</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>135</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>136</first> <second> <first>-1</first> <second>-1</second> </second> </item> <item> <first>137</first> <second> <first>-1</first> <second>-1</second> </second> </item> </node2core> </syndb> </boost_serialization>
package body Test_Date.Read is procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Date.Read"); Ahven.Framework.Add_Test_Routine (T, Date_1'Access, "1. date: date = 1"); Ahven.Framework.Add_Test_Routine (T, Date_2'Access, "2. date: date = -1"); end Initialize; procedure Date_1 is State : access Skill_State := new Skill_State; begin Skill.Read (State, "resources/date-example.sf"); declare X : Date_Type_Access := Skill.Get_Date (State, 1); begin Ahven.Assert (X.Get_Date = 1, "'first date'.Get_Date is not 1."); end; end Date_1; procedure Date_2 is State : access Skill_State := new Skill_State; begin Skill.Read (State, "resources/date-example.sf"); declare X : Date_Type_Access := Skill.Get_Date (State, 2); begin Ahven.Assert (X.Get_Date = -1, "'second date'.Get_Date is not -1."); end; end Date_2; end Test_Date.Read;
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- -- Copyright (C) 2016-2017 Fabien Chouteau -- -- -- -- Coffee Clock is free software: you can redistribute it and/or -- -- modify it under the terms of the GNU General Public License as -- -- published by the Free Software Foundation, either version 3 of the -- -- License, or (at your option) any later version. -- -- -- -- Coffee Clock 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 -- -- General Public License for more details. -- -- -- -- You should have received a copy of the GNU General Public License -- -- along with We Noise Maker. If not, see <http://www.gnu.org/licenses/>. -- -- -- ------------------------------------------------------------------------------- with HAL.Real_Time_Clock; package Real_Time_Clock is procedure Set (Time : HAL.Real_Time_Clock.RTC_Time; Date : HAL.Real_Time_Clock.RTC_Date); function Get_Time return HAL.Real_Time_Clock.RTC_Time; function Get_Date return HAL.Real_Time_Clock.RTC_Date; end Real_Time_Clock;
with Entities; use Entities; with Materials; use Materials; with Vectors2D; use Vectors2D; package Rectangles is type Rectangle is new Entities.Entity with record Dim : Vec2D; -- (x => width, y => height) end record; pragma Pack (Rectangle); type RectangleAcc is access all Rectangle; -- Create a new Rectangle function Create(Pos, Vel, Grav, Dim : in Vec2D; Mat : in Material) return EntityClassAcc; function GetWidth(This : in Rectangle) return Float; function GetHeight(This : in Rectangle) return Float; function GetCenter(This : in Rectangle) return Vec2D; overriding function GetPosition(This : in Rectangle) return Vec2D; private -- Initialization of a Rectangle procedure Initialize(This : in RectangleAcc; Pos, Vel, Grav, Dim : in Vec2D; Mat : in Material); overriding procedure ComputeMass(This : in out Rectangle); overriding procedure FreeEnt(This : access Rectangle); end Rectangles;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . B O U N D E D _ H A S H E D _ M A P S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2004-2020, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ with Ada.Iterator_Interfaces; private with Ada.Containers.Hash_Tables; private with Ada.Streams; private with Ada.Finalization; private with Ada.Strings.Text_Output; generic type Key_Type is private; type Element_Type is private; with function Hash (Key : Key_Type) return Hash_Type; with function Equivalent_Keys (Left, Right : Key_Type) return Boolean; with function "=" (Left, Right : Element_Type) return Boolean is <>; package Ada.Containers.Bounded_Hashed_Maps with SPARK_Mode => Off is pragma Annotate (CodePeer, Skip_Analysis); pragma Pure; pragma Remote_Types; type Map (Capacity : Count_Type; Modulus : Hash_Type) is tagged private with Constant_Indexing => Constant_Reference, Variable_Indexing => Reference, Default_Iterator => Iterate, Iterator_Element => Element_Type, Aggregate => (Empty => Empty, Add_Named => Insert); pragma Preelaborable_Initialization (Map); type Cursor is private; pragma Preelaborable_Initialization (Cursor); Empty_Map : constant Map; -- Map objects declared without an initialization expression are -- initialized to the value Empty_Map. function Empty (Capacity : Count_Type) return Map; No_Element : constant Cursor; -- Cursor objects declared without an initialization expression are -- initialized to the value No_Element. function Has_Element (Position : Cursor) return Boolean; -- Equivalent to Position /= No_Element package Map_Iterator_Interfaces is new Ada.Iterator_Interfaces (Cursor, Has_Element); function "=" (Left, Right : Map) return Boolean; -- For each key/element pair in Left, equality attempts to find the key in -- Right; if a search fails the equality returns False. The search works by -- calling Hash to find the bucket in the Right map that corresponds to the -- Left key. If bucket is non-empty, then equality calls Equivalent_Keys -- to compare the key (in Left) to the key of each node in the bucket (in -- Right); if the keys are equivalent, then the equality test for this -- key/element pair (in Left) completes by calling the element equality -- operator to compare the element (in Left) to the element of the node -- (in Right) whose key matched. function Capacity (Container : Map) return Count_Type; -- Returns the current capacity of the map. Capacity is the maximum length -- before which rehashing in guaranteed not to occur. procedure Reserve_Capacity (Container : in out Map; Capacity : Count_Type); -- If the value of the Capacity actual parameter is less or equal to -- Container.Capacity, then the operation has no effect. Otherwise it -- raises Capacity_Error (as no expansion of capacity is possible for a -- bounded form). function Default_Modulus (Capacity : Count_Type) return Hash_Type; -- Returns a modulus value (hash table size) which is optimal for the -- specified capacity (which corresponds to the maximum number of items). function Length (Container : Map) return Count_Type; -- Returns the number of items in the map function Is_Empty (Container : Map) return Boolean; -- Equivalent to Length (Container) = 0 procedure Clear (Container : in out Map); -- Removes all of the items from the map. This will deallocate all memory -- associated with this map. function Key (Position : Cursor) return Key_Type; -- Returns the key of the node designated by the cursor function Element (Position : Cursor) return Element_Type; -- Returns the element of the node designated by the cursor procedure Replace_Element (Container : in out Map; Position : Cursor; New_Item : Element_Type); -- Assigns the value New_Item to the element designated by the cursor procedure Query_Element (Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : Element_Type)); -- Calls Process with the key and element (both having only a constant -- view) of the node designed by the cursor. procedure Update_Element (Container : in out Map; Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : in out Element_Type)); -- Calls Process with the key (with only a constant view) and element (with -- a variable view) of the node designed by the cursor. type Constant_Reference_Type (Element : not null access constant Element_Type) is private with Implicit_Dereference => Element; type Reference_Type (Element : not null access Element_Type) is private with Implicit_Dereference => Element; function Constant_Reference (Container : aliased Map; Position : Cursor) return Constant_Reference_Type; function Reference (Container : aliased in out Map; Position : Cursor) return Reference_Type; function Constant_Reference (Container : aliased Map; Key : Key_Type) return Constant_Reference_Type; function Reference (Container : aliased in out Map; Key : Key_Type) return Reference_Type; procedure Assign (Target : in out Map; Source : Map); -- If Target denotes the same object as Source, then the operation has no -- effect. If the Target capacity is less than the Source length, then -- Assign raises Capacity_Error. Otherwise, Assign clears Target and then -- copies the (active) elements from Source to Target. function Copy (Source : Map; Capacity : Count_Type := 0; Modulus : Hash_Type := 0) return Map; -- Constructs a new set object whose elements correspond to Source. If the -- Capacity parameter is 0, then the capacity of the result is the same as -- the length of Source. If the Capacity parameter is equal or greater than -- the length of Source, then the capacity of the result is the specified -- value. Otherwise, Copy raises Capacity_Error. If the Modulus parameter -- is 0, then the modulus of the result is the value returned by a call to -- Default_Modulus with the capacity parameter determined as above; -- otherwise the modulus of the result is the specified value. procedure Move (Target : in out Map; Source : in out Map); -- Clears Target (if it's not empty), and then moves (not copies) the -- buckets array and nodes from Source to Target. procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean); -- Conditionally inserts New_Item into the map. If Key is already in the -- map, then Inserted returns False and Position designates the node -- containing the existing key/element pair (neither of which is modified). -- If Key is not already in the map, the Inserted returns True and Position -- designates the newly-inserted node container Key and New_Item. The -- search for the key works as follows. Hash is called to determine Key's -- bucket; if the bucket is non-empty, then Equivalent_Keys is called to -- compare Key to each node in that bucket. If the bucket is empty, or -- there were no matching keys in the bucket, the search "fails" and the -- key/item pair is inserted in the map (and Inserted returns True); -- otherwise, the search "succeeds" (and Inserted returns False). procedure Insert (Container : in out Map; Key : Key_Type; Position : out Cursor; Inserted : out Boolean); -- The same as the (conditional) Insert that accepts an element parameter, -- with the difference that if Inserted returns True, then the element of -- the newly-inserted node is initialized to its default value. procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type); -- Attempts to insert Key into the map, performing the usual search (which -- involves calling both Hash and Equivalent_Keys); if the search succeeds -- (because Key is already in the map), then it raises Constraint_Error. -- (This version of Insert is similar to Replace, but having the opposite -- exception behavior. It is intended for use when you want to assert that -- Key is not already in the map.) procedure Include (Container : in out Map; Key : Key_Type; New_Item : Element_Type); -- Attempts to insert Key into the map. If Key is already in the map, then -- both the existing key and element are assigned the values of Key and -- New_Item, respectively. (This version of Insert only raises an exception -- if cursor tampering occurs. It is intended for use when you want to -- insert the key/element pair in the map, and you don't care whether Key -- is already present.) procedure Replace (Container : in out Map; Key : Key_Type; New_Item : Element_Type); -- Searches for Key in the map; if the search fails (because Key was not in -- the map), then it raises Constraint_Error. Otherwise, both the existing -- key and element are assigned the values of Key and New_Item rsp. (This -- is similar to Insert, but with the opposite exception behavior. It is to -- be used when you want to assert that Key is already in the map.) procedure Exclude (Container : in out Map; Key : Key_Type); -- Searches for Key in the map, and if found, removes its node from the map -- and then deallocates it. The search works as follows. The operation -- calls Hash to determine the key's bucket; if the bucket is not empty, it -- calls Equivalent_Keys to compare Key to each key in the bucket. (This is -- the deletion analog of Include. It is intended for use when you want to -- remove the item from the map, but don't care whether the key is already -- in the map.) procedure Delete (Container : in out Map; Key : Key_Type); -- Searches for Key in the map (which involves calling both Hash and -- Equivalent_Keys). If the search fails, then the operation raises -- Constraint_Error. Otherwise it removes the node from the map and then -- deallocates it. (This is the deletion analog of non-conditional -- Insert. It is intended for use when you want to assert that the item is -- already in the map.) procedure Delete (Container : in out Map; Position : in out Cursor); -- Removes the node designated by Position from the map, and then -- deallocates the node. The operation calls Hash to determine the bucket, -- and then compares Position to each node in the bucket until there's a -- match (it does not call Equivalent_Keys). function First (Container : Map) return Cursor; -- Returns a cursor that designates the first non-empty bucket, by -- searching from the beginning of the buckets array. function Next (Position : Cursor) return Cursor; -- Returns a cursor that designates the node that follows the current one -- designated by Position. If Position designates the last node in its -- bucket, the operation calls Hash to compute the index of this bucket, -- and searches the buckets array for the first non-empty bucket, starting -- from that index; otherwise, it simply follows the link to the next node -- in the same bucket. procedure Next (Position : in out Cursor); -- Equivalent to Position := Next (Position) function Find (Container : Map; Key : Key_Type) return Cursor; -- Searches for Key in the map. Find calls Hash to determine the key's -- bucket; if the bucket is not empty, it calls Equivalent_Keys to compare -- Key to each key in the bucket. If the search succeeds, Find returns a -- cursor designating the matching node; otherwise, it returns No_Element. function Contains (Container : Map; Key : Key_Type) return Boolean; -- Equivalent to Find (Container, Key) /= No_Element function Element (Container : Map; Key : Key_Type) return Element_Type; -- Equivalent to Element (Find (Container, Key)) function Equivalent_Keys (Left, Right : Cursor) return Boolean; -- Returns the result of calling Equivalent_Keys with the keys of the nodes -- designated by cursors Left and Right. function Equivalent_Keys (Left : Cursor; Right : Key_Type) return Boolean; -- Returns the result of calling Equivalent_Keys with key of the node -- designated by Left and key Right. function Equivalent_Keys (Left : Key_Type; Right : Cursor) return Boolean; -- Returns the result of calling Equivalent_Keys with key Left and the node -- designated by Right. procedure Iterate (Container : Map; Process : not null access procedure (Position : Cursor)); -- Calls Process for each node in the map function Iterate (Container : Map) return Map_Iterator_Interfaces.Forward_Iterator'class; private pragma Inline (Length); pragma Inline (Is_Empty); pragma Inline (Clear); pragma Inline (Key); pragma Inline (Element); pragma Inline (Move); pragma Inline (Contains); pragma Inline (Capacity); pragma Inline (Reserve_Capacity); pragma Inline (Has_Element); pragma Inline (Next); type Node_Type is record Key : Key_Type; Element : aliased Element_Type; Next : Count_Type; end record; package HT_Types is new Hash_Tables.Generic_Bounded_Hash_Table_Types (Node_Type); type Map (Capacity : Count_Type; Modulus : Hash_Type) is new HT_Types.Hash_Table_Type (Capacity, Modulus) with null record with Put_Image => Put_Image; procedure Put_Image (S : in out Ada.Strings.Text_Output.Sink'Class; V : Map); use HT_Types, HT_Types.Implementation; use Ada.Streams; use Ada.Finalization; procedure Write (Stream : not null access Root_Stream_Type'Class; Container : Map); for Map'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Container : out Map); for Map'Read use Read; type Map_Access is access all Map; for Map_Access'Storage_Size use 0; -- Note: If a Cursor object has no explicit initialization expression, -- it must default initialize to the same value as constant No_Element. -- The Node component of type Cursor has scalar type Count_Type, so it -- requires an explicit initialization expression of its own declaration, -- in order for objects of record type Cursor to properly initialize. type Cursor is record Container : Map_Access; Node : Count_Type := 0; end record; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Cursor); for Cursor'Read use Read; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Cursor); for Cursor'Write use Write; subtype Reference_Control_Type is Implementation.Reference_Control_Type; -- It is necessary to rename this here, so that the compiler can find it type Constant_Reference_Type (Element : not null access constant Element_Type) is record Control : Reference_Control_Type := raise Program_Error with "uninitialized reference"; -- The RM says, "The default initialization of an object of -- type Constant_Reference_Type or Reference_Type propagates -- Program_Error." end record; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Constant_Reference_Type); for Constant_Reference_Type'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Constant_Reference_Type); for Constant_Reference_Type'Read use Read; type Reference_Type (Element : not null access Element_Type) is record Control : Reference_Control_Type := raise Program_Error with "uninitialized reference"; -- The RM says, "The default initialization of an object of -- type Constant_Reference_Type or Reference_Type propagates -- Program_Error." end record; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Reference_Type); for Reference_Type'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Reference_Type); for Reference_Type'Read use Read; -- Three operations are used to optimize in the expansion of "for ... of" -- loops: the Next(Cursor) procedure in the visible part, and the following -- Pseudo_Reference and Get_Element_Access functions. See Sem_Ch5 for -- details. function Pseudo_Reference (Container : aliased Map'Class) return Reference_Control_Type; pragma Inline (Pseudo_Reference); -- Creates an object of type Reference_Control_Type pointing to the -- container, and increments the Lock. Finalization of this object will -- decrement the Lock. type Element_Access is access all Element_Type with Storage_Size => 0; function Get_Element_Access (Position : Cursor) return not null Element_Access; -- Returns a pointer to the element designated by Position. Empty_Map : constant Map := (Hash_Table_Type with Capacity => 0, Modulus => 0); No_Element : constant Cursor := (Container => null, Node => 0); type Iterator is new Limited_Controlled and Map_Iterator_Interfaces.Forward_Iterator with record Container : Map_Access; end record with Disable_Controlled => not T_Check; overriding procedure Finalize (Object : in out Iterator); overriding function First (Object : Iterator) return Cursor; overriding function Next (Object : Iterator; Position : Cursor) return Cursor; end Ada.Containers.Bounded_Hashed_Maps;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . C G I . D E B U G -- -- -- -- S p e c -- -- -- -- Copyright (C) 2000-2010, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is a package to help debugging CGI (Common Gateway Interface) -- programs written in Ada. package GNAT.CGI.Debug is -- Both functions below output all possible CGI parameters set. These are -- the form field and all CGI environment variables which make the CGI -- environment at runtime. function Text_Output return String; -- Returns a plain text version of the CGI runtime environment function HTML_Output return String; -- Returns an HTML version of the CGI runtime environment end GNAT.CGI.Debug;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.NUMERICS.LONG_LONG_COMPLEX.ELEMENTARY_FUNCTIONS -- -- -- -- S p e c -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ with Ada.Numerics.Long_Long_Complex_Types; with Ada.Numerics.Generic_Complex_Elementary_Functions; package Ada.Numerics.Long_Long_Complex_Elementary_Functions is new Ada.Numerics.Generic_Complex_Elementary_Functions (Ada.Numerics.Long_Long_Complex_Types); pragma Pure (Ada.Numerics.Long_Long_Complex_Elementary_Functions);
-- Copyright 2014-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is type Color is (Black, Red, Green, Blue, White); type Full_Table is array (Color) of Boolean; type Primary_Table is array (Color range Red .. Blue) of Boolean; type Variable_Table is array (Color range <>) of Boolean; type Full_PT is array (Color) of Boolean; pragma Pack (Full_PT); function New_Variable_Table (Low: Color; High: Color) return Variable_Table; procedure Do_Nothing (A : System.Address); end Pck;
-- Mojang Authentication API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do not edit the class manually. package body com.github.asyncmc.mojang.authentication.ada.model.Models is use Swagger.Streams; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Error_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("error", Value.Error); Into.Write_Entity ("errorMessage", Value.Error_Message); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Error_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Error_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "error", Value.Error); Swagger.Streams.Deserialize (Object, "errorMessage", Value.Error_Message); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Error_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : Error_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in GameProfileProperty_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("name", Value.Name); Into.Write_Entity ("value", Value.Value); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in GameProfileProperty_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out GameProfileProperty_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "name", Value.Name); Swagger.Streams.Deserialize (Object, "value", Value.Value); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out GameProfileProperty_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : GameProfileProperty_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in PrivateUserData_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("id", Value.Id); Serialize (Into, "properties", Value.Properties); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in PrivateUserData_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out PrivateUserData_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "id", Value.Id); Deserialize (Object, "properties", Value.Properties); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out PrivateUserData_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : PrivateUserData_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ReducedUserData_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("id", Value.Id); Serialize (Into, "properties", Value.Properties); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ReducedUserData_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ReducedUserData_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "id", Value.Id); Deserialize (Object, "properties", Value.Properties); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ReducedUserData_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : ReducedUserData_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Agent_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("name", Value.Name); Into.Write_Entity ("version", Value.Version); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Agent_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Agent_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "name", Value.Name); Swagger.Streams.Deserialize (Object, "version", Value.Version); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Agent_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : Agent_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ProfileId_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("id", Value.Id); Into.Write_Entity ("name", Value.Name); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ProfileId_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ProfileId_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "id", Value.Id); Swagger.Streams.Deserialize (Object, "name", Value.Name); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ProfileId_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : ProfileId_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in RefreshRequest_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("accessToken", Value.Access_Token); Into.Write_Entity ("clientToken", Value.Client_Token); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in RefreshRequest_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out RefreshRequest_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "accessToken", Value.Access_Token); Swagger.Streams.Deserialize (Object, "clientToken", Value.Client_Token); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out RefreshRequest_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : RefreshRequest_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in AccessKeys_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("accessToken", Value.Access_Token); Into.Write_Entity ("clientToken", Value.Client_Token); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in AccessKeys_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out AccessKeys_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "accessToken", Value.Access_Token); Swagger.Streams.Deserialize (Object, "clientToken", Value.Client_Token); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out AccessKeys_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : AccessKeys_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in UsernamePassword_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("username", Value.Username); Into.Write_Entity ("password", Value.Password); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in UsernamePassword_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out UsernamePassword_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "username", Value.Username); Swagger.Streams.Deserialize (Object, "password", Value.Password); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out UsernamePassword_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : UsernamePassword_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in RefreshResponse_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("accessToken", Value.Access_Token); Into.Write_Entity ("clientToken", Value.Client_Token); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in RefreshResponse_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out RefreshResponse_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "accessToken", Value.Access_Token); Swagger.Streams.Deserialize (Object, "clientToken", Value.Client_Token); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out RefreshResponse_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : RefreshResponse_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in AuthenticationRequest_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("username", Value.Username); Into.Write_Entity ("password", Value.Password); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in AuthenticationRequest_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out AuthenticationRequest_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "username", Value.Username); Swagger.Streams.Deserialize (Object, "password", Value.Password); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out AuthenticationRequest_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : AuthenticationRequest_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Authentication_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("accessToken", Value.Access_Token); Into.Write_Entity ("clientToken", Value.Client_Token); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Authentication_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Authentication_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "accessToken", Value.Access_Token); Swagger.Streams.Deserialize (Object, "clientToken", Value.Client_Token); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Authentication_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : Authentication_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in GameProfile_Type) is begin Into.Start_Entity (Name); Into.Write_Entity ("agent", Value.Agent); Into.Write_Entity ("id", Value.Id); Into.Write_Entity ("name", Value.Name); Into.Write_Entity ("userId", Value.User_Id); Serialize (Into, "createdAt", Value.Created_At); Into.Write_Entity ("legacyProfile", Value.Legacy_Profile); Into.Write_Entity ("suspended", Value.Suspended); Into.Write_Entity ("paid", Value.Paid); Into.Write_Entity ("migrated", Value.Migrated); Into.Write_Entity ("legacy", Value.Legacy); Into.End_Entity (Name); end Serialize; procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in GameProfile_Type_Vectors.Vector) is begin Into.Start_Array (Name); for Item of Value loop Serialize (Into, "", Item); end loop; Into.End_Array (Name); end Serialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out GameProfile_Type) is Object : Swagger.Value_Type; begin Swagger.Streams.Deserialize (From, Name, Object); Swagger.Streams.Deserialize (Object, "agent", Value.Agent); Swagger.Streams.Deserialize (Object, "id", Value.Id); Swagger.Streams.Deserialize (Object, "name", Value.Name); Swagger.Streams.Deserialize (Object, "userId", Value.User_Id); Swagger.Streams.Deserialize (Object, "createdAt", Value.Created_At); Swagger.Streams.Deserialize (Object, "legacyProfile", Value.Legacy_Profile); Swagger.Streams.Deserialize (Object, "suspended", Value.Suspended); Swagger.Streams.Deserialize (Object, "paid", Value.Paid); Swagger.Streams.Deserialize (Object, "migrated", Value.Migrated); Swagger.Streams.Deserialize (Object, "legacy", Value.Legacy); end Deserialize; procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out GameProfile_Type_Vectors.Vector) is List : Swagger.Value_Array_Type; Item : GameProfile_Type; begin Value.Clear; Swagger.Streams.Deserialize (From, Name, List); for Data of List loop Deserialize (Data, "", Item); Value.Append (Item); end loop; end Deserialize; end com.github.asyncmc.mojang.authentication.ada.model.Models;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T A S K _ P R I M I T I V E S . O P E R A T I O N S . -- -- R E G I S T E R _ F O R E I G N _ T H R E A D -- -- -- -- B o d y -- -- -- -- Copyright (C) 2002-2005, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNARL; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ with System.Task_Info; -- Use for Unspecified_Task_Info with System.Soft_Links; -- used to initialize TSD for a C thread, in function Self separate (System.Task_Primitives.Operations) function Register_Foreign_Thread (Thread : Thread_Id) return Task_Id is Local_ATCB : aliased Ada_Task_Control_Block (0); Self_Id : Task_Id; Succeeded : Boolean; use type Interfaces.C.unsigned; begin -- This section is tricky. We must not call anything that might require -- an ATCB, until the new ATCB is in place. In order to get an ATCB -- immediately, we fake one, so that it is then possible to e.g allocate -- memory (which might require accessing self). -- Record this as the Task_Id for the thread Local_ATCB.Common.LL.Thread := Thread; Local_ATCB.Common.Current_Priority := System.Priority'First; Specific.Set (Local_ATCB'Unchecked_Access); -- It is now safe to use an allocator Self_Id := new Ada_Task_Control_Block (0); -- Finish initialization Lock_RTS; System.Tasking.Initialize_ATCB (Self_Id, null, Null_Address, Null_Task, Foreign_Task_Elaborated'Access, System.Priority'First, Task_Info.Unspecified_Task_Info, 0, Self_Id, Succeeded); Unlock_RTS; pragma Assert (Succeeded); Self_Id.Master_of_Task := 0; Self_Id.Master_Within := Self_Id.Master_of_Task + 1; for L in Self_Id.Entry_Calls'Range loop Self_Id.Entry_Calls (L).Self := Self_Id; Self_Id.Entry_Calls (L).Level := L; end loop; Self_Id.Common.State := Runnable; Self_Id.Awake_Count := 1; Self_Id.Common.Task_Image (1 .. 14) := "foreign thread"; Self_Id.Common.Task_Image_Len := 14; -- Since this is not an ordinary Ada task, we will start out undeferred Self_Id.Deferral_Level := 0; System.Soft_Links.Create_TSD (Self_Id.Common.Compiler_Data); -- ??? -- The following call is commented out to avoid dependence on -- the System.Tasking.Initialization package. -- It seems that if we want Ada.Task_Attributes to work correctly -- for C threads we will need to raise the visibility of this soft -- link to System.Soft_Links. -- We are putting that off until this new functionality is otherwise -- stable. -- System.Tasking.Initialization.Initialize_Attributes_Link.all (T); Enter_Task (Self_Id); return Self_Id; end Register_Foreign_Thread;
-- AOC 2020, Day 9 with Ada.Containers.Vectors; package Day is package XMAS_Vector is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Long_Integer); use XMAS_Vector; function load_file(filename : in String) return XMAS_Vector.Vector; function first_invalid(v : in XMAS_Vector.Vector; preamble : in Positive) return Long_Integer; function find_sum(v : in XMAS_Vector.Vector; target : in Long_Integer) return Long_Integer; end Day;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>matrixmul</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>A</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>A</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1024</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>32</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>B</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>B</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1024</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>32</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>AB</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AB</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>1024</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>154</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>15</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>D:\msoc\pp4fpgas-master\examples</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>179</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>17</id> <name>indvar_flatten</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>181</item> <item>182</item> <item>183</item> <item>184</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>18</id> <name>i_0</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>186</item> <item>187</item> <item>188</item> <item>189</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>19</id> <name>j_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>190</item> <item>191</item> <item>192</item> <item>193</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>1</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>1</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>20</id> <name>icmp_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>194</item> <item>196</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.88</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>21</id> <name>add_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>197</item> <item>199</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.63</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>22</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>200</item> <item>201</item> <item>202</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>24</id> <name>i</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>204</item> <item>205</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>27</id> <name>icmp_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>206</item> <item>208</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>1</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>28</id> <name>select_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>209</item> <item>210</item> <item>211</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>1</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.18</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>29</id> <name>select_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>212</item> <item>213</item> <item>214</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.18</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>30</id> <name>zext_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>215</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>31</id> <name>tmp</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>217</item> <item>218</item> <item>220</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>146</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>32</id> <name>zext_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>221</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>147</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>36</id> <name>zext_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>222</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>37</id> <name>zext_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>223</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>148</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>38</id> <name>add_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>224</item> <item>225</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.63</m_delay> <m_topoIndex>149</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>39</id> <name>zext_ln18_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>226</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>150</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>40</id> <name>AB_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>227</item> <item>229</item> <item>230</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>151</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>41</id> <name>A_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>231</item> <item>232</item> <item>233</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>42</id> <name>A_load</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1024</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>234</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>43</id> <name>trunc_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>235</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>44</id> <name>B_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>236</item> <item>237</item> <item>238</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>45</id> <name>B_load</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1024</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>239</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>46</id> <name>trunc_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>240</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>47</id> <name>mul_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>241</item> <item>242</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>83</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_4</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>244</item> <item>245</item> <item>247</item> <item>249</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_5</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>250</item> <item>251</item> <item>252</item> <item>253</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>50</id> <name>mul_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>254</item> <item>255</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>84</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp_6</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>256</item> <item>257</item> <item>259</item> <item>261</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>52</id> <name>tmp_7</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>262</item> <item>263</item> <item>264</item> <item>265</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>53</id> <name>mul_ln16_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>266</item> <item>267</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>85</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>54</id> <name>tmp_8</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>268</item> <item>269</item> <item>271</item> <item>273</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_9</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>274</item> <item>275</item> <item>276</item> <item>277</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>56</id> <name>mul_ln16_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>278</item> <item>279</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>86</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>57</id> <name>tmp_s</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>280</item> <item>281</item> <item>283</item> <item>285</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>58</id> <name>tmp_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>286</item> <item>287</item> <item>288</item> <item>289</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>59</id> <name>mul_ln16_4</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>290</item> <item>291</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>60</id> <name>tmp_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>292</item> <item>293</item> <item>295</item> <item>297</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>298</item> <item>299</item> <item>300</item> <item>301</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>62</id> <name>mul_ln16_5</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>302</item> <item>303</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>88</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>63</id> <name>tmp_11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>304</item> <item>305</item> <item>307</item> <item>309</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>64</id> <name>tmp_12</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>310</item> <item>311</item> <item>312</item> <item>313</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>65</id> <name>mul_ln16_6</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>314</item> <item>315</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>89</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>66</id> <name>tmp_13</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>316</item> <item>317</item> <item>319</item> <item>321</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>67</id> <name>tmp_14</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>322</item> <item>323</item> <item>324</item> <item>325</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>68</id> <name>mul_ln16_7</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>326</item> <item>327</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>90</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp_15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>328</item> <item>329</item> <item>331</item> <item>333</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>70</id> <name>tmp_16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>334</item> <item>335</item> <item>336</item> <item>337</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>71</id> <name>mul_ln16_8</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>338</item> <item>339</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>91</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>72</id> <name>tmp_17</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>340</item> <item>341</item> <item>343</item> <item>345</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>73</id> <name>tmp_18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>346</item> <item>347</item> <item>348</item> <item>349</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>74</id> <name>mul_ln16_9</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>350</item> <item>351</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>92</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>75</id> <name>tmp_19</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>352</item> <item>353</item> <item>355</item> <item>357</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>76</id> <name>tmp_20</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>358</item> <item>359</item> <item>360</item> <item>361</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>77</id> <name>mul_ln16_10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>362</item> <item>363</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>93</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>78</id> <name>tmp_21</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>364</item> <item>365</item> <item>367</item> <item>369</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>79</id> <name>tmp_22</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>370</item> <item>371</item> <item>372</item> <item>373</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>80</id> <name>mul_ln16_11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>374</item> <item>375</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>94</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>81</id> <name>tmp_23</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>376</item> <item>377</item> <item>379</item> <item>381</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>82</id> <name>tmp_24</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>382</item> <item>383</item> <item>384</item> <item>385</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>83</id> <name>mul_ln16_12</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>386</item> <item>387</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>95</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>84</id> <name>tmp_25</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>388</item> <item>389</item> <item>391</item> <item>393</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>85</id> <name>tmp_26</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>394</item> <item>395</item> <item>396</item> <item>397</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>86</id> <name>mul_ln16_13</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>398</item> <item>399</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>96</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>87</id> <name>tmp_27</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>400</item> <item>401</item> <item>403</item> <item>405</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>88</id> <name>tmp_28</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>406</item> <item>407</item> <item>408</item> <item>409</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>89</id> <name>mul_ln16_14</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>410</item> <item>411</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>97</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>90</id> <name>tmp_29</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>412</item> <item>413</item> <item>415</item> <item>417</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>91</id> <name>tmp_30</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>418</item> <item>419</item> <item>420</item> <item>421</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>92</id> <name>mul_ln16_15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>422</item> <item>423</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>98</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>93</id> <name>tmp_31</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>424</item> <item>425</item> <item>427</item> <item>429</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>94</id> <name>tmp_32</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>430</item> <item>431</item> <item>432</item> <item>433</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>95</id> <name>mul_ln16_16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>434</item> <item>435</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>99</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>96</id> <name>tmp_33</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>436</item> <item>437</item> <item>439</item> <item>441</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>97</id> <name>tmp_34</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>442</item> <item>443</item> <item>444</item> <item>445</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>98</id> <name>mul_ln16_17</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>446</item> <item>447</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>100</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>99</id> <name>tmp_35</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>448</item> <item>449</item> <item>451</item> <item>453</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>100</id> <name>tmp_36</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>454</item> <item>455</item> <item>456</item> <item>457</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>101</id> <name>mul_ln16_18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>458</item> <item>459</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>101</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>102</id> <name>tmp_37</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>460</item> <item>461</item> <item>463</item> <item>465</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>103</id> <name>tmp_38</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>466</item> <item>467</item> <item>468</item> <item>469</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>104</id> <name>mul_ln16_19</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>470</item> <item>471</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>102</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>105</id> <name>tmp_39</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>472</item> <item>473</item> <item>475</item> <item>477</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>106</id> <name>tmp_40</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>478</item> <item>479</item> <item>480</item> <item>481</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>107</id> <name>mul_ln16_20</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>482</item> <item>483</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>103</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>108</id> <name>tmp_41</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>484</item> <item>485</item> <item>487</item> <item>489</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>109</id> <name>tmp_42</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>490</item> <item>491</item> <item>492</item> <item>493</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>110</id> <name>mul_ln16_21</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>494</item> <item>495</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>104</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>111</id> <name>tmp_43</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>496</item> <item>497</item> <item>499</item> <item>501</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>112</id> <name>tmp_44</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>502</item> <item>503</item> <item>504</item> <item>505</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>113</id> <name>mul_ln16_22</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>506</item> <item>507</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>105</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>114</id> <name>tmp_45</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>508</item> <item>509</item> <item>511</item> <item>513</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>115</id> <name>tmp_46</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>514</item> <item>515</item> <item>516</item> <item>517</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>116</id> <name>mul_ln16_23</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>518</item> <item>519</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>106</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_99"> <Value> <Obj> <type>0</type> <id>117</id> <name>tmp_47</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>520</item> <item>521</item> <item>523</item> <item>525</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_100"> <Value> <Obj> <type>0</type> <id>118</id> <name>tmp_48</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>526</item> <item>527</item> <item>528</item> <item>529</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_101"> <Value> <Obj> <type>0</type> <id>119</id> <name>mul_ln16_24</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>530</item> <item>531</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>107</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_102"> <Value> <Obj> <type>0</type> <id>120</id> <name>tmp_49</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>532</item> <item>533</item> <item>535</item> <item>537</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_103"> <Value> <Obj> <type>0</type> <id>121</id> <name>tmp_50</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>538</item> <item>539</item> <item>540</item> <item>541</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>70</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_104"> <Value> <Obj> <type>0</type> <id>122</id> <name>mul_ln16_25</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>542</item> <item>543</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>108</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_105"> <Value> <Obj> <type>0</type> <id>123</id> <name>tmp_51</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>544</item> <item>545</item> <item>547</item> <item>549</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_106"> <Value> <Obj> <type>0</type> <id>124</id> <name>tmp_52</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>550</item> <item>551</item> <item>552</item> <item>553</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_107"> <Value> <Obj> <type>0</type> <id>125</id> <name>mul_ln16_26</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>554</item> <item>555</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>109</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_108"> <Value> <Obj> <type>0</type> <id>126</id> <name>tmp_53</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>556</item> <item>557</item> <item>559</item> <item>561</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_109"> <Value> <Obj> <type>0</type> <id>127</id> <name>tmp_54</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>562</item> <item>563</item> <item>564</item> <item>565</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_110"> <Value> <Obj> <type>0</type> <id>128</id> <name>mul_ln16_27</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>566</item> <item>567</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>110</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_111"> <Value> <Obj> <type>0</type> <id>129</id> <name>tmp_55</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>568</item> <item>569</item> <item>571</item> <item>573</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_112"> <Value> <Obj> <type>0</type> <id>130</id> <name>tmp_56</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>574</item> <item>575</item> <item>576</item> <item>577</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_113"> <Value> <Obj> <type>0</type> <id>131</id> <name>mul_ln16_28</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>578</item> <item>579</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>111</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_114"> <Value> <Obj> <type>0</type> <id>132</id> <name>tmp_57</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>580</item> <item>581</item> <item>583</item> <item>585</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_115"> <Value> <Obj> <type>0</type> <id>133</id> <name>tmp_58</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>586</item> <item>587</item> <item>588</item> <item>589</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>78</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_116"> <Value> <Obj> <type>0</type> <id>134</id> <name>mul_ln16_29</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>590</item> <item>591</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>112</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_117"> <Value> <Obj> <type>0</type> <id>135</id> <name>tmp_59</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>592</item> <item>593</item> <item>595</item> <item>597</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>79</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_118"> <Value> <Obj> <type>0</type> <id>136</id> <name>tmp_60</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>598</item> <item>599</item> <item>600</item> <item>601</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>80</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_119"> <Value> <Obj> <type>0</type> <id>137</id> <name>mul_ln16_30</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>602</item> <item>603</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>113</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_120"> <Value> <Obj> <type>0</type> <id>138</id> <name>tmp_61</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>604</item> <item>605</item> <item>607</item> <item>609</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>81</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_121"> <Value> <Obj> <type>0</type> <id>139</id> <name>tmp_62</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>610</item> <item>611</item> <item>612</item> <item>613</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>82</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_122"> <Value> <Obj> <type>0</type> <id>140</id> <name>mul_ln16_31</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>614</item> <item>615</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>114</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_123"> <Value> <Obj> <type>0</type> <id>141</id> <name>add_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>616</item> <item>617</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>115</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_124"> <Value> <Obj> <type>0</type> <id>142</id> <name>add_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>618</item> <item>619</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>126</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_125"> <Value> <Obj> <type>0</type> <id>143</id> <name>add_ln16_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>620</item> <item>621</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>127</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_126"> <Value> <Obj> <type>0</type> <id>144</id> <name>add_ln16_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>622</item> <item>623</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>116</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_127"> <Value> <Obj> <type>0</type> <id>145</id> <name>add_ln16_4</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>624</item> <item>625</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>117</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_128"> <Value> <Obj> <type>0</type> <id>146</id> <name>add_ln16_5</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>626</item> <item>627</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>136</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_129"> <Value> <Obj> <type>0</type> <id>147</id> <name>add_ln16_6</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>628</item> <item>629</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>137</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_130"> <Value> <Obj> <type>0</type> <id>148</id> <name>add_ln16_7</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>630</item> <item>631</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>118</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_131"> <Value> <Obj> <type>0</type> <id>149</id> <name>add_ln16_8</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>632</item> <item>633</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>128</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_132"> <Value> <Obj> <type>0</type> <id>150</id> <name>add_ln16_9</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>634</item> <item>635</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>129</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_133"> <Value> <Obj> <type>0</type> <id>151</id> <name>add_ln16_10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>636</item> <item>637</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>119</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_134"> <Value> <Obj> <type>0</type> <id>152</id> <name>add_ln16_11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>638</item> <item>639</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>130</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_135"> <Value> <Obj> <type>0</type> <id>153</id> <name>add_ln16_12</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>640</item> <item>641</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>131</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_136"> <Value> <Obj> <type>0</type> <id>154</id> <name>add_ln16_13</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>642</item> <item>643</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>142</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_137"> <Value> <Obj> <type>0</type> <id>155</id> <name>add_ln16_14</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>644</item> <item>645</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>143</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_138"> <Value> <Obj> <type>0</type> <id>156</id> <name>add_ln16_15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>646</item> <item>647</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>120</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_139"> <Value> <Obj> <type>0</type> <id>157</id> <name>add_ln16_16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>648</item> <item>649</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>132</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_140"> <Value> <Obj> <type>0</type> <id>158</id> <name>add_ln16_17</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>650</item> <item>651</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>133</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_141"> <Value> <Obj> <type>0</type> <id>159</id> <name>add_ln16_18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>652</item> <item>653</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>121</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_142"> <Value> <Obj> <type>0</type> <id>160</id> <name>add_ln16_19</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>654</item> <item>655</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>122</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_143"> <Value> <Obj> <type>0</type> <id>161</id> <name>add_ln16_20</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>656</item> <item>657</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>138</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_144"> <Value> <Obj> <type>0</type> <id>162</id> <name>add_ln16_21</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>658</item> <item>659</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>139</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_145"> <Value> <Obj> <type>0</type> <id>163</id> <name>add_ln16_22</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>660</item> <item>661</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>123</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_146"> <Value> <Obj> <type>0</type> <id>164</id> <name>add_ln16_23</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>662</item> <item>663</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>134</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_147"> <Value> <Obj> <type>0</type> <id>165</id> <name>add_ln16_24</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>664</item> <item>665</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>135</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_148"> <Value> <Obj> <type>0</type> <id>166</id> <name>add_ln16_25</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>666</item> <item>667</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>124</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_149"> <Value> <Obj> <type>0</type> <id>167</id> <name>add_ln16_26</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>668</item> <item>669</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>125</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_150"> <Value> <Obj> <type>0</type> <id>168</id> <name>add_ln16_27</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>670</item> <item>671</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>140</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_151"> <Value> <Obj> <type>0</type> <id>169</id> <name>add_ln16_28</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>672</item> <item>673</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>141</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_152"> <Value> <Obj> <type>0</type> <id>170</id> <name>add_ln16_29</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>674</item> <item>675</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>144</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_153"> <Value> <Obj> <type>0</type> <id>171</id> <name>add_ln16_30</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>676</item> <item>677</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.37</m_delay> <m_topoIndex>145</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_154"> <Value> <Obj> <type>0</type> <id>172</id> <name>AB_addr_write_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>678</item> <item>679</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.56</m_delay> <m_topoIndex>152</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_155"> <Value> <Obj> <type>0</type> <id>174</id> <name>j</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>680</item> <item>681</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>1</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_156"> <Value> <Obj> <type>0</type> <id>175</id> <name>_ln0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>682</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>153</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_157"> <Value> <Obj> <type>0</type> <id>177</id> <name>_ln21</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>154</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>70</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_158"> <Value> <Obj> <type>2</type> <id>180</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_159"> <Value> <Obj> <type>2</type> <id>185</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_160"> <Value> <Obj> <type>2</type> <id>195</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1024</content> </item> <item class_id_reference="16" object_id="_161"> <Value> <Obj> <type>2</type> <id>198</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_162"> <Value> <Obj> <type>2</type> <id>203</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_163"> <Value> <Obj> <type>2</type> <id>207</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_164"> <Value> <Obj> <type>2</type> <id>219</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_165"> <Value> <Obj> <type>2</type> <id>228</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_166"> <Value> <Obj> <type>2</type> <id>246</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_167"> <Value> <Obj> <type>2</type> <id>248</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_168"> <Value> <Obj> <type>2</type> <id>258</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>64</content> </item> <item class_id_reference="16" object_id="_169"> <Value> <Obj> <type>2</type> <id>260</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>95</content> </item> <item class_id_reference="16" object_id="_170"> <Value> <Obj> <type>2</type> <id>270</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>96</content> </item> <item class_id_reference="16" object_id="_171"> <Value> <Obj> <type>2</type> <id>272</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>127</content> </item> <item class_id_reference="16" object_id="_172"> <Value> <Obj> <type>2</type> <id>282</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>128</content> </item> <item class_id_reference="16" object_id="_173"> <Value> <Obj> <type>2</type> <id>284</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>159</content> </item> <item class_id_reference="16" object_id="_174"> <Value> <Obj> <type>2</type> <id>294</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>160</content> </item> <item class_id_reference="16" object_id="_175"> <Value> <Obj> <type>2</type> <id>296</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>191</content> </item> <item class_id_reference="16" object_id="_176"> <Value> <Obj> <type>2</type> <id>306</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>192</content> </item> <item class_id_reference="16" object_id="_177"> <Value> <Obj> <type>2</type> <id>308</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>223</content> </item> <item class_id_reference="16" object_id="_178"> <Value> <Obj> <type>2</type> <id>318</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>224</content> </item> <item class_id_reference="16" object_id="_179"> <Value> <Obj> <type>2</type> <id>320</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>255</content> </item> <item class_id_reference="16" object_id="_180"> <Value> <Obj> <type>2</type> <id>330</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>256</content> </item> <item class_id_reference="16" object_id="_181"> <Value> <Obj> <type>2</type> <id>332</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>287</content> </item> <item class_id_reference="16" object_id="_182"> <Value> <Obj> <type>2</type> <id>342</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>288</content> </item> <item class_id_reference="16" object_id="_183"> <Value> <Obj> <type>2</type> <id>344</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>319</content> </item> <item class_id_reference="16" object_id="_184"> <Value> <Obj> <type>2</type> <id>354</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>320</content> </item> <item class_id_reference="16" object_id="_185"> <Value> <Obj> <type>2</type> <id>356</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>351</content> </item> <item class_id_reference="16" object_id="_186"> <Value> <Obj> <type>2</type> <id>366</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>352</content> </item> <item class_id_reference="16" object_id="_187"> <Value> <Obj> <type>2</type> <id>368</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>383</content> </item> <item class_id_reference="16" object_id="_188"> <Value> <Obj> <type>2</type> <id>378</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>384</content> </item> <item class_id_reference="16" object_id="_189"> <Value> <Obj> <type>2</type> <id>380</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>415</content> </item> <item class_id_reference="16" object_id="_190"> <Value> <Obj> <type>2</type> <id>390</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>416</content> </item> <item class_id_reference="16" object_id="_191"> <Value> <Obj> <type>2</type> <id>392</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>447</content> </item> <item class_id_reference="16" object_id="_192"> <Value> <Obj> <type>2</type> <id>402</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>448</content> </item> <item class_id_reference="16" object_id="_193"> <Value> <Obj> <type>2</type> <id>404</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>479</content> </item> <item class_id_reference="16" object_id="_194"> <Value> <Obj> <type>2</type> <id>414</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>480</content> </item> <item class_id_reference="16" object_id="_195"> <Value> <Obj> <type>2</type> <id>416</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>511</content> </item> <item class_id_reference="16" object_id="_196"> <Value> <Obj> <type>2</type> <id>426</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>512</content> </item> <item class_id_reference="16" object_id="_197"> <Value> <Obj> <type>2</type> <id>428</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>543</content> </item> <item class_id_reference="16" object_id="_198"> <Value> <Obj> <type>2</type> <id>438</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>544</content> </item> <item class_id_reference="16" object_id="_199"> <Value> <Obj> <type>2</type> <id>440</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>575</content> </item> <item class_id_reference="16" object_id="_200"> <Value> <Obj> <type>2</type> <id>450</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>576</content> </item> <item class_id_reference="16" object_id="_201"> <Value> <Obj> <type>2</type> <id>452</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>607</content> </item> <item class_id_reference="16" object_id="_202"> <Value> <Obj> <type>2</type> <id>462</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>608</content> </item> <item class_id_reference="16" object_id="_203"> <Value> <Obj> <type>2</type> <id>464</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>639</content> </item> <item class_id_reference="16" object_id="_204"> <Value> <Obj> <type>2</type> <id>474</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>640</content> </item> <item class_id_reference="16" object_id="_205"> <Value> <Obj> <type>2</type> <id>476</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>671</content> </item> <item class_id_reference="16" object_id="_206"> <Value> <Obj> <type>2</type> <id>486</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>672</content> </item> <item class_id_reference="16" object_id="_207"> <Value> <Obj> <type>2</type> <id>488</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>703</content> </item> <item class_id_reference="16" object_id="_208"> <Value> <Obj> <type>2</type> <id>498</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>704</content> </item> <item class_id_reference="16" object_id="_209"> <Value> <Obj> <type>2</type> <id>500</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>735</content> </item> <item class_id_reference="16" object_id="_210"> <Value> <Obj> <type>2</type> <id>510</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>736</content> </item> <item class_id_reference="16" object_id="_211"> <Value> <Obj> <type>2</type> <id>512</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>767</content> </item> <item class_id_reference="16" object_id="_212"> <Value> <Obj> <type>2</type> <id>522</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>768</content> </item> <item class_id_reference="16" object_id="_213"> <Value> <Obj> <type>2</type> <id>524</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>799</content> </item> <item class_id_reference="16" object_id="_214"> <Value> <Obj> <type>2</type> <id>534</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>800</content> </item> <item class_id_reference="16" object_id="_215"> <Value> <Obj> <type>2</type> <id>536</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>831</content> </item> <item class_id_reference="16" object_id="_216"> <Value> <Obj> <type>2</type> <id>546</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>832</content> </item> <item class_id_reference="16" object_id="_217"> <Value> <Obj> <type>2</type> <id>548</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>863</content> </item> <item class_id_reference="16" object_id="_218"> <Value> <Obj> <type>2</type> <id>558</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>864</content> </item> <item class_id_reference="16" object_id="_219"> <Value> <Obj> <type>2</type> <id>560</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>895</content> </item> <item class_id_reference="16" object_id="_220"> <Value> <Obj> <type>2</type> <id>570</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>896</content> </item> <item class_id_reference="16" object_id="_221"> <Value> <Obj> <type>2</type> <id>572</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>927</content> </item> <item class_id_reference="16" object_id="_222"> <Value> <Obj> <type>2</type> <id>582</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>928</content> </item> <item class_id_reference="16" object_id="_223"> <Value> <Obj> <type>2</type> <id>584</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>959</content> </item> <item class_id_reference="16" object_id="_224"> <Value> <Obj> <type>2</type> <id>594</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>960</content> </item> <item class_id_reference="16" object_id="_225"> <Value> <Obj> <type>2</type> <id>596</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>991</content> </item> <item class_id_reference="16" object_id="_226"> <Value> <Obj> <type>2</type> <id>606</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>992</content> </item> <item class_id_reference="16" object_id="_227"> <Value> <Obj> <type>2</type> <id>608</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1023</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_228"> <Obj> <type>3</type> <id>16</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>15</item> </node_objs> </item> <item class_id_reference="18" object_id="_229"> <Obj> <type>3</type> <id>23</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> </node_objs> </item> <item class_id_reference="18" object_id="_230"> <Obj> <type>3</type> <id>176</id> <name>col</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>146</count> <item_version>0</item_version> <item>24</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> <item>102</item> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>111</item> <item>112</item> <item>113</item> <item>114</item> <item>115</item> <item>116</item> <item>117</item> <item>118</item> <item>119</item> <item>120</item> <item>121</item> <item>122</item> <item>123</item> <item>124</item> <item>125</item> <item>126</item> <item>127</item> <item>128</item> <item>129</item> <item>130</item> <item>131</item> <item>132</item> <item>133</item> <item>134</item> <item>135</item> <item>136</item> <item>137</item> <item>138</item> <item>139</item> <item>140</item> <item>141</item> <item>142</item> <item>143</item> <item>144</item> <item>145</item> <item>146</item> <item>147</item> <item>148</item> <item>149</item> <item>150</item> <item>151</item> <item>152</item> <item>153</item> <item>154</item> <item>155</item> <item>156</item> <item>157</item> <item>158</item> <item>159</item> <item>160</item> <item>161</item> <item>162</item> <item>163</item> <item>164</item> <item>165</item> <item>166</item> <item>167</item> <item>168</item> <item>169</item> <item>170</item> <item>171</item> <item>172</item> <item>174</item> <item>175</item> </node_objs> </item> <item class_id_reference="18" object_id="_231"> <Obj> <type>3</type> <id>178</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>177</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>373</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_232"> <id>179</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>181</id> <edge_type>1</edge_type> <source_obj>180</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>182</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>183</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>17</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>184</id> <edge_type>2</edge_type> <source_obj>176</source_obj> <sink_obj>17</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>186</id> <edge_type>1</edge_type> <source_obj>185</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>187</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>188</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>18</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>189</id> <edge_type>2</edge_type> <source_obj>176</source_obj> <sink_obj>18</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>190</id> <edge_type>1</edge_type> <source_obj>185</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>191</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>192</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>19</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>193</id> <edge_type>2</edge_type> <source_obj>176</source_obj> <sink_obj>19</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>194</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>196</id> <edge_type>1</edge_type> <source_obj>195</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>197</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>199</id> <edge_type>1</edge_type> <source_obj>198</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>200</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>201</id> <edge_type>2</edge_type> <source_obj>176</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>202</id> <edge_type>2</edge_type> <source_obj>178</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>204</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>205</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>206</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>208</id> <edge_type>1</edge_type> <source_obj>207</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>209</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>210</id> <edge_type>1</edge_type> <source_obj>185</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>211</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>212</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>213</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>214</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>215</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>218</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>220</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>221</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>222</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>223</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>224</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>225</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>226</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>227</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>229</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>230</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>231</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>232</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>233</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>234</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>235</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>236</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>237</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>238</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>239</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>240</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>241</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>242</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>245</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>247</id> <edge_type>1</edge_type> <source_obj>246</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>249</id> <edge_type>1</edge_type> <source_obj>248</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>251</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>252</id> <edge_type>1</edge_type> <source_obj>246</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>253</id> <edge_type>1</edge_type> <source_obj>248</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>254</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>255</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>257</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>259</id> <edge_type>1</edge_type> <source_obj>258</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>261</id> <edge_type>1</edge_type> <source_obj>260</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>263</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>264</id> <edge_type>1</edge_type> <source_obj>258</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>265</id> <edge_type>1</edge_type> <source_obj>260</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>266</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>267</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>269</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>271</id> <edge_type>1</edge_type> <source_obj>270</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>273</id> <edge_type>1</edge_type> <source_obj>272</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>275</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>276</id> <edge_type>1</edge_type> <source_obj>270</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>277</id> <edge_type>1</edge_type> <source_obj>272</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>278</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>279</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>281</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>283</id> <edge_type>1</edge_type> <source_obj>282</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>285</id> <edge_type>1</edge_type> <source_obj>284</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>287</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>288</id> <edge_type>1</edge_type> <source_obj>282</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>289</id> <edge_type>1</edge_type> <source_obj>284</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>290</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>291</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>293</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>295</id> <edge_type>1</edge_type> <source_obj>294</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>297</id> <edge_type>1</edge_type> <source_obj>296</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>299</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>300</id> <edge_type>1</edge_type> <source_obj>294</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>301</id> <edge_type>1</edge_type> <source_obj>296</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>302</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>303</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>305</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>307</id> <edge_type>1</edge_type> <source_obj>306</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>309</id> <edge_type>1</edge_type> <source_obj>308</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>311</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>312</id> <edge_type>1</edge_type> <source_obj>306</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>313</id> <edge_type>1</edge_type> <source_obj>308</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>314</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>315</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>317</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>319</id> <edge_type>1</edge_type> <source_obj>318</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>321</id> <edge_type>1</edge_type> <source_obj>320</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>323</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>324</id> <edge_type>1</edge_type> <source_obj>318</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>325</id> <edge_type>1</edge_type> <source_obj>320</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>326</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>327</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>329</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>331</id> <edge_type>1</edge_type> <source_obj>330</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>333</id> <edge_type>1</edge_type> <source_obj>332</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>335</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_346"> <id>336</id> <edge_type>1</edge_type> <source_obj>330</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>337</id> <edge_type>1</edge_type> <source_obj>332</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>338</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>339</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>341</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>343</id> <edge_type>1</edge_type> <source_obj>342</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>345</id> <edge_type>1</edge_type> <source_obj>344</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>347</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>348</id> <edge_type>1</edge_type> <source_obj>342</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_355"> <id>349</id> <edge_type>1</edge_type> <source_obj>344</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_356"> <id>350</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_357"> <id>351</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_358"> <id>353</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_359"> <id>355</id> <edge_type>1</edge_type> <source_obj>354</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_360"> <id>357</id> <edge_type>1</edge_type> <source_obj>356</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_361"> <id>359</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_362"> <id>360</id> <edge_type>1</edge_type> <source_obj>354</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_363"> <id>361</id> <edge_type>1</edge_type> <source_obj>356</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_364"> <id>362</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_365"> <id>363</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_366"> <id>365</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_367"> <id>367</id> <edge_type>1</edge_type> <source_obj>366</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_368"> <id>369</id> <edge_type>1</edge_type> <source_obj>368</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_369"> <id>371</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_370"> <id>372</id> <edge_type>1</edge_type> <source_obj>366</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_371"> <id>373</id> <edge_type>1</edge_type> <source_obj>368</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_372"> <id>374</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_373"> <id>375</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_374"> <id>377</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_375"> <id>379</id> <edge_type>1</edge_type> <source_obj>378</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_376"> <id>381</id> <edge_type>1</edge_type> <source_obj>380</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_377"> <id>383</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_378"> <id>384</id> <edge_type>1</edge_type> <source_obj>378</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_379"> <id>385</id> <edge_type>1</edge_type> <source_obj>380</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_380"> <id>386</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_381"> <id>387</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_382"> <id>389</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_383"> <id>391</id> <edge_type>1</edge_type> <source_obj>390</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_384"> <id>393</id> <edge_type>1</edge_type> <source_obj>392</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_385"> <id>395</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_386"> <id>396</id> <edge_type>1</edge_type> <source_obj>390</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_387"> <id>397</id> <edge_type>1</edge_type> <source_obj>392</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_388"> <id>398</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_389"> <id>399</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_390"> <id>401</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_391"> <id>403</id> <edge_type>1</edge_type> <source_obj>402</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_392"> <id>405</id> <edge_type>1</edge_type> <source_obj>404</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_393"> <id>407</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_394"> <id>408</id> <edge_type>1</edge_type> <source_obj>402</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_395"> <id>409</id> <edge_type>1</edge_type> <source_obj>404</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_396"> <id>410</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_397"> <id>411</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_398"> <id>413</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_399"> <id>415</id> <edge_type>1</edge_type> <source_obj>414</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_400"> <id>417</id> <edge_type>1</edge_type> <source_obj>416</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_401"> <id>419</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_402"> <id>420</id> <edge_type>1</edge_type> <source_obj>414</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_403"> <id>421</id> <edge_type>1</edge_type> <source_obj>416</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_404"> <id>422</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_405"> <id>423</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_406"> <id>425</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_407"> <id>427</id> <edge_type>1</edge_type> <source_obj>426</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_408"> <id>429</id> <edge_type>1</edge_type> <source_obj>428</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_409"> <id>431</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_410"> <id>432</id> <edge_type>1</edge_type> <source_obj>426</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_411"> <id>433</id> <edge_type>1</edge_type> <source_obj>428</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_412"> <id>434</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_413"> <id>435</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_414"> <id>437</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_415"> <id>439</id> <edge_type>1</edge_type> <source_obj>438</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_416"> <id>441</id> <edge_type>1</edge_type> <source_obj>440</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_417"> <id>443</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_418"> <id>444</id> <edge_type>1</edge_type> <source_obj>438</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_419"> <id>445</id> <edge_type>1</edge_type> <source_obj>440</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_420"> <id>446</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_421"> <id>447</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_422"> <id>449</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_423"> <id>451</id> <edge_type>1</edge_type> <source_obj>450</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_424"> <id>453</id> <edge_type>1</edge_type> <source_obj>452</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_425"> <id>455</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_426"> <id>456</id> <edge_type>1</edge_type> <source_obj>450</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_427"> <id>457</id> <edge_type>1</edge_type> <source_obj>452</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_428"> <id>458</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_429"> <id>459</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_430"> <id>461</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_431"> <id>463</id> <edge_type>1</edge_type> <source_obj>462</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_432"> <id>465</id> <edge_type>1</edge_type> <source_obj>464</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_433"> <id>467</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_434"> <id>468</id> <edge_type>1</edge_type> <source_obj>462</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_435"> <id>469</id> <edge_type>1</edge_type> <source_obj>464</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_436"> <id>470</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_437"> <id>471</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_438"> <id>473</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_439"> <id>475</id> <edge_type>1</edge_type> <source_obj>474</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_440"> <id>477</id> <edge_type>1</edge_type> <source_obj>476</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_441"> <id>479</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_442"> <id>480</id> <edge_type>1</edge_type> <source_obj>474</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_443"> <id>481</id> <edge_type>1</edge_type> <source_obj>476</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_444"> <id>482</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_445"> <id>483</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_446"> <id>485</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_447"> <id>487</id> <edge_type>1</edge_type> <source_obj>486</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_448"> <id>489</id> <edge_type>1</edge_type> <source_obj>488</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_449"> <id>491</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_450"> <id>492</id> <edge_type>1</edge_type> <source_obj>486</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_451"> <id>493</id> <edge_type>1</edge_type> <source_obj>488</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_452"> <id>494</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_453"> <id>495</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_454"> <id>497</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_455"> <id>499</id> <edge_type>1</edge_type> <source_obj>498</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_456"> <id>501</id> <edge_type>1</edge_type> <source_obj>500</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_457"> <id>503</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_458"> <id>504</id> <edge_type>1</edge_type> <source_obj>498</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_459"> <id>505</id> <edge_type>1</edge_type> <source_obj>500</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_460"> <id>506</id> <edge_type>1</edge_type> <source_obj>112</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_461"> <id>507</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_462"> <id>509</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_463"> <id>511</id> <edge_type>1</edge_type> <source_obj>510</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_464"> <id>513</id> <edge_type>1</edge_type> <source_obj>512</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_465"> <id>515</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_466"> <id>516</id> <edge_type>1</edge_type> <source_obj>510</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_467"> <id>517</id> <edge_type>1</edge_type> <source_obj>512</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_468"> <id>518</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_469"> <id>519</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_470"> <id>521</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_471"> <id>523</id> <edge_type>1</edge_type> <source_obj>522</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_472"> <id>525</id> <edge_type>1</edge_type> <source_obj>524</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_473"> <id>527</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_474"> <id>528</id> <edge_type>1</edge_type> <source_obj>522</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_475"> <id>529</id> <edge_type>1</edge_type> <source_obj>524</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_476"> <id>530</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>119</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_477"> <id>531</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>119</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_478"> <id>533</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_479"> <id>535</id> <edge_type>1</edge_type> <source_obj>534</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_480"> <id>537</id> <edge_type>1</edge_type> <source_obj>536</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_481"> <id>539</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>121</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_482"> <id>540</id> <edge_type>1</edge_type> <source_obj>534</source_obj> <sink_obj>121</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_483"> <id>541</id> <edge_type>1</edge_type> <source_obj>536</source_obj> <sink_obj>121</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_484"> <id>542</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>122</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_485"> <id>543</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>122</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_486"> <id>545</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>123</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_487"> <id>547</id> <edge_type>1</edge_type> <source_obj>546</source_obj> <sink_obj>123</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_488"> <id>549</id> <edge_type>1</edge_type> <source_obj>548</source_obj> <sink_obj>123</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_489"> <id>551</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_490"> <id>552</id> <edge_type>1</edge_type> <source_obj>546</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_491"> <id>553</id> <edge_type>1</edge_type> <source_obj>548</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_492"> <id>554</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_493"> <id>555</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_494"> <id>557</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>126</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_495"> <id>559</id> <edge_type>1</edge_type> <source_obj>558</source_obj> <sink_obj>126</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_496"> <id>561</id> <edge_type>1</edge_type> <source_obj>560</source_obj> <sink_obj>126</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_497"> <id>563</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>127</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_498"> <id>564</id> <edge_type>1</edge_type> <source_obj>558</source_obj> <sink_obj>127</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_499"> <id>565</id> <edge_type>1</edge_type> <source_obj>560</source_obj> <sink_obj>127</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_500"> <id>566</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>128</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_501"> <id>567</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>128</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_502"> <id>569</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>129</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_503"> <id>571</id> <edge_type>1</edge_type> <source_obj>570</source_obj> <sink_obj>129</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_504"> <id>573</id> <edge_type>1</edge_type> <source_obj>572</source_obj> <sink_obj>129</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_505"> <id>575</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_506"> <id>576</id> <edge_type>1</edge_type> <source_obj>570</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_507"> <id>577</id> <edge_type>1</edge_type> <source_obj>572</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_508"> <id>578</id> <edge_type>1</edge_type> <source_obj>130</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_509"> <id>579</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_510"> <id>581</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_511"> <id>583</id> <edge_type>1</edge_type> <source_obj>582</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_512"> <id>585</id> <edge_type>1</edge_type> <source_obj>584</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_513"> <id>587</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_514"> <id>588</id> <edge_type>1</edge_type> <source_obj>582</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_515"> <id>589</id> <edge_type>1</edge_type> <source_obj>584</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_516"> <id>590</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_517"> <id>591</id> <edge_type>1</edge_type> <source_obj>132</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_518"> <id>593</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_519"> <id>595</id> <edge_type>1</edge_type> <source_obj>594</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_520"> <id>597</id> <edge_type>1</edge_type> <source_obj>596</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_521"> <id>599</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_522"> <id>600</id> <edge_type>1</edge_type> <source_obj>594</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_523"> <id>601</id> <edge_type>1</edge_type> <source_obj>596</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_524"> <id>602</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_525"> <id>603</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_526"> <id>605</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_527"> <id>607</id> <edge_type>1</edge_type> <source_obj>606</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_528"> <id>609</id> <edge_type>1</edge_type> <source_obj>608</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_529"> <id>611</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>139</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_530"> <id>612</id> <edge_type>1</edge_type> <source_obj>606</source_obj> <sink_obj>139</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_531"> <id>613</id> <edge_type>1</edge_type> <source_obj>608</source_obj> <sink_obj>139</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_532"> <id>614</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_533"> <id>615</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_534"> <id>616</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>141</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_535"> <id>617</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>141</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_536"> <id>618</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>142</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_537"> <id>619</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>142</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_538"> <id>620</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>143</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_539"> <id>621</id> <edge_type>1</edge_type> <source_obj>142</source_obj> <sink_obj>143</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_540"> <id>622</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>144</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_541"> <id>623</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>144</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_542"> <id>624</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>145</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_543"> <id>625</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>145</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_544"> <id>626</id> <edge_type>1</edge_type> <source_obj>144</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_545"> <id>627</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_546"> <id>628</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>147</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_547"> <id>629</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>147</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_548"> <id>630</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>148</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_549"> <id>631</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>148</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_550"> <id>632</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>149</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_551"> <id>633</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>149</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_552"> <id>634</id> <edge_type>1</edge_type> <source_obj>148</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_553"> <id>635</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_554"> <id>636</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>151</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_555"> <id>637</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>151</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_556"> <id>638</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>152</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_557"> <id>639</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>152</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_558"> <id>640</id> <edge_type>1</edge_type> <source_obj>151</source_obj> <sink_obj>153</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_559"> <id>641</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>153</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_560"> <id>642</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>154</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_561"> <id>643</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>154</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_562"> <id>644</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_563"> <id>645</id> <edge_type>1</edge_type> <source_obj>154</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_564"> <id>646</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>156</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_565"> <id>647</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>156</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_566"> <id>648</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>157</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_567"> <id>649</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>157</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_568"> <id>650</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_569"> <id>651</id> <edge_type>1</edge_type> <source_obj>157</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_570"> <id>652</id> <edge_type>1</edge_type> <source_obj>110</source_obj> <sink_obj>159</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_571"> <id>653</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>159</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_572"> <id>654</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>160</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_573"> <id>655</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>160</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_574"> <id>656</id> <edge_type>1</edge_type> <source_obj>159</source_obj> <sink_obj>161</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_575"> <id>657</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>161</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_576"> <id>658</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_577"> <id>659</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_578"> <id>660</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>163</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_579"> <id>661</id> <edge_type>1</edge_type> <source_obj>119</source_obj> <sink_obj>163</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_580"> <id>662</id> <edge_type>1</edge_type> <source_obj>128</source_obj> <sink_obj>164</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_581"> <id>663</id> <edge_type>1</edge_type> <source_obj>125</source_obj> <sink_obj>164</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_582"> <id>664</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_583"> <id>665</id> <edge_type>1</edge_type> <source_obj>164</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_584"> <id>666</id> <edge_type>1</edge_type> <source_obj>134</source_obj> <sink_obj>166</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_585"> <id>667</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>166</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_586"> <id>668</id> <edge_type>1</edge_type> <source_obj>140</source_obj> <sink_obj>167</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_587"> <id>669</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>167</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_588"> <id>670</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_589"> <id>671</id> <edge_type>1</edge_type> <source_obj>167</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_590"> <id>672</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>169</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_591"> <id>673</id> <edge_type>1</edge_type> <source_obj>168</source_obj> <sink_obj>169</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_592"> <id>674</id> <edge_type>1</edge_type> <source_obj>162</source_obj> <sink_obj>170</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_593"> <id>675</id> <edge_type>1</edge_type> <source_obj>169</source_obj> <sink_obj>170</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_594"> <id>676</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>171</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_595"> <id>677</id> <edge_type>1</edge_type> <source_obj>170</source_obj> <sink_obj>171</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_596"> <id>678</id> <edge_type>1</edge_type> <source_obj>171</source_obj> <sink_obj>172</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_597"> <id>679</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>172</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_598"> <id>680</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>174</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_599"> <id>681</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>174</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_600"> <id>682</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>175</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_601"> <id>839</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_602"> <id>840</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>178</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_603"> <id>841</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>176</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_604"> <id>842</id> <edge_type>2</edge_type> <source_obj>176</source_obj> <sink_obj>23</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_605"> <mId>1</mId> <mTag>matrixmul</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1038</mMinLatency> <mMaxLatency>1038</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_606"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>16</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_607"> <mId>3</mId> <mTag>row_col</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>23</item> <item>176</item> </basic_blocks> <mII>1</mII> <mDepth>14</mDepth> <mMinTripCount>1024</mMinTripCount> <mMaxTripCount>1024</mMaxTripCount> <mMinLatency>1036</mMinLatency> <mMaxLatency>1036</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_608"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>178</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>154</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>15</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>43</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>46</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>48</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>60</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>63</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>66</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>69</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>72</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>75</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>78</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>81</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>84</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>86</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>87</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>90</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>93</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>96</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>99</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>102</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>105</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>108</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>109</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>110</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>111</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>112</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>113</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>114</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>115</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>116</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>117</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>118</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>119</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>120</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>121</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>122</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>123</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>124</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>125</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>126</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>127</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>128</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>129</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>130</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>131</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>132</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>133</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>134</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>135</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>136</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>137</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>138</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>139</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>140</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>141</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>142</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>143</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>144</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>145</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>146</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>147</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>148</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>149</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>150</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>151</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>152</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>153</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>154</first> <second> <first>12</first> <second>0</second> </second> </item> <item> <first>155</first> <second> <first>12</first> <second>0</second> </second> </item> <item> <first>156</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>157</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>158</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>159</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>160</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>161</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>162</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>163</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>164</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>165</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>166</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>167</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>168</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>169</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>170</first> <second> <first>13</first> <second>0</second> </second> </item> <item> <first>171</first> <second> <first>13</first> <second>0</second> </second> </item> <item> <first>172</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>174</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>175</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>177</first> <second> <first>15</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>16</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>176</first> <second> <first>1</first> <second>14</second> </second> </item> <item> <first>178</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="1" version="0" object_id="_609"> <region_name>row_col</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>23</item> <item>176</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>14</pipe_depth> </item> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- C96008B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- MISCELLANEOUS CHECKS ON THE PRE-DEFINED FUNCTIONS IN THE PACKAGE -- CALENDAR. SUBTESTS ARE: -- (A) THE FUNCTION TIME_OF() MUST ADVANCE DAY WHEN CALLED WITH THE -- SECONDS ARGUMENT HAVING THE VALUE 86_400. -- CPP 8/16/84 -- JRK 12/4/84 WITH CALENDAR; USE CALENDAR; WITH REPORT; USE REPORT; PROCEDURE C96008B IS NOW1, NOW2 : TIME; YR : YEAR_NUMBER; MO : MONTH_NUMBER; DY : DAY_NUMBER; SEC : DAY_DURATION; BEGIN TEST ("C96008B", "CHECK THAT TIME_OF() ADVANCES DAY"); NOW1 := TIME_OF (1984, 8, 13, 86_400.0); NOW2 := TIME_OF (1984, 8, 14, 0.0); IF NOW1 /= NOW2 THEN FAILED ("TIME_OF DID NOT CONVERT 86_400 SECONDS TO A DAY"); END IF; SPLIT (NOW2, YR, MO, DY, SEC); IF DY /= 14 THEN FAILED ("DAY OF NOW2 INCORRECT"); END IF; IF SEC /= 0.0 THEN FAILED ("SECONDS OF NOW2 INCORRECT"); END IF; SPLIT (NOW1, YR, MO, DY, SEC); IF DY /= 14 OR SEC /= 0.0 OR DAY (NOW1) /= 14 OR SECONDS (NOW1) /= 0.0 THEN FAILED ("TIME_OF DID NOT ADVANCE DAY"); END IF; RESULT; END C96008B;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" package GL_Test.Display_Backend is -- abstraction layer for tests so they can run on both GLFW 2 and 3. -- only exposes most basic functionality, not intended for usage outside -- tests. procedure Init (Debugging : Boolean := False); procedure Open_Window (Width, Height : Natural; Depth_Bits : Natural := 0); procedure Swap_Buffers; procedure Poll_Events; procedure Wait_For_Events; procedure Set_Window_Title (Value : String); function Escape_Pressed return Boolean; function Window_Opened return Boolean; procedure Close_Window; procedure Shutdown; procedure Configure_Minimum_OpenGL_Version (Major, Minor : Natural); end GL_Test.Display_Backend;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- A D A . I N T E R R U P T S . N A M E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1998-2005, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNARL; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the VxWorks version of this package with System.OS_Interface; package Ada.Interrupts.Names is subtype Hardware_Interrupts is Interrupt_ID range Interrupt_ID'First .. System.OS_Interface.Max_HW_Interrupt; -- Range of values that can be used for hardware interrupts end Ada.Interrupts.Names;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E R R O U T -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2016, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Warning: Error messages can be generated during Gigi processing by direct -- calls to error message routines, so it is essential that the processing -- in this body be consistent with the requirements for the Gigi processing -- environment, and that in particular, no disallowed table expansion is -- allowed to occur. with Atree; use Atree; with Casing; use Casing; with Csets; use Csets; with Debug; use Debug; with Einfo; use Einfo; with Erroutc; use Erroutc; with Fname; use Fname; with Gnatvsn; use Gnatvsn; with Lib; use Lib; with Opt; use Opt; with Nlists; use Nlists; with Output; use Output; with Scans; use Scans; with Sem_Aux; use Sem_Aux; with Sinput; use Sinput; with Sinfo; use Sinfo; with Snames; use Snames; with Stand; use Stand; with Stylesw; use Stylesw; with Uname; use Uname; package body Errout is Errors_Must_Be_Ignored : Boolean := False; -- Set to True by procedure Set_Ignore_Errors (True), when calls to error -- message procedures should be ignored (when parsing irrelevant text in -- sources being preprocessed). Finalize_Called : Boolean := False; -- Set True if the Finalize routine has been called Record_Compilation_Errors : Boolean := False; -- Record that a compilation error was witnessed during a given phase of -- analysis for gnat2why. This is needed as Warning_Mode is modified twice -- in gnat2why, hence Erroutc.Compilation_Errors can only return a suitable -- value for each phase of analysis separately. This is updated at each -- call to Compilation_Errors. Warn_On_Instance : Boolean; -- Flag set true for warning message to be posted on instance ------------------------------------ -- Table of Non-Instance Messages -- ------------------------------------ -- This table contains an entry for every error message processed by the -- Error_Msg routine that is not posted on generic (or inlined) instance. -- As explained in further detail in the Error_Msg procedure body, this -- table is used to avoid posting redundant messages on instances. type NIM_Record is record Msg : String_Ptr; Loc : Source_Ptr; end record; -- Type used to store text and location of one message package Non_Instance_Msgs is new Table.Table ( Table_Component_Type => NIM_Record, Table_Index_Type => Int, Table_Low_Bound => 1, Table_Initial => 100, Table_Increment => 100, Table_Name => "Non_Instance_Msgs"); ----------------------- -- Local Subprograms -- ----------------------- procedure Error_Msg_Internal (Msg : String; Sptr : Source_Ptr; Optr : Source_Ptr; Msg_Cont : Boolean); -- This is the low level routine used to post messages after dealing with -- the issue of messages placed on instantiations (which get broken up -- into separate calls in Error_Msg). Sptr is the location on which the -- flag will be placed in the output. In the case where the flag is on -- the template, this points directly to the template, not to one of the -- instantiation copies of the template. Optr is the original location -- used to flag the error, and this may indeed point to an instantiation -- copy. So typically we can see Optr pointing to the template location -- in an instantiation copy when Sptr points to the source location of -- the actual instantiation (i.e the line with the new). Msg_Cont is -- set true if this is a continuation message. function No_Warnings (N : Node_Or_Entity_Id) return Boolean; -- Determines if warnings should be suppressed for the given node function OK_Node (N : Node_Id) return Boolean; -- Determines if a node is an OK node to place an error message on (return -- True) or if the error message should be suppressed (return False). A -- message is suppressed if the node already has an error posted on it, -- or if it refers to an Etype that has an error posted on it, or if -- it references an Entity that has an error posted on it. procedure Output_Source_Line (L : Physical_Line_Number; Sfile : Source_File_Index; Errs : Boolean); -- Outputs text of source line L, in file S, together with preceding line -- number, as described above for Output_Line_Number. The Errs parameter -- indicates if there are errors attached to the line, which forces -- listing on, even in the presence of pragma List (Off). procedure Set_Msg_Insertion_Column; -- Handle column number insertion (@ insertion character) procedure Set_Msg_Insertion_Node; -- Handle node (name from node) insertion (& insertion character) procedure Set_Msg_Insertion_Type_Reference (Flag : Source_Ptr); -- Handle type reference (right brace insertion character). Flag is the -- location of the flag, which is provided for the internal call to -- Set_Msg_Insertion_Line_Number, procedure Set_Msg_Insertion_Unit_Name (Suffix : Boolean := True); -- Handle unit name insertion ($ insertion character). Depending on Boolean -- parameter Suffix, (spec) or (body) is appended after the unit name. procedure Set_Msg_Node (Node : Node_Id); -- Add the sequence of characters for the name associated with the given -- node to the current message. For N_Designator, N_Selected_Component, -- N_Defining_Program_Unit_Name, and N_Expanded_Name, the Prefix is -- included as well. procedure Set_Msg_Text (Text : String; Flag : Source_Ptr); -- Add a sequence of characters to the current message. The characters may -- be one of the special insertion characters (see documentation in spec). -- Flag is the location at which the error is to be posted, which is used -- to determine whether or not the # insertion needs a file name. The -- variables Msg_Buffer are set on return Msglen. procedure Set_Posted (N : Node_Id); -- Sets the Error_Posted flag on the given node, and all its parents that -- are subexpressions and then on the parent non-subexpression construct -- that contains the original expression. If that parent is a named -- association, the flag is further propagated to its parent. This is done -- in order to guard against cascaded errors. Note that this call has an -- effect for a serious error only. procedure Set_Qualification (N : Nat; E : Entity_Id); -- Outputs up to N levels of qualification for the given entity. For -- example, the entity A.B.C.D will output B.C. if N = 2. function Special_Msg_Delete (Msg : String; N : Node_Or_Entity_Id; E : Node_Or_Entity_Id) return Boolean; -- This function is called from Error_Msg_NEL, passing the message Msg, -- node N on which the error is to be posted, and the entity or node E -- to be used for an & insertion in the message if any. The job of this -- procedure is to test for certain cascaded messages that we would like -- to suppress. If the message is to be suppressed then we return True. -- If the message should be generated (the normal case) False is returned. procedure Unwind_Internal_Type (Ent : in out Entity_Id); -- This procedure is given an entity id for an internal type, i.e. a type -- with an internal name. It unwinds the type to try to get to something -- reasonably printable, generating prefixes like "subtype of", "access -- to", etc along the way in the buffer. The value in Ent on return is the -- final name to be printed. Hopefully this is not an internal name, but in -- some internal name cases, it is an internal name, and has to be printed -- anyway (although in this case the message has been killed if possible). -- The global variable Class_Flag is set to True if the resulting entity -- should have 'Class appended to its name (see Add_Class procedure), and -- is otherwise unchanged. function Warn_Insertion return String; -- This is called for warning messages only (so Warning_Msg_Char is set) -- and returns a corresponding string to use at the beginning of generated -- auxiliary messages, such as "in instantiation at ...". -- 'a' .. 'z' returns "?x?" -- 'A' .. 'Z' returns "?X?" -- '*' returns "?*?" -- '$' returns "?$?info: " -- ' ' returns " " -- No other settings are valid ----------------------- -- Change_Error_Text -- ----------------------- procedure Change_Error_Text (Error_Id : Error_Msg_Id; New_Msg : String) is Save_Next : Error_Msg_Id; Err_Id : Error_Msg_Id := Error_Id; begin Set_Msg_Text (New_Msg, Errors.Table (Error_Id).Sptr); Errors.Table (Error_Id).Text := new String'(Msg_Buffer (1 .. Msglen)); -- If in immediate error message mode, output modified error message now -- This is just a bit tricky, because we want to output just a single -- message, and the messages we modified is already linked in. We solve -- this by temporarily resetting its forward pointer to empty. if Debug_Flag_OO then Save_Next := Errors.Table (Error_Id).Next; Errors.Table (Error_Id).Next := No_Error_Msg; Write_Eol; Output_Source_Line (Errors.Table (Error_Id).Line, Errors.Table (Error_Id).Sfile, True); Output_Error_Msgs (Err_Id); Errors.Table (Error_Id).Next := Save_Next; end if; end Change_Error_Text; ------------------------ -- Compilation_Errors -- ------------------------ function Compilation_Errors return Boolean is begin if not Finalize_Called then raise Program_Error; -- Record that a compilation error was witnessed during a given phase of -- analysis for gnat2why. This is needed as Warning_Mode is modified -- twice in gnat2why, hence Erroutc.Compilation_Errors can only return a -- suitable value for each phase of analysis separately. else Record_Compilation_Errors := Record_Compilation_Errors or else Erroutc.Compilation_Errors; return Record_Compilation_Errors; end if; end Compilation_Errors; -------------------------------------- -- Delete_Warning_And_Continuations -- -------------------------------------- procedure Delete_Warning_And_Continuations (Msg : Error_Msg_Id) is Id : Error_Msg_Id; begin pragma Assert (not Errors.Table (Msg).Msg_Cont); Id := Msg; loop declare M : Error_Msg_Object renames Errors.Table (Id); begin if not M.Deleted then M.Deleted := True; Warnings_Detected := Warnings_Detected - 1; if M.Info then Info_Messages := Info_Messages - 1; end if; if M.Warn_Err then Warnings_Treated_As_Errors := Warnings_Treated_As_Errors - 1; end if; end if; Id := M.Next; exit when Id = No_Error_Msg; exit when not Errors.Table (Id).Msg_Cont; end; end loop; end Delete_Warning_And_Continuations; --------------- -- Error_Msg -- --------------- -- Error_Msg posts a flag at the given location, except that if the -- Flag_Location points within a generic template and corresponds to an -- instantiation of this generic template, then the actual message will be -- posted on the generic instantiation, along with additional messages -- referencing the generic declaration. procedure Error_Msg (Msg : String; Flag_Location : Source_Ptr) is Sindex : Source_File_Index; -- Source index for flag location Orig_Loc : Source_Ptr; -- Original location of Flag_Location (i.e. location in original -- template in instantiation case, otherwise unchanged). begin -- It is a fatal error to issue an error message when scanning from the -- internal source buffer (see Sinput for further documentation) pragma Assert (Sinput.Source /= Internal_Source_Ptr); -- Return if all errors are to be ignored if Errors_Must_Be_Ignored then return; end if; -- If we already have messages, and we are trying to place a message at -- No_Location, then just ignore the attempt since we assume that what -- is happening is some cascaded junk. Note that this is safe in the -- sense that proceeding will surely bomb. We will also bomb if the flag -- location is No_Location and we don't have any messages so far, but -- that is a real bug and a legitimate bomb, so we go ahead. if Flag_Location = No_Location and then Total_Errors_Detected > 0 then return; end if; -- Start of processing for new message Sindex := Get_Source_File_Index (Flag_Location); Prescan_Message (Msg); Orig_Loc := Original_Location (Flag_Location); -- If the current location is in an instantiation, the issue arises of -- whether to post the message on the template or the instantiation. -- The way we decide is to see if we have posted the same message on -- the template when we compiled the template (the template is always -- compiled before any instantiations). For this purpose, we use a -- separate table of messages. The reason we do this is twofold: -- First, the messages can get changed by various processing -- including the insertion of tokens etc, making it hard to -- do the comparison. -- Second, we will suppress a warning on a template if it is not in -- the current extended source unit. That's reasonable and means we -- don't want the warning on the instantiation here either, but it -- does mean that the main error table would not in any case include -- the message. if Flag_Location = Orig_Loc then Non_Instance_Msgs.Append ((new String'(Msg), Flag_Location)); Warn_On_Instance := False; -- Here we have an instance message else -- Delete if debug flag off, and this message duplicates a message -- already posted on the corresponding template if not Debug_Flag_GG then for J in Non_Instance_Msgs.First .. Non_Instance_Msgs.Last loop if Msg = Non_Instance_Msgs.Table (J).Msg.all and then Non_Instance_Msgs.Table (J).Loc = Orig_Loc then return; end if; end loop; end if; -- No duplicate, so error/warning will be posted on instance Warn_On_Instance := Is_Warning_Msg; end if; -- Ignore warning message that is suppressed for this location. Note -- that style checks are not considered warning messages for this -- purpose. if Is_Warning_Msg and then Warnings_Suppressed (Orig_Loc) /= No_String then return; -- For style messages, check too many messages so far elsif Is_Style_Msg and then Maximum_Messages /= 0 and then Warnings_Detected >= Maximum_Messages then return; end if; -- The idea at this stage is that we have two kinds of messages -- First, we have those messages that are to be placed as requested at -- Flag_Location. This includes messages that have nothing to do with -- generics, and also messages placed on generic templates that reflect -- an error in the template itself. For such messages we simply call -- Error_Msg_Internal to place the message in the requested location. if Instantiation (Sindex) = No_Location then Error_Msg_Internal (Msg, Flag_Location, Flag_Location, False); return; end if; -- If we are trying to flag an error in an instantiation, we may have -- a generic contract violation. What we generate in this case is: -- instantiation error at ... -- original error message -- or -- warning: in instantiation at -- warning: original warning message -- All these messages are posted at the location of the top level -- instantiation. If there are nested instantiations, then the -- instantiation error message can be repeated, pointing to each -- of the relevant instantiations. -- Note: the instantiation mechanism is also shared for inlining of -- subprogram bodies when front end inlining is done. In this case the -- messages have the form: -- in inlined body at ... -- original error message -- or -- warning: in inlined body at -- warning: original warning message -- OK, here we have an instantiation error, and we need to generate the -- error on the instantiation, rather than on the template. declare Actual_Error_Loc : Source_Ptr; -- Location of outer level instantiation in instantiation case, or -- just a copy of Flag_Location in the normal case. This is the -- location where all error messages will actually be posted. Save_Error_Msg_Sloc : constant Source_Ptr := Error_Msg_Sloc; -- Save possible location set for caller's message. We need to use -- Error_Msg_Sloc for the location of the instantiation error but we -- have to preserve a possible original value. X : Source_File_Index; Msg_Cont_Status : Boolean; -- Used to label continuation lines in instantiation case with -- proper Msg_Cont status. begin -- Loop to find highest level instantiation, where all error -- messages will be placed. X := Sindex; loop Actual_Error_Loc := Instantiation (X); X := Get_Source_File_Index (Actual_Error_Loc); exit when Instantiation (X) = No_Location; end loop; -- Since we are generating the messages at the instantiation point in -- any case, we do not want the references to the bad lines in the -- instance to be annotated with the location of the instantiation. Suppress_Instance_Location := True; Msg_Cont_Status := False; -- Loop to generate instantiation messages Error_Msg_Sloc := Flag_Location; X := Get_Source_File_Index (Flag_Location); while Instantiation (X) /= No_Location loop -- Suppress instantiation message on continuation lines if Msg (Msg'First) /= '\' then -- Case of inlined body if Inlined_Body (X) then if Is_Warning_Msg or Is_Style_Msg then Error_Msg_Internal (Warn_Insertion & "in inlined body #", Actual_Error_Loc, Flag_Location, Msg_Cont_Status); else Error_Msg_Internal ("error in inlined body #", Actual_Error_Loc, Flag_Location, Msg_Cont_Status); end if; -- Case of generic instantiation else if Is_Warning_Msg or else Is_Style_Msg then Error_Msg_Internal (Warn_Insertion & "in instantiation #", Actual_Error_Loc, Flag_Location, Msg_Cont_Status); else Error_Msg_Internal ("instantiation error #", Actual_Error_Loc, Flag_Location, Msg_Cont_Status); end if; end if; end if; Error_Msg_Sloc := Instantiation (X); X := Get_Source_File_Index (Error_Msg_Sloc); Msg_Cont_Status := True; end loop; Suppress_Instance_Location := False; Error_Msg_Sloc := Save_Error_Msg_Sloc; -- Here we output the original message on the outer instantiation Error_Msg_Internal (Msg, Actual_Error_Loc, Flag_Location, Msg_Cont_Status); end; end Error_Msg; -------------------------------- -- Error_Msg_Ada_2012_Feature -- -------------------------------- procedure Error_Msg_Ada_2012_Feature (Feature : String; Loc : Source_Ptr) is begin if Ada_Version < Ada_2012 then Error_Msg (Feature & " is an Ada 2012 feature", Loc); if No (Ada_Version_Pragma) then Error_Msg ("\unit must be compiled with -gnat2012 switch", Loc); else Error_Msg_Sloc := Sloc (Ada_Version_Pragma); Error_Msg ("\incompatible with Ada version set#", Loc); end if; end if; end Error_Msg_Ada_2012_Feature; ------------------ -- Error_Msg_AP -- ------------------ procedure Error_Msg_AP (Msg : String) is S1 : Source_Ptr; C : Character; begin -- If we had saved the Scan_Ptr value after scanning the previous -- token, then we would have exactly the right place for putting -- the flag immediately at hand. However, that would add at least -- two instructions to a Scan call *just* to service the possibility -- of an Error_Msg_AP call. So instead we reconstruct that value. -- We have two possibilities, start with Prev_Token_Ptr and skip over -- the current token, which is made harder by the possibility that this -- token may be in error, or start with Token_Ptr and work backwards. -- We used to take the second approach, but it's hard because of -- comments, and harder still because things that look like comments -- can appear inside strings. So now we take the first approach. -- Note: in the case where there is no previous token, Prev_Token_Ptr -- is set to Source_First, which is a reasonable position for the -- error flag in this situation. S1 := Prev_Token_Ptr; C := Source (S1); -- If the previous token is a string literal, we need a special approach -- since there may be white space inside the literal and we don't want -- to stop on that white space. -- Note: since this is an error recovery issue anyway, it is not worth -- worrying about special UTF_32 line terminator characters here. if Prev_Token = Tok_String_Literal then loop S1 := S1 + 1; if Source (S1) = C then S1 := S1 + 1; exit when Source (S1) /= C; elsif Source (S1) in Line_Terminator then exit; end if; end loop; -- Character literal also needs special handling elsif Prev_Token = Tok_Char_Literal then S1 := S1 + 3; -- Otherwise we search forward for the end of the current token, marked -- by a line terminator, white space, a comment symbol or if we bump -- into the following token (i.e. the current token). -- Again, it is not worth worrying about UTF_32 special line terminator -- characters in this context, since this is only for error recovery. else while Source (S1) not in Line_Terminator and then Source (S1) /= ' ' and then Source (S1) /= ASCII.HT and then (Source (S1) /= '-' or else Source (S1 + 1) /= '-') and then S1 /= Token_Ptr loop S1 := S1 + 1; end loop; end if; -- S1 is now set to the location for the flag Error_Msg (Msg, S1); end Error_Msg_AP; ------------------ -- Error_Msg_BC -- ------------------ procedure Error_Msg_BC (Msg : String) is begin -- If we are at end of file, post the flag after the previous token if Token = Tok_EOF then Error_Msg_AP (Msg); -- If we are at start of file, post the flag at the current token elsif Token_Ptr = Source_First (Current_Source_File) then Error_Msg_SC (Msg); -- If the character before the current token is a space or a horizontal -- tab, then we place the flag on this character (in the case of a tab -- we would really like to place it in the "last" character of the tab -- space, but that it too much trouble to worry about). elsif Source (Token_Ptr - 1) = ' ' or else Source (Token_Ptr - 1) = ASCII.HT then Error_Msg (Msg, Token_Ptr - 1); -- If there is no space or tab before the current token, then there is -- no room to place the flag before the token, so we place it on the -- token instead (this happens for example at the start of a line). else Error_Msg (Msg, Token_Ptr); end if; end Error_Msg_BC; ------------------- -- Error_Msg_CRT -- ------------------- procedure Error_Msg_CRT (Feature : String; N : Node_Id) is CNRT : constant String := " not allowed in no run time mode"; CCRT : constant String := " not supported by configuration>"; S : String (1 .. Feature'Length + 1 + CCRT'Length); L : Natural; begin S (1) := '|'; S (2 .. Feature'Length + 1) := Feature; L := Feature'Length + 2; if No_Run_Time_Mode then S (L .. L + CNRT'Length - 1) := CNRT; L := L + CNRT'Length - 1; else pragma Assert (Configurable_Run_Time_Mode); S (L .. L + CCRT'Length - 1) := CCRT; L := L + CCRT'Length - 1; end if; Error_Msg_N (S (1 .. L), N); Configurable_Run_Time_Violations := Configurable_Run_Time_Violations + 1; end Error_Msg_CRT; ------------------ -- Error_Msg_PT -- ------------------ procedure Error_Msg_PT (E : Entity_Id; Iface_Prim : Entity_Id) is begin Error_Msg_N ("illegal overriding of subprogram inherited from interface", E); Error_Msg_Sloc := Sloc (Iface_Prim); if Ekind (E) = E_Function then Error_Msg_N ("\first formal of & declared # must be of mode `IN` " & "or access-to-constant", E); else Error_Msg_N ("\first formal of & declared # must be of mode `OUT`, `IN OUT` " & "or access-to-variable", E); end if; end Error_Msg_PT; ----------------- -- Error_Msg_F -- ----------------- procedure Error_Msg_F (Msg : String; N : Node_Id) is begin Error_Msg_NEL (Msg, N, N, Sloc (First_Node (N))); end Error_Msg_F; ------------------ -- Error_Msg_FE -- ------------------ procedure Error_Msg_FE (Msg : String; N : Node_Id; E : Node_Or_Entity_Id) is begin Error_Msg_NEL (Msg, N, E, Sloc (First_Node (N))); end Error_Msg_FE; ------------------------ -- Error_Msg_Internal -- ------------------------ procedure Error_Msg_Internal (Msg : String; Sptr : Source_Ptr; Optr : Source_Ptr; Msg_Cont : Boolean) is Next_Msg : Error_Msg_Id; -- Pointer to next message at insertion point Prev_Msg : Error_Msg_Id; -- Pointer to previous message at insertion point Temp_Msg : Error_Msg_Id; Warn_Err : Boolean; -- Set if warning to be treated as error procedure Handle_Serious_Error; -- Internal procedure to do all error message handling for a serious -- error message, other than bumping the error counts and arranging -- for the message to be output. -------------------------- -- Handle_Serious_Error -- -------------------------- procedure Handle_Serious_Error is begin -- Turn off code generation if not done already if Operating_Mode = Generate_Code then Operating_Mode := Check_Semantics; Expander_Active := False; end if; -- Set the fatal error flag in the unit table unless we are in -- Try_Semantics mode (in which case we set ignored mode if not -- currently set. This stops the semantics from being performed -- if we find a serious error. This is skipped if we are currently -- dealing with the configuration pragma file. if Current_Source_Unit /= No_Unit then declare U : constant Unit_Number_Type := Get_Source_Unit (Sptr); begin if Try_Semantics then if Fatal_Error (U) = None then Set_Fatal_Error (U, Error_Ignored); end if; else Set_Fatal_Error (U, Error_Detected); end if; end; end if; end Handle_Serious_Error; -- Start of processing for Error_Msg_Internal begin if Raise_Exception_On_Error /= 0 then raise Error_Msg_Exception; end if; Continuation := Msg_Cont; Continuation_New_Line := False; Suppress_Message := False; Kill_Message := False; Set_Msg_Text (Msg, Sptr); -- Kill continuation if parent message killed if Continuation and Last_Killed then return; end if; -- Return without doing anything if message is suppressed if Suppress_Message and then not All_Errors_Mode and then not Is_Warning_Msg and then not Is_Unconditional_Msg then if not Continuation then Last_Killed := True; end if; return; end if; -- Return without doing anything if message is killed and this is not -- the first error message. The philosophy is that if we get a weird -- error message and we already have had a message, then we hope the -- weird message is a junk cascaded message if Kill_Message and then not All_Errors_Mode and then Total_Errors_Detected /= 0 then if not Continuation then Last_Killed := True; end if; return; end if; -- Special check for warning message to see if it should be output if Is_Warning_Msg then -- Immediate return if warning message and warnings are suppressed if Warnings_Suppressed (Optr) /= No_String or else Warnings_Suppressed (Sptr) /= No_String then Cur_Msg := No_Error_Msg; return; end if; -- If the flag location is in the main extended source unit then for -- sure we want the warning since it definitely belongs if In_Extended_Main_Source_Unit (Sptr) then null; -- If the main unit has not been read yet. the warning must be on -- a configuration file: gnat.adc or user-defined. This means we -- are not parsing the main unit yet, so skip following checks. elsif No (Cunit (Main_Unit)) then null; -- If the flag location is not in the main extended source unit, then -- we want to eliminate the warning, unless it is in the extended -- main code unit and we want warnings on the instance. elsif In_Extended_Main_Code_Unit (Sptr) and then Warn_On_Instance then null; -- Keep warning if debug flag G set elsif Debug_Flag_GG then null; -- Keep warning if message text contains !! elsif Has_Double_Exclam then null; -- Here is where we delete a warning from a with'ed unit else Cur_Msg := No_Error_Msg; if not Continuation then Last_Killed := True; end if; return; end if; end if; -- If message is to be ignored in special ignore message mode, this is -- where we do this special processing, bypassing message output. if Ignore_Errors_Enable > 0 then if Is_Serious_Error then Handle_Serious_Error; end if; return; end if; -- If error message line length set, and this is a continuation message -- then all we do is to append the text to the text of the last message -- with a comma space separator (eliminating a possible (style) or -- info prefix). if Error_Msg_Line_Length /= 0 and then Continuation then Cur_Msg := Errors.Last; declare Oldm : String_Ptr := Errors.Table (Cur_Msg).Text; Newm : String (1 .. Oldm'Last + 2 + Msglen); Newl : Natural; M : Natural; begin -- First copy old message to new one and free it Newm (Oldm'Range) := Oldm.all; Newl := Oldm'Length; Free (Oldm); -- Remove (style) or info: at start of message if Msglen > 8 and then Msg_Buffer (1 .. 8) = "(style) " then M := 9; elsif Msglen > 6 and then Msg_Buffer (1 .. 6) = "info: " then M := 7; else M := 1; end if; -- Now deal with separation between messages. Normally this is -- simply comma space, but there are some special cases. -- If continuation new line, then put actual NL character in msg if Continuation_New_Line then Newl := Newl + 1; Newm (Newl) := ASCII.LF; -- If continuation message is enclosed in parentheses, then -- special treatment (don't need a comma, and we want to combine -- successive parenthetical remarks into a single one with -- separating commas). elsif Msg_Buffer (M) = '(' and then Msg_Buffer (Msglen) = ')' then -- Case where existing message ends in right paren, remove -- and separate parenthetical remarks with a comma. if Newm (Newl) = ')' then Newm (Newl) := ','; Msg_Buffer (M) := ' '; -- Case where we are adding new parenthetical comment else Newl := Newl + 1; Newm (Newl) := ' '; end if; -- Case where continuation not in parens and no new line else Newm (Newl + 1 .. Newl + 2) := ", "; Newl := Newl + 2; end if; -- Append new message Newm (Newl + 1 .. Newl + Msglen - M + 1) := Msg_Buffer (M .. Msglen); Newl := Newl + Msglen - M + 1; Errors.Table (Cur_Msg).Text := new String'(Newm (1 .. Newl)); -- Update warning msg flag and message doc char if needed if Is_Warning_Msg then if not Errors.Table (Cur_Msg).Warn then Errors.Table (Cur_Msg).Warn := True; Errors.Table (Cur_Msg).Warn_Chr := Warning_Msg_Char; elsif Warning_Msg_Char /= ' ' then Errors.Table (Cur_Msg).Warn_Chr := Warning_Msg_Char; end if; end if; end; return; end if; -- Here we build a new error object Errors.Append ((Text => new String'(Msg_Buffer (1 .. Msglen)), Next => No_Error_Msg, Prev => No_Error_Msg, Sptr => Sptr, Optr => Optr, Sfile => Get_Source_File_Index (Sptr), Line => Get_Physical_Line_Number (Sptr), Col => Get_Column_Number (Sptr), Warn => Is_Warning_Msg, Info => Is_Info_Msg, Check => Is_Check_Msg, Warn_Err => False, -- reset below Warn_Chr => Warning_Msg_Char, Style => Is_Style_Msg, Serious => Is_Serious_Error, Uncond => Is_Unconditional_Msg, Msg_Cont => Continuation, Deleted => False)); Cur_Msg := Errors.Last; -- Test if warning to be treated as error Warn_Err := Is_Warning_Msg and then (Warning_Treated_As_Error (Msg_Buffer (1 .. Msglen)) or else Warning_Treated_As_Error (Get_Warning_Tag (Cur_Msg))); -- Propagate Warn_Err to this message and preceding continuations for J in reverse 1 .. Errors.Last loop Errors.Table (J).Warn_Err := Warn_Err; exit when not Errors.Table (J).Msg_Cont; end loop; -- If immediate errors mode set, output error message now. Also output -- now if the -d1 debug flag is set (so node number message comes out -- just before actual error message) if Debug_Flag_OO or else Debug_Flag_1 then Write_Eol; Output_Source_Line (Errors.Table (Cur_Msg).Line, Errors.Table (Cur_Msg).Sfile, True); Temp_Msg := Cur_Msg; Output_Error_Msgs (Temp_Msg); -- If not in immediate errors mode, then we insert the message in the -- error chain for later output by Finalize. The messages are sorted -- first by unit (main unit comes first), and within a unit by source -- location (earlier flag location first in the chain). else -- First a quick check, does this belong at the very end of the chain -- of error messages. This saves a lot of time in the normal case if -- there are lots of messages. if Last_Error_Msg /= No_Error_Msg and then Errors.Table (Cur_Msg).Sfile = Errors.Table (Last_Error_Msg).Sfile and then (Sptr > Errors.Table (Last_Error_Msg).Sptr or else (Sptr = Errors.Table (Last_Error_Msg).Sptr and then Optr > Errors.Table (Last_Error_Msg).Optr)) then Prev_Msg := Last_Error_Msg; Next_Msg := No_Error_Msg; -- Otherwise do a full sequential search for the insertion point else Prev_Msg := No_Error_Msg; Next_Msg := First_Error_Msg; while Next_Msg /= No_Error_Msg loop exit when Errors.Table (Cur_Msg).Sfile < Errors.Table (Next_Msg).Sfile; if Errors.Table (Cur_Msg).Sfile = Errors.Table (Next_Msg).Sfile then exit when Sptr < Errors.Table (Next_Msg).Sptr or else (Sptr = Errors.Table (Next_Msg).Sptr and then Optr < Errors.Table (Next_Msg).Optr); end if; Prev_Msg := Next_Msg; Next_Msg := Errors.Table (Next_Msg).Next; end loop; end if; -- Now we insert the new message in the error chain. -- The possible insertion point for the new message is after Prev_Msg -- and before Next_Msg. However, this is where we do a special check -- for redundant parsing messages, defined as messages posted on the -- same line. The idea here is that probably such messages are junk -- from the parser recovering. In full errors mode, we don't do this -- deletion, but otherwise such messages are discarded at this stage. if Prev_Msg /= No_Error_Msg and then Errors.Table (Prev_Msg).Line = Errors.Table (Cur_Msg).Line and then Errors.Table (Prev_Msg).Sfile = Errors.Table (Cur_Msg).Sfile and then Compiler_State = Parsing and then not All_Errors_Mode then -- Don't delete unconditional messages and at this stage, don't -- delete continuation lines; we attempted to delete those earlier -- if the parent message was deleted. if not Errors.Table (Cur_Msg).Uncond and then not Continuation then -- Don't delete if prev msg is warning and new msg is an error. -- This is because we don't want a real error masked by a -- warning. In all other cases (that is parse errors for the -- same line that are not unconditional) we do delete the -- message. This helps to avoid junk extra messages from -- cascaded parsing errors if not (Errors.Table (Prev_Msg).Warn or else Errors.Table (Prev_Msg).Style) or else (Errors.Table (Cur_Msg).Warn or else Errors.Table (Cur_Msg).Style) then -- All tests passed, delete the message by simply returning -- without any further processing. pragma Assert (not Continuation); Last_Killed := True; return; end if; end if; end if; -- Come here if message is to be inserted in the error chain if not Continuation then Last_Killed := False; end if; if Prev_Msg = No_Error_Msg then First_Error_Msg := Cur_Msg; else Errors.Table (Prev_Msg).Next := Cur_Msg; end if; Errors.Table (Cur_Msg).Next := Next_Msg; if Next_Msg = No_Error_Msg then Last_Error_Msg := Cur_Msg; end if; end if; -- Bump appropriate statistics counts if Errors.Table (Cur_Msg).Info then Info_Messages := Info_Messages + 1; -- Could be (usually is) both "info" and "warning" if Errors.Table (Cur_Msg).Warn then Warnings_Detected := Warnings_Detected + 1; end if; elsif Errors.Table (Cur_Msg).Warn or else Errors.Table (Cur_Msg).Style then Warnings_Detected := Warnings_Detected + 1; elsif Errors.Table (Cur_Msg).Check then Check_Messages := Check_Messages + 1; else Total_Errors_Detected := Total_Errors_Detected + 1; if Errors.Table (Cur_Msg).Serious then Serious_Errors_Detected := Serious_Errors_Detected + 1; Handle_Serious_Error; -- If not serious error, set Fatal_Error to indicate ignored error else declare U : constant Unit_Number_Type := Get_Source_Unit (Sptr); begin if Fatal_Error (U) = None then Set_Fatal_Error (U, Error_Ignored); end if; end; end if; end if; -- Record warning message issued if Errors.Table (Cur_Msg).Warn and then not Errors.Table (Cur_Msg).Msg_Cont then Warning_Msg := Cur_Msg; end if; -- If too many warnings turn off warnings if Maximum_Messages /= 0 then if Warnings_Detected = Maximum_Messages then Warning_Mode := Suppress; end if; -- If too many errors abandon compilation if Total_Errors_Detected = Maximum_Messages then raise Unrecoverable_Error; end if; end if; end Error_Msg_Internal; ----------------- -- Error_Msg_N -- ----------------- procedure Error_Msg_N (Msg : String; N : Node_Or_Entity_Id) is begin Error_Msg_NEL (Msg, N, N, Sloc (N)); end Error_Msg_N; ------------------ -- Error_Msg_NE -- ------------------ procedure Error_Msg_NE (Msg : String; N : Node_Or_Entity_Id; E : Node_Or_Entity_Id) is begin Error_Msg_NEL (Msg, N, E, Sloc (N)); end Error_Msg_NE; ------------------- -- Error_Msg_NEL -- ------------------- procedure Error_Msg_NEL (Msg : String; N : Node_Or_Entity_Id; E : Node_Or_Entity_Id; Flag_Location : Source_Ptr) is begin if Special_Msg_Delete (Msg, N, E) then return; end if; Prescan_Message (Msg); -- Special handling for warning messages if Is_Warning_Msg then -- Suppress if no warnings set for either entity or node if No_Warnings (N) or else No_Warnings (E) then -- Disable any continuation messages as well Last_Killed := True; return; end if; -- Suppress if inside loop that is known to be null or is probably -- null (case where loop executes only if invalid values present). -- In either case warnings in the loop are likely to be junk. declare P : Node_Id; begin P := Parent (N); while Present (P) loop if Nkind (P) = N_Loop_Statement and then Suppress_Loop_Warnings (P) then return; end if; P := Parent (P); end loop; end; end if; -- Test for message to be output if All_Errors_Mode or else Is_Unconditional_Msg or else Is_Warning_Msg or else OK_Node (N) or else (Msg (Msg'First) = '\' and then not Last_Killed) then Debug_Output (N); Error_Msg_Node_1 := E; Error_Msg (Msg, Flag_Location); else Last_Killed := True; end if; Set_Posted (N); end Error_Msg_NEL; ------------------ -- Error_Msg_NW -- ------------------ procedure Error_Msg_NW (Eflag : Boolean; Msg : String; N : Node_Or_Entity_Id) is begin if Eflag and then In_Extended_Main_Source_Unit (N) and then Comes_From_Source (N) then Error_Msg_NEL (Msg, N, N, Sloc (N)); end if; end Error_Msg_NW; ----------------- -- Error_Msg_S -- ----------------- procedure Error_Msg_S (Msg : String) is begin Error_Msg (Msg, Scan_Ptr); end Error_Msg_S; ------------------ -- Error_Msg_SC -- ------------------ procedure Error_Msg_SC (Msg : String) is begin -- If we are at end of file, post the flag after the previous token if Token = Tok_EOF then Error_Msg_AP (Msg); -- For all other cases the message is posted at the current token -- pointer position else Error_Msg (Msg, Token_Ptr); end if; end Error_Msg_SC; ------------------ -- Error_Msg_SP -- ------------------ procedure Error_Msg_SP (Msg : String) is begin -- Note: in the case where there is no previous token, Prev_Token_Ptr -- is set to Source_First, which is a reasonable position for the -- error flag in this situation Error_Msg (Msg, Prev_Token_Ptr); end Error_Msg_SP; -------------- -- Finalize -- -------------- procedure Finalize (Last_Call : Boolean) is Cur : Error_Msg_Id; Nxt : Error_Msg_Id; F : Error_Msg_Id; procedure Delete_Warning (E : Error_Msg_Id); -- Delete a warning msg if not already deleted and adjust warning count -------------------- -- Delete_Warning -- -------------------- procedure Delete_Warning (E : Error_Msg_Id) is begin if not Errors.Table (E).Deleted then Errors.Table (E).Deleted := True; Warnings_Detected := Warnings_Detected - 1; if Errors.Table (E).Info then Info_Messages := Info_Messages - 1; end if; if Errors.Table (E).Warn_Err then Warnings_Treated_As_Errors := Warnings_Treated_As_Errors - 1; end if; end if; end Delete_Warning; -- Start of processing for Finalize begin -- Set Prev pointers Cur := First_Error_Msg; while Cur /= No_Error_Msg loop Nxt := Errors.Table (Cur).Next; exit when Nxt = No_Error_Msg; Errors.Table (Nxt).Prev := Cur; Cur := Nxt; end loop; -- Eliminate any duplicated error messages from the list. This is -- done after the fact to avoid problems with Change_Error_Text. Cur := First_Error_Msg; while Cur /= No_Error_Msg loop Nxt := Errors.Table (Cur).Next; F := Nxt; while F /= No_Error_Msg and then Errors.Table (F).Sptr = Errors.Table (Cur).Sptr loop Check_Duplicate_Message (Cur, F); F := Errors.Table (F).Next; end loop; Cur := Nxt; end loop; -- Mark any messages suppressed by specific warnings as Deleted Cur := First_Error_Msg; while Cur /= No_Error_Msg loop declare CE : Error_Msg_Object renames Errors.Table (Cur); Tag : constant String := Get_Warning_Tag (Cur); begin if (CE.Warn and not CE.Deleted) and then (Warning_Specifically_Suppressed (CE.Sptr, CE.Text, Tag) /= No_String or else Warning_Specifically_Suppressed (CE.Optr, CE.Text, Tag) /= No_String) then Delete_Warning (Cur); -- If this is a continuation, delete previous parts of message F := Cur; while Errors.Table (F).Msg_Cont loop F := Errors.Table (F).Prev; exit when F = No_Error_Msg; Delete_Warning (F); end loop; -- Delete any following continuations F := Cur; loop F := Errors.Table (F).Next; exit when F = No_Error_Msg; exit when not Errors.Table (F).Msg_Cont; Delete_Warning (F); end loop; end if; end; Cur := Errors.Table (Cur).Next; end loop; Finalize_Called := True; -- Check consistency of specific warnings (may add warnings). We only -- do this on the last call, after all possible warnings are posted. if Last_Call then Validate_Specific_Warnings (Error_Msg'Access); end if; end Finalize; ---------------- -- First_Node -- ---------------- function First_Node (C : Node_Id) return Node_Id is Orig : constant Node_Id := Original_Node (C); Loc : constant Source_Ptr := Sloc (Orig); Sfile : constant Source_File_Index := Get_Source_File_Index (Loc); Earliest : Node_Id; Eloc : Source_Ptr; function Test_Earlier (N : Node_Id) return Traverse_Result; -- Function applied to every node in the construct procedure Search_Tree_First is new Traverse_Proc (Test_Earlier); -- Create traversal procedure ------------------ -- Test_Earlier -- ------------------ function Test_Earlier (N : Node_Id) return Traverse_Result is Norig : constant Node_Id := Original_Node (N); Loc : constant Source_Ptr := Sloc (Norig); begin -- Check for earlier if Loc < Eloc -- Ignore nodes with no useful location information and then Loc /= Standard_Location and then Loc /= No_Location -- Ignore nodes from a different file. This ensures against cases -- of strange foreign code somehow being present. We don't want -- wild placement of messages if that happens. and then Get_Source_File_Index (Loc) = Sfile then Earliest := Norig; Eloc := Loc; end if; return OK_Orig; end Test_Earlier; -- Start of processing for First_Node begin if Nkind (Orig) in N_Subexpr then Earliest := Orig; Eloc := Loc; Search_Tree_First (Orig); return Earliest; else return Orig; end if; end First_Node; ---------------- -- First_Sloc -- ---------------- function First_Sloc (N : Node_Id) return Source_Ptr is SI : constant Source_File_Index := Source_Index (Get_Source_Unit (N)); SF : constant Source_Ptr := Source_First (SI); F : Node_Id; S : Source_Ptr; begin F := First_Node (N); S := Sloc (F); -- The following circuit is a bit subtle. When we have parenthesized -- expressions, then the Sloc will not record the location of the paren, -- but we would like to post the flag on the paren. So what we do is to -- crawl up the tree from the First_Node, adjusting the Sloc value for -- any parentheses we know are present. Yes, we know this circuit is not -- 100% reliable (e.g. because we don't record all possible paren level -- values), but this is only for an error message so it is good enough. Node_Loop : loop Paren_Loop : for J in 1 .. Paren_Count (F) loop -- We don't look more than 12 characters behind the current -- location, and in any case not past the front of the source. Search_Loop : for K in 1 .. 12 loop exit Search_Loop when S = SF; if Source_Text (SI) (S - 1) = '(' then S := S - 1; exit Search_Loop; elsif Source_Text (SI) (S - 1) <= ' ' then S := S - 1; else exit Search_Loop; end if; end loop Search_Loop; end loop Paren_Loop; exit Node_Loop when F = N; F := Parent (F); exit Node_Loop when Nkind (F) not in N_Subexpr; end loop Node_Loop; return S; end First_Sloc; ----------------------- -- Get_Ignore_Errors -- ----------------------- function Get_Ignore_Errors return Boolean is begin return Errors_Must_Be_Ignored; end Get_Ignore_Errors; ---------------- -- Initialize -- ---------------- procedure Initialize is begin Errors.Init; First_Error_Msg := No_Error_Msg; Last_Error_Msg := No_Error_Msg; Serious_Errors_Detected := 0; Total_Errors_Detected := 0; Cur_Msg := No_Error_Msg; List_Pragmas.Init; -- Reset counts for warnings Reset_Warnings; -- Initialize warnings tables Warnings.Init; Specific_Warnings.Init; end Initialize; ----------------- -- No_Warnings -- ----------------- function No_Warnings (N : Node_Or_Entity_Id) return Boolean is begin if Error_Posted (N) then return True; elsif Nkind (N) in N_Entity and then Has_Warnings_Off (N) then return True; elsif Is_Entity_Name (N) and then Present (Entity (N)) and then Has_Warnings_Off (Entity (N)) then return True; else return False; end if; end No_Warnings; ------------- -- OK_Node -- ------------- function OK_Node (N : Node_Id) return Boolean is K : constant Node_Kind := Nkind (N); begin if Error_Posted (N) then return False; elsif K in N_Has_Etype and then Present (Etype (N)) and then Error_Posted (Etype (N)) then return False; elsif (K in N_Op or else K = N_Attribute_Reference or else K = N_Character_Literal or else K = N_Expanded_Name or else K = N_Identifier or else K = N_Operator_Symbol) and then Present (Entity (N)) and then Error_Posted (Entity (N)) then return False; else return True; end if; end OK_Node; --------------------- -- Output_Messages -- --------------------- procedure Output_Messages is E : Error_Msg_Id; Err_Flag : Boolean; procedure Write_Error_Summary; -- Write error summary procedure Write_Header (Sfile : Source_File_Index); -- Write header line (compiling or checking given file) procedure Write_Max_Errors; -- Write message if max errors reached ------------------------- -- Write_Error_Summary -- ------------------------- procedure Write_Error_Summary is begin -- Extra blank line if error messages or source listing were output if Total_Errors_Detected + Warnings_Detected > 0 or else Full_List then Write_Eol; end if; -- Message giving number of lines read and number of errors detected. -- This normally goes to Standard_Output. The exception is when brief -- mode is not set, verbose mode (or full list mode) is set, and -- there are errors. In this case we send the message to standard -- error to make sure that *something* appears on standard error -- in an error situation. if Total_Errors_Detected + Warnings_Detected /= 0 and then not Brief_Output and then (Verbose_Mode or Full_List) then Set_Standard_Error; end if; -- Message giving total number of lines. Don't give this message if -- the Main_Source line is unknown (this happens in error situations, -- e.g. when integrated preprocessing fails). if Main_Source_File /= No_Source_File then Write_Str (" "); Write_Int (Num_Source_Lines (Main_Source_File)); if Num_Source_Lines (Main_Source_File) = 1 then Write_Str (" line: "); else Write_Str (" lines: "); end if; end if; if Total_Errors_Detected = 0 then Write_Str ("No errors"); elsif Total_Errors_Detected = 1 then Write_Str ("1 error"); else Write_Int (Total_Errors_Detected); Write_Str (" errors"); end if; if Warnings_Detected - Info_Messages /= 0 then Write_Str (", "); Write_Int (Warnings_Detected); Write_Str (" warning"); if Warnings_Detected - Info_Messages /= 1 then Write_Char ('s'); end if; if Warning_Mode = Treat_As_Error then Write_Str (" (treated as error"); if Warnings_Detected /= 1 then Write_Char ('s'); end if; Write_Char (')'); elsif Warnings_Treated_As_Errors /= 0 then Write_Str (" ("); Write_Int (Warnings_Treated_As_Errors); Write_Str (" treated as errors)"); end if; end if; if Info_Messages /= 0 then Write_Str (", "); Write_Int (Info_Messages); Write_Str (" info message"); if Info_Messages > 1 then Write_Char ('s'); end if; end if; Write_Eol; Set_Standard_Output; end Write_Error_Summary; ------------------ -- Write_Header -- ------------------ procedure Write_Header (Sfile : Source_File_Index) is begin if Verbose_Mode or Full_List then if Original_Operating_Mode = Generate_Code then Write_Str ("Compiling: "); else Write_Str ("Checking: "); end if; Write_Name (Full_File_Name (Sfile)); if not Debug_Flag_7 then Write_Eol; Write_Str ("Source file time stamp: "); Write_Time_Stamp (Sfile); Write_Eol; Write_Str ("Compiled at: " & Compilation_Time); end if; Write_Eol; end if; end Write_Header; ---------------------- -- Write_Max_Errors -- ---------------------- procedure Write_Max_Errors is begin if Maximum_Messages /= 0 then if Warnings_Detected >= Maximum_Messages then Set_Standard_Error; Write_Line ("maximum number of warnings output"); Write_Line ("any further warnings suppressed"); Set_Standard_Output; end if; -- If too many errors print message if Total_Errors_Detected >= Maximum_Messages then Set_Standard_Error; Write_Line ("fatal error: maximum number of errors detected"); Set_Standard_Output; end if; end if; end Write_Max_Errors; -- Start of processing for Output_Messages begin -- Error if Finalize has not been called if not Finalize_Called then raise Program_Error; end if; -- Reset current error source file if the main unit has a pragma -- Source_Reference. This ensures outputting the proper name of -- the source file in this situation. if Main_Source_File = No_Source_File or else Num_SRef_Pragmas (Main_Source_File) /= 0 then Current_Error_Source_File := No_Source_File; end if; -- Brief Error mode if Brief_Output or (not Full_List and not Verbose_Mode) then Set_Standard_Error; E := First_Error_Msg; while E /= No_Error_Msg loop if not Errors.Table (E).Deleted and then not Debug_Flag_KK then if Full_Path_Name_For_Brief_Errors then Write_Name (Full_Ref_Name (Errors.Table (E).Sfile)); else Write_Name (Reference_Name (Errors.Table (E).Sfile)); end if; Write_Char (':'); Write_Int (Int (Physical_To_Logical (Errors.Table (E).Line, Errors.Table (E).Sfile))); Write_Char (':'); if Errors.Table (E).Col < 10 then Write_Char ('0'); end if; Write_Int (Int (Errors.Table (E).Col)); Write_Str (": "); Output_Msg_Text (E); Write_Eol; end if; E := Errors.Table (E).Next; end loop; Set_Standard_Output; end if; -- Full source listing case if Full_List then List_Pragmas_Index := 1; List_Pragmas_Mode := True; E := First_Error_Msg; -- Normal case, to stdout (copyright notice already output) if Full_List_File_Name = null then if not Debug_Flag_7 then Write_Eol; end if; -- Output to file else Create_List_File_Access.all (Full_List_File_Name.all); Set_Special_Output (Write_List_Info_Access.all'Access); -- Write copyright notice to file if not Debug_Flag_7 then Write_Str ("GNAT "); Write_Str (Gnat_Version_String); Write_Eol; Write_Str ("Copyright 1992-" & Current_Year & ", Free Software Foundation, Inc."); Write_Eol; end if; end if; -- First list extended main source file units with errors for U in Main_Unit .. Last_Unit loop if In_Extended_Main_Source_Unit (Cunit_Entity (U)) -- If debug flag d.m is set, only the main source is listed and then (U = Main_Unit or else not Debug_Flag_Dot_M) -- If the unit of the entity does not come from source, it is -- an implicit subprogram declaration for a child subprogram. -- Do not emit errors for it, they are listed with the body. and then (No (Cunit_Entity (U)) or else Comes_From_Source (Cunit_Entity (U)) or else not Is_Subprogram (Cunit_Entity (U))) -- If the compilation unit associated with this unit does not -- come from source, it means it is an instantiation that should -- not be included in the source listing. and then Comes_From_Source (Cunit (U)) then declare Sfile : constant Source_File_Index := Source_Index (U); begin Write_Eol; -- Only write the header if Sfile is known if Sfile /= No_Source_File then Write_Header (Sfile); Write_Eol; end if; -- Normally, we don't want an "error messages from file" -- message when listing the entire file, so we set the -- current source file as the current error source file. -- However, the old style of doing things was to list this -- message if pragma Source_Reference is present, even for -- the main unit. Since the purpose of the -gnatd.m switch -- is to duplicate the old behavior, we skip the reset if -- this debug flag is set. if not Debug_Flag_Dot_M then Current_Error_Source_File := Sfile; end if; -- Only output the listing if Sfile is known, to avoid -- crashing the compiler. if Sfile /= No_Source_File then for N in 1 .. Last_Source_Line (Sfile) loop while E /= No_Error_Msg and then Errors.Table (E).Deleted loop E := Errors.Table (E).Next; end loop; Err_Flag := E /= No_Error_Msg and then Errors.Table (E).Line = N and then Errors.Table (E).Sfile = Sfile; Output_Source_Line (N, Sfile, Err_Flag); if Err_Flag then Output_Error_Msgs (E); if not Debug_Flag_2 then Write_Eol; end if; end if; end loop; end if; end; end if; end loop; -- Then output errors, if any, for subsidiary units not in the -- main extended unit. -- Note: if debug flag d.m set, include errors for any units other -- than the main unit in the extended source unit (e.g. spec and -- subunits for a body). while E /= No_Error_Msg and then (not In_Extended_Main_Source_Unit (Errors.Table (E).Sptr) or else (Debug_Flag_Dot_M and then Get_Source_Unit (Errors.Table (E).Sptr) /= Main_Unit)) loop if Errors.Table (E).Deleted then E := Errors.Table (E).Next; else Write_Eol; Output_Source_Line (Errors.Table (E).Line, Errors.Table (E).Sfile, True); Output_Error_Msgs (E); end if; end loop; -- If output to file, write extra copy of error summary to the -- output file, and then close it. if Full_List_File_Name /= null then Write_Error_Summary; Write_Max_Errors; Close_List_File_Access.all; Cancel_Special_Output; end if; end if; -- Verbose mode (error lines only with error flags). Normally this is -- ignored in full list mode, unless we are listing to a file, in which -- case we still generate -gnatv output to standard output. if Verbose_Mode and then (not Full_List or else Full_List_File_Name /= null) then Write_Eol; -- Output the header only when Main_Source_File is known if Main_Source_File /= No_Source_File then Write_Header (Main_Source_File); end if; E := First_Error_Msg; -- Loop through error lines while E /= No_Error_Msg loop if Errors.Table (E).Deleted then E := Errors.Table (E).Next; else Write_Eol; Output_Source_Line (Errors.Table (E).Line, Errors.Table (E).Sfile, True); Output_Error_Msgs (E); end if; end loop; end if; -- Output error summary if verbose or full list mode if Verbose_Mode or else Full_List then Write_Error_Summary; end if; Write_Max_Errors; if Warning_Mode = Treat_As_Error then Total_Errors_Detected := Total_Errors_Detected + Warnings_Detected - Info_Messages; Warnings_Detected := Info_Messages; end if; end Output_Messages; ------------------------ -- Output_Source_Line -- ------------------------ procedure Output_Source_Line (L : Physical_Line_Number; Sfile : Source_File_Index; Errs : Boolean) is S : Source_Ptr; C : Character; Line_Number_Output : Boolean := False; -- Set True once line number is output Empty_Line : Boolean := True; -- Set False if line includes at least one character begin if Sfile /= Current_Error_Source_File then Write_Str ("==============Error messages for "); case Sinput.File_Type (Sfile) is when Sinput.Src => Write_Str ("source"); when Sinput.Config => Write_Str ("configuration pragmas"); when Sinput.Def => Write_Str ("symbol definition"); when Sinput.Preproc => Write_Str ("preprocessing data"); end case; Write_Str (" file: "); Write_Name (Full_File_Name (Sfile)); Write_Eol; if Num_SRef_Pragmas (Sfile) > 0 then Write_Str ("--------------Line numbers from file: "); Write_Name (Full_Ref_Name (Sfile)); Write_Str (" (starting at line "); Write_Int (Int (First_Mapped_Line (Sfile))); Write_Char (')'); Write_Eol; end if; Current_Error_Source_File := Sfile; end if; if Errs or List_Pragmas_Mode then Output_Line_Number (Physical_To_Logical (L, Sfile)); Line_Number_Output := True; end if; S := Line_Start (L, Sfile); loop C := Source_Text (Sfile) (S); exit when C = ASCII.LF or else C = ASCII.CR or else C = EOF; -- Deal with matching entry in List_Pragmas table if Full_List and then List_Pragmas_Index <= List_Pragmas.Last and then S = List_Pragmas.Table (List_Pragmas_Index).Ploc then case List_Pragmas.Table (List_Pragmas_Index).Ptyp is when Page => Write_Char (C); -- Ignore if on line with errors so that error flags -- get properly listed with the error line . if not Errs then Write_Char (ASCII.FF); end if; when List_On => List_Pragmas_Mode := True; if not Line_Number_Output then Output_Line_Number (Physical_To_Logical (L, Sfile)); Line_Number_Output := True; end if; Write_Char (C); when List_Off => Write_Char (C); List_Pragmas_Mode := False; end case; List_Pragmas_Index := List_Pragmas_Index + 1; -- Normal case (no matching entry in List_Pragmas table) else if Errs or List_Pragmas_Mode then Write_Char (C); end if; end if; Empty_Line := False; S := S + 1; end loop; -- If we have output a source line, then add the line terminator, with -- training spaces preserved (so we output the line exactly as input). if Line_Number_Output then if Empty_Line then Write_Eol; else Write_Eol_Keep_Blanks; end if; end if; end Output_Source_Line; ----------------------------- -- Remove_Warning_Messages -- ----------------------------- procedure Remove_Warning_Messages (N : Node_Id) is function Check_For_Warning (N : Node_Id) return Traverse_Result; -- This function checks one node for a possible warning message function Check_All_Warnings is new Traverse_Func (Check_For_Warning); -- This defines the traversal operation ----------------------- -- Check_For_Warning -- ----------------------- function Check_For_Warning (N : Node_Id) return Traverse_Result is Loc : constant Source_Ptr := Sloc (N); E : Error_Msg_Id; function To_Be_Removed (E : Error_Msg_Id) return Boolean; -- Returns True for a message that is to be removed. Also adjusts -- warning count appropriately. ------------------- -- To_Be_Removed -- ------------------- function To_Be_Removed (E : Error_Msg_Id) return Boolean is begin if E /= No_Error_Msg -- Don't remove if location does not match and then Errors.Table (E).Optr = Loc -- Don't remove if not warning/info message. Note that we do -- not remove style messages here. They are warning messages -- but not ones we want removed in this context. and then Errors.Table (E).Warn -- Don't remove unconditional messages and then not Errors.Table (E).Uncond then Warnings_Detected := Warnings_Detected - 1; if Errors.Table (E).Info then Info_Messages := Info_Messages - 1; end if; return True; -- No removal required else return False; end if; end To_Be_Removed; -- Start of processing for Check_For_Warnings begin while To_Be_Removed (First_Error_Msg) loop First_Error_Msg := Errors.Table (First_Error_Msg).Next; end loop; if First_Error_Msg = No_Error_Msg then Last_Error_Msg := No_Error_Msg; end if; E := First_Error_Msg; while E /= No_Error_Msg loop while To_Be_Removed (Errors.Table (E).Next) loop Errors.Table (E).Next := Errors.Table (Errors.Table (E).Next).Next; if Errors.Table (E).Next = No_Error_Msg then Last_Error_Msg := E; end if; end loop; E := Errors.Table (E).Next; end loop; if Nkind (N) = N_Raise_Constraint_Error and then Original_Node (N) /= N and then No (Condition (N)) then -- Warnings may have been posted on subexpressions of the original -- tree. We place the original node back on the tree to remove -- those warnings, whose sloc do not match those of any node in -- the current tree. Given that we are in unreachable code, this -- modification to the tree is harmless. declare Status : Traverse_Final_Result; begin if Is_List_Member (N) then Set_Condition (N, Original_Node (N)); Status := Check_All_Warnings (Condition (N)); else Rewrite (N, Original_Node (N)); Status := Check_All_Warnings (N); end if; return Status; end; else return OK; end if; end Check_For_Warning; -- Start of processing for Remove_Warning_Messages begin if Warnings_Detected /= 0 then declare Discard : Traverse_Final_Result; pragma Warnings (Off, Discard); begin Discard := Check_All_Warnings (N); end; end if; end Remove_Warning_Messages; procedure Remove_Warning_Messages (L : List_Id) is Stat : Node_Id; begin if Is_Non_Empty_List (L) then Stat := First (L); while Present (Stat) loop Remove_Warning_Messages (Stat); Next (Stat); end loop; end if; end Remove_Warning_Messages; -------------------- -- Reset_Warnings -- -------------------- procedure Reset_Warnings is begin Warnings_Treated_As_Errors := 0; Warnings_Detected := 0; Info_Messages := 0; Warnings_As_Errors_Count := 0; end Reset_Warnings; ---------------------- -- Adjust_Name_Case -- ---------------------- procedure Adjust_Name_Case (Buf : in out Bounded_String; Loc : Source_Ptr) is begin -- We have an all lower case name from Namet, and now we want to set -- the appropriate case. If possible we copy the actual casing from -- the source. If not we use standard identifier casing. declare Src_Ind : constant Source_File_Index := Get_Source_File_Index (Loc); Sbuffer : Source_Buffer_Ptr; Ref_Ptr : Integer; Src_Ptr : Source_Ptr; begin Ref_Ptr := 1; Src_Ptr := Loc; -- For standard locations, always use mixed case if Loc <= No_Location then Set_Casing (Mixed_Case); else -- Determine if the reference we are dealing with corresponds to -- text at the point of the error reference. This will often be -- the case for simple identifier references, and is the case -- where we can copy the casing from the source. Sbuffer := Source_Text (Src_Ind); while Ref_Ptr <= Buf.Length loop exit when Fold_Lower (Sbuffer (Src_Ptr)) /= Fold_Lower (Buf.Chars (Ref_Ptr)); Ref_Ptr := Ref_Ptr + 1; Src_Ptr := Src_Ptr + 1; end loop; -- If we get through the loop without a mismatch, then output the -- name the way it is cased in the source program if Ref_Ptr > Buf.Length then Src_Ptr := Loc; for J in 1 .. Buf.Length loop Buf.Chars (J) := Sbuffer (Src_Ptr); Src_Ptr := Src_Ptr + 1; end loop; -- Otherwise set the casing using the default identifier casing else Set_Casing (Buf, Identifier_Casing (Src_Ind)); end if; end if; end; end Adjust_Name_Case; procedure Adjust_Name_Case (Loc : Source_Ptr) is begin Adjust_Name_Case (Global_Name_Buffer, Loc); end Adjust_Name_Case; --------------------------- -- Set_Identifier_Casing -- --------------------------- procedure Set_Identifier_Casing (Identifier_Name : System.Address; File_Name : System.Address) is Ident : constant Big_String_Ptr := To_Big_String_Ptr (Identifier_Name); File : constant Big_String_Ptr := To_Big_String_Ptr (File_Name); Flen : Natural; Desired_Case : Casing_Type := Mixed_Case; -- Casing required for result. Default value of Mixed_Case is used if -- for some reason we cannot find the right file name in the table. begin -- Get length of file name Flen := 0; while File (Flen + 1) /= ASCII.NUL loop Flen := Flen + 1; end loop; -- Loop through file names to find matching one. This is a bit slow, but -- we only do it in error situations so it is not so terrible. Note that -- if the loop does not exit, then the desired case will be left set to -- Mixed_Case, this can happen if the name was not in canonical form. for J in 1 .. Last_Source_File loop Get_Name_String (Full_Debug_Name (J)); if Name_Len = Flen and then Name_Buffer (1 .. Name_Len) = String (File (1 .. Flen)) then Desired_Case := Identifier_Casing (J); exit; end if; end loop; -- Copy identifier as given to Name_Buffer for J in Name_Buffer'Range loop Name_Buffer (J) := Ident (J); if Name_Buffer (J) = ASCII.NUL then Name_Len := J - 1; exit; end if; end loop; Set_Casing (Desired_Case); end Set_Identifier_Casing; ----------------------- -- Set_Ignore_Errors -- ----------------------- procedure Set_Ignore_Errors (To : Boolean) is begin Errors_Must_Be_Ignored := To; end Set_Ignore_Errors; ------------------------------ -- Set_Msg_Insertion_Column -- ------------------------------ procedure Set_Msg_Insertion_Column is begin if RM_Column_Check then Set_Msg_Str (" in column "); Set_Msg_Int (Int (Error_Msg_Col) + 1); end if; end Set_Msg_Insertion_Column; ---------------------------- -- Set_Msg_Insertion_Node -- ---------------------------- procedure Set_Msg_Insertion_Node is K : Node_Kind; begin Suppress_Message := Error_Msg_Node_1 = Error or else Error_Msg_Node_1 = Any_Type; if Error_Msg_Node_1 = Empty then Set_Msg_Blank_Conditional; Set_Msg_Str ("<empty>"); elsif Error_Msg_Node_1 = Error then Set_Msg_Blank; Set_Msg_Str ("<error>"); elsif Error_Msg_Node_1 = Standard_Void_Type then Set_Msg_Blank; Set_Msg_Str ("procedure name"); elsif Nkind (Error_Msg_Node_1) in N_Entity and then Ekind (Error_Msg_Node_1) = E_Anonymous_Access_Subprogram_Type then Set_Msg_Blank; Set_Msg_Str ("access to subprogram"); else Set_Msg_Blank_Conditional; -- Output name K := Nkind (Error_Msg_Node_1); -- If we have operator case, skip quotes since name of operator -- itself will supply the required quotations. An operator can be an -- applied use in an expression or an explicit operator symbol, or an -- identifier whose name indicates it is an operator. if K in N_Op or else K = N_Operator_Symbol or else K = N_Defining_Operator_Symbol or else ((K = N_Identifier or else K = N_Defining_Identifier) and then Is_Operator_Name (Chars (Error_Msg_Node_1))) then Set_Msg_Node (Error_Msg_Node_1); -- Normal case, not an operator, surround with quotes else Set_Msg_Quote; Set_Qualification (Error_Msg_Qual_Level, Error_Msg_Node_1); Set_Msg_Node (Error_Msg_Node_1); Set_Msg_Quote; end if; end if; -- The following assignment ensures that a second ampersand insertion -- character will correspond to the Error_Msg_Node_2 parameter. We -- suppress possible validity checks in case operating in -gnatVa mode, -- and Error_Msg_Node_2 is not needed and has not been set. declare pragma Suppress (Range_Check); begin Error_Msg_Node_1 := Error_Msg_Node_2; end; end Set_Msg_Insertion_Node; -------------------------------------- -- Set_Msg_Insertion_Type_Reference -- -------------------------------------- procedure Set_Msg_Insertion_Type_Reference (Flag : Source_Ptr) is Ent : Entity_Id; begin Set_Msg_Blank; if Error_Msg_Node_1 = Standard_Void_Type then Set_Msg_Str ("package or procedure name"); return; elsif Error_Msg_Node_1 = Standard_Exception_Type then Set_Msg_Str ("exception name"); return; elsif Error_Msg_Node_1 = Any_Access or else Error_Msg_Node_1 = Any_Array or else Error_Msg_Node_1 = Any_Boolean or else Error_Msg_Node_1 = Any_Character or else Error_Msg_Node_1 = Any_Composite or else Error_Msg_Node_1 = Any_Discrete or else Error_Msg_Node_1 = Any_Fixed or else Error_Msg_Node_1 = Any_Integer or else Error_Msg_Node_1 = Any_Modular or else Error_Msg_Node_1 = Any_Numeric or else Error_Msg_Node_1 = Any_Real or else Error_Msg_Node_1 = Any_Scalar or else Error_Msg_Node_1 = Any_String then Get_Unqualified_Decoded_Name_String (Chars (Error_Msg_Node_1)); Set_Msg_Name_Buffer; return; elsif Error_Msg_Node_1 = Universal_Real then Set_Msg_Str ("type universal real"); return; elsif Error_Msg_Node_1 = Universal_Integer then Set_Msg_Str ("type universal integer"); return; elsif Error_Msg_Node_1 = Universal_Fixed then Set_Msg_Str ("type universal fixed"); return; end if; -- Special case of anonymous array if Nkind (Error_Msg_Node_1) in N_Entity and then Is_Array_Type (Error_Msg_Node_1) and then Present (Related_Array_Object (Error_Msg_Node_1)) then Set_Msg_Str ("type of "); Set_Msg_Node (Related_Array_Object (Error_Msg_Node_1)); Set_Msg_Str (" declared"); Set_Msg_Insertion_Line_Number (Sloc (Related_Array_Object (Error_Msg_Node_1)), Flag); return; end if; -- If we fall through, it is not a special case, so first output -- the name of the type, preceded by private for a private type if Is_Private_Type (Error_Msg_Node_1) then Set_Msg_Str ("private type "); else Set_Msg_Str ("type "); end if; Ent := Error_Msg_Node_1; if Is_Internal_Name (Chars (Ent)) then Unwind_Internal_Type (Ent); end if; -- Types in Standard are displayed as "Standard.name" if Sloc (Ent) <= Standard_Location then Set_Msg_Quote; Set_Msg_Str ("Standard."); Set_Msg_Node (Ent); Add_Class; Set_Msg_Quote; -- Types in other language defined units are displayed as -- "package-name.type-name" elsif Is_Predefined_File_Name (Unit_File_Name (Get_Source_Unit (Ent))) then Get_Unqualified_Decoded_Name_String (Unit_Name (Get_Source_Unit (Ent))); Name_Len := Name_Len - 2; Set_Msg_Blank_Conditional; Set_Msg_Quote; Set_Casing (Mixed_Case); Set_Msg_Name_Buffer; Set_Msg_Char ('.'); Set_Casing (Mixed_Case); Set_Msg_Node (Ent); Add_Class; Set_Msg_Quote; -- All other types display as "type name" defined at line xxx -- possibly qualified if qualification is requested. else Set_Msg_Quote; Set_Qualification (Error_Msg_Qual_Level, Ent); Set_Msg_Node (Ent); Add_Class; -- If we did not print a name (e.g. in the case of an anonymous -- subprogram type), there is no name to print, so remove quotes. if Buffer_Ends_With ('"') then Buffer_Remove ('"'); else Set_Msg_Quote; end if; end if; -- If the original type did not come from a predefined file, add the -- location where the type was defined. if Sloc (Error_Msg_Node_1) > Standard_Location and then not Is_Predefined_File_Name (Unit_File_Name (Get_Source_Unit (Error_Msg_Node_1))) then Set_Msg_Str (" defined"); Set_Msg_Insertion_Line_Number (Sloc (Error_Msg_Node_1), Flag); -- If it did come from a predefined file, deal with the case where -- this was a file with a generic instantiation from elsewhere. else if Sloc (Error_Msg_Node_1) > Standard_Location then declare Iloc : constant Source_Ptr := Instantiation_Location (Sloc (Error_Msg_Node_1)); begin if Iloc /= No_Location and then not Suppress_Instance_Location then Set_Msg_Str (" from instance"); Set_Msg_Insertion_Line_Number (Iloc, Flag); end if; end; end if; end if; end Set_Msg_Insertion_Type_Reference; --------------------------------- -- Set_Msg_Insertion_Unit_Name -- --------------------------------- procedure Set_Msg_Insertion_Unit_Name (Suffix : Boolean := True) is begin if Error_Msg_Unit_1 = No_Unit_Name then null; elsif Error_Msg_Unit_1 = Error_Unit_Name then Set_Msg_Blank; Set_Msg_Str ("<error>"); else Get_Unit_Name_String (Error_Msg_Unit_1, Suffix); Set_Msg_Blank; Set_Msg_Quote; Set_Msg_Name_Buffer; Set_Msg_Quote; end if; -- The following assignment ensures that a second percent insertion -- character will correspond to the Error_Msg_Unit_2 parameter. We -- suppress possible validity checks in case operating in -gnatVa mode, -- and Error_Msg_Unit_2 is not needed and has not been set. declare pragma Suppress (Range_Check); begin Error_Msg_Unit_1 := Error_Msg_Unit_2; end; end Set_Msg_Insertion_Unit_Name; ------------------ -- Set_Msg_Node -- ------------------ procedure Set_Msg_Node (Node : Node_Id) is Loc : Source_Ptr; Ent : Entity_Id; Nam : Name_Id; begin case Nkind (Node) is when N_Designator => Set_Msg_Node (Name (Node)); Set_Msg_Char ('.'); Set_Msg_Node (Identifier (Node)); return; when N_Defining_Program_Unit_Name => Set_Msg_Node (Name (Node)); Set_Msg_Char ('.'); Set_Msg_Node (Defining_Identifier (Node)); return; when N_Expanded_Name | N_Selected_Component => Set_Msg_Node (Prefix (Node)); Set_Msg_Char ('.'); Set_Msg_Node (Selector_Name (Node)); return; when others => null; end case; -- The only remaining possibilities are identifiers, defining -- identifiers, pragmas, and pragma argument associations. if Nkind (Node) = N_Pragma then Nam := Pragma_Name (Node); Loc := Sloc (Node); -- The other cases have Chars fields -- First deal with internal names, which generally represent something -- gone wrong. First attempt: if this is a rewritten node that rewrites -- something with a Chars field that is not an internal name, use that. elsif Is_Internal_Name (Chars (Node)) and then Nkind (Original_Node (Node)) in N_Has_Chars and then not Is_Internal_Name (Chars (Original_Node (Node))) then Nam := Chars (Original_Node (Node)); Loc := Sloc (Original_Node (Node)); -- Another shot for internal names, in the case of internal type names, -- we try to find a reasonable representation for the external name. elsif Is_Internal_Name (Chars (Node)) and then ((Is_Entity_Name (Node) and then Present (Entity (Node)) and then Is_Type (Entity (Node))) or else (Nkind (Node) = N_Defining_Identifier and then Is_Type (Node))) then if Nkind (Node) = N_Identifier then Ent := Entity (Node); else Ent := Node; end if; Loc := Sloc (Ent); -- If the type is the designated type of an access_to_subprogram, -- then there is no name to provide in the call. if Ekind (Ent) = E_Subprogram_Type then return; -- Otherwise, we will be able to find some kind of name to output else Unwind_Internal_Type (Ent); Nam := Chars (Ent); end if; -- If not internal name, or if we could not find a reasonable possible -- substitution for the internal name, just use name in Chars field. else Nam := Chars (Node); Loc := Sloc (Node); end if; -- At this stage, the name to output is in Nam Get_Unqualified_Decoded_Name_String (Nam); -- Remove trailing upper case letters from the name (useful for -- dealing with some cases of internal names). while Name_Len > 1 and then Name_Buffer (Name_Len) in 'A' .. 'Z' loop Name_Len := Name_Len - 1; end loop; -- If we have any of the names from standard that start with the -- characters "any " (e.g. Any_Type), then kill the message since -- almost certainly it is a junk cascaded message. if Name_Len > 4 and then Name_Buffer (1 .. 4) = "any " then Kill_Message := True; end if; -- If we still have an internal name, kill the message (will only -- work if we already had errors!) if Is_Internal_Name then Kill_Message := True; end if; -- Remaining step is to adjust casing and possibly add 'Class Adjust_Name_Case (Global_Name_Buffer, Loc); Set_Msg_Name_Buffer; Add_Class; end Set_Msg_Node; ------------------ -- Set_Msg_Text -- ------------------ procedure Set_Msg_Text (Text : String; Flag : Source_Ptr) is C : Character; -- Current character P : Natural; -- Current index; procedure Skip_Msg_Insertion_Warning (C : Character); -- Deal with ? ?? ?x? ?X? ?*? ?$? insertion sequences (and the same -- sequences using < instead of ?). The caller has already bumped -- the pointer past the initial ? or < and C is set to this initial -- character (? or <). This procedure skips past the rest of the -- sequence. We do not need to set Msg_Insertion_Char, since this -- was already done during the message prescan. -------------------------------- -- Skip_Msg_Insertion_Warning -- -------------------------------- procedure Skip_Msg_Insertion_Warning (C : Character) is begin if P <= Text'Last and then Text (P) = C then P := P + 1; elsif P + 1 <= Text'Last and then (Text (P) in 'a' .. 'z' or else Text (P) in 'A' .. 'Z' or else Text (P) = '*' or else Text (P) = '$') and then Text (P + 1) = C then P := P + 2; end if; end Skip_Msg_Insertion_Warning; -- Start of processing for Set_Msg_Text begin Manual_Quote_Mode := False; Msglen := 0; Flag_Source := Get_Source_File_Index (Flag); -- Skip info: at start, we have recorded this in Is_Info_Msg, and this -- will be used (Info field in error message object) to put back the -- string when it is printed. We need to do this, or we get confused -- with instantiation continuations. if Text'Length > 6 and then Text (Text'First .. Text'First + 5) = "info: " then P := Text'First + 6; else P := Text'First; end if; -- Loop through characters of message while P <= Text'Last loop C := Text (P); P := P + 1; -- Check for insertion character or sequence case C is when '%' => if P <= Text'Last and then Text (P) = '%' then P := P + 1; Set_Msg_Insertion_Name_Literal; else Set_Msg_Insertion_Name; end if; when '$' => if P <= Text'Last and then Text (P) = '$' then P := P + 1; Set_Msg_Insertion_Unit_Name (Suffix => False); else Set_Msg_Insertion_Unit_Name; end if; when '{' => Set_Msg_Insertion_File_Name; when '}' => Set_Msg_Insertion_Type_Reference (Flag); when '*' => Set_Msg_Insertion_Reserved_Name; when '&' => Set_Msg_Insertion_Node; when '#' => Set_Msg_Insertion_Line_Number (Error_Msg_Sloc, Flag); when '\' => Continuation := True; if P <= Text'Last and then Text (P) = '\' then Continuation_New_Line := True; P := P + 1; end if; when '@' => Set_Msg_Insertion_Column; when '>' => Set_Msg_Insertion_Run_Time_Name; when '^' => Set_Msg_Insertion_Uint; when '`' => Manual_Quote_Mode := not Manual_Quote_Mode; Set_Msg_Char ('"'); when '!' => null; -- already dealt with when '?' => Skip_Msg_Insertion_Warning ('?'); when '<' => Skip_Msg_Insertion_Warning ('<'); when '|' => null; -- already dealt with when ''' => Set_Msg_Char (Text (P)); P := P + 1; when '~' => Set_Msg_Str (Error_Msg_String (1 .. Error_Msg_Strlen)); -- Upper case letter when 'A' .. 'Z' => -- Start of reserved word if two or more if P <= Text'Last and then Text (P) in 'A' .. 'Z' then P := P - 1; Set_Msg_Insertion_Reserved_Word (Text, P); -- Single upper case letter is just inserted else Set_Msg_Char (C); end if; -- '[' (will be/would have been raised at run time) when '[' => if Is_Warning_Msg then Set_Msg_Str ("will be raised at run time"); else Set_Msg_Str ("would have been raised at run time"); end if; -- ']' (may be/might have been raised at run time) when ']' => if Is_Warning_Msg then Set_Msg_Str ("may be raised at run time"); else Set_Msg_Str ("might have been raised at run time"); end if; -- Normal character with no special treatment when others => Set_Msg_Char (C); end case; end loop; end Set_Msg_Text; ---------------- -- Set_Posted -- ---------------- procedure Set_Posted (N : Node_Id) is P : Node_Id; begin if Is_Serious_Error then -- We always set Error_Posted on the node itself Set_Error_Posted (N); -- If it is a subexpression, then set Error_Posted on parents up to -- and including the first non-subexpression construct. This helps -- avoid cascaded error messages within a single expression. P := N; loop P := Parent (P); exit when No (P); Set_Error_Posted (P); exit when Nkind (P) not in N_Subexpr; end loop; if Nkind_In (P, N_Pragma_Argument_Association, N_Component_Association, N_Discriminant_Association, N_Generic_Association, N_Parameter_Association) then Set_Error_Posted (Parent (P)); end if; -- A special check, if we just posted an error on an attribute -- definition clause, then also set the entity involved as posted. -- For example, this stops complaining about the alignment after -- complaining about the size, which is likely to be useless. if Nkind (P) = N_Attribute_Definition_Clause then if Is_Entity_Name (Name (P)) then Set_Error_Posted (Entity (Name (P))); end if; end if; end if; end Set_Posted; ----------------------- -- Set_Qualification -- ----------------------- procedure Set_Qualification (N : Nat; E : Entity_Id) is begin if N /= 0 and then Scope (E) /= Standard_Standard then Set_Qualification (N - 1, Scope (E)); Set_Msg_Node (Scope (E)); Set_Msg_Char ('.'); end if; end Set_Qualification; ------------------------ -- Special_Msg_Delete -- ------------------------ -- Is it really right to have all this specialized knowledge in errout? function Special_Msg_Delete (Msg : String; N : Node_Or_Entity_Id; E : Node_Or_Entity_Id) return Boolean is begin -- Never delete messages in -gnatdO mode if Debug_Flag_OO then return False; -- Processing for "atomic access cannot be guaranteed" elsif Msg = "atomic access to & cannot be guaranteed" then -- When an atomic object refers to a non-atomic type in the same -- scope, we implicitly make the type atomic. In the non-error case -- this is surely safe (and in fact prevents an error from occurring -- if the type is not atomic by default). But if the object cannot be -- made atomic, then we introduce an extra junk message by this -- manipulation, which we get rid of here. -- We identify this case by the fact that it references a type for -- which Is_Atomic is set, but there is no Atomic pragma setting it. if Is_Type (E) and then Is_Atomic (E) and then No (Get_Rep_Pragma (E, Name_Atomic)) then return True; end if; -- Similar processing for "volatile full access cannot be guaranteed" elsif Msg = "volatile full access to & cannot be guaranteed" then if Is_Type (E) and then Is_Volatile_Full_Access (E) and then No (Get_Rep_Pragma (E, Name_Volatile_Full_Access)) then return True; end if; -- Processing for "Size too small" messages elsif Msg = "size for& too small, minimum allowed is ^" then -- Suppress "size too small" errors in CodePeer mode, since code may -- be analyzed in a different configuration than the one used for -- compilation. Even when the configurations match, this message -- may be issued on correct code, because pragma Pack is ignored -- in CodePeer mode. if CodePeer_Mode then return True; -- When a size is wrong for a frozen type there is no explicit size -- clause, and other errors have occurred, suppress the message, -- since it is likely that this size error is a cascaded result of -- other errors. The reason we eliminate unfrozen types is that -- messages issued before the freeze type are for sure OK. elsif Is_Frozen (E) and then Serious_Errors_Detected > 0 and then Nkind (N) /= N_Component_Clause and then Nkind (Parent (N)) /= N_Component_Clause and then No (Get_Attribute_Definition_Clause (E, Attribute_Size)) and then No (Get_Attribute_Definition_Clause (E, Attribute_Object_Size)) and then No (Get_Attribute_Definition_Clause (E, Attribute_Value_Size)) then return True; end if; end if; -- All special tests complete, so go ahead with message return False; end Special_Msg_Delete; ----------------- -- SPARK_Msg_N -- ----------------- procedure SPARK_Msg_N (Msg : String; N : Node_Or_Entity_Id) is begin if SPARK_Mode /= Off then Error_Msg_N (Msg, N); end if; end SPARK_Msg_N; ------------------ -- SPARK_Msg_NE -- ------------------ procedure SPARK_Msg_NE (Msg : String; N : Node_Or_Entity_Id; E : Node_Or_Entity_Id) is begin if SPARK_Mode /= Off then Error_Msg_NE (Msg, N, E); end if; end SPARK_Msg_NE; -------------------------- -- Unwind_Internal_Type -- -------------------------- procedure Unwind_Internal_Type (Ent : in out Entity_Id) is Derived : Boolean := False; Mchar : Character; Old_Ent : Entity_Id; begin -- Undo placement of a quote, since we will put it back later Mchar := Msg_Buffer (Msglen); if Mchar = '"' then Msglen := Msglen - 1; end if; -- The loop here deals with recursive types, we are trying to find a -- related entity that is not an implicit type. Note that the check with -- Old_Ent stops us from getting "stuck". Also, we don't output the -- "type derived from" message more than once in the case where we climb -- up multiple levels. Find : loop Old_Ent := Ent; -- Implicit access type, use directly designated type In Ada 2005, -- the designated type may be an anonymous access to subprogram, in -- which case we can only point to its definition. if Is_Access_Type (Ent) then if Ekind (Ent) = E_Access_Subprogram_Type or else Ekind (Ent) = E_Anonymous_Access_Subprogram_Type or else Is_Access_Protected_Subprogram_Type (Ent) then Ent := Directly_Designated_Type (Ent); if not Comes_From_Source (Ent) then if Buffer_Ends_With ("type ") then Buffer_Remove ("type "); end if; end if; if Ekind (Ent) = E_Function then Set_Msg_Str ("access to function "); elsif Ekind (Ent) = E_Procedure then Set_Msg_Str ("access to procedure "); else Set_Msg_Str ("access to subprogram"); end if; exit Find; -- Type is access to object, named or anonymous else Set_Msg_Str ("access to "); Ent := Directly_Designated_Type (Ent); end if; -- Classwide type elsif Is_Class_Wide_Type (Ent) then Class_Flag := True; Ent := Root_Type (Ent); -- Use base type if this is a subtype elsif Ent /= Base_Type (Ent) then Buffer_Remove ("type "); -- Avoid duplication "subtype of subtype of", and also replace -- "derived from subtype of" simply by "derived from" if not Buffer_Ends_With ("subtype of ") and then not Buffer_Ends_With ("derived from ") then Set_Msg_Str ("subtype of "); end if; Ent := Base_Type (Ent); -- If this is a base type with a first named subtype, use the first -- named subtype instead. This is not quite accurate in all cases, -- but it makes too much noise to be accurate and add 'Base in all -- cases. Note that we only do this is the first named subtype is not -- itself an internal name. This avoids the obvious loop (subtype -> -- basetype -> subtype) which would otherwise occur). else declare FST : constant Entity_Id := First_Subtype (Ent); begin if not Is_Internal_Name (Chars (FST)) then Ent := FST; exit Find; -- Otherwise use root type else if not Derived then Buffer_Remove ("type "); -- Test for "subtype of type derived from" which seems -- excessive and is replaced by "type derived from". Buffer_Remove ("subtype of"); -- Avoid duplicated "type derived from type derived from" if not Buffer_Ends_With ("type derived from ") then Set_Msg_Str ("type derived from "); end if; Derived := True; end if; end if; end; Ent := Etype (Ent); end if; -- If we are stuck in a loop, get out and settle for the internal -- name after all. In this case we set to kill the message if it is -- not the first error message (we really try hard not to show the -- dirty laundry of the implementation to the poor user). if Ent = Old_Ent then Kill_Message := True; exit Find; end if; -- Get out if we finally found a non-internal name to use exit Find when not Is_Internal_Name (Chars (Ent)); end loop Find; if Mchar = '"' then Set_Msg_Char ('"'); end if; end Unwind_Internal_Type; -------------------- -- Warn_Insertion -- -------------------- function Warn_Insertion return String is begin case Warning_Msg_Char is when '?' => return "??"; when 'a' .. 'z' | 'A' .. 'Z' | '*' | '$' => return '?' & Warning_Msg_Char & '?'; when ' ' => return "?"; when others => raise Program_Error; end case; end Warn_Insertion; end Errout;
-- Copyright 2012-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Ops; use Ops; procedure Ops_Test is begin Dummy (Make (31) + Make (11)); -- BEGIN Dummy (Make (31) - Make (11)); Dummy (Make (31) * Make (11)); Dummy (Make (31) / Make (11)); Dummy (Make (31) mod Make (11)); Dummy (Make (31) rem Make (11)); Dummy (Make (31) ** Make (11)); Dummy (Make (31) < Make (11)); Dummy (Make (31) <= Make (11)); Dummy (Make (31) > Make (11)); Dummy (Make (31) >= Make (11)); Dummy (Make (31) = Make (11)); Dummy (Make (31) and Make (11)); Dummy (Make (31) or Make (11)); Dummy (Make (31) xor Make (11)); Dummy (Make (31) & Make (11)); Dummy (abs (Make (42))); Dummy (not Make (11)); Dummy (+ Make (11)); Dummy (- Make (11)); end Ops_Test;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with system; pragma Annotate (GNATprove, Intentional, "initialization of init_done is not mentioned in Initializes contract", "init_done is not a register, while it is a volatile"); package soc.dwt with spark_mode => on, abstract_state => ((Ctrl with external), -- this is a register (Cnt with external), -- this is a register (Lar_register with external), -- this is a register (Dem with external), -- this is a register Ini_F, Loo, Last), initializes => (Ctrl, Cnt, Dem, Ini_F) -- assumed as initialized is pragma assertion_policy (pre => IGNORE, post => IGNORE, assert => IGNORE); ----------------------------------------------------- -- SPARK ghost functions and procedures ----------------------------------------------------- function init_is_done return boolean with ghost; function check_32bits_overflow return boolean with ghost; -------------------------------------------------- -- The Data Watchpoint and Trace unit (DWT) -- -- (Cf. ARMv7-M Arch. Ref. Manual, C1.8, p.779) -- -------------------------------------------------- -- Reset the DWT-based timer procedure reset_timer with pre => not init_is_done, global => (input => Ini_F, in_out => (Dem, Ctrl), output => (Lar_register, Cnt)), depends => (Dem =>+ null, Lar_register => null, Cnt => null, Ctrl =>+ null, null => Ini_F); -- Start the DWT timer. The register is counting the number of -- CPU cycles procedure start_timer with pre => not init_is_done, global => (input => Ini_F, in_out => Ctrl), depends => (Ctrl =>+ null, null => Ini_F); -- stop the DWT timer procedure stop_timer with convention => c, export => true, external_name => "soc_dwt_stop_timer", pre => init_is_done, global => (input => Ini_F, in_out => Ctrl), depends => (Ctrl =>+ null, null => Ini_F); -- periodically check the DWT CYCCNT register for overflow. This permit -- to detect each time an overflow happends and increment the -- overflow counter to keep a valid 64 bit time value -- precondition check that the package has been initialized and that -- dwt_loop doesn't overflow procedure ovf_manage with pre => check_32bits_overflow, convention => c, export => true, external_name => "soc_dwt_ovf_manage"; -- initialize the DWT module -- This procedure is called by the kernel main() function, and as -- a consequence exported to C procedure init with pre => not init_is_done, global => (in_out => (Ini_F, Ctrl, Dem), output => (Last, Loo, Cnt, Lar_register)), convention => c, export => true, external_name => "soc_dwt_init"; -- get the DWT timer (without overflow support, keep a 32bit value) procedure get_cycles_32(cycles : out unsigned_32) with pre => init_is_done, global => (input => Ini_F, in_out => Cnt), depends => (Cnt =>+ null, cycles => Cnt, null => Ini_F); -- get the DWT timer with overflow support. permits linear measurement -- on 64 bits cycles time window (approx. 1270857 days) procedure get_cycles (cycles : out unsigned_64) with pre => init_is_done, global => (input => (Ini_F, Loo), in_out => Cnt), depends => (Cnt =>+ null, cycles => (Cnt, Loo), null => Ini_F); procedure get_microseconds (micros : out unsigned_64) with pre => init_is_done, global => (input => (Ini_F, Loo), in_out => Cnt), depends => (micros => (Cnt, Loo), Cnt =>+ null, null => Ini_F); procedure get_milliseconds (milli : out unsigned_64) with pre => init_is_done, global => (in_out => Cnt, input => (Loo, Ini_F)), depends => (milli => (Cnt, Loo), Cnt =>+ null, null => Ini_F); private -- -- Control register -- type t_DWT_CTRL is record CYCCNTENA : boolean; -- Enables CYCCNT POSTPRESET : bits_4; POSTINIT : bits_4; CYCTAP : bit; SYNCTAP : bits_2; PCSAMPLENA : bit; reserved_13_15 : bits_3; EXCTRCENA : bit; CPIEVTENA : bit; EXCEVTENA : bit; SLEEPEVTENA : bit; LSUEVTENA : bit; FOLDEVTENA : bit; CYCEVTENA : bit; reserved_23 : bit; NOPRFCNT : bit; NOCYCCNT : bit; NOEXTTRIG : bit; NOTRCPKT : bit; NUMCOMP : bits_4; end record with size => 32; for t_DWT_CTRL use record CYCCNTENA at 0 range 0 .. 0; POSTPRESET at 0 range 1 .. 4; POSTINIT at 0 range 5 .. 8; CYCTAP at 0 range 9 .. 9; SYNCTAP at 0 range 10 .. 11; PCSAMPLENA at 0 range 12 .. 12; reserved_13_15 at 0 range 13 .. 15; EXCTRCENA at 0 range 16 .. 16; CPIEVTENA at 0 range 17 .. 17; EXCEVTENA at 0 range 18 .. 18; SLEEPEVTENA at 0 range 19 .. 19; LSUEVTENA at 0 range 20 .. 20; FOLDEVTENA at 0 range 21 .. 21; CYCEVTENA at 0 range 22 .. 22; reserved_23 at 0 range 23 .. 23; NOPRFCNT at 0 range 24 .. 24; NOCYCCNT at 0 range 25 .. 25; NOEXTTRIG at 0 range 26 .. 26; NOTRCPKT at 0 range 27 .. 27; NUMCOMP at 0 range 28 .. 31; end record; DWT_CONTROL : t_DWT_CTRL with import, volatile, address => system'to_address (16#E000_1000#), part_of => Ctrl; -- -- CYCCNT register -- subtype t_DWT_CYCCNT is unsigned_32; DWT_CYCCNT : t_DWT_CYCCNT with import, volatile, address => system'to_address (16#E000_1004#), part_of => Cnt; -- Specify the package state. Set to true by init(). init_done : boolean := false with part_of => Ini_F; -- -- DWT CYCCNT register overflow counting -- This permit to support incremental getcycle -- with a time window of 64bits length (instead of 32bits) -- dwt_loops : unsigned_64 with part_of => Loo; -- -- Last measured DWT CYCCNT. Compared with current measurement, -- we can detect if the register has generated an overflow or not -- last_dwt : unsigned_32 with part_of => Last; -------------------------------------------------- -- CoreSight Software Lock registers -- -- Ref.: -- -- - ARMv7-M Arch. Ref. Manual, D1.1, p.826) -- -- - CoreSight Arch. Spec. B2.5.9, p.48 -- -------------------------------------------------- -- -- Lock Access Register (LAR) -- LAR : unsigned_32 with import, volatile, address => system'to_address (16#E000_1FB0#), part_of => Lar_register; LAR_ENABLE_WRITE_KEY : constant := 16#C5AC_CE55#; --------------------------------------------------------- -- Debug Exception and Monitor Control Register, DEMCR -- -- (Cf. ARMv7-M Arch. Ref. Manual, C1.6.5, p.765) -- --------------------------------------------------------- type t_DEMCR is record VC_CORERESET : boolean; -- Reset Vector Catch enabled reserved_1_3 : bits_3; VC_MMERR : boolean; -- Debug trap on a MemManage exception VC_NOCPERR : boolean; -- Debug trap on a UsageFault exception caused by an access to a -- Coprocessor VC_CHKERR : boolean; -- Debug trap on a UsageFault exception caused by a checking error VC_STATERR : boolean; -- Debug trap on a UsageFault exception caused by a state information -- error VC_BUSERR : boolean; -- Debug trap on a BusFault exception VC_INTERR : boolean; -- Debug trap on a fault occurring during exception entry or exception -- return VC_HARDERR : boolean; -- Debug trap on a HardFault exception reserved_11_15 : bits_5; MON_EN : boolean; -- DebugMonitor exception enabled MON_PEND : boolean; -- Sets or clears the pending state of the -- DebugMonitor exception MON_STEP : boolean; -- Step the processor MON_REQ : boolean; -- DebugMonitor semaphore bit reserved_20_23 : bits_4; TRCENA : boolean; -- DWT and ITM units enabled end record with size => 32; for t_DEMCR use record VC_CORERESET at 0 range 0 .. 0; reserved_1_3 at 0 range 1 .. 3; VC_MMERR at 0 range 4 .. 4; VC_NOCPERR at 0 range 5 .. 5; VC_CHKERR at 0 range 6 .. 6; VC_STATERR at 0 range 7 .. 7; VC_BUSERR at 0 range 8 .. 8; VC_INTERR at 0 range 9 .. 9; VC_HARDERR at 0 range 10 .. 10; reserved_11_15 at 0 range 11 .. 15; MON_EN at 0 range 16 .. 16; MON_PEND at 0 range 17 .. 17; MON_STEP at 0 range 18 .. 18; MON_REQ at 0 range 19 .. 19; reserved_20_23 at 0 range 20 .. 23; TRCENA at 0 range 24 .. 24; end record; DEMCR : t_DEMCR with import, volatile, address => system'to_address (16#E000_EDFC#), part_of => Dem; end soc.dwt;
-- Generated by a script from an "avr tools device file" (atdf) with HAL; use HAL; with System; package body SAM.Main_Clock is Base_Address : constant := 16#40000800#; AHBMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#10#); APBAMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#14#); APBBMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#18#); APBCMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#1C#); APBDMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#20#); -- HPB0 -- procedure HPB0_On is begin AHBMASK := AHBMASK or 16#1#; end HPB0_On; procedure HPB0_Off is begin AHBMASK := AHBMASK and not 16#1#; end HPB0_Off; -- HPB1 -- procedure HPB1_On is begin AHBMASK := AHBMASK or 16#2#; end HPB1_On; procedure HPB1_Off is begin AHBMASK := AHBMASK and not 16#2#; end HPB1_Off; -- HPB2 -- procedure HPB2_On is begin AHBMASK := AHBMASK or 16#4#; end HPB2_On; procedure HPB2_Off is begin AHBMASK := AHBMASK and not 16#4#; end HPB2_Off; -- HPB3 -- procedure HPB3_On is begin AHBMASK := AHBMASK or 16#8#; end HPB3_On; procedure HPB3_Off is begin AHBMASK := AHBMASK and not 16#8#; end HPB3_Off; -- DSU -- procedure DSU_On is begin AHBMASK := AHBMASK or 16#10#; APBBMASK := APBBMASK or 16#2#; end DSU_On; procedure DSU_Off is begin AHBMASK := AHBMASK and not 16#10#; APBBMASK := APBBMASK and not 16#2#; end DSU_Off; -- HMATRIX -- procedure HMATRIX_On is begin AHBMASK := AHBMASK or 16#20#; APBBMASK := APBBMASK or 16#40#; end HMATRIX_On; procedure HMATRIX_Off is begin AHBMASK := AHBMASK and not 16#20#; APBBMASK := APBBMASK and not 16#40#; end HMATRIX_Off; -- NVMCTRL -- procedure NVMCTRL_On is begin AHBMASK := AHBMASK or 16#40#; APBBMASK := APBBMASK or 16#4#; end NVMCTRL_On; procedure NVMCTRL_Off is begin AHBMASK := AHBMASK and not 16#40#; APBBMASK := APBBMASK and not 16#4#; end NVMCTRL_Off; -- HSRAM -- procedure HSRAM_On is begin AHBMASK := AHBMASK or 16#80#; end HSRAM_On; procedure HSRAM_Off is begin AHBMASK := AHBMASK and not 16#80#; end HSRAM_Off; -- CMCC -- procedure CMCC_On is begin AHBMASK := AHBMASK or 16#100#; end CMCC_On; procedure CMCC_Off is begin AHBMASK := AHBMASK and not 16#100#; end CMCC_Off; -- DMAC -- procedure DMAC_On is begin AHBMASK := AHBMASK or 16#200#; end DMAC_On; procedure DMAC_Off is begin AHBMASK := AHBMASK and not 16#200#; end DMAC_Off; -- USB -- procedure USB_On is begin AHBMASK := AHBMASK or 16#400#; APBBMASK := APBBMASK or 16#1#; end USB_On; procedure USB_Off is begin AHBMASK := AHBMASK and not 16#400#; APBBMASK := APBBMASK and not 16#1#; end USB_Off; -- BKUPRAM -- procedure BKUPRAM_On is begin AHBMASK := AHBMASK or 16#800#; end BKUPRAM_On; procedure BKUPRAM_Off is begin AHBMASK := AHBMASK and not 16#800#; end BKUPRAM_Off; -- PAC -- procedure PAC_On is begin AHBMASK := AHBMASK or 16#1000#; APBAMASK := APBAMASK or 16#1#; end PAC_On; procedure PAC_Off is begin AHBMASK := AHBMASK and not 16#1000#; APBAMASK := APBAMASK and not 16#1#; end PAC_Off; -- QSPI -- procedure QSPI_On is begin AHBMASK := AHBMASK or 16#2000#; APBCMASK := APBCMASK or 16#2000#; end QSPI_On; procedure QSPI_Off is begin AHBMASK := AHBMASK and not 16#2000#; APBCMASK := APBCMASK and not 16#2000#; end QSPI_Off; -- SDHC0 -- procedure SDHC0_On is begin AHBMASK := AHBMASK or 16#8000#; end SDHC0_On; procedure SDHC0_Off is begin AHBMASK := AHBMASK and not 16#8000#; end SDHC0_Off; -- ICM -- procedure ICM_On is begin AHBMASK := AHBMASK or 16#80000#; APBCMASK := APBCMASK or 16#800#; end ICM_On; procedure ICM_Off is begin AHBMASK := AHBMASK and not 16#80000#; APBCMASK := APBCMASK and not 16#800#; end ICM_Off; -- PUKCC -- procedure PUKCC_On is begin AHBMASK := AHBMASK or 16#100000#; end PUKCC_On; procedure PUKCC_Off is begin AHBMASK := AHBMASK and not 16#100000#; end PUKCC_Off; -- QSPI_2X -- procedure QSPI_2X_On is begin AHBMASK := AHBMASK or 16#200000#; end QSPI_2X_On; procedure QSPI_2X_Off is begin AHBMASK := AHBMASK and not 16#200000#; end QSPI_2X_Off; -- NVMCTRL_SMEEPROM -- procedure NVMCTRL_SMEEPROM_On is begin AHBMASK := AHBMASK or 16#400000#; end NVMCTRL_SMEEPROM_On; procedure NVMCTRL_SMEEPROM_Off is begin AHBMASK := AHBMASK and not 16#400000#; end NVMCTRL_SMEEPROM_Off; -- NVMCTRL_CACHE -- procedure NVMCTRL_CACHE_On is begin AHBMASK := AHBMASK or 16#800000#; end NVMCTRL_CACHE_On; procedure NVMCTRL_CACHE_Off is begin AHBMASK := AHBMASK and not 16#800000#; end NVMCTRL_CACHE_Off; -- PM -- procedure PM_On is begin APBAMASK := APBAMASK or 16#2#; end PM_On; procedure PM_Off is begin APBAMASK := APBAMASK and not 16#2#; end PM_Off; -- MCLK -- procedure MCLK_On is begin APBAMASK := APBAMASK or 16#4#; end MCLK_On; procedure MCLK_Off is begin APBAMASK := APBAMASK and not 16#4#; end MCLK_Off; -- RSTC -- procedure RSTC_On is begin APBAMASK := APBAMASK or 16#8#; end RSTC_On; procedure RSTC_Off is begin APBAMASK := APBAMASK and not 16#8#; end RSTC_Off; -- OSCCTRL -- procedure OSCCTRL_On is begin APBAMASK := APBAMASK or 16#10#; end OSCCTRL_On; procedure OSCCTRL_Off is begin APBAMASK := APBAMASK and not 16#10#; end OSCCTRL_Off; -- OSC32KCTRL -- procedure OSC32KCTRL_On is begin APBAMASK := APBAMASK or 16#20#; end OSC32KCTRL_On; procedure OSC32KCTRL_Off is begin APBAMASK := APBAMASK and not 16#20#; end OSC32KCTRL_Off; -- SUPC -- procedure SUPC_On is begin APBAMASK := APBAMASK or 16#40#; end SUPC_On; procedure SUPC_Off is begin APBAMASK := APBAMASK and not 16#40#; end SUPC_Off; -- GCLK -- procedure GCLK_On is begin APBAMASK := APBAMASK or 16#80#; end GCLK_On; procedure GCLK_Off is begin APBAMASK := APBAMASK and not 16#80#; end GCLK_Off; -- WDT -- procedure WDT_On is begin APBAMASK := APBAMASK or 16#100#; end WDT_On; procedure WDT_Off is begin APBAMASK := APBAMASK and not 16#100#; end WDT_Off; -- RTC -- procedure RTC_On is begin APBAMASK := APBAMASK or 16#200#; end RTC_On; procedure RTC_Off is begin APBAMASK := APBAMASK and not 16#200#; end RTC_Off; -- EIC -- procedure EIC_On is begin APBAMASK := APBAMASK or 16#400#; end EIC_On; procedure EIC_Off is begin APBAMASK := APBAMASK and not 16#400#; end EIC_Off; -- FREQM -- procedure FREQM_On is begin APBAMASK := APBAMASK or 16#800#; end FREQM_On; procedure FREQM_Off is begin APBAMASK := APBAMASK and not 16#800#; end FREQM_Off; -- SERCOM0 -- procedure SERCOM0_On is begin APBAMASK := APBAMASK or 16#1000#; end SERCOM0_On; procedure SERCOM0_Off is begin APBAMASK := APBAMASK and not 16#1000#; end SERCOM0_Off; -- SERCOM1 -- procedure SERCOM1_On is begin APBAMASK := APBAMASK or 16#2000#; end SERCOM1_On; procedure SERCOM1_Off is begin APBAMASK := APBAMASK and not 16#2000#; end SERCOM1_Off; -- TC0 -- procedure TC0_On is begin APBAMASK := APBAMASK or 16#4000#; end TC0_On; procedure TC0_Off is begin APBAMASK := APBAMASK and not 16#4000#; end TC0_Off; -- TC1 -- procedure TC1_On is begin APBAMASK := APBAMASK or 16#8000#; end TC1_On; procedure TC1_Off is begin APBAMASK := APBAMASK and not 16#8000#; end TC1_Off; -- PORT -- procedure PORT_On is begin APBBMASK := APBBMASK or 16#10#; end PORT_On; procedure PORT_Off is begin APBBMASK := APBBMASK and not 16#10#; end PORT_Off; -- EVSYS -- procedure EVSYS_On is begin APBBMASK := APBBMASK or 16#80#; end EVSYS_On; procedure EVSYS_Off is begin APBBMASK := APBBMASK and not 16#80#; end EVSYS_Off; -- SERCOM2 -- procedure SERCOM2_On is begin APBBMASK := APBBMASK or 16#200#; end SERCOM2_On; procedure SERCOM2_Off is begin APBBMASK := APBBMASK and not 16#200#; end SERCOM2_Off; -- SERCOM3 -- procedure SERCOM3_On is begin APBBMASK := APBBMASK or 16#400#; end SERCOM3_On; procedure SERCOM3_Off is begin APBBMASK := APBBMASK and not 16#400#; end SERCOM3_Off; -- TCC0 -- procedure TCC0_On is begin APBBMASK := APBBMASK or 16#800#; end TCC0_On; procedure TCC0_Off is begin APBBMASK := APBBMASK and not 16#800#; end TCC0_Off; -- TCC1 -- procedure TCC1_On is begin APBBMASK := APBBMASK or 16#1000#; end TCC1_On; procedure TCC1_Off is begin APBBMASK := APBBMASK and not 16#1000#; end TCC1_Off; -- TC2 -- procedure TC2_On is begin APBBMASK := APBBMASK or 16#2000#; end TC2_On; procedure TC2_Off is begin APBBMASK := APBBMASK and not 16#2000#; end TC2_Off; -- TC3 -- procedure TC3_On is begin APBBMASK := APBBMASK or 16#4000#; end TC3_On; procedure TC3_Off is begin APBBMASK := APBBMASK and not 16#4000#; end TC3_Off; -- RAMECC -- procedure RAMECC_On is begin APBBMASK := APBBMASK or 16#10000#; end RAMECC_On; procedure RAMECC_Off is begin APBBMASK := APBBMASK and not 16#10000#; end RAMECC_Off; -- TCC2 -- procedure TCC2_On is begin APBCMASK := APBCMASK or 16#8#; end TCC2_On; procedure TCC2_Off is begin APBCMASK := APBCMASK and not 16#8#; end TCC2_Off; -- TCC3 -- procedure TCC3_On is begin APBCMASK := APBCMASK or 16#10#; end TCC3_On; procedure TCC3_Off is begin APBCMASK := APBCMASK and not 16#10#; end TCC3_Off; -- TC4 -- procedure TC4_On is begin APBCMASK := APBCMASK or 16#20#; end TC4_On; procedure TC4_Off is begin APBCMASK := APBCMASK and not 16#20#; end TC4_Off; -- TC5 -- procedure TC5_On is begin APBCMASK := APBCMASK or 16#40#; end TC5_On; procedure TC5_Off is begin APBCMASK := APBCMASK and not 16#40#; end TC5_Off; -- PDEC -- procedure PDEC_On is begin APBCMASK := APBCMASK or 16#80#; end PDEC_On; procedure PDEC_Off is begin APBCMASK := APBCMASK and not 16#80#; end PDEC_Off; -- AC -- procedure AC_On is begin APBCMASK := APBCMASK or 16#100#; end AC_On; procedure AC_Off is begin APBCMASK := APBCMASK and not 16#100#; end AC_Off; -- AES -- procedure AES_On is begin APBCMASK := APBCMASK or 16#200#; end AES_On; procedure AES_Off is begin APBCMASK := APBCMASK and not 16#200#; end AES_Off; -- TRNG -- procedure TRNG_On is begin APBCMASK := APBCMASK or 16#400#; end TRNG_On; procedure TRNG_Off is begin APBCMASK := APBCMASK and not 16#400#; end TRNG_Off; -- CCL -- procedure CCL_On is begin APBCMASK := APBCMASK or 16#4000#; end CCL_On; procedure CCL_Off is begin APBCMASK := APBCMASK and not 16#4000#; end CCL_Off; -- SERCOM4 -- procedure SERCOM4_On is begin APBDMASK := APBDMASK or 16#1#; end SERCOM4_On; procedure SERCOM4_Off is begin APBDMASK := APBDMASK and not 16#1#; end SERCOM4_Off; -- SERCOM5 -- procedure SERCOM5_On is begin APBDMASK := APBDMASK or 16#2#; end SERCOM5_On; procedure SERCOM5_Off is begin APBDMASK := APBDMASK and not 16#2#; end SERCOM5_Off; -- TCC4 -- procedure TCC4_On is begin APBDMASK := APBDMASK or 16#10#; end TCC4_On; procedure TCC4_Off is begin APBDMASK := APBDMASK and not 16#10#; end TCC4_Off; -- ADC0 -- procedure ADC0_On is begin APBDMASK := APBDMASK or 16#80#; end ADC0_On; procedure ADC0_Off is begin APBDMASK := APBDMASK and not 16#80#; end ADC0_Off; -- ADC1 -- procedure ADC1_On is begin APBDMASK := APBDMASK or 16#100#; end ADC1_On; procedure ADC1_Off is begin APBDMASK := APBDMASK and not 16#100#; end ADC1_Off; -- DAC -- procedure DAC_On is begin APBDMASK := APBDMASK or 16#200#; end DAC_On; procedure DAC_Off is begin APBDMASK := APBDMASK and not 16#200#; end DAC_Off; -- I2S -- procedure I2S_On is begin APBDMASK := APBDMASK or 16#400#; end I2S_On; procedure I2S_Off is begin APBDMASK := APBDMASK and not 16#400#; end I2S_Off; -- PCC -- procedure PCC_On is begin APBDMASK := APBDMASK or 16#800#; end PCC_On; procedure PCC_Off is begin APBDMASK := APBDMASK and not 16#800#; end PCC_Off; end SAM.Main_Clock;
pragma License (Unrestricted); -- BSD 3-Clause -- translated unit from dSFMT (dSFMT-common.h, dSFMT.c) private generic package Ada.Numerics.dSFMT.Generating is -- SSE2 version pragma Preelaborate; procedure do_recursion ( r : aliased out w128_t; a, b : aliased w128_t; lung : aliased in out w128_t) with Convention => Intrinsic; pragma Inline_Always (do_recursion); procedure convert_c0o1 (w : aliased in out w128_t) with Convention => Intrinsic; procedure convert_o0c1 (w : aliased in out w128_t) with Convention => Intrinsic; procedure convert_o0o1 (w : aliased in out w128_t) with Convention => Intrinsic; pragma Inline_Always (convert_c0o1); pragma Inline_Always (convert_o0c1); pragma Inline_Always (convert_o0o1); end Ada.Numerics.dSFMT.Generating;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UML.Communication_Paths.Collections is pragma Preelaborate; package UML_Communication_Path_Collections is new AMF.Generic_Collections (UML_Communication_Path, UML_Communication_Path_Access); type Set_Of_UML_Communication_Path is new UML_Communication_Path_Collections.Set with null record; Empty_Set_Of_UML_Communication_Path : constant Set_Of_UML_Communication_Path; type Ordered_Set_Of_UML_Communication_Path is new UML_Communication_Path_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Communication_Path : constant Ordered_Set_Of_UML_Communication_Path; type Bag_Of_UML_Communication_Path is new UML_Communication_Path_Collections.Bag with null record; Empty_Bag_Of_UML_Communication_Path : constant Bag_Of_UML_Communication_Path; type Sequence_Of_UML_Communication_Path is new UML_Communication_Path_Collections.Sequence with null record; Empty_Sequence_Of_UML_Communication_Path : constant Sequence_Of_UML_Communication_Path; private Empty_Set_Of_UML_Communication_Path : constant Set_Of_UML_Communication_Path := (UML_Communication_Path_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Communication_Path : constant Ordered_Set_Of_UML_Communication_Path := (UML_Communication_Path_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Communication_Path : constant Bag_Of_UML_Communication_Path := (UML_Communication_Path_Collections.Bag with null record); Empty_Sequence_Of_UML_Communication_Path : constant Sequence_Of_UML_Communication_Path := (UML_Communication_Path_Collections.Sequence with null record); end AMF.UML.Communication_Paths.Collections;
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin @; Put('a'); end;
-- with Ada.Text_IO; use Ada.Text_IO; with Glib; use Glib; with Glib.Error; use Glib.Error; with Glib.Object; use Glib.Object; with Gtk.Box; use Gtk.Box; with Gtk.Builder; use Gtk.Builder; with Gtk.Button; use Gtk.Button; with Gtk.Frame; use Gtk.Frame; with Gtk.Handlers; with adam.Assist; package body aIDE.Palette.of_exceptions_subpackages is use Adam; type button_Info is record -- package_Name : Text; Self : aIDE.Palette.of_exceptions.view; the_Exception : AdaM.Declaration.of_exception.view; end record; procedure on_exception_Button_clicked (the_Button : access Gtk_Button_Record'Class; the_Info : in button_Info) is pragma Unreferenced (the_Button); -- the_exception_Name : constant String := assist.Tail_of (the_Button.Get_Label); begin the_Info.Self.choice_is (--the_exception_Name, -- +the_Info.package_Name, the_Info.the_Exception); end on_exception_Button_clicked; package Button_Callbacks is new Gtk.Handlers.User_Callback (Gtk_Button_Record, button_Info); -- Forge -- function to_exceptions_Palette_package return View is Self : constant Palette.of_exceptions_subpackages.view := new Palette.of_exceptions_subpackages.item; the_Builder : Gtk_Builder; Error : aliased GError; Result : Guint; pragma Unreferenced (Result); begin Gtk_New (the_Builder); Result := the_Builder.Add_From_File ("glade/palette/exception_palette-subpackages.glade", Error'Access); if Error /= null then raise Program_Error with "Error: 'aIDE.Palette.of_exceptions_subpackages.to_exceptions_Palette_package' ~ " & Get_Message (Error); end if; Self.Top := gtk_Frame (the_Builder.get_Object ("top_Frame")); Self.children_Notebook := gtk_Notebook (the_Builder.get_Object ("children_Notebook")); Self.exceptions_Box := gtk_Box (the_Builder.get_Object ("exceptions_Box")); -- enable_bold_Tabs_for (Self.children_Notebook); return Self; end to_exceptions_Palette_package; function new_Button (for_Exception : in AdaM.Declaration.of_exception.view; Named : in String; package_Name : in String; exceptions_Palette : in palette.of_exceptions.view; use_simple_Name : in Boolean) return gtk.Button.gtk_Button is full_Name : constant String := package_Name & "." & Named; the_Button : gtk_Button; begin if use_simple_Name then gtk_New (the_Button, Named); else gtk_New (the_Button, assist.type_button_Name_of (Identifier (full_Name))); end if; the_Button.Set_Tooltip_Text (full_Name); Button_Callbacks.connect (the_Button, "clicked", on_exception_Button_clicked'Access, (--+package_Name, exceptions_Palette, for_Exception)); return the_Button; end new_Button; function new_Button (Named : in String; package_Name : in String; exceptions_Palette : in palette.of_exceptions.view; use_simple_Name : in Boolean; the_Exception : in AdaM.Declaration.of_exception.view) return gtk.Button.gtk_Button is full_Name : constant String := package_Name & "." & Named; the_Button : gtk_Button; begin if use_simple_Name then gtk_New (the_Button, Named); else gtk_New (the_Button, assist.type_button_Name_of (Identifier (full_Name))); end if; the_Button.Set_Tooltip_Text (full_Name); Button_Callbacks.connect (the_Button, "clicked", on_exception_Button_clicked'Access, (--+package_Name, exceptions_Palette, the_Exception)); return the_Button; end new_Button; -- Attributes -- procedure Parent_is (Self : in out Item; Now : in aIDE.Palette.of_exceptions.view) is begin Self.Parent := Now; end Parent_is; function top_Widget (Self : in Item) return gtk.Widget.Gtk_Widget is begin return gtk.Widget.Gtk_Widget (Self.Top); end top_Widget; function children_Notebook (Self : in Item) return gtk_Notebook is begin return Self.children_Notebook; end children_Notebook; -- Operations -- -- procedure add_Exception (Self : access Item; Named : in String; -- package_Name : in String) -- is -- the_Button : constant gtk_Button := new_Button (Named, -- package_Name, -- Self.Parent, -- use_simple_Name => True); -- begin -- -- gtk_New (the_Button, Named); -- -- -- -- Button_Callbacks.connect (the_Button, -- -- "clicked", -- -- on_exception_Button_clicked'Access, -- -- (+package_Name, -- -- Self.Parent)); -- -- Self.exceptions_Box.pack_Start (the_Button); -- end add_Exception; procedure add_Exception (Self : access Item; the_Exception : in AdaM.Declaration.of_exception.view; the_Package : in AdaM.a_Package.view) is the_Button : constant gtk_Button := new_Button (+the_Exception.Name, +the_Package.Name, -- "", --the_Exception.package_Name, Self.Parent, use_simple_Name => True, the_Exception => the_Exception); begin -- gtk_New (the_Button, Named); -- -- Button_Callbacks.connect (the_Button, -- "clicked", -- on_exception_Button_clicked'Access, -- (+package_Name, -- Self.Parent)); Self.exceptions_Box.pack_Start (the_Button); end add_Exception; end aIDE.Palette.of_exceptions_subpackages;
-- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LALR Ada re2c wisitoken_grammar.wy -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- Author: Stephen Leake <stephe-leake@stephe-leake.org> -- -- This file is part of GNU Emacs. -- -- GNU Emacs is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- GNU Emacs 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. with Wisitoken_Grammar_Actions; use Wisitoken_Grammar_Actions; with WisiToken.Lexer.re2c; with wisitoken_grammar_re2c_c; package body Wisitoken_Grammar_Main is package Lexer is new WisiToken.Lexer.re2c (wisitoken_grammar_re2c_c.New_Lexer, wisitoken_grammar_re2c_c.Free_Lexer, wisitoken_grammar_re2c_c.Reset_Lexer, wisitoken_grammar_re2c_c.Next_Token); procedure Create_Parser (Parser : out WisiToken.Parse.LR.Parser_No_Recover.Parser; Trace : not null access WisiToken.Trace'Class; User_Data : in WisiToken.Syntax_Trees.User_Data_Access) is use WisiToken.Parse.LR; Table : constant Parse_Table_Ptr := new Parse_Table (State_First => 0, State_Last => 102, First_Terminal => 3, Last_Terminal => 36, First_Nonterminal => 37, Last_Nonterminal => 56); begin declare procedure Subr_1 is begin Add_Action (Table.States (0), 23, 1); Add_Action (Table.States (0), 33, 2); Add_Error (Table.States (0)); Add_Goto (Table.States (0), 38, 3); Add_Goto (Table.States (0), 43, 4); Add_Goto (Table.States (0), 55, 5); Add_Goto (Table.States (0), 56, 6); Add_Action (Table.States (1), 3, 7); Add_Action (Table.States (1), 4, 8); Add_Action (Table.States (1), 5, 9); Add_Action (Table.States (1), 6, 10); Add_Action (Table.States (1), 7, 11); Add_Action (Table.States (1), 8, 12); Add_Action (Table.States (1), 33, 13); Add_Error (Table.States (1)); Add_Goto (Table.States (1), 39, 14); Add_Action (Table.States (2), 13, 15); Add_Action (Table.States (2), 14, 16); Add_Error (Table.States (2)); Add_Action (Table.States (3), (23, 33, 36), (55, 0), 1, null, null); Add_Action (Table.States (4), (23, 33, 36), (55, 1), 1, null, null); Add_Action (Table.States (5), (23, 33, 36), (56, 0), 1, null, null); Add_Action (Table.States (6), 23, 1); Add_Action (Table.States (6), 33, 2); Add_Action (Table.States (6), 36, Accept_It, (37, 0), 1, null, null); Add_Error (Table.States (6)); Add_Goto (Table.States (6), 38, 3); Add_Goto (Table.States (6), 43, 4); Add_Goto (Table.States (6), 55, 17); Add_Action (Table.States (7), 33, 18); Add_Error (Table.States (7)); Add_Goto (Table.States (7), 40, 19); Add_Action (Table.States (8), 5, 20); Add_Error (Table.States (8)); Add_Action (Table.States (9), 33, 21); Add_Error (Table.States (9)); Add_Action (Table.States (10), (1 => 33), (39, 0), 1, null, null); Add_Action (Table.States (11), 21, 22); Add_Error (Table.States (11)); Add_Action (Table.States (12), 21, 23); Add_Error (Table.States (12)); Add_Action (Table.States (13), 8, 24); Add_Action (Table.States (13), 10, 25); Add_Action (Table.States (13), 15, 26); Add_Action (Table.States (13), 16, 27); Add_Action (Table.States (13), 20, 28); Add_Action (Table.States (13), 23, Reduce, (38, 3), 2, declaration_3'Access, null); Add_Action (Table.States (13), 28, 29); Add_Action (Table.States (13), 30, 30); Add_Action (Table.States (13), 32, 31); Add_Action (Table.States (13), 33, 32); Add_Conflict (Table.States (13), 33, (38, 3), 2, declaration_3'Access, null); Add_Action (Table.States (13), 34, 33); Add_Action (Table.States (13), 35, 34); Add_Action (Table.States (13), 36, Reduce, (38, 3), 2, declaration_3'Access, null); Add_Error (Table.States (13)); Add_Goto (Table.States (13), 41, 35); Add_Goto (Table.States (13), 42, 36); Add_Action (Table.States (14), 33, 37); Add_Error (Table.States (14)); Add_Action (Table.States (15), 12, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (15), 18, 38); Add_Action (Table.States (15), 19, 39); Add_Action (Table.States (15), 20, 40); Add_Action (Table.States (15), 21, 41); Add_Action (Table.States (15), 23, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (15), 29, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (15), 33, 42); Add_Conflict (Table.States (15), 33, (46, 0), 0, null, null); Add_Action (Table.States (15), 35, 43); Add_Action (Table.States (15), 36, Reduce, (46, 0), 0, null, null); Add_Error (Table.States (15)); Add_Goto (Table.States (15), 45, 44); Add_Goto (Table.States (15), 46, 45); Add_Goto (Table.States (15), 47, 46); Add_Goto (Table.States (15), 48, 47); Add_Goto (Table.States (15), 49, 48); Add_Goto (Table.States (15), 50, 49); Add_Goto (Table.States (15), 51, 50); Add_Goto (Table.States (15), 52, 51); Add_Goto (Table.States (15), 53, 52); Add_Action (Table.States (16), 12, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (16), 18, 38); Add_Action (Table.States (16), 19, 39); Add_Action (Table.States (16), 20, 40); Add_Action (Table.States (16), 21, 41); Add_Action (Table.States (16), 23, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (16), 29, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (16), 33, 42); Add_Conflict (Table.States (16), 33, (46, 0), 0, null, null); Add_Action (Table.States (16), 35, 43); Add_Action (Table.States (16), 36, Reduce, (46, 0), 0, null, null); Add_Error (Table.States (16)); Add_Goto (Table.States (16), 45, 53); Add_Goto (Table.States (16), 46, 45); Add_Goto (Table.States (16), 47, 46); Add_Goto (Table.States (16), 48, 47); Add_Goto (Table.States (16), 49, 48); Add_Goto (Table.States (16), 50, 49); Add_Goto (Table.States (16), 51, 50); Add_Goto (Table.States (16), 52, 51); Add_Goto (Table.States (16), 53, 52); Add_Action (Table.States (17), (23, 33, 36), (56, 1), 2, null, null); Add_Action (Table.States (18), (9, 33), (40, 0), 1, null, null); Add_Action (Table.States (19), 9, 54); Add_Action (Table.States (19), 33, 55); Add_Error (Table.States (19)); Add_Action (Table.States (20), (23, 33, 36), (38, 5), 3, declaration_5'Access, null); Add_Action (Table.States (21), 16, 56); Add_Error (Table.States (21)); Add_Action (Table.States (22), 33, 57); Add_Error (Table.States (22)); Add_Action (Table.States (23), 33, 58); Add_Error (Table.States (23)); Add_Action (Table.States (24), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 10), 1, null, null); Add_Action (Table.States (25), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 5), 1, null, null); Add_Action (Table.States (26), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 0), 1, null, null); Add_Action (Table.States (27), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 2), 1, null, null); Add_Action (Table.States (28), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 3), 1, null, null); Add_Action (Table.States (29), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 6), 1, null, null); Add_Action (Table.States (30), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 7), 1, null, null); Add_Action (Table.States (31), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 4), 1, null, null); Add_Action (Table.States (32), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 1), 1, null, null); Add_Action (Table.States (33), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 8), 1, null, null); Add_Action (Table.States (34), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (42, 9), 1, null, null); Add_Action (Table.States (35), 8, 24); Add_Action (Table.States (35), 10, 25); Add_Action (Table.States (35), 15, 26); Add_Action (Table.States (35), 16, 27); Add_Action (Table.States (35), 20, 28); Add_Action (Table.States (35), 23, Reduce, (38, 2), 3, declaration_2'Access, null); Add_Action (Table.States (35), 28, 29); Add_Action (Table.States (35), 30, 30); Add_Action (Table.States (35), 32, 31); Add_Action (Table.States (35), 33, 32); Add_Conflict (Table.States (35), 33, (38, 2), 3, declaration_2'Access, null); Add_Action (Table.States (35), 34, 33); Add_Action (Table.States (35), 35, 34); Add_Action (Table.States (35), 36, Reduce, (38, 2), 3, declaration_2'Access, null); Add_Error (Table.States (35)); Add_Goto (Table.States (35), 42, 59); Add_Action (Table.States (36), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (41, 0), 1, null, null); Add_Action (Table.States (37), 8, 24); Add_Action (Table.States (37), 10, 25); Add_Action (Table.States (37), 15, 26); Add_Action (Table.States (37), 16, 27); Add_Action (Table.States (37), 20, 28); Add_Action (Table.States (37), 28, 29); Add_Action (Table.States (37), 30, 30); Add_Action (Table.States (37), 32, 31); Add_Action (Table.States (37), 33, 32); Add_Action (Table.States (37), 34, 33); Add_Action (Table.States (37), 35, 34); Add_Error (Table.States (37)); Add_Goto (Table.States (37), 41, 60); Add_Goto (Table.States (37), 42, 36); Add_Action (Table.States (38), 18, 38); Add_Action (Table.States (38), 19, 39); Add_Action (Table.States (38), 20, 40); Add_Action (Table.States (38), 21, 41); Add_Action (Table.States (38), 33, 42); Add_Action (Table.States (38), 35, 43); Add_Error (Table.States (38)); Add_Goto (Table.States (38), 47, 46); Add_Goto (Table.States (38), 48, 47); Add_Goto (Table.States (38), 49, 61); Add_Goto (Table.States (38), 50, 49); Add_Goto (Table.States (38), 51, 50); Add_Goto (Table.States (38), 52, 51); Add_Goto (Table.States (38), 53, 52); Add_Goto (Table.States (38), 54, 62); Add_Action (Table.States (39), 18, 38); Add_Action (Table.States (39), 19, 39); Add_Action (Table.States (39), 20, 40); Add_Action (Table.States (39), 21, 41); Add_Action (Table.States (39), 33, 42); Add_Action (Table.States (39), 35, 43); Add_Error (Table.States (39)); Add_Goto (Table.States (39), 47, 46); Add_Goto (Table.States (39), 48, 47); Add_Goto (Table.States (39), 49, 61); Add_Goto (Table.States (39), 50, 49); Add_Goto (Table.States (39), 51, 50); Add_Goto (Table.States (39), 52, 51); Add_Goto (Table.States (39), 53, 52); Add_Goto (Table.States (39), 54, 63); Add_Action (Table.States (40), 18, 38); Add_Action (Table.States (40), 19, 39); Add_Action (Table.States (40), 20, 40); Add_Action (Table.States (40), 21, 41); Add_Action (Table.States (40), 33, 42); Add_Action (Table.States (40), 35, 43); Add_Error (Table.States (40)); Add_Goto (Table.States (40), 47, 46); Add_Goto (Table.States (40), 48, 47); Add_Goto (Table.States (40), 49, 61); Add_Goto (Table.States (40), 50, 49); Add_Goto (Table.States (40), 51, 50); Add_Goto (Table.States (40), 52, 51); Add_Goto (Table.States (40), 53, 52); Add_Goto (Table.States (40), 54, 64); Add_Action (Table.States (41), 33, 65); Add_Error (Table.States (41)); Add_Action (Table.States (42), 11, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 12, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 16, 66); Add_Action (Table.States (42), 18, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 19, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 20, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 21, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 23, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 24, 67); Add_Action (Table.States (42), 25, 68); Add_Action (Table.States (42), 26, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 27, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 28, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 29, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 31, 69); Add_Action (Table.States (42), 33, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 35, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (42), 36, Reduce, (50, 0), 1, null, null); Add_Error (Table.States (42)); Add_Action (Table.States (43), 11, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 12, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 18, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 19, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 20, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 21, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 23, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 25, 70); Add_Action (Table.States (43), 26, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 27, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 28, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 29, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 33, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 35, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Action (Table.States (43), 36, Reduce, (50, 1), 1, rhs_item_1'Access, null); Add_Error (Table.States (43)); Add_Action (Table.States (44), 12, 71); Add_Action (Table.States (44), 23, 72); Add_Conflict (Table.States (44), 23, (44, 1), 0, null, null); Add_Action (Table.States (44), 29, 73); Add_Action (Table.States (44), 33, Reduce, (44, 1), 0, null, null); Add_Action (Table.States (44), 36, Reduce, (44, 1), 0, null, null); Add_Error (Table.States (44)); Add_Goto (Table.States (44), 44, 74); Add_Action (Table.States (45), (12, 23, 29, 33, 36), (45, 0), 1, null, null); Add_Action (Table.States (46), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (50, 2), 1, rhs_item_2'Access, null); Add_Action (Table.States (47), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (49, 0), 1, null, null); Add_Action (Table.States (48), 11, 75); Add_Action (Table.States (48), 12, Reduce, (46, 1), 1, null, null); Add_Action (Table.States (48), 18, 38); Add_Action (Table.States (48), 19, 39); Add_Action (Table.States (48), 20, 40); Add_Action (Table.States (48), 21, 41); Add_Action (Table.States (48), 23, Reduce, (46, 1), 1, null, null); Add_Action (Table.States (48), 29, Reduce, (46, 1), 1, null, null); Add_Action (Table.States (48), 33, 42); Add_Conflict (Table.States (48), 33, (46, 1), 1, null, null); Add_Action (Table.States (48), 35, 43); Add_Action (Table.States (48), 36, Reduce, (46, 1), 1, null, null); Add_Error (Table.States (48)); Add_Goto (Table.States (48), 47, 46); Add_Goto (Table.States (48), 48, 76); Add_Goto (Table.States (48), 50, 49); Add_Goto (Table.States (48), 51, 50); Add_Goto (Table.States (48), 52, 51); Add_Goto (Table.States (48), 53, 52); Add_Action (Table.States (49), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (48, 0), 1, null, null); Add_Action (Table.States (50), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (50, 5), 1, rhs_item_5'Access, null); Add_Action (Table.States (51), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (50, 3), 1, rhs_item_3'Access, null); Add_Action (Table.States (52), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (50, 4), 1, rhs_item_4'Access, null); Add_Action (Table.States (53), 12, 71); Add_Action (Table.States (53), 23, 72); Add_Conflict (Table.States (53), 23, (44, 1), 0, null, null); Add_Action (Table.States (53), 29, 73); Add_Action (Table.States (53), 33, Reduce, (44, 1), 0, null, null); Add_Action (Table.States (53), 36, Reduce, (44, 1), 0, null, null); Add_Error (Table.States (53)); Add_Goto (Table.States (53), 44, 77); Add_Action (Table.States (54), (23, 33, 36), (38, 1), 4, declaration_1'Access, null); Add_Action (Table.States (55), (9, 33), (40, 1), 2, null, null); Add_Action (Table.States (56), 33, 78); Add_Error (Table.States (56)); Add_Action (Table.States (57), 17, 79); Add_Error (Table.States (57)); Add_Action (Table.States (58), 17, 80); Add_Error (Table.States (58)); Add_Action (Table.States (59), (8, 10, 15, 16, 20, 23, 28, 30, 32, 33, 34, 35, 36), (41, 1), 2, null, null); Add_Action (Table.States (60), 8, 24); Add_Action (Table.States (60), 10, 25); Add_Action (Table.States (60), 15, 26); Add_Action (Table.States (60), 16, 27); Add_Action (Table.States (60), 20, 28); Add_Action (Table.States (60), 23, Reduce, (38, 0), 4, declaration_0'Access, null); Add_Action (Table.States (60), 28, 29); Add_Action (Table.States (60), 30, 30); Add_Action (Table.States (60), 32, 31); Add_Action (Table.States (60), 33, 32); Add_Conflict (Table.States (60), 33, (38, 0), 4, declaration_0'Access, null); Add_Action (Table.States (60), 34, 33); Add_Action (Table.States (60), 35, 34); Add_Action (Table.States (60), 36, Reduce, (38, 0), 4, declaration_0'Access, null); Add_Error (Table.States (60)); Add_Goto (Table.States (60), 42, 59); Add_Action (Table.States (61), 12, Reduce, (54, 0), 1, null, null); Add_Action (Table.States (61), 18, 38); Add_Action (Table.States (61), 19, 39); Add_Action (Table.States (61), 20, 40); Add_Action (Table.States (61), 21, 41); Add_Action (Table.States (61), 26, Reduce, (54, 0), 1, null, null); Add_Action (Table.States (61), 27, Reduce, (54, 0), 1, null, null); Add_Action (Table.States (61), 28, Reduce, (54, 0), 1, null, null); Add_Action (Table.States (61), 33, 42); Add_Action (Table.States (61), 35, 43); Add_Error (Table.States (61)); Add_Goto (Table.States (61), 47, 46); Add_Goto (Table.States (61), 48, 76); Add_Goto (Table.States (61), 50, 49); Add_Goto (Table.States (61), 51, 50); Add_Goto (Table.States (61), 52, 51); Add_Goto (Table.States (61), 53, 52); Add_Action (Table.States (62), 12, 81); Add_Action (Table.States (62), 26, 82); Add_Error (Table.States (62)); Add_Action (Table.States (63), 12, 81); Add_Action (Table.States (63), 27, 83); Add_Error (Table.States (63)); Add_Action (Table.States (64), 12, 81); Add_Action (Table.States (64), 28, 84); Add_Error (Table.States (64)); Add_Action (Table.States (65), 16, 85); Add_Error (Table.States (65)); Add_Action (Table.States (66), 18, 38); Add_Action (Table.States (66), 19, 39); Add_Action (Table.States (66), 20, 40); Add_Action (Table.States (66), 21, 41); Add_Action (Table.States (66), 33, 86); Add_Action (Table.States (66), 35, 43); Add_Error (Table.States (66)); Add_Goto (Table.States (66), 47, 46); Add_Goto (Table.States (66), 50, 87); Add_Goto (Table.States (66), 51, 50); Add_Goto (Table.States (66), 52, 51); Add_Goto (Table.States (66), 53, 52); Add_Action (Table.States (67), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (53, 4), 2, null, null); Add_Action (Table.States (68), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (52, 2), 2, null, null); Add_Action (Table.States (69), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (53, 5), 2, null, null); Add_Action (Table.States (70), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (52, 3), 2, rhs_optional_item_3'Access, null); Add_Action (Table.States (71), 12, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (71), 18, 38); Add_Action (Table.States (71), 19, 39); Add_Action (Table.States (71), 20, 40); Add_Action (Table.States (71), 21, 41); Add_Action (Table.States (71), 23, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (71), 29, Reduce, (46, 0), 0, null, null); Add_Action (Table.States (71), 33, 42); Add_Conflict (Table.States (71), 33, (46, 0), 0, null, null); Add_Action (Table.States (71), 35, 43); Add_Action (Table.States (71), 36, Reduce, (46, 0), 0, null, null); Add_Error (Table.States (71)); Add_Goto (Table.States (71), 46, 88); Add_Goto (Table.States (71), 47, 46); Add_Goto (Table.States (71), 48, 47); Add_Goto (Table.States (71), 49, 48); Add_Goto (Table.States (71), 50, 49); Add_Goto (Table.States (71), 51, 50); Add_Goto (Table.States (71), 52, 51); Add_Goto (Table.States (71), 53, 52); Add_Action (Table.States (72), 4, 89); Add_Action (Table.States (72), 5, 90); Add_Error (Table.States (72)); Add_Action (Table.States (73), (23, 33, 36), (44, 0), 1, null, null); Add_Action (Table.States (74), (23, 33, 36), (43, 0), 4, nonterminal_0'Access, null); Add_Action (Table.States (75), 11, 91); Add_Action (Table.States (75), 12, Reduce, (46, 2), 2, null, null); Add_Action (Table.States (75), 23, Reduce, (46, 2), 2, null, null); Add_Action (Table.States (75), 29, Reduce, (46, 2), 2, null, null); Add_Action (Table.States (75), 33, Reduce, (46, 2), 2, null, null); Add_Action (Table.States (75), 36, Reduce, (46, 2), 2, null, null); Add_Error (Table.States (75)); Add_Action (Table.States (76), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (49, 1), 2, null, null); Add_Action (Table.States (77), (23, 33, 36), (43, 1), 4, nonterminal_1'Access, null); Add_Action (Table.States (78), (23, 33, 36), (38, 4), 5, declaration_4'Access, null); Add_Action (Table.States (79), (1 => 33), (39, 1), 4, null, null); Add_Action (Table.States (80), (1 => 33), (39, 2), 4, null, null); Add_Action (Table.States (81), 18, 38); Add_Action (Table.States (81), 19, 39); Add_Action (Table.States (81), 20, 40); Add_Action (Table.States (81), 21, 41); Add_Action (Table.States (81), 33, 42); Add_Action (Table.States (81), 35, 43); Add_Error (Table.States (81)); Add_Goto (Table.States (81), 47, 46); Add_Goto (Table.States (81), 48, 47); Add_Goto (Table.States (81), 49, 92); Add_Goto (Table.States (81), 50, 49); Add_Goto (Table.States (81), 51, 50); Add_Goto (Table.States (81), 52, 51); Add_Goto (Table.States (81), 53, 52); Add_Action (Table.States (82), 11, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 12, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 18, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 19, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 20, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 21, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 22, 93); Add_Action (Table.States (82), 23, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 26, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 27, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 28, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 29, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 33, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 35, Reduce, (53, 0), 3, null, null); Add_Action (Table.States (82), 36, Reduce, (53, 0), 3, null, null); Add_Error (Table.States (82)); Add_Action (Table.States (83), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (52, 0), 3, null, null); Add_Action (Table.States (84), 11, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 12, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 18, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 19, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 20, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 21, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 23, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 24, 94); Add_Action (Table.States (84), 25, 95); Add_Action (Table.States (84), 26, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 27, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 28, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 29, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 31, 96); Add_Action (Table.States (84), 33, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 35, Reduce, (51, 0), 3, null, null); Add_Action (Table.States (84), 36, Reduce, (51, 0), 3, null, null); Add_Error (Table.States (84)); Add_Action (Table.States (85), 33, 97); Add_Error (Table.States (85)); Add_Action (Table.States (86), 11, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 12, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 18, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 19, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 20, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 21, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 23, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 24, 67); Add_Action (Table.States (86), 25, 68); Add_Action (Table.States (86), 26, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 27, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 28, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 29, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 31, 69); Add_Action (Table.States (86), 33, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 35, Reduce, (50, 0), 1, null, null); Add_Action (Table.States (86), 36, Reduce, (50, 0), 1, null, null); Add_Error (Table.States (86)); Add_Action (Table.States (87), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (48, 1), 3, null, null); Add_Action (Table.States (88), (12, 23, 29, 33, 36), (45, 1), 3, null, null); Add_Action (Table.States (89), 5, 98); Add_Error (Table.States (89)); Add_Action (Table.States (90), 33, 99); Add_Error (Table.States (90)); Add_Action (Table.States (91), (12, 23, 29, 33, 36), (46, 3), 3, null, null); Add_Action (Table.States (92), 12, Reduce, (54, 1), 3, null, null); Add_Action (Table.States (92), 18, 38); Add_Action (Table.States (92), 19, 39); Add_Action (Table.States (92), 20, 40); Add_Action (Table.States (92), 21, 41); Add_Action (Table.States (92), 26, Reduce, (54, 1), 3, null, null); Add_Action (Table.States (92), 27, Reduce, (54, 1), 3, null, null); Add_Action (Table.States (92), 28, Reduce, (54, 1), 3, null, null); Add_Action (Table.States (92), 33, 42); Add_Action (Table.States (92), 35, 43); Add_Error (Table.States (92)); Add_Goto (Table.States (92), 47, 46); Add_Goto (Table.States (92), 48, 76); Add_Goto (Table.States (92), 50, 49); Add_Goto (Table.States (92), 51, 50); Add_Goto (Table.States (92), 52, 51); Add_Goto (Table.States (92), 53, 52); Add_Action (Table.States (93), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (53, 1), 4, null, null); Add_Action (Table.States (94), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (53, 2), 4, null, null); Add_Action (Table.States (95), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (52, 1), 4, null, null); Add_Action (Table.States (96), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (53, 3), 4, null, null); Add_Action (Table.States (97), 17, 100); Add_Error (Table.States (97)); Add_Action (Table.States (98), (12, 23, 29, 33, 36), (45, 3), 4, null, null); Add_Action (Table.States (99), 16, 101); Add_Error (Table.States (99)); Add_Action (Table.States (100), (11, 12, 18, 19, 20, 21, 23, 26, 27, 28, 29, 33, 35, 36), (47, 0), 5, null, null); Add_Action (Table.States (101), 33, 102); Add_Error (Table.States (101)); Add_Action (Table.States (102), (12, 23, 29, 33, 36), (45, 2), 6, null, null); end Subr_1; begin Subr_1; end; WisiToken.Parse.LR.Parser_No_Recover.New_Parser (Parser, Trace, Lexer.New_Lexer (Trace.Descriptor), Table, User_Data, Max_Parallel => 15, Terminate_Same_State => True); end Create_Parser; end Wisitoken_Grammar_Main;
with Accumulator; with Ada.Text_IO; use Ada.Text_IO; procedure Example is package A is new Accumulator; package B is new Accumulator; begin Put_Line (Integer'Image (A.The_Function (5))); Put_Line (Integer'Image (B.The_Function (3))); Put_Line (Float'Image (A.The_Function (2.3))); end;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . N U M E R I C S . A U X -- -- -- -- S p e c -- -- (Ada Cert Math Version) -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the Ada Cert Math specific version of a-numaux.ads package Ada.Numerics.Aux is pragma Pure; end Ada.Numerics.Aux;
-- -- Raytracer implementation in Ada -- by John Perry (github: johnperry-math) -- 2021 -- -- implementation for Bitmap, a Bitmap of Color_With_Transparency_Type, -- along with a procedure to save the Bitmap to a BMP file -- pragma Ada_2020; -- use Ada_202x features -- Ada packages with Interfaces.C; use Interfaces.C; -- interface to C with Ada.Streams.Stream_IO; -- writing data to disk with Ada.Text_IO; use Ada.Text_IO; -- I/O -- local packages with RayTracing_Constants; use RayTracing_Constants; package body Bitmap is bi_rgb: constant := 0; -- whether the data is compressed procedure Save_RGB_Bitmap ( bits: Bitmap_Data; width, height: Int32; bits_per_pixel: UInt16; filename: String ) is type Bitmap_File_Header is record Header_Type: UInt16; Size: UInt32; Reserved1, Reserved2: UInt16 := 0; Off_Bits: UInt32; end record with Pack; -- header for file storing the bitmap type Bitmap_Info_Header is record size: UInt32; width, height: Int32; planes, bit_count: UInt16; compression, size_image: UInt32; xpels_per_meter, ypels_per_meter: Int32; clr_used, clr_important: UInt32; end record with Pack; -- header for bitmap within file info_size: UInt32 := UInt32( size_t( Bitmap_Info_Header'Size / CHAR_BIT ) ); -- size of bitmap header info_header: Bitmap_Info_Header := ( size => info_size, bit_count => bits_per_pixel, clr_important => 0, clr_used => 0, compression => bi_rgb, height => -height, width => width, planes => 1, size_image => UInt32( width * height * Int32( bits_per_pixel ) / 8 ), -- pixels => bits, others => 0 ); file_header: Bitmap_File_Header := ( Header_Type => Character'Pos('B') + ( Character'Pos('M') * UInt16( 2 ** 8 ) ), Off_Bits => Info_Size + UInt32( Size_T(Bitmap_File_Header'Size / CHAR_BIT) ), Size => Info_Size + UInt32( Size_T(Bitmap_File_Header'Size / CHAR_BIT) ) + Info_Header.Size_Image, others => 0 ); F: Ada.Streams.Stream_IO.File_Type; begin Ada.Streams.Stream_IO.Create(F, Name => filename); Bitmap_File_Header'Write( Ada.Streams.Stream_IO.Stream(F), File_Header ); Bitmap_Info_Header'Write( Ada.Streams.Stream_IO.Stream(F), Info_Header ); Bitmap_Data'Write( Ada.Streams.Stream_IO.Stream(F), Bits ); Ada.Streams.Stream_IO.Close(F); end Save_RGB_Bitmap; end Bitmap;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . M U L T I P R O C E S S O R S . S P I N _ L O C K S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2010-2021, AdaCore -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- ------------------------------------------------------------------------------ package body System.Multiprocessors.Spin_Locks is ---------- -- Lock -- ---------- procedure Lock (Slock : in out Spin_Lock) is Succeeded : Boolean; begin -- Loop until we can get the lock loop Try_Lock (Slock, Succeeded); exit when Succeeded; end loop; end Lock; ------------ -- Locked -- ------------ function Locked (Slock : Spin_Lock) return Boolean is begin return Slock.Flag /= Unlocked; end Locked; -------------- -- Try_Lock -- -------------- procedure Try_Lock (Slock : in out Spin_Lock; Succeeded : out Boolean) is function Lock_Test_And_Set (Ptr : access Atomic_Flag; Value : Atomic_Flag) return Atomic_Flag; pragma Import (Intrinsic, Lock_Test_And_Set, "__sync_lock_test_and_set_1"); begin Succeeded := (Lock_Test_And_Set (Slock.Flag'Access, 1) = Unlocked); end Try_Lock; ------------ -- Unlock -- ------------ procedure Unlock (Slock : in out Spin_Lock) is procedure Lock_Release (Ptr : access Atomic_Flag); pragma Import (Intrinsic, Lock_Release, "__sync_lock_release_1"); begin -- Clear Flag. This is a release barrier: all previous memory load -- are satisfied before this write access. Lock_Release (Slock.Flag'Access); end Unlock; end System.Multiprocessors.Spin_Locks;
with glx.Pointers; package GLX.Pointer_Pointers is use glx.Pointers; type VisualID_Pointer_Pointer is access all VisualID_Pointer; type XVisualInfo_Pointer_Pointer is access all XVisualInfo_Pointer; type Pixmap_Pointer_Pointer is access all Pixmap_Pointer; type Font_Pointer_Pointer is access all Font_Pointer; type Window_Pointer_Pointer is access all Window_Pointer; type Bool_Pointer_Pointer is access all Bool_Pointer; type ContextRec_Pointer_Pointer is access all ContextRec_Pointer; type XID_Pointer_Pointer is access all XID_Pointer; type GLXPixmap_Pointer_Pointer is access all GLXPixmap_Pointer; type Drawable_Pointer_Pointer is access all Drawable_Pointer; type FBConfig_Pointer_Pointer is access all FBConfig_Pointer; type FBConfigID_Pointer_Pointer is access all FBConfigID_Pointer; type ContextID_Pointer_Pointer is access all ContextID_Pointer; type GLXWindow_Pointer_Pointer is access all Window_Pointer; type PBuffer_Pointer_Pointer is access all PBuffer_Pointer; end GLX.Pointer_Pointers;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Formal_Ordinary_Fixed_Point_Definitions is function Create (Delta_Token : not null Program.Lexical_Elements.Lexical_Element_Access; Box_Token : not null Program.Lexical_Elements.Lexical_Element_Access) return Formal_Ordinary_Fixed_Point_Definition is begin return Result : Formal_Ordinary_Fixed_Point_Definition := (Delta_Token => Delta_Token, Box_Token => Box_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Formal_Ordinary_Fixed_Point_Definition is begin return Result : Implicit_Formal_Ordinary_Fixed_Point_Definition := (Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Delta_Token (Self : Formal_Ordinary_Fixed_Point_Definition) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Delta_Token; end Delta_Token; overriding function Box_Token (Self : Formal_Ordinary_Fixed_Point_Definition) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Box_Token; end Box_Token; overriding function Is_Part_Of_Implicit (Self : Implicit_Formal_Ordinary_Fixed_Point_Definition) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Formal_Ordinary_Fixed_Point_Definition) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Formal_Ordinary_Fixed_Point_Definition) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; procedure Initialize (Self : in out Base_Formal_Ordinary_Fixed_Point_Definition'Class) is begin null; end Initialize; overriding function Is_Formal_Ordinary_Fixed_Point_Definition (Self : Base_Formal_Ordinary_Fixed_Point_Definition) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Formal_Ordinary_Fixed_Point_Definition; overriding function Is_Formal_Type_Definition (Self : Base_Formal_Ordinary_Fixed_Point_Definition) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Formal_Type_Definition; overriding function Is_Definition (Self : Base_Formal_Ordinary_Fixed_Point_Definition) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Definition; overriding procedure Visit (Self : not null access Base_Formal_Ordinary_Fixed_Point_Definition; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Formal_Ordinary_Fixed_Point_Definition (Self); end Visit; overriding function To_Formal_Ordinary_Fixed_Point_Definition_Text (Self : in out Formal_Ordinary_Fixed_Point_Definition) return Program.Elements.Formal_Ordinary_Fixed_Point_Definitions .Formal_Ordinary_Fixed_Point_Definition_Text_Access is begin return Self'Unchecked_Access; end To_Formal_Ordinary_Fixed_Point_Definition_Text; overriding function To_Formal_Ordinary_Fixed_Point_Definition_Text (Self : in out Implicit_Formal_Ordinary_Fixed_Point_Definition) return Program.Elements.Formal_Ordinary_Fixed_Point_Definitions .Formal_Ordinary_Fixed_Point_Definition_Text_Access is pragma Unreferenced (Self); begin return null; end To_Formal_Ordinary_Fixed_Point_Definition_Text; end Program.Nodes.Formal_Ordinary_Fixed_Point_Definitions;
with Ada.Numerics.Elementary_Functions; with Ada.Numerics.Discrete_Random; with SDL.Video.Windows.Makers; with SDL.Video.Renderers.Makers; with SDL.Video.Surfaces; with SDL.Video.Rectangles; with SDL.TTFs.Makers; with SDL.Events.Events; with SDL.Events.Keyboards; with SDL.Events.Mice; procedure Honeycombs is use SDL.Video.Rectangles; use SDL.C; Width : constant := 560; Height : constant := 595; Offset_X : constant := 10.0; Offset_Y : constant := 40.0; Radius : constant := 60.0; Rows : constant := 4; Cols : constant := 5; TTF_File : constant String := "NotoSans-Bold.ttf"; TTF_Size_Cell : constant := 72; TTF_Size_Sum : constant := 38; Offset_Sum_X : constant := 35; Offset_Sum_Y : constant := 530; type Node_Id is mod 6; type Shape_List is array (Node_Id) of Point; type Cell_Info is record Center : Point; Marked : Boolean; Label : String (1 .. 1); end record; type Cell_List is array (Positive range <>) of Cell_Info; function Make_Shape return Shape_List is use Ada.Numerics.Elementary_Functions; Shape : Shape_List; begin for I in Shape'Range loop Shape (I) := (X => int (Radius * Cos (Float (I), Cycle => 6.0)), Y => int (Radius * Sin (Float (I), Cycle => 6.0))); end loop; return Shape; end Make_Shape; function Make_Cells (Rows, Cols : in Positive) return Cell_List is subtype Label_Type is Character range 'A' .. 'Z'; package Randoms is new Ada.Numerics.Discrete_Random (Label_Type); use Randoms; Y_Scale : constant Float := Ada.Numerics.Elementary_Functions.Sqrt (3.0); List : Cell_List (1 .. Rows * Cols); Info : Cell_Info; Gen : Generator; begin Reset (Gen); for R in 1 .. Rows loop for C in 1 .. Cols loop Info.Center.X := int (Offset_X + Radius * 1.5 * Float (C)); Info.Center.Y := int (Offset_Y + Radius * Y_Scale * (Float (R) - Float (C mod 2) / 2.0)); Info.Marked := False; Info.Label (1) := Random (Gen); List ((R - 1) * Cols + C) := Info; end loop; end loop; return List; end Make_Cells; Window : SDL.Video.Windows.Window; Win_Surf : SDL.Video.Surfaces.Surface; Renderer : SDL.Video.Renderers.Renderer; Font_Cell : SDL.TTFs.Fonts; Font_Sum : SDL.TTFs.Fonts; Cells : Cell_List := Make_Cells (Rows, Cols); Shape : constant Shape_List := Make_Shape; Sum_Text : String (1 .. Rows * Cols); Sum_Last : Natural := Sum_Text'First - 1; function Orient_2D (A, B, C : Point) return int is ((B.X - A.X) * (C.Y - A.Y) - (B.Y - A.Y) * (C.X - A.X)); function "+" (Left, Right : Point) return Point is ((Left.X + Right.X, Left.Y + Right.Y)); function Inside (P : Point; Cell : Cell_Info) return Boolean is Count : Natural := 0; begin for Node in Shape'Range loop Count := Count + (if Orient_2D (Cell.Center + Shape (Node), Cell.Center + Shape (Node + 1), P) > 0 then 1 else 0); end loop; return Count = 6; end Inside; procedure Draw (Cell : Cell_Info) is Surface : constant SDL.Video.Surfaces.Surface := Font_Cell.Render_Solid (Cell.Label, (30, 230, 230, 255)); Self_Area : SDL.Video.Rectangles.Rectangle; Source_Area : SDL.Video.Rectangles.Rectangle := (0, 0, 0, 0); begin -- Fill for Y in int (-Radius) .. int (Radius) loop for X in int (-Radius) .. int (Radius) loop if Inside (Cell.Center + (X, Y), Cell) then Renderer.Draw (Point => Cell.Center + (X, Y)); end if; end loop; end loop; -- Label Self_Area := (Cell.Center.X - Surface.Size.Width / 2, Cell.Center.Y - Surface.Size.Height / 2, 0, 0); Win_Surf.Blit (Self_Area, Surface, Source_Area); -- Outline Renderer.Set_Draw_Colour ((0, 0, 0, 255)); for Id in Shape'Range loop Renderer.Draw (Line => (Cell.Center + Shape (Id), Cell.Center + Shape (Id + 1))); end loop; end Draw; procedure Find_And_Mark (Click : Point; Key : String) is Self_Area : SDL.Video.Rectangles.Rectangle; Source_Area : SDL.Video.Rectangles.Rectangle := (0, 0, 0, 0); begin for Cell of Cells loop if not Cell.Marked and then (Inside (Click, Cell) or Cell.Label = Key) then Cell.Marked := True; Sum_Last := Sum_Last + 1; Sum_Text (Sum_Last) := Cell.Label (1); Renderer.Set_Draw_Colour ((230, 20, 220, 255)); Draw (Cell); -- Update sum text Self_Area := (Offset_Sum_X, Offset_Sum_Y, 0, 0); Win_Surf.Blit (Self_Area, Font_Sum.Render_Solid (Sum_Text (Sum_Text'First .. Sum_Last), (0, 200, 200, 255)), Source_Area); Window.Update_Surface; exit; end if; end loop; end Find_And_Mark; procedure Wait is use type SDL.Events.Event_Types; use SDL.Events.Keyboards; Event : SDL.Events.Events.Events; begin loop SDL.Events.Events.Wait (Event); case Event.Common.Event_Type is when SDL.Events.Quit => return; when SDL.Events.Mice.Button_Down => Find_And_Mark ((Event.Mouse_Button.X, Event.Mouse_Button.Y), ""); when SDL.Events.Keyboards.Key_Down => Find_And_Mark ((0, 0), Image (Event.Keyboard.Key_Sym.Key_Code)); null; when others => null; end case; end loop; end Wait; begin if not SDL.Initialise (Flags => SDL.Enable_Screen) then return; end if; if not SDL.TTFs.Initialise then null; end if; SDL.TTFs.Makers.Create (Font_Cell, TTF_File, TTF_Size_Cell); SDL.TTFs.Makers.Create (Font_Sum, TTF_File, TTF_Size_Sum); SDL.Video.Windows.Makers.Create (Win => Window, Title => "Honeycombs", Position => SDL.Natural_Coordinates'(X => 10, Y => 10), Size => SDL.Positive_Sizes'(Width, Height), Flags => 0); Win_Surf := Window.Get_Surface; SDL.Video.Renderers.Makers.Create (Renderer, Window.Get_Surface); Renderer.Set_Draw_Colour ((0, 0, 0, 255)); Renderer.Fill (Rectangle => (0, 0, Width, Height)); for Cell of Cells loop Renderer.Set_Draw_Colour ((230, 230, 0, 255)); Draw (Cell); end loop; Window.Update_Surface; Wait; Window.Finalize; SDL.Finalise; end Honeycombs;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with League.Strings; with Matreshka.DOM_Nodes; with XML.DOM.Document_Fragments; with XML.DOM.Visitors; package Matreshka.DOM_Document_Fragments is pragma Preelaborate; type Document_Fragment_Node is new Matreshka.DOM_Nodes.Node and XML.DOM.Document_Fragments.DOM_Document_Fragment with null record; overriding procedure Enter_Node (Self : not null access Document_Fragment_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of visitor interface. overriding function Get_Node_Name (Self : not null access constant Document_Fragment_Node) return League.Strings.Universal_String; overriding function Get_Node_Type (Self : not null access constant Document_Fragment_Node) return XML.DOM.Node_Type; overriding procedure Leave_Node (Self : not null access Document_Fragment_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of visitor interface. overriding procedure Visit_Node (Self : not null access Document_Fragment_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of iterator interface. end Matreshka.DOM_Document_Fragments;
-- Copyright 2012-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is BT : aliased Bounded := New_Bounded (Low => 1, High => 3); begin Do_Nothing (BT'Address); -- STOP end Foo;
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- with Ada.Text_IO; use Ada.Text_IO; package body Utils is procedure Comment_Dash (Total : in Positive; Indent : in Natural := 0; New_Line : Boolean := True) is begin if Indent > 0 then for Index in 1 .. Indent loop Put (' '); end loop; end if; for Index in 1 .. Total loop Put ('-'); end loop; if New_Line then Ada.Text_IO.New_Line; end if; end Comment_Dash; procedure Comment (Indent : in Natural; Text : in String; New_Line : in Boolean := True) is begin if Indent > 0 then for Index in 1 .. Indent loop Put (' '); end loop; end if; if Text = "" then Put ("--"); else Put ("-- " & Text); end if; if New_Line then Ada.Text_IO.New_Line; end if; end Comment; procedure Output_Field (Text : in String; Width : in Integer; Indent : in Natural; Separator : in String := " "; Truncate : in Boolean := False) is Field_Index : Positive_Count := Col; begin if Indent > 0 then for Index in 1 .. Indent loop Put (' '); end loop; end if; if Text'Length + Indent > Width and Truncate then Put (Text (Text'First .. Width) & Separator); else Put (Text & Separator); end if; Set_Col (Field_Index + Positive_Count (Width + Indent)); end Output_Field; end Utils;
with Ada.Text_IO; use Ada.Text_IO; procedure P is type t; begin put('a'); end;
with Ada.Long_Integer_Text_IO; -- Copyright 2021 Melwyn Francis Carlo procedure A010 is use Ada.Long_Integer_Text_IO; N : constant Integer := 2E+6; Primes_Sum : Long_Integer := 0; I, J : Integer; type Large_Array_Bool is array (Integer range 1 .. N + 1) of Boolean; Integers_List : Large_Array_Bool := (others => True); begin -- Using the algorithm of Sieve of Eratosthenes I := 2; while (I * I) <= N loop if Integers_List (I) then J := I * I; while J <= N loop Integers_List (J) := False; J := J + I; end loop; end if; I := I + 1; end loop; for K in 2 .. N loop if Integers_List (K) then Primes_Sum := Primes_Sum + Long_Integer (K); end if; end loop; Put (Primes_Sum, Width => 0); end A010;
with Ada.Integer_Text_IO; with Ada.Text_IO; with BigInteger; use BigInteger; package body Problem_16 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; procedure Solve is Big : constant BigInteger.BigInt := BigInteger.Create(2)**1_000; Str : constant String := BigInteger.ToString(Big); Digit_Sum : Natural := 0; begin for index in Str'Range loop Digit_Sum := Digit_Sum + Character'Pos(Str(index)) - Character'Pos('0'); end loop; I_IO.Put(Digit_Sum); IO.New_Line; end Solve; end Problem_16;
With System.Address_Image, Ada.Strings.Fixed, Ada.Strings.Unbounded; Separate(Risi_Script.Types.Implementation) Package Body Image_Operations is ------------------------- -- UTILITY FUNCTIONS -- ------------------------- Function Trim( S : String ) return String is Use Ada.Strings.Fixed, Ada.Strings; begin Return Trim(Side => Left, Source => S); end Trim; Function Trim( S : String ) return Ada.Strings.Unbounded.Unbounded_String is Use Ada.Strings.Unbounded; begin Return To_Unbounded_String( Trim(S) ); end Trim; ---------------------------- -- IMAGE IMPLEMENTATIONS -- ---------------------------- Function Static_Dispatch_Image( Elem : Representation ) return String is (case Get_Enumeration(Elem) is when RT_Integer => Image(Elem.Integer_Value), when RT_Array => Image(Elem.Array_Value), when RT_Hash => Image(Elem.Hash_Value), when RT_String => Image(Elem.String_Value), when RT_Real => Image(Elem.Real_Value), when RT_Pointer => Image(Elem.Pointer_Value), when RT_Reference => Image_Operations.Image(Elem.Reference_Value), when RT_Fixed => Image(Elem.Fixed_Value), when RT_Boolean => Image(Elem.Boolean_value), when RT_Func => Image(Elem.Func_Value) ); Function Image(Item : Integer_Type) return String is ( Trim( Integer_Type'Image(Item) ) ); Function Image(Item : Array_Type) return String is Use Ada.Strings.Unbounded, List; Working : Unbounded_String; begin for E in Item.Iterate loop declare Key : constant Natural := To_Index( E ); Last : constant Boolean := Key = Item.Last_Index; Elem : Representation renames Element(E); Item : constant string := Static_Dispatch_Image( Elem ); begin Append( Source => Working, New_Item => Item & (if not Last then ", " else "") ); end; end loop; return To_String( Working ); end Image; Function Image(Item : Hash_Type) return String is Use Ada.Strings.Unbounded, Hash; Working : Unbounded_String; begin for E in Item.Iterate loop declare Key : constant String := '"' & Hash.Key( E ) & '"'; Last : constant Boolean := E = Item.Last; Elem : Representation renames Element(E); Item : constant string := (case Get_Enumeration(Elem) is when RT_Integer => Image(Elem.Integer_Value), when RT_Array => Image(Elem.Array_Value), when RT_Hash => Image(Elem.Hash_Value), when RT_String => Image(Elem.String_Value), when RT_Real => Image(Elem.Real_Value), when RT_Pointer => Image(Elem.Pointer_Value), when RT_Reference => Image_Operations.Image(Elem.Reference_Value), when RT_Fixed => Image(Elem.Fixed_Value), when RT_Boolean => Image(Elem.Boolean_value), when RT_Func => Image(Elem.Func_Value) ); begin Append( Source => Working, New_Item => Key & " => " & Item & (if not Last then ", " else "") ); end; end loop; return To_String( Working ); end Image; Function Image(Item : String_Type) return String renames Ada.Strings.Unbounded.To_String; Function Image(Item : Real_Type) return String is ( Trim( Real_Type'Image(Item) ) ); Function Image(Item : Pointer_Type) return String is ( System.Address_Image( System.Address(Item) ) ); Function Image(Item : Fixed_Type) return String is ( Trim( Fixed_Type'Image(Item) ) ); Function Image(Item : Boolean_Type) return String is ( Boolean_Type'Image(Item) ); Function Image(Item : Func_Type) return String is (""); Function Image(Item : Reference_Type ) return String is (case Get_Enumeration(Item) is when RT_Integer => Image( Item.Integer_Value ), when RT_Array => Image( Item.Array_Value ), when RT_Hash => Image( Item.Hash_Value ), when RT_String => Image( Item.String_Value ), when RT_Real => Image( Item.Real_Value ), when RT_Pointer => Image( Item.Pointer_Value ), when RT_Reference => Types.Implementation.Image( Item.Reference_Value ), when RT_Fixed => Image( Item.Fixed_Value ), when RT_Boolean => Image( Item.Boolean_Value ), when RT_Func => Image( Item.Func_Value ) ); End Image_Operations;
with Interfaces.C, System; use type System.Address, Interfaces.C.unsigned; package body FLTK.Widgets.Groups.Windows.Single.Menu is procedure menu_window_set_draw_hook (W, D : in System.Address); pragma Import (C, menu_window_set_draw_hook, "menu_window_set_draw_hook"); pragma Inline (menu_window_set_draw_hook); procedure menu_window_set_handle_hook (W, H : in System.Address); pragma Import (C, menu_window_set_handle_hook, "menu_window_set_handle_hook"); pragma Inline (menu_window_set_handle_hook); function new_fl_menu_window (X, Y, W, H : in Interfaces.C.int; Label : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_menu_window, "new_fl_menu_window"); pragma Inline (new_fl_menu_window); function new_fl_menu_window2 (W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_menu_window2, "new_fl_menu_window2"); pragma Inline (new_fl_menu_window2); procedure free_fl_menu_window (M : in System.Address); pragma Import (C, free_fl_menu_window, "free_fl_menu_window"); pragma Inline (free_fl_menu_window); procedure fl_menu_window_show (M : in System.Address); pragma Import (C, fl_menu_window_show, "fl_menu_window_show"); pragma Inline (fl_menu_window_show); procedure fl_menu_window_hide (M : in System.Address); pragma Import (C, fl_menu_window_hide, "fl_menu_window_hide"); pragma Inline (fl_menu_window_hide); procedure fl_menu_window_flush (M : in System.Address); pragma Import (C, fl_menu_window_flush, "fl_menu_window_flush"); pragma Inline (fl_menu_window_flush); procedure fl_menu_window_set_overlay (M : in System.Address); pragma Import (C, fl_menu_window_set_overlay, "fl_menu_window_set_overlay"); pragma Inline (fl_menu_window_set_overlay); procedure fl_menu_window_clear_overlay (M : in System.Address); pragma Import (C, fl_menu_window_clear_overlay, "fl_menu_window_clear_overlay"); pragma Inline (fl_menu_window_clear_overlay); function fl_menu_window_overlay (M : in System.Address) return Interfaces.C.unsigned; pragma Import (C, fl_menu_window_overlay, "fl_menu_window_overlay"); pragma Inline (fl_menu_window_overlay); procedure fl_menu_window_draw (W : in System.Address); pragma Import (C, fl_menu_window_draw, "fl_menu_window_draw"); pragma Inline (fl_menu_window_draw); function fl_menu_window_handle (W : in System.Address; E : in Interfaces.C.int) return Interfaces.C.int; pragma Import (C, fl_menu_window_handle, "fl_menu_window_handle"); pragma Inline (fl_menu_window_handle); procedure Finalize (This : in out Menu_Window) is begin if This.Void_Ptr /= System.Null_Address and then This in Menu_Window'Class then This.Clear; free_fl_menu_window (This.Void_Ptr); This.Void_Ptr := System.Null_Address; end if; Finalize (Single_Window (This)); end Finalize; package body Forge is function Create (X, Y, W, H : in Integer; Text : in String) return Menu_Window is begin return This : Menu_Window do This.Void_Ptr := new_fl_menu_window (Interfaces.C.int (X), Interfaces.C.int (Y), Interfaces.C.int (W), Interfaces.C.int (H), Interfaces.C.To_C (Text)); fl_group_end (This.Void_Ptr); fl_widget_set_user_data (This.Void_Ptr, Widget_Convert.To_Address (This'Unchecked_Access)); menu_window_set_draw_hook (This.Void_Ptr, Draw_Hook'Address); menu_window_set_handle_hook (This.Void_Ptr, Handle_Hook'Address); end return; end Create; function Create (W, H : in Integer; Text : in String) return Menu_Window is begin return This : Menu_Window do This.Void_Ptr := new_fl_menu_window2 (Interfaces.C.int (W), Interfaces.C.int (H), Interfaces.C.To_C (Text)); fl_group_end (This.Void_Ptr); fl_widget_set_user_data (This.Void_Ptr, Widget_Convert.To_Address (This'Unchecked_Access)); menu_window_set_draw_hook (This.Void_Ptr, Draw_Hook'Address); menu_window_set_handle_hook (This.Void_Ptr, Handle_Hook'Address); end return; end Create; end Forge; procedure Show (This : in out Menu_Window) is begin fl_menu_window_show (This.Void_Ptr); end Show; procedure Hide (This : in out Menu_Window) is begin fl_menu_window_hide (This.Void_Ptr); end Hide; procedure Flush (This : in out Menu_Window) is begin fl_menu_window_flush (This.Void_Ptr); end Flush; function Is_Overlay (This : in Menu_Window) return Boolean is begin return fl_menu_window_overlay (This.Void_Ptr) /= 0; end Is_Overlay; procedure Set_Overlay (This : in out Menu_Window; Value : in Boolean) is begin if Value then fl_menu_window_set_overlay (This.Void_Ptr); else fl_menu_window_clear_overlay (This.Void_Ptr); end if; end Set_Overlay; procedure Draw (This : in out Menu_Window) is begin fl_menu_window_draw (This.Void_Ptr); end Draw; function Handle (This : in out Menu_Window; Event : in Event_Kind) return Event_Outcome is begin return Event_Outcome'Val (fl_menu_window_handle (This.Void_Ptr, Event_Kind'Pos (Event))); end Handle; end FLTK.Widgets.Groups.Windows.Single.Menu;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with League.Strings.Internals; with Matreshka.Internals.Strings; with AMF.Elements; with AMF.Internals.Element_Collections; with AMF.Internals.Helpers; with AMF.Internals.Tables.UML_Attributes; with AMF.Visitors.UMLDI_Iterators; with AMF.Visitors.UMLDI_Visitors; package body AMF.Internals.UMLDI_UML_Activity_Diagrams is --------------------------- -- Get_Is_Activity_Frame -- --------------------------- overriding function Get_Is_Activity_Frame (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Activity_Frame (Self.Element); end Get_Is_Activity_Frame; --------------------------- -- Set_Is_Activity_Frame -- --------------------------- overriding procedure Set_Is_Activity_Frame (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : Boolean) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Activity_Frame (Self.Element, To); end Set_Is_Activity_Frame; ----------------------- -- Get_Model_Element -- ----------------------- overriding function Get_Model_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Activities.UML_Activity_Access is begin return AMF.UML.Activities.UML_Activity_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Model_Element (Self.Element))); end Get_Model_Element; ----------------------- -- Set_Model_Element -- ----------------------- overriding procedure Set_Model_Element (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UML.Activities.UML_Activity_Access) is begin raise Program_Error; -- AMF.Internals.Tables.UML_Attributes.Internal_Set_Model_Element -- (Self.Element, -- AMF.Internals.Helpers.To_Element -- (AMF.Elements.Element_Access (To))); end Set_Model_Element; ----------------------- -- Get_Model_Element -- ----------------------- overriding function Get_Model_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Behaviors.UML_Behavior_Access is begin return AMF.UML.Behaviors.UML_Behavior_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Model_Element (Self.Element))); end Get_Model_Element; ----------------------- -- Set_Model_Element -- ----------------------- overriding procedure Set_Model_Element (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UML.Behaviors.UML_Behavior_Access) is begin raise Program_Error; -- AMF.Internals.Tables.UML_Attributes.Internal_Set_Model_Element -- (Self.Element, -- AMF.Internals.Helpers.To_Element -- (AMF.Elements.Element_Access (To))); end Set_Model_Element; ----------------- -- Get_Heading -- ----------------- overriding function Get_Heading (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access is begin return AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Heading (Self.Element))); end Get_Heading; ----------------- -- Set_Heading -- ----------------- overriding procedure Set_Heading (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Heading (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Heading; ------------------ -- Get_Is_Frame -- ------------------ overriding function Get_Is_Frame (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Frame (Self.Element); end Get_Is_Frame; ------------------ -- Set_Is_Frame -- ------------------ overriding procedure Set_Is_Frame (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : Boolean) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Frame (Self.Element, To); end Set_Is_Frame; ---------------- -- Get_Is_Iso -- ---------------- overriding function Get_Is_Iso (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Iso (Self.Element); end Get_Is_Iso; ---------------- -- Set_Is_Iso -- ---------------- overriding procedure Set_Is_Iso (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : Boolean) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Iso (Self.Element, To); end Set_Is_Iso; ----------------- -- Get_Is_Icon -- ----------------- overriding function Get_Is_Icon (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return Boolean is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Icon (Self.Element); end Get_Is_Icon; ----------------- -- Set_Is_Icon -- ----------------- overriding procedure Set_Is_Icon (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : Boolean) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Icon (Self.Element, To); end Set_Is_Icon; --------------------- -- Get_Local_Style -- --------------------- overriding function Get_Local_Style (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access is begin return AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Local_Style (Self.Element))); end Get_Local_Style; --------------------- -- Set_Local_Style -- --------------------- overriding procedure Set_Local_Style (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Local_Style (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Local_Style; ----------------------- -- Get_Model_Element -- ----------------------- overriding function Get_Model_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element is begin raise Program_Error; return X : AMF.UML.Elements.Collections.Set_Of_UML_Element; -- return -- AMF.UML.Elements.Collections.Wrap -- (AMF.Internals.Element_Collections.Wrap -- (AMF.Internals.Tables.UML_Attributes.Internal_Get_Model_Element -- (Self.Element))); end Get_Model_Element; ----------------------- -- Get_Model_Element -- ----------------------- overriding function Get_Model_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.CMOF.Elements.CMOF_Element_Access is begin return AMF.CMOF.Elements.CMOF_Element_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Model_Element (Self.Element))); end Get_Model_Element; --------------------- -- Get_Local_Style -- --------------------- overriding function Get_Local_Style (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.DI.Styles.DI_Style_Access is begin return AMF.DI.Styles.DI_Style_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Local_Style (Self.Element))); end Get_Local_Style; --------------------- -- Set_Local_Style -- --------------------- overriding procedure Set_Local_Style (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.DI.Styles.DI_Style_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Local_Style (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Local_Style; -------------- -- Get_Name -- -------------- overriding function Get_Name (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return League.Strings.Universal_String is begin null; return League.Strings.Internals.Create (AMF.Internals.Tables.UML_Attributes.Internal_Get_Name (Self.Element)); end Get_Name; -------------- -- Set_Name -- -------------- overriding procedure Set_Name (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : League.Strings.Universal_String) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Name (Self.Element, League.Strings.Internals.Internal (To)); end Set_Name; ----------------------- -- Get_Documentation -- ----------------------- overriding function Get_Documentation (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return League.Strings.Universal_String is begin null; return League.Strings.Internals.Create (AMF.Internals.Tables.UML_Attributes.Internal_Get_Documentation (Self.Element)); end Get_Documentation; ----------------------- -- Set_Documentation -- ----------------------- overriding procedure Set_Documentation (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : League.Strings.Universal_String) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Documentation (Self.Element, League.Strings.Internals.Internal (To)); end Set_Documentation; -------------------- -- Get_Resolution -- -------------------- overriding function Get_Resolution (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.Real is begin return AMF.Internals.Tables.UML_Attributes.Internal_Get_Resolution (Self.Element); end Get_Resolution; -------------------- -- Set_Resolution -- -------------------- overriding procedure Set_Resolution (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.Real) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Resolution (Self.Element, To); end Set_Resolution; --------------------------- -- Get_Client_Dependency -- --------------------------- overriding function Get_Client_Dependency (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency is begin return AMF.UML.Dependencies.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Client_Dependency (Self.Element))); end Get_Client_Dependency; -------------- -- Get_Name -- -------------- overriding function Get_Name (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.UML_Attributes.Internal_Get_Name (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Name; -------------- -- Set_Name -- -------------- overriding procedure Set_Name (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.Optional_String) is begin if To.Is_Empty then AMF.Internals.Tables.UML_Attributes.Internal_Set_Name (Self.Element, null); else AMF.Internals.Tables.UML_Attributes.Internal_Set_Name (Self.Element, League.Strings.Internals.Internal (To.Value)); end if; end Set_Name; ------------------------- -- Get_Name_Expression -- ------------------------- overriding function Get_Name_Expression (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.String_Expressions.UML_String_Expression_Access is begin return AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Name_Expression (Self.Element))); end Get_Name_Expression; ------------------------- -- Set_Name_Expression -- ------------------------- overriding procedure Set_Name_Expression (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UML.String_Expressions.UML_String_Expression_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Name_Expression (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Name_Expression; ------------------- -- Get_Namespace -- ------------------- overriding function Get_Namespace (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access is begin return AMF.UML.Namespaces.UML_Namespace_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Namespace (Self.Element))); end Get_Namespace; ------------------------ -- Get_Qualified_Name -- ------------------------ overriding function Get_Qualified_Name (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.UML_Attributes.Internal_Get_Qualified_Name (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Qualified_Name; ----------------------- -- Get_Owned_Comment -- ----------------------- overriding function Get_Owned_Comment (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Comments.Collections.Set_Of_UML_Comment is begin return AMF.UML.Comments.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Comment (Self.Element))); end Get_Owned_Comment; ----------------------- -- Get_Owned_Element -- ----------------------- overriding function Get_Owned_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element is begin return AMF.UML.Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Element (Self.Element))); end Get_Owned_Element; --------------- -- Get_Owner -- --------------- overriding function Get_Owner (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Elements.UML_Element_Access is begin return AMF.UML.Elements.UML_Element_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owner (Self.Element))); end Get_Owner; ----------------------------------- -- Get_Owning_Template_Parameter -- ----------------------------------- overriding function Get_Owning_Template_Parameter (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Template_Parameters.UML_Template_Parameter_Access is begin return AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owning_Template_Parameter (Self.Element))); end Get_Owning_Template_Parameter; ----------------------------------- -- Set_Owning_Template_Parameter -- ----------------------------------- overriding procedure Set_Owning_Template_Parameter (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UML.Template_Parameters.UML_Template_Parameter_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Owning_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Owning_Template_Parameter; ---------------------------- -- Get_Template_Parameter -- ---------------------------- overriding function Get_Template_Parameter (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Template_Parameters.UML_Template_Parameter_Access is begin return AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.UML_Attributes.Internal_Get_Template_Parameter (Self.Element))); end Get_Template_Parameter; ---------------------------- -- Set_Template_Parameter -- ---------------------------- overriding procedure Set_Template_Parameter (Self : not null access UMLDI_UML_Activity_Diagram_Proxy; To : AMF.UML.Template_Parameters.UML_Template_Parameter_Access) is begin AMF.Internals.Tables.UML_Attributes.Internal_Set_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Template_Parameter; -------------------- -- All_Namespaces -- -------------------- overriding function All_Namespaces (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Namespaces unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.All_Namespaces"; return All_Namespaces (Self); end All_Namespaces; ------------------------- -- All_Owning_Packages -- ------------------------- overriding function All_Owning_Packages (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Packages.Collections.Set_Of_UML_Package is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Owning_Packages unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.All_Owning_Packages"; return All_Owning_Packages (Self); end All_Owning_Packages; ----------------------------- -- Is_Distinguishable_From -- ----------------------------- overriding function Is_Distinguishable_From (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy; N : AMF.UML.Named_Elements.UML_Named_Element_Access; Ns : AMF.UML.Namespaces.UML_Namespace_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Distinguishable_From unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.Is_Distinguishable_From"; return Is_Distinguishable_From (Self, N, Ns); end Is_Distinguishable_From; --------------- -- Namespace -- --------------- overriding function Namespace (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Namespace unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.Namespace"; return Namespace (Self); end Namespace; -------------------- -- Qualified_Name -- -------------------- overriding function Qualified_Name (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return League.Strings.Universal_String is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Qualified_Name unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.Qualified_Name"; return Qualified_Name (Self); end Qualified_Name; --------------- -- Separator -- --------------- overriding function Separator (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return League.Strings.Universal_String is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Separator unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.Separator"; return Separator (Self); end Separator; ------------------------ -- All_Owned_Elements -- ------------------------ overriding function All_Owned_Elements (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Owned_Elements unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.All_Owned_Elements"; return All_Owned_Elements (Self); end All_Owned_Elements; ------------------------ -- Is_Compatible_With -- ------------------------ overriding function Is_Compatible_With (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy; P : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Compatible_With unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.Is_Compatible_With"; return Is_Compatible_With (Self, P); end Is_Compatible_With; --------------------------- -- Is_Template_Parameter -- --------------------------- overriding function Is_Template_Parameter (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Template_Parameter unimplemented"); raise Program_Error with "Unimplemented procedure UMLDI_UML_Activity_Diagram_Proxy.Is_Template_Parameter"; return Is_Template_Parameter (Self); end Is_Template_Parameter; ------------------- -- Enter_Element -- ------------------- overriding procedure Enter_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.UMLDI_Visitors.UMLDI_Visitor'Class then AMF.Visitors.UMLDI_Visitors.UMLDI_Visitor'Class (Visitor).Enter_UML_Activity_Diagram (AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access (Self), Control); end if; end Enter_Element; ------------------- -- Leave_Element -- ------------------- overriding procedure Leave_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.UMLDI_Visitors.UMLDI_Visitor'Class then AMF.Visitors.UMLDI_Visitors.UMLDI_Visitor'Class (Visitor).Leave_UML_Activity_Diagram (AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access (Self), Control); end if; end Leave_Element; ------------------- -- Visit_Element -- ------------------- overriding procedure Visit_Element (Self : not null access constant UMLDI_UML_Activity_Diagram_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Iterator in AMF.Visitors.UMLDI_Iterators.UMLDI_Iterator'Class then AMF.Visitors.UMLDI_Iterators.UMLDI_Iterator'Class (Iterator).Visit_UML_Activity_Diagram (Visitor, AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access (Self), Control); end if; end Visit_Element; end AMF.Internals.UMLDI_UML_Activity_Diagrams;
--Ce module met en place les outils qui vont nous permettre de trier la matrice poids par valeur décroissante with Google_Naive; generic nb_ligne : Integer; nb_col : Integer; -- nombre de colonne dans le tas (qui sera représenté par un tableau et non un ABR) type T_Element is digits <>; -- type associé au poids de chaque noeud with package P_Google_Naive is new Google_Naive(nombre_max_ligne=>nb_ligne, nombre_max_colonne => nb_col, T_Element=> T_Element); package Tri_par_tas is --! ces types ne sont pas privés pour simplifier l'utilisation de ce module, nous avons confiance dans les appelants (qui sont nous-mêmes) type T_couple is record indice : Integer; --{indice >=1 and indice <= matrice.nb_colonne} weight : T_Element; end record; subtype List_Index is natural range 1 .. nb_col; type T_vecteur is array (List_Index) of T_couple; -- Le module renvoit un type "vecteur" ou chaque coefficient du vecteur vaut (indice_origine : poids) type T_vecteur_couple is record vecteur : T_vecteur; taille : Integer; end record; Empty_tas_error : exception; Full_tas_error : exception; -- Nom : Afficher -- Semantique : Afficher un tas, procedure utile pour débuguer et les tests -- Paramètre(s) : -- tas : in T_vecteur_couple; -- tas que l'on cherche à trier -- Pre : True -- Post : True -- Tests : Aucun -- Exception : Aucune procedure Afficher (tas : in T_vecteur_couple); -- Nom : Initialiser -- Semantique : Initialiseer un vecteur poids ou les coefficients valent (indice : poids) -- Paramètre(s) : -- vecteur_ligne : in vecteur_simple.T_Google_Naive; -- vecteur à trier -- poids : out T_vecteur_couple; -- vecteur avec des couples (indice : poids) -- Pre : True -- Post : chaque coefficient.weight de poids correspond au coefficient de vecteur_ligne et chaque cofficient.indice de poids = indice -- Tests : Aucun -- Exception : Aucune procedure Initialiser_poids(vecteur_ligne : in P_Google_Naive.T_Google_Naive; poids: out T_vecteur_couple); -- Nom : Tri_tas -- Semantique : Trier la matrice poids par ordre décroissant des poids -- ATTENTION CE TRI EST INSTABLE MAIS CELA NOUS SUFFIT POUR LE PAGERANK -- Paramètre(s) : -- tas : in out T_vecteur_couple; -- tas que l'on cherche à trier -- Pre : True -- Post : Le tableau est trié (condition complexe) -- Tests : -- Entrée : tas vide [] ; Sortie : tas vide [] -- Entrée : [( 0 : 7.32113E+04, )( 1 : 2.24492E+04, )( 2 : 7.86805E+04, )] -- Sortie : [( 2 : 7.86805E+04, )( 1 : 2.24492E+04, )( 0 : 7.32113E+04, )] -- Exception : Aucune procedure Tri_tas (poids : in out T_vecteur_couple); end Tri_par_tas;
-- CD5013I.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT AN ADDRESS CLAUSE CAN BE GIVEN IN THE VISIBLE PART OF -- A PACKAGE SPECIFICATION FOR A VARIABLE OF AN ARRAY TYPE, WHERE -- THE VARIABLE IS DECLARED IN THE VISIBLE PART OF THE -- SPECIFICATION. -- HISTORY: -- BCB 09/16/87 CREATED ORIGINAL TEST. -- PWB 05/11/89 CHANGED EXTENSION FROM '.DEP' TO '.ADA'. WITH REPORT; USE REPORT; WITH SPPRT13; USE SPPRT13; WITH SYSTEM; USE SYSTEM; PROCEDURE CD5013I IS TYPE ARR_TYPE IS ARRAY(1..5) OF INTEGER; PACKAGE PACK IS CHECK_VAR : ARR_TYPE; FOR CHECK_VAR USE AT VARIABLE_ADDRESS; END PACK; USE PACK; BEGIN TEST ("CD5013I", "AN ADDRESS CLAUSE CAN BE GIVEN IN " & "THE VISIBLE PART OF A PACKAGE SPECIFICATION " & "FOR A VARIABLE OF AN ARRAY TYPE, WHERE THE " & "VARIABLE IS DECLARED IN THE VISIBLE PART OF " & "THE SPECIFICATION"); CHECK_VAR := (1,2,3,4,5); IF EQUAL(3,3) THEN CHECK_VAR := (5,4,3,2,1); END IF; IF CHECK_VAR /= (5,4,3,2,1) THEN FAILED ("INCORRECT VALUE FOR ARRAY VARIABLE"); END IF; IF CHECK_VAR'ADDRESS /= VARIABLE_ADDRESS THEN FAILED ("INCORRECT ADDRESS FOR ARRAY VARIABLE"); END IF; RESULT; END CD5013I;
-- ============================================================================= -- Package body AVR.IMAGE -- ============================================================================= package body IMAGE is procedure U8_Img_Right (Data : Unsigned_8; Target : out AVR.USART.String_U8) is D : Unsigned_8 := Data; begin for Index in Target'Range loop Target (Index) := ' '; end loop; if D >= 100 then Target (Target'First) := Character'Val (48 + (D / 100)); D := D rem 100; else Target (Target'First) := ' '; end if; if D >= 10 or else Data >= 100 then Target (Target'First + 1) := Character'Val (48 + (D / 10)); else Target (Target'First + 1) := ' '; end if; Target (Target'First + 2) := Character'Val (48 + (D rem 10)); exception when others => null; end U8_Img_Right; function Unsigned_8_To_String_Simon (Input : Unsigned_8) return String_3 is Result : String_3 := (others => ' '); Digit : Unsigned_8; Rest_Of_Number : Unsigned_8; begin Digit := Input mod 10; Rest_Of_Number := Input / 10; for J in reverse Result'Range loop if Digit /= 0 or else Rest_Of_Number /= 0 or else J = Result'Last then Result (J) := Character'Val (Character'Pos ('0') + Integer (Digit)); end if; Digit := Rest_Of_Number mod 10; Rest_Of_Number := Rest_Of_Number / 10; -- could exit when Rest_Of_Number = 0 end loop; return Result; exception when others => return " "; end Unsigned_8_To_String_Simon; function Unsigned_8_To_String_Shark8 (Input : Unsigned_8) return String_3 is -- A temporary variable for manipulation, initialized to input. Working : Unsigned_8 := Input; begin -- Extended return, we do not have to initialize any characters -- because they will be in range '0'..'9' with leading zeros. return Result : String_3 do -- We assign the digit it's proper value, based on its -- position within the string. for Digit in reverse Result'Range loop Result (Digit) := Character'Val ( -- We add the mod 10 value of working -- to the value of '0' to get the proper -- digit-character. Natural (Working mod 10) + Character'Pos('0') ); -- We adjust our working-variable, by dividing it by 10. Working := Working / 10; end loop; end return; exception when others => return " "; end Unsigned_8_To_String_Shark8; function String_To_Unsigned_8 (Input : AVR.USART.String_U8) return Unsigned_8 is Result : Unsigned_8 := 0; begin for Digit in Input'Range loop Result := 10 * Result + (Character'Pos (Input (Digit)) - Character'Pos ('0')); end loop; return Result; end String_To_Unsigned_8; function String_To_Unsigned_32 (Input : AVR.USART.String_U8) return Unsigned_32 is Result : Unsigned_32 := 0; begin for Digit in Input'Range loop Result := 10 * Result + (Character'Pos (Input (Digit)) - Character'Pos ('0')); end loop; return Result; end String_To_Unsigned_32; function String_To_Unsigned_8_Shark8 (Input : String_3) return Unsigned_8 is Working : String_3 := Input; Index : Unsigned_8 := 1; begin -- Preprocessing string: spaces are treated as 0. for C of Working loop C := (if C = ' ' then '0' else C); -- throw error if invalid characters exist. if C not in Digit then raise Numeric_Error; end if; -- Note a case statement might habe been -- nore appropriate for this block. end loop; return Result : Unsigned_8 := 0 do for C of reverse Working loop -- We add the current character's value, multiplied -- by its position, to modify result. Result:= Result + Index * (Character'Pos(C) - Character'Pos('0')); -- The following works because wrap-around isn't an error. -- If we weren't using Unsigned_8 we would need a cast. Index:= Index * 10; end loop; end return; exception when others => return 0; end String_To_Unsigned_8_Shark8; function Compare_String_U8 (Left, Right : in AVR.USART.String_U8) return Boolean is Return_Test : Boolean := True; begin if Left'Length /= Right'Length then raise Constraint_Error; end if; for Index in Left'Range loop if Left (Index) /= Right (Index) then Return_Test := False; exit; end if; end loop; return Return_Test; exception when others => return False; end Compare_String_U8; end IMAGE;
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . T E X T _ S T R E A M S -- -- -- -- S p e c -- -- -- -- $Revision: 2 $ -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ with Ada.Streams; package Ada.Wide_Text_IO.Text_Streams is type Stream_Access is access all Streams.Root_Stream_Type'Class; function Stream (File : in File_Type) return Stream_Access; end Ada.Wide_Text_IO.Text_Streams;
with openGL.Model.text .lit_colored_textured, openGL.Model.sphere .lit_colored_textured, openGL.Model.sphere .lit_colored, openGL.Model.polygon .lit_colored, openGL.Model.box .colored, openGL.Model.box .textured, openGL.Model.billboard.textured, openGL.Model.billboard.colored_textured, openGL.Model.arrow .colored, openGL.Model.line .colored, openGL.Model.segment_line, physics.Model, gel.Window; package body gel.Forge is ----------- --- Applets -- function new_gui_Applet (Named : in String; window_Width : in Positive := 500; window_Height : in Positive := 500; space_Kind : in physics.space_Kind := physics.Bullet) return gel.Applet.gui_world.view is the_Window : constant gel.Window.view := gel.Window.Forge.new_Window (Named, window_Width, window_Height); the_Applet : constant gel.Applet.gui_world.view := gel.Applet.gui_World.forge.new_Applet ("Applet." & Named, the_Window, space_Kind); begin return the_Applet; end new_gui_Applet; function new_gui_and_sim_Applet (Named : in String; window_Width : in Positive := 500; window_Height : in Positive := 500; space_Kind : in physics.space_Kind := physics.Bullet) return gel.Applet.gui_and_sim_World.view is the_Window : constant gel.Window.view := gel.Window.Forge.new_Window ("Window." & Named, window_Width, window_Height); the_Applet : constant gel.Applet.gui_and_sim_World.view := gel.Applet.gui_and_sim_World.forge.new_Applet ("Applet." & Named, the_Window); begin return the_Applet; end new_gui_and_sim_Applet; ----------- --- Sprites -- -- 2D -- function new_circle_Sprite (in_World : in gel.World.view; Site : in math.Vector_2 := math.Origin_2D; Mass : in math.Real := 1.0; Friction : in math.Real := 0.5; Bounce : in math.Real := 0.5; Radius : in math.Real := 0.5; Color : in openGL.Color := opengl.Palette.White; Texture : in openGL.asset_Name := openGL.null_Asset) return gel.Sprite.view is use openGL; use type Vector_2; the_graphics_Model : openGL.Model.sphere.view; the_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (physics.Model.Circle, Radius), Mass => Mass, Friction => Friction, Restitution => Bounce); -- Site => Vector_3 (Site & 0.0)); begin if Texture = openGL.null_Asset then the_graphics_Model := openGL.Model.sphere.lit_colored.new_Sphere (Radius, (Color, openGL.Opaque)).all'Access; else the_graphics_Model := openGL.Model.sphere.lit_colored_textured.new_Sphere (Radius, Texture).all'Access; end if; return gel.Sprite.Forge.new_Sprite ("circle_Sprite", sprite.World_view (in_World), Vector_3 (Site & 0.0), the_graphics_Model, the_physics_Model, owns_graphics => True, owns_physics => True, is_Kinematic => False); end new_circle_Sprite; function new_polygon_Sprite (in_World : in gel.World.view; Site : in math.Vector_2 := math.Origin_2D; Mass : in math.Real := 1.0; Friction : in math.Real := 0.5; Bounce : in math.Real := 0.5; Vertices : in Geometry_2d.Sites; Color : in openGL.Color := opengl.Palette.White) return gel.Sprite.view is use Math; use type Geometry_2d.Sites; the_graphics_Model : constant openGL.Model.polygon.lit_colored.view := openGL.Model.polygon.lit_colored.new_Polygon (openGL.Vector_2_array (Vertices), (Color, openGL.Opaque)); Padding : constant Geometry_2d.Sites (1 .. 8 - Vertices'Length) := (others => <>); the_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (physics.Model.Polygon, vertex_Count => Vertices'Length, Vertices => Vertices & Padding), -- Site => Vector_3 (Site & 0.0), Mass => Mass, Friction => Friction, Restitution => Bounce); begin return gel.Sprite.Forge.new_Sprite ("polygon_Sprite", sprite.World_view (in_World), Vector_3 (Site & 0.0), the_graphics_Model, the_physics_Model, owns_graphics => True, owns_physics => True, is_Kinematic => False); end new_polygon_Sprite; function new_rectangle_Sprite (in_World : in gel.World.view; Site : in math.Vector_2 := math.Origin_2D; Mass : in math.Real := 1.0; Friction : in math.Real := 0.5; Bounce : in math.Real := 0.5; Width, Height : in math.Real; Color : in openGL.Color := opengl.Palette.White) return gel.Sprite.view is use Math; half_Width : constant Real := Width / 2.0; half_Height : constant Real := Height / 2.0; the_Vertices : constant Geometry_2d.Sites (1 .. 4) := ((-half_Width, -half_Height), ( half_Width, -half_Height), ( half_Width, half_Height), (-half_Width, half_Height)); begin return new_polygon_Sprite (in_World, Site, Mass, Friction, Bounce, the_Vertices, Color); end new_rectangle_Sprite; -- 3D -- function new_ball_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 1.0; Radius : in math.Real := 0.5; Color : in openGL.Color := opengl.Palette.White) return gel.Sprite.view is the_graphics_Model : constant openGL.Model.sphere.lit_colored.view := openGL.Model.sphere.lit_colored.new_Sphere (Radius, (Color, openGL.Opaque)); the_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (physics.Model.a_Sphere, Radius), Mass => Mass); begin return gel.Sprite.Forge.new_Sprite ("ball_Sprite", sprite.World_view (in_World), Site, the_graphics_Model, the_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); end new_ball_Sprite; function new_box_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 1.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Colors : in box_Colors := (others => opengl.Palette.random_Color); is_Kinematic : in Boolean := False) return gel.Sprite.view is use openGL.Model.box, openGL, Math; the_box_Model : constant openGL.Model.box.colored.view := openGL.Model.box.colored.new_Box (Size => Size, Faces => (Front => (Colors => (others => (Colors (1), Opaque))), Rear => (Colors => (others => (Colors (2), Opaque))), Upper => (Colors => (others => (Colors (3), Opaque))), Lower => (Colors => (others => (Colors (4), Opaque))), Left => (Colors => (others => (Colors (5), Opaque))), Right => (Colors => (others => (Colors (6), Opaque))))); the_box_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_box_Model.Scale / 2.0), Mass => Mass); the_Box : constant gel.Sprite.view := gel.Sprite.Forge.new_Sprite ("demo.Box", sprite.World_view (in_World), Site, the_box_Model.all'Access, the_box_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => is_Kinematic); begin return the_Box; end new_box_Sprite; function new_box_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 1.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Texture : in openGL.asset_Name) return gel.Sprite.view is use openGL.Model.box, Math; the_box_Model : constant openGL.Model.box.textured.view := openGL.Model.box.textured.new_Box (Size => Size, Faces => (Front => (texture_Name => Texture), Rear => (texture_Name => Texture), Upper => (texture_Name => Texture), Lower => (texture_Name => Texture), Left => (texture_Name => Texture), Right => (texture_Name => Texture))); the_box_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_box_Model.Scale / 2.0), Mass => Mass); the_Box : constant gel.Sprite.view := gel.Sprite.forge.new_Sprite ("demo.Box", sprite.World_view (in_World), Site, the_box_Model.all'Access, the_box_physics_Model, owns_graphics => True, owns_physics => True, is_Kinematic => False); begin return the_Box; end new_box_Sprite; function new_billboard_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 1.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Texture : in openGL.asset_Name := openGL.null_Asset) return gel.Sprite.view is use Math; the_billboard_Model : constant openGL.Model.billboard.textured.view := openGL.Model.billboard.textured.forge.new_Billboard (Scale => Size, Plane => openGL.Model.Billboard.xy, Texture => Texture); the_billboard_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_billboard_Model.Scale / 2.0), Mass => Mass); the_Billboard : constant gel.Sprite.view := gel.Sprite.forge.new_Sprite ("Billboard", sprite.World_view (in_World), Site, the_billboard_Model.all'Access, the_billboard_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); begin return the_Billboard; end new_billboard_Sprite; function new_billboard_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Color : in openGL.lucid_Color; Mass : in math.Real := 1.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Texture : in openGL.asset_Name := openGL.null_Asset) return gel.Sprite.view is use Math; the_billboard_Model : constant openGL.Model.billboard.colored_textured.view := openGL.Model.billboard.colored_textured.new_Billboard (Scale => Size, Plane => openGL.Model.Billboard.xy, Texture => Texture, Color => Color); the_billboard_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_billboard_Model.Scale / 2.0), Mass => Mass); the_Billboard : constant gel.Sprite.view := gel.Sprite.forge.new_Sprite ("Billboard", sprite.World_view (in_World), Site, the_billboard_Model.all'Access, the_billboard_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); begin return the_Billboard; end new_billboard_Sprite; function new_arrow_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 0.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Texture : in openGL.asset_Name := openGL.null_Asset; Color : in openGL.lucid_Color := (openGL.Palette.Black, openGL.Opaque); line_Width : in openGL.Real := openGL.Primitive.unused_line_Width) return gel.Sprite.view is use Math; the_graphics_Model : constant openGL.Model.arrow.colored.view := openGL.Model.arrow.colored.new_Arrow (Color => Color.primary, line_Width => line_Width); the_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_graphics_Model.Scale / 2.0), Mass => Mass); the_Arrow : constant gel.Sprite.view := gel.Sprite.forge.new_Sprite ("Arrow", sprite.World_view (in_World), Site, the_graphics_Model.all'Access, the_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); begin return the_Arrow; end new_arrow_Sprite; function new_line_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 0.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Texture : in openGL.asset_Name := openGL.null_Asset; Color : in openGL.lucid_Color := (openGL.Palette.Black, openGL.Opaque); line_Width : in openGL.Real := openGL.Primitive.unused_line_Width) return gel.Sprite.view is use Math; the_graphics_Model : constant openGL.Model.line.colored.view := openGL.Model.line.colored. new_line_Model (Color => Color.primary); the_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_graphics_Model.Scale / 2.0), Mass => Mass); the_Line : constant gel.Sprite.view := gel.Sprite.forge.new_Sprite ("Line", sprite.World_view (in_World), Site, the_graphics_Model.all'Access, the_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); begin return the_Line; end new_line_Sprite; function new_segment_line_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Mass : in math.Real := 0.0; Size : in math.Vector_3 := (1.0, 1.0, 1.0); Texture : in openGL.asset_Name := openGL.null_Asset; Color : in openGL.lucid_Color := (openGL.Palette.Black, openGL.Opaque); line_Width : in openGL.Real := openGL.Primitive.unused_line_Width) return gel.Sprite.view is use Math; the_graphics_Model : constant openGL.Model.segment_line.view := openGL.Model.segment_line.new_segment_line_Model (Scale => (1.0, 1.0, 1.0), Color => Color.primary); the_physics_Model : constant physics.Model.view := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_graphics_Model.Scale / 2.0), Mass => Mass); the_Line : constant gel.Sprite.view := gel.Sprite.forge.new_Sprite ("Line", sprite.World_view (in_World), Site, the_graphics_Model.all'Access, the_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); begin return the_Line; end new_segment_line_Sprite; -- Text -- function new_text_Sprite (in_World : in gel.World.view; Site : in math.Vector_3 := math.Origin_3D; Text : in String; Font : in openGL.Font.font_Id; Color : in openGL.Color := opengl.Palette.Black; Scale : in math.Vector_3 := (1.0, 1.0, 1.0); Centered : in Boolean := True) return gel.Sprite.view is use type Physics.space_Kind; the_graphics_Model : constant openGL.Model.text.lit_colored_textured.View := openGL.Model.text.lit_colored_textured.new_Text (Scale => Scale, Text => Text, Font => Font, Color => (Color, openGL.Opaque), Centered => Centered); the_physics_Model : physics.Model.view; begin if in_World.space_Kind = Physics.Box2d then declare use Math; half_Width : constant Real := Scale (1) / 2.0; half_Height : constant Real := Scale (2) / 2.0; the_Vertices : constant Geometry_2d.Sites (1 .. 8) := ((-half_Width, -half_Height), ( half_Width, -half_Height), ( half_Width, half_Height), (-half_Width, half_Height), others => (0.0, 0.0)); begin the_physics_Model := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Polygon, Vertices => the_Vertices, vertex_Count => 4)); end; else the_physics_Model := physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube, half_Extents => the_graphics_Model.Scale)); end if; return gel.Sprite.Forge.new_Sprite ("text_Sprite", sprite.World_view (in_World), Site, the_graphics_Model, the_physics_Model, owns_Graphics => True, owns_Physics => True, is_Kinematic => False); end new_text_Sprite; end gel.Forge;
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the Free Software Foundation; either -- -- version 2 of the License, or (at your option) any later version. -- -- -- -- This software 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 -- -- General Public License for more details. -- -- -- -- You should have received a copy of the GNU General Public -- -- License along with this library; if not, write to the -- -- Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- -- Boston, MA 02111-1307, USA. -- -- -- -- ----------------------------------------------------------------- -- -- ----------------------------------------------------------------- -- -- This is a translation, to the Ada programming language, of the -- -- original C test files written by Sam Lantinga - www.libsdl.org -- -- translation made by Antonio F. Vargas - www.adapower.net/~avargas -- -- ----------------------------------------------------------------- -- with Ada.Text_IO; use Ada.Text_IO; with SDL.Active; with SDL.Mouse; with SDL.Keysym; with SDL_Framebuffer; package body Testwm_Sprogs is package It renames Interfaces; package A renames SDL.Active; use type A.Active_State; package Ks renames SDL.Keysym; use type Ks.Key; use type Ks.SDLMod; use type C.int; use type V.Surface_Flags; use type V.Surface_ptr; use type V.Palette_ptr; use type V.GrabMode; package Fb renames SDL_Framebuffer; package M renames SDL.Mouse; use type M.Mouse_Button_State; visible : C.int := 1; -- ============================================= procedure LoadIconSurface ( file : in string; maskp : in out Icon_Mask_Array_Access; icon : out V.Surface_ptr) is use type Interfaces.Unsigned_8; mlen : C.int; i : Integer; pixels : Fb.Framebuffer_8bPointer; use V.Color_PtrOps; begin -- Load the icon surface icon := V.LoadBMP (file); if icon = null then Put_Line ("Couldn't load " & file & Er.Get_Error); return; end if; -- Check width and height if icon.w mod 8 /= 0 then Put_Line ("Icon width must be a multiple of 8!"); V.FreeSurface (icon); icon := null; return; end if; if icon.format.palette = null then Put_Line ("Icon must have a palette!"); V.FreeSurface (icon); icon := null; return; end if; -- Set the colorkey V.SetColorKey (icon, V.SRCCOLORKEY, Fb.Get_Framebuffer (icon).all); -- Create the mask pixels := Fb.Get_Framebuffer (icon); Put_Line ("Transparent pixel: (" & Uint8'Image (Fb.Get_Palette_Red (icon, pixels.all)) & "," & Uint8'Image (Fb.Get_Palette_Green (icon, pixels.all)) & "," & Uint8'Image (Fb.Get_Palette_Blue (icon, pixels.all)) & ")"); mlen := icon.w * icon.h; maskp := new V.Icon_Mask_Array(0 .. Integer(mlen/8 - 1)); maskp.all := (others => 0); i := 0; while i < Integer (mlen) loop if Fb.Go_Right_Unchecked (pixels, i).all /= pixels.all then maskp (i / 8) := Uint8 ( It.Unsigned_8 (maskp (i / 8)) or 16#01#); end if; i := i + 1; if i mod 8 /= 0 then maskp (i / 8) := Shift_Left (maskp (i / 8), 1); end if; end loop; end LoadIconSurface; -- ============================================= procedure HotKey_ToggleFullScreen is screen : V.Surface_ptr; begin screen := V.GetVideoSurface; if V.WM_ToggleFullScreen (screen) /= 0 then Put ("Toggled fullscreen mode - now "); if (screen.flags and V.FULLSCREEN) /= 0 then Put_Line ("fullscreen"); else Put_Line ("windowed"); end if; else Put_Line ("Unable to toggle fullscreen mode"); end if; end HotKey_ToggleFullScreen; -- ============================================= procedure HotKey_ToggleGrab is mode : V.GrabMode; begin Put_Line ("Ctrl-G: toggling input grab!"); mode := V.WM_GrabInput (V.GRAB_QUERY); if mode = V.GRAB_ON then Put_Line ("Grab was on"); else Put_Line ("Grab was off"); end if; if mode /= 0 then mode := 0; else mode := 1; end if; mode := V.WM_GrabInput (mode); if mode = V.GRAB_ON then Put_Line ("Grab is now on"); else Put_Line ("Grab is now off"); end if; end HotKey_ToggleGrab; -- ============================================= procedure HotKey_Iconify is begin Put_Line ("Ctrl-Z: iconifying window!"); V.WM_IconifyWindow; end HotKey_Iconify; -- ============================================= procedure HotKey_Quit is event : Ev.Event; begin Put_Line ("Posting internal quit request"); event.the_type := Ev.ISUSEREVENT; Ev.PushEvent (event); end HotKey_Quit; -- ============================================= reallyquit : C.int := 0; function FilterEvents (event : Ev.Event_ptr) return C.int is begin case event.the_type is when Ev.ISACTIVEEVENT => -- See what happened Put("App "); if event.active.gain /= 0 then Put ("gained "); else Put ("lost "); end if; if (event.active.state and A.APPACTIVE) /= 0 then Put ("active "); end if; if (event.active.state and A.APPMOUSEFOCUS) /= 0 then Put ("mouse "); end if; Put_Line ("focus"); -- See if we are iconified or restored if (event.active.state and A.APPACTIVE) /= 0 then Put ("App has been "); if event.active.gain /= 0 then Put_Line ("restored"); else Put_Line ("iconified"); end if; end if; return 0; -- We want to toggle visibility on buttonpress when Ev.MOUSEBUTTONDOWN | Ev.MOUSEBUTTONUP => if event.button.state = M.PRESSED then if visible /= 0 then visible := 0; else visible := 1; end if; M.ShowCursor (visible); end if; Put ("Mouse button " & Uint8'Image (event.button.button) & " has been"); if event.button.state = M.PRESSED then Put_Line (" pressed"); else Put_Line (" released"); end if; return 0; -- Show relative mouse motion when Ev.MOUSEMOTION => Put_Line ("Mouse relative motion: {" & Sint16'Image (event.motion.xrel) & ", " & Sint16'Image (event.motion.yrel) & "}"); return 0; when Ev.KEYDOWN => if event.key.keysym.sym = Ks.K_ESCAPE then HotKey_Quit; end if; if (event.key.keysym.sym = Ks.K_g) and ((event.key.keysym.the_mod and Ks.KMOD_CTRL) /= 0) then HotKey_ToggleGrab; end if; if (event.key.keysym.sym = Ks.K_z) and ((event.key.keysym.the_mod and Ks.KMOD_CTRL) /= 0) then HotKey_Iconify; end if; if (event.key.keysym.sym = Ks.K_RETURN) and ((event.key.keysym.the_mod and Ks.KMOD_ALT) /= 0) then HotKey_ToggleFullScreen; end if; return 0; -- this is important! Queue it if we want to quit. when Ev.QUIT => if reallyquit = 0 then reallyquit := 1; Put_Line ("Quit requested"); return 0; end if; Put_Line ("Quit demanded"); return 1; -- This will never happen because events queued directly -- to the event queue are not filtred. when Ev.ISUSEREVENT => return 1; -- Drop all other events when others => return 0; end case; end FilterEvents; end Testwm_Sprogs;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Raise_Expressions; with Program.Element_Visitors; package Program.Nodes.Raise_Expressions is pragma Preelaborate; type Raise_Expression is new Program.Nodes.Node and Program.Elements.Raise_Expressions.Raise_Expression and Program.Elements.Raise_Expressions.Raise_Expression_Text with private; function Create (Raise_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Exception_Name : not null Program.Elements.Expressions .Expression_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Associated_Message : Program.Elements.Expressions.Expression_Access) return Raise_Expression; type Implicit_Raise_Expression is new Program.Nodes.Node and Program.Elements.Raise_Expressions.Raise_Expression with private; function Create (Exception_Name : not null Program.Elements.Expressions .Expression_Access; Associated_Message : Program.Elements.Expressions.Expression_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Raise_Expression with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Raise_Expression is abstract new Program.Nodes.Node and Program.Elements.Raise_Expressions.Raise_Expression with record Exception_Name : not null Program.Elements.Expressions .Expression_Access; Associated_Message : Program.Elements.Expressions.Expression_Access; end record; procedure Initialize (Self : in out Base_Raise_Expression'Class); overriding procedure Visit (Self : not null access Base_Raise_Expression; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Exception_Name (Self : Base_Raise_Expression) return not null Program.Elements.Expressions.Expression_Access; overriding function Associated_Message (Self : Base_Raise_Expression) return Program.Elements.Expressions.Expression_Access; overriding function Is_Raise_Expression (Self : Base_Raise_Expression) return Boolean; overriding function Is_Expression (Self : Base_Raise_Expression) return Boolean; type Raise_Expression is new Base_Raise_Expression and Program.Elements.Raise_Expressions.Raise_Expression_Text with record Raise_Token : not null Program.Lexical_Elements.Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; end record; overriding function To_Raise_Expression_Text (Self : in out Raise_Expression) return Program.Elements.Raise_Expressions.Raise_Expression_Text_Access; overriding function Raise_Token (Self : Raise_Expression) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token (Self : Raise_Expression) return Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Raise_Expression is new Base_Raise_Expression with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Raise_Expression_Text (Self : in out Implicit_Raise_Expression) return Program.Elements.Raise_Expressions.Raise_Expression_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Raise_Expression) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Raise_Expression) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Raise_Expression) return Boolean; end Program.Nodes.Raise_Expressions;
############################################################################# ## #W id1728q.ada GAP library of id's Hans Ulrich Besche ## ID_GROUP_TREE.next[1728].next[443].next[105]:= rec( fp:= [ 479, 1197, 2177, 2390, 5114, 5777, 6422, 6628, 6723, 6793, 7115, 7388, 8116, 8243, 9040, 10061, 10377, 11067, 11293, 11628, 12542, 14829, 15419, 15778, 17250, 18438, 20740, 22748, 25106, 28477, 28893, 29796, 30543, 32110, 32918, 33586, 34694, 36166, 38005, 38018, 38436, 38790, 40262, 41239, 42614, 43378, 43774, 44405, 45619, 46362, 46785, 47029, 47492, 47881, 48388, 49134, 50502, 51324, 51639, 51851, 52407, 52746, 52878, 53116, 53584, 54405, 54994, 56004, 56067, 56229, 57878, 59456, 60091, 62298, 62392, 63419, 63720, 65231, 65673, 66780, 69544, 69619, 70753, 70778, 71246, 71498, 71542, 71991, 72685, 73478, 73775, 74196, 74260, 75332, 75695, 78314, 80129, 81447, 81647, 82838, 83173, 83859, 84455, 85634, 85644, 85749, 85827, 86567, 87282, 87932, 87952, 88040, 88648, 89074, 90035, 90096, 92118, 92438, 92751, 93387, 93670, 93858, 94063, 94189, 94494, 98721 ], next:= [ 37578, 37318, 34908, 34075, 35783, 37507, 34850, 37364, 34497, 34124, 34098, 37219, 35240, 34965, 34860, 34142, 37367, rec( desc:= [ 302026 ], fp:= [ 8600, 24392, 56120, 97401 ], next:= [ 37510, rec( desc:= [ 112003 ], fp:= [ 2, 12 ], next:= [ 35152, 34599 ] ), rec( desc:= [ 112003 ], fp:= [ 2, 12 ], next:= [ 35033, 37448 ] ), 35136 ] ), rec( desc:= [ 110003 ], fp:= [ 4, 14, 212 ], next:= [ 35155, 35151, 35154 ] ), 34958, 35976, 34959, 35032, 35670, 34687, 35738, 36450, rec( desc:= [ 125007 ], fp:= [ 8, 612 ], next:= [ 34125, 34146 ] ), 34983, 37416, 34910, 35140, 34152, rec( desc:= [ 108003 ], fp:= [ 2, 12 ], next:= [ 35138, 34688 ] ), rec( desc:= [ 120007 ], fp:= [ 4, 14 ], next:= [ 35740, 36162 ] ), 34940, 34854, 35719, 34520, rec( desc:= [ 118007 ], fp:= [ 2, 12 ], next:= [ 36229, 35788 ] ), 37308, 34917, rec( desc:= [ 113003 ], fp:= [ 4, 14, 212 ], next:= [ 35176, 35172, 35175 ] ), rec( desc:= [ 119007 ], fp:= [ 8, 612 ], next:= [ 35751, 35766 ] ), 34156, rec( desc:= [ 120007 ], fp:= [ 616, 814, 1012 ], next:= [ rec( desc:= [ 122007 ], fp:= [ 214, 412 ], next:= [ 35721, 36194 ] ), 36167, 35776 ] ), 34977, 36290, 36444, 34879, rec( desc:= [ 125007 ], fp:= [ 10, 614 ], next:= [ 34478, 34180 ] ), 34920, rec( desc:= [ 111003 ], fp:= [ 4, 212 ], next:= [ 34503, 34946 ] ), 37324, 34969, rec( desc:= [ 123007 ], fp:= [ 8, 612 ], next:= [ 34107, 34084 ] ), 37385, 35178, rec( desc:= [ 120007 ], fp:= [ 10, 614, 812 ], next:= [ 35791, 36152, 36181 ] ), 34942, 34904, 35711, rec( desc:= [ 121007 ], fp:= [ 18, 414 ], next:= [ 34341, 34331 ] ), 36447, rec( desc:= [ 125007 ], fp:= [ 8, 612 ], next:= [ 37419, 37479 ] ), 34111, 34256, 34936, 35726, 34080, rec( desc:= [ 110003 ], fp:= [ 4, 14 ], next:= [ 36221, 35181 ] ), 36170, 34100, 34141, 35011, 37563, 34282, 34560, 34154, 37481, rec( desc:= [ 123007 ], fp:= [ 8, 612 ], next:= [ 34121, 34473 ] ), 37330, 34944, 34938, 34104, 34109, 37374, 35754, 34966, 34149, rec( desc:= [ 108003 ], fp:= [ 2, 12 ], next:= [ 35150, 35815 ] ), 35008, rec( desc:= [ 110003 ], fp:= [ 4, 212 ], next:= [ 35120, 34269 ] ), 34921, 34333, 34114, 35035, rec( desc:= [ 125007 ], fp:= [ 2214, 2412 ], next:= [ 34077, 34102 ] ), 37218, 34595, 34494, 36387, 37315, 34469, 34527, 37184, 34882, 37327, 35745, 37459, 34157, rec( desc:= [ 302028 ], fp:= [ 723, 83541 ], next:= [ 34213, 34181 ] ), 37167, 37567, 34120, 34155, 35812, 34502, 35221, 34876, 34935, 35037, 37566, 36317, 37347, 36230 ] );
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- Copyright (C) 2015-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This file provides register definitions for the STM32F4 (ARM Cortex M4F) -- microcontrollers from ST Microelectronics. pragma Restrictions (No_Elaboration_Code); package STM32F4.Reset_Clock_Control is type RCC_Register is record CR : Word; -- RCC clock control register at 16#00# PLLCFGR : Word; -- RCC PLL configuration register at 16#04# CFGR : Word; -- RCC clock configuration register at 16#08# CIR : Word; -- RCC clock interrupt register at 16#0C# AHB1RSTR : Word; -- RCC AHB1 peripheral reset register at 16#10# AHB2RSTR : Word; -- RCC AHB2 peripheral reset register at 16#14# AHB3RSTR : Word; -- RCC AHB3 peripheral reset register at 16#18# Reserved_0 : Word; -- Reserved at 16#1C# APB1RSTR : Word; -- RCC APB1 peripheral reset register at 16#20# APB2RSTR : Word; -- RCC APB2 peripheral reset register at 16#24# Reserved_1 : Word; -- Reserved at 16#28# Reserved_2 : Word; -- Reserved at 16#2c# AHB1ENR : Word; -- RCC AHB1 peripheral clock register at 16#30# AHB2ENR : Word; -- RCC AHB2 peripheral clock register at 16#34# AHB3ENR : Word; -- RCC AHB3 peripheral clock register at 16#38# Reserved_3 : Word; -- Reserved at 16#0C# APB1ENR : Word; -- RCC APB1 peripheral clock enable at 16#40# APB2ENR : Word; -- RCC APB2 peripheral clock enable at 16#44# Reserved_4 : Word; -- Reserved at 16#48# Reserved_5 : Word; -- Reserved at 16#4c# AHB1LPENR : Word; -- RCC AHB1 periph. low power clk en. at 16#50# AHB2LPENR : Word; -- RCC AHB2 periph. low power clk en. at 16#54# AHB3LPENR : Word; -- RCC AHB3 periph. low power clk en. at 16#58# Reserved_6 : Word; -- Reserved, 16#5C# APB1LPENR : Word; -- RCC APB1 periph. low power clk en. at 16#60# APB2LPENR : Word; -- RCC APB2 periph. low power clk en. at 16#64# Reserved_7 : Word; -- Reserved at 16#68# Reserved_8 : Word; -- Reserved at 16#6C# BDCR : Word; -- RCC Backup domain control register at 16#70# CSR : Word; -- RCC clock control/status register at 16#74# Reserved_9 : Word; -- Reserved at 16#78# Reserved_10 : Word; -- Reserved at 16#7C# SSCGR : Word; -- RCC spread spectrum clk gen. reg. at 16#80# PLLI2SCFGR : Word; -- RCC PLLI2S configuration register at 16#84# end record; for RCC_Register use record CR at 0 range 0 .. 31; PLLCFGR at 4 range 0 .. 31; CFGR at 8 range 0 .. 31; CIR at 12 range 0 .. 31; AHB1RSTR at 16 range 0 .. 31; AHB2RSTR at 20 range 0 .. 31; AHB3RSTR at 24 range 0 .. 31; Reserved_0 at 28 range 0 .. 31; APB1RSTR at 32 range 0 .. 31; APB2RSTR at 36 range 0 .. 31; Reserved_1 at 40 range 0 .. 31; Reserved_2 at 44 range 0 .. 31; AHB1ENR at 48 range 0 .. 31; AHB2ENR at 52 range 0 .. 31; AHB3ENR at 56 range 0 .. 31; Reserved_3 at 60 range 0 .. 31; APB1ENR at 64 range 0 .. 31; APB2ENR at 68 range 0 .. 31; Reserved_4 at 72 range 0 .. 31; Reserved_5 at 76 range 0 .. 31; AHB1LPENR at 80 range 0 .. 31; AHB2LPENR at 84 range 0 .. 31; AHB3LPENR at 88 range 0 .. 31; Reserved_6 at 92 range 0 .. 31; APB1LPENR at 96 range 0 .. 31; APB2LPENR at 100 range 0 .. 31; Reserved_7 at 104 range 0 .. 31; Reserved_8 at 108 range 0 .. 31; BDCR at 112 range 0 .. 31; CSR at 116 range 0 .. 31; Reserved_9 at 120 range 0 .. 31; Reserved_10 at 124 range 0 .. 31; SSCGR at 128 range 0 .. 31; PLLI2SCFGR at 132 range 0 .. 31; end record; -- Constants for RCC CR register HSION : constant Word := 2**0; -- Internal high-speed clock enable HSIRDY : constant Word := 2**1; -- Internal high-speed clock ready HSEON : constant Word := 2**16; -- External high-speed clock enable HSERDY : constant Word := 2**17; -- External high-speed clock ready HSEBYP : constant Word := 2**18; -- External HS clk. resonator bypass CSSON : constant Word := 2**19; -- Clock security system enable PLLON : constant Word := 2**24; -- Main PLL enable PLLRDY : constant Word := 2**25; -- Main PLL ready PLLI2SON : constant Word := 2**26; -- Main PLL enable PLLI2SRDY : constant Word := 2**27; -- Main PLL ready PLLSRC_HSE : constant := 2**22; -- PLL source clock is HSE -- Constants for RCC CFGR register -- AHB prescaler HPRE_DIV1 : constant Word := 16#00#; -- AHB is SYSCLK HPRE_DIV2 : constant Word := 16#80#; -- AHB is SYSCLK / 2 HPRE_DIV4 : constant Word := 16#90#; -- AHB is SYSCLK / 4 HPRE_DIV8 : constant Word := 16#A0#; -- AHB is SYSCLK / 8 HPRE_DIV16 : constant Word := 16#B0#; -- AHB is SYSCLK / 16 HPRE_DIV64 : constant Word := 16#C0#; -- AHB is SYSCLK / 64 HPRE_DIV128 : constant Word := 16#D0#; -- AHB is SYSCLK / 128 HPRE_DIV256 : constant Word := 16#E0#; -- AHB is SYSCLK / 256 HPRE_DIV512 : constant Word := 16#F0#; -- AHB is SYSCLK / 512 -- APB1 prescaler PPRE1_DIV1 : constant Word := 16#0000#; -- APB1 is HCLK / 1 PPRE1_DIV2 : constant Word := 16#1000#; -- APB1 is HCLK / 2 PPRE1_DIV4 : constant Word := 16#1400#; -- APB1 is HCLK / 4 PPRE1_DIV8 : constant Word := 16#1800#; -- APB1 is HCLK / 8 PPRE1_DIV16 : constant Word := 16#1C00#; -- APB1 is HCLK / 16 -- APB2 prescaler PPRE2_DIV1 : constant Word := 16#0000#; -- APB2 is HCLK / 1 PPRE2_DIV2 : constant Word := 16#8000#; -- APB2 is HCLK / 2 PPRE2_DIV4 : constant Word := 16#A000#; -- APB2 is HCLK / 4 PPRE2_DIV8 : constant Word := 16#C000#; -- APB2 is HCLK / 8 PPRE2_DIV16 : constant Word := 16#E000#; -- APB2 is HCLK / 16 -- MCO1 clock selector MCO1SEL_HSI : constant Word := 0 * 2**21; -- HSI clock on MCO1 pin MCO1SEL_LSE : constant Word := 1 * 2**21; -- LSE clock on MCO1 pin MCO1SEL_HSE : constant Word := 2 * 2**21; -- HSE clock on MCO1 pin MCO1SEL_PLL : constant Word := 3 * 2**21; -- PLL clock on MCO1 pin -- MCO1 prescaler MCO1PRE_DIV1 : constant Word := 0 * 2**24; -- MCO1 divides by 1 MCO1PRE_DIV2 : constant Word := 4 * 2**24; -- MCO1 divides by 2 MCO1PRE_DIV3 : constant Word := 5 * 2**24; -- MCO1 divides by 3 MCO1PRE_DIV4 : constant Word := 6 * 2**24; -- MCO1 divides by 4 MCO1PRE_DIV5 : constant Word := 7 * 2**24; -- MCO1 divides by 5 -- MCO2 clock selector MCO2SEL_SYSCLK : constant Word := 0 * 2**30; -- SYSCLK clock on MCO2 pin MCO2SEL_PLLI2S : constant Word := 1 * 2**30; -- SYSCLK clock on MCO2 pin MCO2SEL_HSE : constant Word := 2 * 2**30; -- SYSCLK clock on MCO2 pin MCO2SEL_PLL : constant Word := 3 * 2**30; -- SYSCLK clock on MCO2 pin -- MCO2 prescaler MCO2PRE_DIV1 : constant Word := 0 * 2**27; -- MCO2 divides by 1 MCO2PRE_DIV2 : constant Word := 4 * 2**27; -- MCO2 divides by 4 MCO2PRE_DIV3 : constant Word := 5 * 2**27; -- MCO2 divides by 5 MCO2PRE_DIV4 : constant Word := 6 * 2**27; -- MCO2 divides by 6 MCO2PRE_DIV5 : constant Word := 7 * 2**27; -- MCO2 divides by 7 -- I2S clock source I2SSRC_PLLI2S : constant Word := 0 * 2**23; -- I2SSRC is PLLI2S I2SSRC_PCKIN : constant Word := 1 * 2**23; -- I2SSRC is I2S_CKIN -- System clock switch SW_HSI : constant Word := 16#0#; -- HSI selected as system clock SW_HSE : constant Word := 16#1#; -- HSI selected as system clock SW_PLL : constant Word := 16#2#; -- PLL selected as system clock -- System clock switch status SWS_HSI : constant Word := 16#0#; -- HSI used as system clock SWS_HSE : constant Word := 16#4#; -- HSI used as system clock SWS_PLL : constant Word := 16#8#; -- PLL used as system clock -- Constants for RCC CR register LSION : constant Word := 2**0; -- Int. low-speed clock enable LSIRDY : constant Word := 2**1; -- Int. low-speed clock enable end STM32F4.Reset_Clock_Control;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Ada.Exceptions; with Ada.Text_IO; with League.Application; with Matreshka.XML_Catalogs.Entry_Files; with Matreshka.XML_Catalogs.Loader; with Matreshka.XML_Catalogs.Resolver; package body AMF.Internals.XMI_URI_Rewriter is use type League.Strings.Universal_String; function "+" (Item : Wide_Wide_String) return League.Strings.Universal_String renames League.Strings.To_Universal_String; Namespace_Rules : aliased Matreshka.XML_Catalogs.Entry_Files.Catalog_Entry_File_List; Document_Rules : aliased Matreshka.XML_Catalogs.Entry_Files.Catalog_Entry_File_List; -- Rules to rewrite URIs of namespaces and documents. ---------------- -- Initialize -- ---------------- procedure Initialize is begin -- Load metamodels mapping. begin Namespace_Rules.Catalog_Entry_Files.Append (Matreshka.XML_Catalogs.Loader.Load_By_File_Name (League.Application.Environment.Value (+"AMF_DATA_DIR", +".") & "/metamodels/mapping.xml", Matreshka.XML_Catalogs.Entry_Files.System)); exception when E : others => Ada.Text_IO.Put_Line (Ada.Text_IO.Standard_Error, Ada.Exceptions.Exception_Information (E)); end; -- Load models mapping. begin Document_Rules.Catalog_Entry_Files.Append (Matreshka.XML_Catalogs.Loader.Load_By_File_Name (League.Application.Environment.Value (+"AMF_DATA_DIR", +".") & "/models/mapping.xml", Matreshka.XML_Catalogs.Entry_Files.System)); exception when E : others => Ada.Text_IO.Put_Line (Ada.Text_IO.Standard_Error, Ada.Exceptions.Exception_Information (E)); end; end Initialize; ----------------------- -- Rewrite_Model_URI -- ----------------------- function Rewrite_Model_URI (URI : League.Strings.Universal_String) return League.Strings.Universal_String is Resolved : League.Strings.Universal_String; Success : Boolean; begin Matreshka.XML_Catalogs.Resolver.Resolve_URI (Document_Rules'Access, URI, Resolved, Success); return Resolved; end Rewrite_Model_URI; --------------------------- -- Rewrite_Namespace_URI -- --------------------------- function Rewrite_Namespace_URI (URI : League.Strings.Universal_String) return League.Strings.Universal_String is Resolved : League.Strings.Universal_String; Success : Boolean; begin Matreshka.XML_Catalogs.Resolver.Resolve_URI (Namespace_Rules'Access, URI, Resolved, Success); return Resolved; end Rewrite_Namespace_URI; end AMF.Internals.XMI_URI_Rewriter;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with interfaces; use interfaces; with types; use types; with ada.unchecked_conversion; with m4.cpu; package ewok with spark_mode => on is type t_stack_frame is record R4, R5, R6, R7 : unsigned_32; R8, R9, R10, R11 : unsigned_32; exc_return : unsigned_32; R0, R1, R2, R3 : unsigned_32; R12 : unsigned_32; LR : system_address; PC : system_address; PSR : m4.cpu.t_PSR_register; end record with size => 17 * 32; type t_stack_frame_access is access t_stack_frame; function to_stack_frame_access is new ada.unchecked_conversion (system_address, t_stack_frame_access); function to_system_address is new ada.unchecked_conversion (t_stack_frame_access, system_address); type t_parameters is array (1 .. 4) of unsigned_32 with pack; type t_parameters_access is access t_parameters; function to_parameters_access is new ada.unchecked_conversion (system_address, t_parameters_access); end ewok;
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by John Self of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and this paragraph are -- duplicated in all such forms and that any documentation, -- advertising materials, and other materials related to such -- distribution and use acknowledge that the software was developed -- by the University of California, Irvine. The name of the -- University may not be used to endorse or promote products derived -- from this software without specific prior written permission. -- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -- TITLE equivalence class -- AUTHOR: John Self (UCI) -- DESCRIPTION finds equivalence classes so DFA will be smaller -- $Header: /co/ua/self/arcadia/aflex/ada/src/RCS/ecsS.a,v 1.4 90/01/12 15:19:57 self Exp Locker: self $ with misc_defs; use misc_defs; package ecs is procedure CCL2ECL; procedure CRE8ECS(FWD, BCK : in out C_SIZE_ARRAY; NUM : in INTEGER; RESULT : out INTEGER); procedure MKECCL(CCLS : in out CHAR_ARRAY; LENCCL : in INTEGER; FWD, BCK : in out UNBOUNDED_INT_ARRAY; LLSIZ : in INTEGER); procedure MKECHAR(TCH : in INTEGER; FWD, BCK : in out C_SIZE_ARRAY); end ecs;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Aspect_Specifications; with Program.Elements.Formal_Object_Declarations; with Program.Element_Visitors; package Program.Nodes.Formal_Object_Declarations is pragma Preelaborate; type Formal_Object_Declaration is new Program.Nodes.Node and Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration and Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Text with private; function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Colon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; In_Token : Program.Lexical_Elements.Lexical_Element_Access; Out_Token : Program.Lexical_Elements.Lexical_Element_Access; Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Object_Subtype : not null Program.Elements.Element_Access; Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Formal_Object_Declaration; type Implicit_Formal_Object_Declaration is new Program.Nodes.Node and Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration with private; function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Object_Subtype : not null Program.Elements.Element_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False; Has_In : Boolean := False; Has_Out : Boolean := False; Has_Not_Null : Boolean := False) return Implicit_Formal_Object_Declaration with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Formal_Object_Declaration is abstract new Program.Nodes.Node and Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration with record Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Object_Subtype : not null Program.Elements.Element_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; end record; procedure Initialize (Self : in out Base_Formal_Object_Declaration'Class); overriding procedure Visit (Self : not null access Base_Formal_Object_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Names (Self : Base_Formal_Object_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; overriding function Object_Subtype (Self : Base_Formal_Object_Declaration) return not null Program.Elements.Element_Access; overriding function Default_Expression (Self : Base_Formal_Object_Declaration) return Program.Elements.Expressions.Expression_Access; overriding function Aspects (Self : Base_Formal_Object_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; overriding function Is_Formal_Object_Declaration (Self : Base_Formal_Object_Declaration) return Boolean; overriding function Is_Declaration (Self : Base_Formal_Object_Declaration) return Boolean; type Formal_Object_Declaration is new Base_Formal_Object_Declaration and Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Text with record Colon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; In_Token : Program.Lexical_Elements.Lexical_Element_Access; Out_Token : Program.Lexical_Elements.Lexical_Element_Access; Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Formal_Object_Declaration_Text (Self : in out Formal_Object_Declaration) return Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Text_Access; overriding function Colon_Token (Self : Formal_Object_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function In_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Out_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Not_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Null_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Assignment_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Formal_Object_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Has_In (Self : Formal_Object_Declaration) return Boolean; overriding function Has_Out (Self : Formal_Object_Declaration) return Boolean; overriding function Has_Not_Null (Self : Formal_Object_Declaration) return Boolean; type Implicit_Formal_Object_Declaration is new Base_Formal_Object_Declaration with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; Has_In : Boolean; Has_Out : Boolean; Has_Not_Null : Boolean; end record; overriding function To_Formal_Object_Declaration_Text (Self : in out Implicit_Formal_Object_Declaration) return Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Formal_Object_Declaration) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Formal_Object_Declaration) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Formal_Object_Declaration) return Boolean; overriding function Has_In (Self : Implicit_Formal_Object_Declaration) return Boolean; overriding function Has_Out (Self : Implicit_Formal_Object_Declaration) return Boolean; overriding function Has_Not_Null (Self : Implicit_Formal_Object_Declaration) return Boolean; end Program.Nodes.Formal_Object_Declarations;
------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! -- -- -- -- WAVEFILES -- -- -- -- Wavefile data I/O operations -- -- -- -- The MIT License (MIT) -- -- -- -- Copyright (c) 2015 -- 2021 Gustavo A. Hoffmann -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining -- -- a copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, sublicense, and / or sell copies of the Software, and to -- -- permit persons to whom the Software is furnished to do so, subject to -- -- the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be -- -- included in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -- -- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -- -- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -- -- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -- -- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- ------------------------------------------------------------------------------ private generic type Wav_Sample is delta <>; type Channel_Range is (<>); type Wav_MC_Sample is array (Channel_Range range <>) of Wav_Sample; package Audio.Wavefiles.Generic_Fixed_Wav_IO is function Get (WF : in out Wavefile) return Wav_MC_Sample with Inline, Pre => Mode (WF) = In_File; procedure Get (WF : in out Wavefile; Wav : out Wav_MC_Sample) with Inline, Pre => Mode (WF) = In_File; procedure Put (WF : in out Wavefile; Wav : Wav_MC_Sample) with Inline, Pre => Mode (WF) = Out_File and Wav'Length >= Number_Of_Channels (WF); end Audio.Wavefiles.Generic_Fixed_Wav_IO;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Element_Vectors; with Program.Elements.Associations; with Program.Elements.Expressions; with Program.Lexical_Elements; package Program.Elements.Parameter_Associations is pragma Pure (Program.Elements.Parameter_Associations); type Parameter_Association is limited interface and Program.Elements.Associations.Association; type Parameter_Association_Access is access all Parameter_Association'Class with Storage_Size => 0; not overriding function Formal_Parameter (Self : Parameter_Association) return Program.Elements.Expressions.Expression_Access is abstract; not overriding function Actual_Parameter (Self : Parameter_Association) return not null Program.Elements.Expressions.Expression_Access is abstract; type Parameter_Association_Text is limited interface; type Parameter_Association_Text_Access is access all Parameter_Association_Text'Class with Storage_Size => 0; not overriding function To_Parameter_Association_Text (Self : in out Parameter_Association) return Parameter_Association_Text_Access is abstract; not overriding function Arrow_Token (Self : Parameter_Association_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; type Parameter_Association_Vector is limited interface and Program.Element_Vectors.Element_Vector; type Parameter_Association_Vector_Access is access all Parameter_Association_Vector'Class with Storage_Size => 0; overriding function Element (Self : Parameter_Association_Vector; Index : Positive) return not null Program.Elements.Element_Access is abstract with Post'Class => Element'Result.Is_Parameter_Association; function To_Parameter_Association (Self : Parameter_Association_Vector'Class; Index : Positive) return not null Parameter_Association_Access is (Self.Element (Index).To_Parameter_Association); end Program.Elements.Parameter_Associations;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UML.Final_Nodes.Collections is pragma Preelaborate; package UML_Final_Node_Collections is new AMF.Generic_Collections (UML_Final_Node, UML_Final_Node_Access); type Set_Of_UML_Final_Node is new UML_Final_Node_Collections.Set with null record; Empty_Set_Of_UML_Final_Node : constant Set_Of_UML_Final_Node; type Ordered_Set_Of_UML_Final_Node is new UML_Final_Node_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Final_Node : constant Ordered_Set_Of_UML_Final_Node; type Bag_Of_UML_Final_Node is new UML_Final_Node_Collections.Bag with null record; Empty_Bag_Of_UML_Final_Node : constant Bag_Of_UML_Final_Node; type Sequence_Of_UML_Final_Node is new UML_Final_Node_Collections.Sequence with null record; Empty_Sequence_Of_UML_Final_Node : constant Sequence_Of_UML_Final_Node; private Empty_Set_Of_UML_Final_Node : constant Set_Of_UML_Final_Node := (UML_Final_Node_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Final_Node : constant Ordered_Set_Of_UML_Final_Node := (UML_Final_Node_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Final_Node : constant Bag_Of_UML_Final_Node := (UML_Final_Node_Collections.Bag with null record); Empty_Sequence_Of_UML_Final_Node : constant Sequence_Of_UML_Final_Node := (UML_Final_Node_Collections.Sequence with null record); end AMF.UML.Final_Nodes.Collections;
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018, 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) any later -- version. This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- As a special exception under Section 7 of GPL version 3, you are granted -- additional permissions described in the GCC Runtime Library Exception, -- version 3.1, as published by the Free Software Foundation. pragma License (Modified_GPL); package body SAL.Gen_Definite_Doubly_Linked_Lists_Sorted is ---------- -- Body subprograms, alphabetical procedure Find (Container : in List; Element : in Element_Type; Found : out Node_Access; Found_Compare : out Compare_Result) is -- Return pointer to first item in Container for which Compare (item, -- element) returns True or Greater. If no such element exists, Found -- is null, Found_Compare is Less. use Ada.Containers; begin if Container.Head = null then Found := null; Found_Compare := Less; return; end if; declare Low_Index : Count_Type := 1; High_Index : Count_Type := Container.Count; Next_Node : Node_Access := Container.Head; Next_Index : Count_Type := Low_Index; Old_Index : Count_Type; begin loop Old_Index := Next_Index; Next_Index := (Low_Index + High_Index) / 2; if Next_Index > Old_Index then for I in Old_Index + 1 .. Next_Index loop Next_Node := Next_Node.Next; end loop; elsif Next_Index < Old_Index then for I in Next_Index .. Old_Index - 1 loop Next_Node := Next_Node.Prev; end loop; end if; case Element_Compare (Next_Node.Element, Element) is when Less => if Next_Index = High_Index then -- no more nodes to check Found := null; Found_Compare := Less; return; elsif Next_Index = Low_Index then -- force check of high_index Low_Index := High_Index; else Low_Index := Next_Index; end if; when Equal => Found := Next_Node; Found_Compare := Equal; return; when Greater => if Low_Index = Next_Index then -- no more nodes to check Found := Next_Node; Found_Compare := Greater; return; elsif High_Index = Next_Index then -- Desired result is either high_index or low_index pragma Assert (Low_Index + 1 = High_Index); case Element_Compare (Next_Node.Prev.Element, Element) is when Less => Found := Next_Node; Found_Compare := Greater; return; when Equal => Found := Next_Node.Prev; Found_Compare := Equal; return; when Greater => Found := Next_Node.Prev; Found_Compare := Greater; return; end case; else High_Index := Next_Index; end if; end case; end loop; end; end Find; procedure Insert_Before (Container : in out List; Before : in Node_Access; Element : in Element_Type) is New_Node : constant Node_Access := new Node_Type' (Element => Element, Prev => Before.Prev, Next => Before); begin if Before = Container.Head then Before.Prev := New_Node; Container.Head := New_Node; else Before.Prev.Next := New_Node; Before.Prev := New_Node; end if; end Insert_Before; procedure Insert_After_Tail (Container : in out List; Element : in Element_Type) is New_Node : constant Node_Access := new Node_Type' (Element => Element, Prev => Container.Tail, Next => null); begin Container.Tail.Next := New_Node; Container.Tail := New_Node; end Insert_After_Tail; --------- -- Public operations, declaration order. overriding procedure Adjust (Container : in out List) is Next_Source : Node_Access := Container.Head; New_Node : Node_Access; begin if Next_Source = null then return; end if; Container.Tail := null; loop New_Node := new Node_Type' (Element => Next_Source.Element, Next => null, Prev => Container.Tail); if Container.Tail = null then Container.Head := New_Node; Container.Tail := New_Node; else Container.Tail.Next := New_Node; Container.Tail := New_Node; end if; Next_Source := Next_Source.Next; exit when Next_Source = null; end loop; end Adjust; overriding procedure Finalize (Container : in out List) is Next : Node_Access := Container.Head; begin loop exit when Next = null; Next := Container.Head.Next; Free (Container.Head); Container.Head := Next; end loop; Container.Tail := null; end Finalize; overriding function "=" (Left, Right : in List) return Boolean is Left_I : Node_Access := Left.Head; Right_I : Node_Access := Right.Head; begin loop exit when Left_I = null; if Right_I = null then return False; elsif Left_I.Element /= Right_I.Element then return False; end if; Left_I := Left_I.Next; Right_I := Right_I.Next; end loop; return Right_I = null; end "="; function Length (Container : in List) return Ada.Containers.Count_Type is begin return Container.Count; end Length; function To_List (Element : in Element_Type) return List is New_Node : constant Node_Access := new Node_Type' (Element => Element, Prev => null, Next => null); begin return Result : constant List := (Ada.Finalization.Controlled with Head => New_Node, Tail => New_Node, Count => 1); end To_List; procedure Insert (Container : in out List; Element : in Element_Type) is Node : Node_Access := Container.Head; Compare : Compare_Result; begin if Node = null then Container := To_List (Element); else Find (Container, Element, Node, Compare); Container.Count := Container.Count + 1; if Node = null then Insert_After_Tail (Container, Element); else Insert_Before (Container, Node, Element); end if; end if; end Insert; function Contains (Container : in List; Element : in Element_Type) return Boolean is Node : Node_Access := Container.Head; Compare : Compare_Result; begin Find (Container, Element, Node, Compare); return Compare = Equal; end Contains; procedure Merge (Target : in out List; Source : in List; Added : out Boolean) is Target_I : Node_Access := Target.Head; Source_I : Node_Access := Source.Head; begin if Target_I = null then if Source_I = null then Added := False; else Target.Head := Source.Head; Target.Tail := Source.Tail; Target.Count := Source.Count; Adjust (Target); Added := True; end if; elsif Source_I = null then Added := False; else Added := False; loop exit when Source_I = null; if Target_I = null then Added := True; Target.Count := Target.Count + 1; Insert_After_Tail (Target, Source_I.Element); Source_I := Source_I.Next; else case Element_Compare (Target_I.Element, Source_I.Element) is when Greater => Added := True; Target.Count := Target.Count + 1; Insert_Before (Target, Target_I, Source_I.Element); Source_I := Source_I.Next; when Equal => Target_I := Target_I.Next; Source_I := Source_I.Next; when Less => Target_I := Target_I.Next; end case; end if; end loop; end if; end Merge; procedure Merge (Target : in out List; Source : in List; Added : out Boolean; Exclude : in Element_Type) is Target_I : Node_Access := Target.Head; Source_I : Node_Access := Source.Head; begin Added := False; if Target_I = null then if Source_I = null then return; else loop if Source_I = null then return; end if; exit when Source_I.Element /= Exclude; Source_I := Source_I.Next; end loop; Added := True; Target := To_List (Source_I.Element); Source_I := Source_I.Next; end if; end if; loop exit when Source_I = null; if Source_I.Element = Exclude then Source_I := Source_I.Next; elsif Target_I = null then Added := True; Target.Count := Target.Count + 1; Insert_After_Tail (Target, Source_I.Element); Source_I := Source_I.Next; else case Element_Compare (Target_I.Element, Source_I.Element) is when Greater => Added := True; Target.Count := Target.Count + 1; Insert_Before (Target, Target_I, Source_I.Element); Source_I := Source_I.Next; when Equal => Target_I := Target_I.Next; Source_I := Source_I.Next; when Less => Target_I := Target_I.Next; end case; end if; end loop; end Merge; function Has_Element (Position : in Cursor) return Boolean is begin return Position.Ptr /= null; end Has_Element; function First (Container : in List) return Cursor is begin if Container.Head = null then return No_Element; else return (Container'Unrestricted_Access, Container.Head); end if; end First; function Last (Container : in List) return Cursor is begin if Container.Tail = null then return No_Element; else return (Container'Unrestricted_Access, Container.Tail); end if; end Last; function Find (Container : in List; Element : in Element_Type) return Cursor is Node : Node_Access; Compare : Compare_Result; begin Find (Container, Element, Node, Compare); if Node = null then return No_Element; elsif Compare = Equal then return (Container'Unrestricted_Access, Node); else return No_Element; end if; end Find; procedure Next (Position : in out Cursor) is begin if Position.Ptr /= null then if Position.Ptr.Next = null then Position := No_Element; else Position.Ptr := Position.Ptr.Next; end if; end if; end Next; function Next (Position : in Cursor) return Cursor is begin if Position.Ptr = null then return Position; else if Position.Ptr.Next = null then return No_Element; else return (Position.Container, Position.Ptr.Next); end if; end if; end Next; function Previous (Position : in Cursor) return Cursor is begin if Position.Ptr = null then return Position; else if Position.Ptr.Prev = null then return No_Element; else return (Position.Container, Position.Ptr.Prev); end if; end if; end Previous; function Element (Position : in Cursor) return Element_Type is begin return Position.Ptr.Element; end Element; procedure Delete (Container : in out List; Position : in out Cursor) is Node : Node_Access renames Position.Ptr; begin if Node.Next = null then Container.Tail := Node.Prev; else Node.Next.Prev := Node.Prev; end if; if Node.Prev = null then Container.Head := Node.Next; else Node.Prev.Next := Node.Next; end if; Free (Node); Position := No_Element; Container.Count := Container.Count - 1; end Delete; function Pop (Container : in out List) return Element_Type is Node : Node_Access := Container.Head; begin return Result : constant Element_Type := Container.Head.Element do Container.Head := Node.Next; if Node.Next = null then Container.Tail := null; else Node.Next.Prev := null; end if; Free (Node); Container.Count := Container.Count - 1; end return; end Pop; function Constant_Reference (Container : in List; Position : in Cursor) return Constant_Reference_Type is pragma Unreferenced (Container); begin return (Element => Position.Ptr.all.Element'Access, Dummy => 1); end Constant_Reference; function Constant_Ref (Position : in Cursor) return Constant_Reference_Type is begin return (Element => Position.Ptr.all.Element'Access, Dummy => 1); end Constant_Ref; function Variable_Reference (Container : in List; Position : in Cursor) return Variable_Reference_Type is pragma Unreferenced (Container); begin return (Element => Position.Ptr.all.Element'Access, Dummy => 1); end Variable_Reference; function Variable_Ref (Position : in Cursor) return Variable_Reference_Type is begin return (Element => Position.Ptr.all.Element'Access, Dummy => 1); end Variable_Ref; function Iterate (Container : aliased in List) return Iterator_Interfaces.Reversible_Iterator'Class is begin return Iterator'(Container => Container'Unrestricted_Access); end Iterate; overriding function First (Object : Iterator) return Cursor is begin return First (Object.Container.all); end First; overriding function Last (Object : Iterator) return Cursor is begin return Last (Object.Container.all); end Last; overriding function Next (Object : in Iterator; Position : in Cursor) return Cursor is pragma Unreferenced (Object); begin return Next (Position); end Next; overriding function Previous (Object : in Iterator; Position : in Cursor) return Cursor is pragma Unreferenced (Object); begin return Previous (Position); end Previous; end SAL.Gen_Definite_Doubly_Linked_Lists_Sorted;
package body generic_dispatch_p is function Constructor (I : not null access Integer) return DT is R : DT; begin return R; end Constructor; end;
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Thin binding to Simple Direct Media Layer -- -- Copyright (C) 2000-2012 A.M.F.Vargas -- -- Antonio M. M. Ferreira Vargas -- -- Manhente - Barcelos - Portugal -- -- http://adasdl.sourceforge.net -- -- E-mail: amfvargas@gmail.com -- -- ----------------------------------------------------------------- -- -- -- -- This library is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the Free Software Foundation; either -- -- version 2 of the License, or (at your option) any later version. -- -- -- -- This library 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 -- -- General Public License for more details. -- -- -- -- You should have received a copy of the GNU General Public -- -- License along with this library; if not, write to the -- -- Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- -- Boston, MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from -- -- this unit, or you link this unit with other files to produce an -- -- executable, this unit does not by itself cause the resulting -- -- executable to be covered by the GNU General Public License. This -- -- exception does not however invalidate any other reasons why the -- -- executable file might be covered by the GNU Public License. -- -- ----------------------------------------------------------------- -- -- **************************************************************** -- -- This is an Ada binding to SDL ( Simple DirectMedia Layer from -- -- Sam Lantinga - www.libsld.org ) -- -- **************************************************************** -- -- In order to help the Ada programmer, the comments in this file -- -- are, in great extent, a direct copy of the original text in the -- -- SDL header files. -- -- **************************************************************** -- with System; package body SDL.Byteorder is -------------------- -- Get_Byte_Order -- -------------------- function Get_Byte_Order return C.int is use type System.Bit_Order; begin if System.Default_Bit_Order = System.Low_Order_First then return 1234; else return 4321; end if; end Get_Byte_Order; end SDL.Byteorder;
with impact.d2.Contact, impact.d2.Fixture, impact.d2.Joint, impact.d2.Shape, impact.d2.Math; limited with impact.d2.World; package impact.d2.Solid -- -- -- is use impact.d2.Math; -- The body type. -- static: zero mass, zero velocity, may be manually moved -- kinematic: zero mass, non-zero velocity set by user, moved by solver -- dynamic: positive mass, non-zero velocity determined by forces, moved by solver -- type b2BodyType is (b2_staticBody, b2_kinematicBody, b2_dynamicBody); -- A body definition holds all the data needed to construct a rigid body. -- You can safely re-use body definitions. Shapes are added to a body after construction. -- type b2BodyDef is record -- The body type: static, kinematic, or dynamic. -- Note: if a dynamic body would have zero mass, the mass is set to one. kind : b2BodyType := b2_staticBody; -- The world position of the body. Avoid creating bodies at the origin -- since this can lead to many overlapping shapes. position : b2Vec2 := (0.0, 0.0); -- The world angle of the body in radians. angle : float32 := 0.0; -- The linear velocity of the body's origin in world co-ordinates. linearVelocity : b2Vec2 := (0.0, 0.0); -- The angular velocity of the body. angularVelocity : float32 := 0.0; -- Linear damping is use to reduce the linear velocity. The damping parameter -- can be larger than 1.0f but the damping effect becomes sensitive to the -- time step when the damping parameter is large. linearDamping : float32 := 0.0; -- Angular damping is use to reduce the angular velocity. The damping parameter -- can be larger than 1.0f but the damping effect becomes sensitive to the -- time step when the damping parameter is large. angularDamping : float32 := 0.0; -- Set this flag to false if this body should never fall asleep. Note that -- this increases CPU usage. allowSleep : Boolean := True; -- Is this body initially awake or sleeping? awake : Boolean := True; -- Should this body be prevented from rotating? Useful for characters. fixedRotation : Boolean := False; -- Is this a fast moving body that should be prevented from tunneling through -- other moving bodies? Note that all bodies are prevented from tunneling through -- kinematic and static bodies. This setting is only considered on dynamic bodies. -- Warning: You should use this flag sparingly since it increases processing time. bullet : Boolean := False; -- Does this body start out active? active : Boolean := True; -- Use this to store application specific body data. userData : access Any'Class; -- Experimental: scales the inertia tensor. inertiaScale : float32 := 1.0; end record; -- A rigid body. These are created via 'World.CreateBody'. -- type b2Body is tagged private; type View is access all b2Body'Class; -- Set the type of this body. This may alter the mass and velocity. -- procedure SetType (Self : in out b2Body; Kind : in b2BodyType); -- Get the type of this body. -- function GetType (Self : in b2Body) return b2BodyType; -- Get the list of all contacts attached to this body. -- warning: this list changes during the time step and you may -- miss some collisions if you don't use b2ContactListener. -- function GetContactList (Self : in b2Body) return access contact.b2ContactEdge; -- b2ContactEdge* GetContactList(); -- const b2ContactEdge* GetContactList() const; -- Get the body transform for the body's origin. -- Returns the world transform of the body's origin. -- function GetTransform (Self : in b2Body) return b2Transform; -- Get the world coordinates of a point given the local coordinates. -- 'localPoint' is a point on the body measured relative the the body's origin. -- Returns the same point expressed in world coordinates. -- function GetWorldPoint (Self : in b2Body; localPoint : in b2Vec2) return b2Vec2; -- Get the world coordinates of a vector given the local coordinates. -- 'localVector' is a vector fixed in the body. -- Return the same vector expressed in world coordinates. -- function GetWorldVector (Self : in b2Body; localVector : in b2Vec2) return b2Vec2; -- Get the linear velocity of the center of mass. -- Returns the linear velocity of the center of mass. -- function GetLinearVelocity (Self : in b2Body) return b2Vec2; -- Get the angular velocity. -- Returns the angular velocity in radians/second. -- function GetAngularVelocity (Self : in b2Body) return float32; -- Get the total mass of the body. -- Returns the mass, usually in kilograms (kg). -- function GetMass (Self : in b2Body) return float32; -- You can disable sleeping on this body. If you disable sleeping, the -- body will be woken. -- procedure SetSleepingAllowed (Self : in out b2Body; flag : in Boolean); -- Is this body allowed to sleep -- function IsSleepingAllowed (Self : in b2Body) return Boolean; -- Set the sleep state of the body. A sleeping body has very -- low CPU cost. -- 'flag' set to true to put body to sleep, false to wake it. -- procedure SetAwake (Self : in out b2Body; flag : in Boolean); -- Get the sleeping state of this body. -- Returns True if the body is sleeping. -- function IsAwake (Self : in b2Body) return Boolean; -- Set the mass properties to override the mass properties of the fixtures. -- Note that this changes the center of mass position. -- Note that creating or destroying fixtures can also alter the mass. -- This function has no effect if the body isn't dynamic. -- @param massData the mass properties. -- procedure SetMassData (Self : in out b2Body; data : in shape.b2MassData); -- This resets the mass properties to the sum of the mass properties of the fixtures. -- This normally does not need to be called unless you called SetMassData to override -- the mass and you later want to reset the mass. -- procedure ResetMassData (Self : in out b2Body); -- Creates a fixture and attach it to this body. Use this function if you need -- to set some fixture parameters, like friction. Otherwise you can create the -- fixture directly from a shape. -- If the density is non-zero, this function automatically updates the mass of the body. -- Contacts are not created until the next time step. -- 'def' the fixture definition. -- Warning: This function is locked during callbacks. -- function CreateFixture (Self : access b2Body; def : in fixture.b2FixtureDef) return Fixture.view; -- Creates a fixture from a shape and attach it to this body. -- This is a convenience function. Use b2FixtureDef if you need to set parameters -- like friction, restitution, user data, or filtering. -- If the density is non-zero, this function automatically updates the mass of the body. -- @param shape the shape to be cloned. -- @param density the shape density (set to zero for static bodies). -- @warning This function is locked during callbacks. -- function CreateFixture (Self : access b2Body; shape : in impact.d2.Shape.View; density : in float32 ) return Fixture.view; -- Destroy a fixture. This removes the fixture from the broad-phase and -- destroys all contacts associated with this fixture. This will -- automatically adjust the mass of the body if the body is dynamic and the -- fixture has positive density. -- All fixtures attached to a body are implicitly destroyed when the body is destroyed. -- @param fixture the fixture to be removed. -- @warning This function is locked during callbacks. -- procedure DestroyFixture (Self : access b2Body; fixture : in out impact.d2.Fixture.view); -- Set the position of the body's origin and rotation. -- This breaks any contacts and wakes the other bodies. -- Manipulating a body's transform may cause non-physical behavior. -- @param position the world position of the body's local origin. -- @param angle the world rotation in radians. -- procedure SetTransform (Self : in out b2Body; position : in b2Vec2; angle : in float32); -- Get the world body origin position. -- @return the world position of the body's origin. -- function GetPosition (Self : in b2Body) return b2Vec2; -- Get the angle in radians. -- @return the current world rotation angle in radians. -- function GetAngle (Self : in b2Body) return float32; -- Get the world position of the center of mass. -- function GetWorldCenter (Self : in b2Body) return b2Vec2; -- Get the local position of the center of mass. -- function GetLocalCenter (Self : in b2Body) return b2Vec2; -- Set the linear velocity of the center of mass. -- @param v the new linear velocity of the center of mass. -- procedure SetLinearVelocity (Self : in out b2Body; v : in b2Vec2); -- Set the angular velocity. -- @param omega the new angular velocity in radians/second. -- procedure SetAngularVelocity (Self : in out b2Body; omega : in float32); -- Apply a force at a world point. If the force is not -- applied at the center of mass, it will generate a torque and -- affect the angular velocity. This wakes up the body. -- @param force the world force vector, usually in Newtons (N). -- @param point the world position of the point of application. -- procedure ApplyForce (Self : in out b2Body; force : in b2Vec2; point : in b2Vec2); -- Apply a torque. This affects the angular velocity -- without affecting the linear velocity of the center of mass. -- This wakes up the body. -- @param torque about the z-axis (out of the screen), usually in N-m. -- procedure ApplyTorque (Self : in out b2Body; torque : in float32); -- Apply an impulse at a point. This immediately modifies the velocity. -- It also modifies the angular velocity if the point of application -- is not at the center of mass. This wakes up the body. -- @param impulse the world impulse vector, usually in N-seconds or kg-m/s. -- @param point the world position of the point of application. -- procedure ApplyLinearImpulse (Self : in out b2Body; impulse : in b2Vec2; point : in b2Vec2); -- Apply an angular impulse. -- @param impulse the angular impulse in units of kg*m*m/s -- procedure ApplyAngularImpulse (Self : in out b2Body; impulse : in float32); -- Get the rotational inertia of the body about the local origin. -- @return the rotational inertia, usually in kg-m^2. -- function GetInertia (Self : in b2Body) return float32; -- Get the mass data of the body. -- @return a struct containing the mass, inertia and center of the body. -- procedure GetMassData (Self : in b2Body; data : access shape.b2MassData); -- Gets a local point relative to the body's origin given a world point. -- @param a point in world coordinates. -- @return the corresponding local point relative to the body's origin. -- function GetLocalPoint (Self : in b2Body; worldPoint : in b2Vec2) return b2Vec2; -- Gets a local vector given a world vector. -- @param a vector in world coordinates. -- @return the corresponding local vector. -- function GetLocalVector (Self : in b2Body; worldVector : in b2Vec2) return b2Vec2; -- Get the world linear velocity of a world point attached to this body. -- @param a point in world coordinates. -- @return the world velocity of a point. -- function GetLinearVelocityFromWorldPoint (Self : in b2Body; worldPoint : in b2Vec2) return b2Vec2; -- Get the world velocity of a local point. -- @param a point in local coordinates. -- @return the world velocity of a point. -- function GetLinearVelocityFromLocalPoint (Self : in b2Body; localPoint : in b2Vec2) return b2Vec2; -- Get the linear damping of the body. -- function GetLinearDamping (Self : in b2Body) return float32; -- Set the linear damping of the body. -- procedure SetLinearDamping (Self : in out b2Body; linearDamping : in float32); -- Get the angular damping of the body. -- function GetAngularDamping (Self : in b2Body) return float32; -- Set the angular damping of the body. -- procedure SetAngularDamping (Self : in out b2Body; angularDamping : in float32); -- Should this body be treated like a bullet for continuous collision detection? -- procedure SetBullet (Self : in out b2Body; flag : in Boolean); -- Is this body treated like a bullet for continuous collision detection? -- function IsBullet (Self : in b2Body) return Boolean; -- Set the active state of the body. An inactive body is not -- simulated and cannot be collided with or woken up. -- If you pass a flag of true, all fixtures will be added to the -- broad-phase. -- If you pass a flag of false, all fixtures will be removed from -- the broad-phase and all contacts will be destroyed. -- Fixtures and joints are otherwise unaffected. You may continue -- to create/destroy fixtures and joints on inactive bodies. -- Fixtures on an inactive body are implicitly inactive and will -- not participate in collisions, ray-casts, or queries. -- Joints connected to an inactive body are implicitly inactive. -- An inactive body is still owned by a b2World object and remains -- in the body list. -- procedure SetActive (Self : in out b2Body; flag : in Boolean); -- Get the active state of the body. -- function IsActive (Self : in b2Body) return Boolean; -- Set this body to have fixed rotation. This causes the mass to be reset. -- procedure SetFixedRotation (Self : in out b2Body; flag : in Boolean); -- Does this body have fixed rotation? -- function IsFixedRotation (Self : in b2Body) return Boolean; -- Get the list of all fixtures attached to this body. -- function GetFixtureList (Self : in b2Body) return access Fixture.b2Fixture; -- Get the list of all joints attached to this body. -- function GetJointList (Self : in b2Body) return access joint.b2JointEdge; -- Get the next body in the world's body list. -- function GetNext (Self : in b2Body) return access b2Body'Class; -- Get the user data pointer that was provided in the body definition. -- function GetUserData (Self : in b2Body) return access Any'Class; -- Set the user data. Use this to store your application specific data. -- procedure SetUserData (Self : in out b2Body; data : access Any'Class); -- Get the parent world of this body. -- function GetWorld (Self : in b2Body) return access constant world.b2World'Class; --- 'protected' subprograms used by C 'friends'. function m_invMass (Self : access b2Body'Class) return access float32; function m_invI (Self : access b2Body'Class) return access float32; function m_sweep (Self : access b2Body'Class) return access b2Sweep; function m_angularVelocity (Self : access b2Body'Class) return access float32; function m_linearVelocity (Self : access b2Body'Class) return access b2Vec2; function m_force (Self : access b2Body'Class) return access b2Vec2; function m_torque (Self : access b2Body'Class) return access float32; function m_linearDamping (Self : access b2Body'Class) return access float32; function m_angularDamping (Self : access b2Body'Class) return access float32; function m_contactList (Self : access b2Body'Class) return access contact.b2ContactEdge; procedure m_contactList_is (Self : in out b2Body'Class; Now : access contact.b2ContactEdge); function m_islandIndex (Self : in b2Body'Class) return int32; procedure m_islandIndex_is (Self : in out b2Body'Class; Now : in int32); procedure m_next_is (Self : in out b2Body'Class; Now : access b2Body'Class); procedure m_prev_is (Self : in out b2Body'Class; Now : access b2Body'Class); function m_prev (Self : access b2Body'Class) return access b2Body'Class; procedure m_flags_are (Self : in out b2Body'Class; Now : in uint16); function m_flags (Self : in b2Body'Class) return uint16; function m_sleepTime (Self : access b2Body'Class) return access float32; procedure m_jointList_is (Self : in out b2Body'Class; Now : access joint.b2JointEdge); procedure m_fixtureList_is (Self : in out b2Body'Class; Now : in Fixture.view); procedure m_fixtureCount_is (Self : in out b2Body'Class; Now : in int32); procedure m_world_is (Self : in out b2Body'Class; Now : access world.b2World'Class); procedure SynchronizeTransform (Self : in out b2Body); procedure SynchronizeFixtures (Self : in out b2Body); -- This is used to prevent connected bodies from colliding. -- It may lie, depending on the collideConnected flag. -- function ShouldCollide (Self : in b2Body; other : access constant b2Body'Class) return Boolean; subtype Flag is uint16; e_islandFlag : constant Flag := 16#0001#; e_awakeFlag : constant Flag := 16#0002#; e_autoSleepFlag : constant Flag := 16#0004#; e_bulletFlag : constant Flag := 16#0008#; e_fixedRotationFlag : constant Flag := 16#0010#; e_activeFlag : constant Flag := 16#0020#; e_toiFlag : constant Flag := 16#0040#; package Forge is function to_b2Body (bd : in b2BodyDef; world : access impact.d2.world.b2World'Class) return b2Body; end Forge; procedure destruct (Self : in out b2Body) is null; -- shapes and joints are destroyed in 'World.destroy' procedure Advance (Self : in out b2Body; t : in float32); private type b2Body is tagged record m_type : b2BodyType; m_flags : uint16; m_islandIndex : int32; m_xf : b2Transform; -- the body origin transform m_sweep : aliased b2Sweep; -- the swept motion for CCD m_linearVelocity : aliased b2Vec2; m_angularVelocity : aliased float32; m_force : aliased b2Vec2; m_torque : aliased float32; m_world : access World.b2World'Class; m_prev : access b2Body'Class; m_next : access b2Body'Class; m_fixtureList : aliased Fixture.view; m_fixtureCount : int32; m_jointList : access joint.b2JointEdge; m_contactList : access contact.b2ContactEdge; m_mass, m_invMass : aliased float32; -- Rotational inertia about the center of mass. m_I, m_invI : aliased float32; m_linearDamping : aliased float32; m_angularDamping : aliased float32; m_sleepTime : aliased float32; m_userData : access Any'Class; end record; end impact.d2.Solid;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S I N P U T . L -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This child package contains the routines used to actually load a source -- file and create entries in the source file table. It also contains the -- routines to create virtual entries for instantiations. This is separated -- off into a child package to avoid a dependence of Sinput on Osint which -- would cause trouble in the tree read/write routines. package Sinput.L is ------------------------------------------ -- Subprograms for Loading Source Files -- ------------------------------------------ function Load_Source_File (N : File_Name_Type) return Source_File_Index; -- Given a source file name, returns the index of the corresponding entry -- in the source file table. If the file is not currently loaded, then -- this is the call that causes the source file to be read and an entry -- made in the table. A new entry in the table has the file name and time -- stamp entries set and the Casing entries set to Unknown. Version is set -- to all blanks, and the lines table is initialized but only the first -- entry is set (and Last_Line is set to 1). If the given source file -- cannot be opened, then the value returned is No_Source_File. function Load_Config_File (N : File_Name_Type) return Source_File_Index; -- Similar to Load_Source_File, except that the file name is always -- interpreted in the context of the current working directory. -- The file is never preprocessed. function Load_Definition_File (N : File_Name_Type) return Source_File_Index; -- Loads preprocessing definition file. Similar to Load_Source_File -- except that this file is not itself preprocessed. function Load_Preprocessing_Data_File (N : File_Name_Type) return Source_File_Index; -- Loads preprocessing data file. Similar to Load_Source_File except -- that this file is not itself preprocessed. procedure Complete_Source_File_Entry; -- Called on completing the parsing of a source file. This call completes -- the source file table entry for the current source file. function Source_File_Is_Subunit (X : Source_File_Index) return Boolean; -- This function determines if a source file represents a subunit. It -- works by scanning for the first compilation unit token, and returning -- True if it is the token SEPARATE. It will return False otherwise, -- meaning that the file cannot possibly be a legal subunit. This -- function does NOT do a complete parse of the file, or build a -- tree. It is used in the main driver in the check for bad bodies. ------------------------------------------------- -- Subprograms for Dealing With Instantiations -- ------------------------------------------------- type Sloc_Adjustment is private; -- Type returned by Create_Instantiation_Source for use in subsequent -- calls to Adjust_Instantiation_Sloc. procedure Create_Instantiation_Source (Inst_Node : Entity_Id; Template_Id : Entity_Id; Inlined_Body : Boolean; A : out Sloc_Adjustment); -- This procedure creates the source table entry for an instantiation. -- Inst_Node is the instantiation node, and Template_Id is the defining -- identifier of the generic declaration or body unit as appropriate. -- A is set to an adjustment factor to be used in subsequent calls to -- Adjust_Instantiation_Sloc. The instantiation mechnaism is also used -- for inlined function and procedure calls. The parameter Inlined_Body -- is set to True in such cases, and False for a generic instantiation. -- This is used for generating error messages that distinguish these -- two cases, otherwise the two cases are handled identically. procedure Adjust_Instantiation_Sloc (N : Node_Id; A : Sloc_Adjustment); -- The instantiation tree is created by copying the tree of the generic -- template (including the original Sloc values), and then applying -- Adjust_Instantiation_Sloc to each copied node to adjust the Sloc -- to reference the source entry for the instantiation. private type Sloc_Adjustment is record Adjust : Source_Ptr; -- Adjustment factor. To be added to source location values in the -- source table entry for the template to get corresponding sloc -- values for the instantiation image of the template. This is not -- really a Source_Ptr value, but rather an offset, but it is more -- convenient to represent it as a Source_Ptr value and this is a -- private type anyway. Lo, Hi : Source_Ptr; -- Lo and hi values to which adjustment factor can legitimately -- be applied, used to ensure that no incorrect adjustments are -- made. Really it is a bug if anyone ever tries to adjust outside -- this range, but since we are only doing this anyway for getting -- better error messages, it is not critical end record; end Sinput.L;
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising from the use of this software. -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it freely, -- subject to the following restrictions: -- 1. The origin of this software must not be misrepresented; -- you must not claim that you wrote the original software. -- If you use this software in a product, an acknowledgment -- in the product documentation would be appreciated but is not required. -- 2. Altered source versions must be plainly marked as such, -- and must not be misrepresented as being the original software. -- 3. This notice may not be removed or altered from any source distribution. --////////////////////////////////////////////////////////// --////////////////////////////////////////////////////////// with Sf.System.Time; package Sf.System.Clock is --////////////////////////////////////////////////////////// --////////////////////////////////////////////////////////// --////////////////////////////////////////////////////////// --////////////////////////////////////////////////////////// --////////////////////////////////////////////////////////// --/ @brief Create a new clock and start it --/ --/ @return A new sfClock object --/ --////////////////////////////////////////////////////////// function create return sfClock_Ptr; --////////////////////////////////////////////////////////// --/ @brief Create a new clock by copying an existing one --/ --/ @param clock Clock to copy --/ --/ @return A new sfClock object which is a copy of @a clock --/ --////////////////////////////////////////////////////////// function copy (clock : sfClock_Ptr) return sfClock_Ptr; --////////////////////////////////////////////////////////// --/ @brief Destroy a clock --/ --/ @param clock Clock to destroy --/ --////////////////////////////////////////////////////////// procedure destroy (clock : sfClock_Ptr); --////////////////////////////////////////////////////////// --/ @brief Get the time elapsed in a clock --/ --/ This function returns the time elapsed since the last call --/ to sfClock_restart (or the construction of the object if --/ sfClock_restart has not been called). --/ --/ @param clock Clock object --/ --/ @return Time elapsed --/ --////////////////////////////////////////////////////////// function getElapsedTime (clock : sfClock_Ptr) return Sf.System.Time.sfTime; --////////////////////////////////////////////////////////// --/ @brief Restart a clock --/ --/ This function puts the time counter back to zero. --/ It also returns the time elapsed since the clock was started. --/ --/ @param clock Clock object --/ --/ @return Time elapsed --/ --////////////////////////////////////////////////////////// function restart (clock : sfClock_Ptr) return Sf.System.Time.sfTime; private pragma Import (C, create, "sfClock_create"); pragma Import (C, copy, "sfClock_copy"); pragma Import (C, destroy, "sfClock_destroy"); pragma Import (C, getElapsedTime, "sfClock_getElapsedTime"); pragma Import (C, restart, "sfClock_restart"); end Sf.System.Clock;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- A U N I T . R E P O R T E R . X M L -- -- -- -- S p e c -- -- -- -- -- -- Copyright (C) 2000-2013, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT is maintained by AdaCore (http://www.adacore.com) -- -- -- ------------------------------------------------------------------------------ -- This is a xUnit reporter with output compatible with jUnit capable to -- catch stdout and stderr and report to Streams. with Ada.Streams; private with Ada_Containers; private with AUnit.Time_Measure; private with Ada.Text_IO.Text_Streams; private with GNAT.OS_Lib; package AUnit.Reporter.Stream_XML is type XML_Reporter is new Reporter with private; type Stream_Access is not null access all Ada.Streams.Root_Stream_Type'Class; procedure Set_Output (Engine : in out XML_Reporter; Stream : Stream_Access); -- Set the stream for the report. procedure Catch_Output_And_Error (Engine : in out XML_Reporter); -- A call to this routine will redirct Standard_Output and Standard_Error -- to temporary files and include the contents of these files -- in the final testreport. procedure Report (Engine : XML_Reporter; R : in out Result'Class; Options : AUnit_Options := Default_Options); private type XML_Reporter is new Reporter with record Output : Stream_Access := Stream_Access (Ada.Text_IO.Text_Streams.Stream (Ada.Text_IO.Standard_Output)); Stdout : GNAT.OS_Lib.File_Descriptor := GNAT.OS_Lib.Invalid_FD; Stderr : GNAT.OS_Lib.File_Descriptor := GNAT.OS_Lib.Invalid_FD; Stdout_Name : GNAT.OS_Lib.String_Access; Stderr_Name : GNAT.OS_Lib.String_Access; end record; function Image (S : Ada_Containers.Count_Type) return String; function Image (S : Integer) return String; function Image (S : AUnit.Time_Measure.AUnit_Duration) return String; end AUnit.Reporter.Stream_XML;
----------------------------------------------------------------------- -- Atlas.Reviews.Models -- Atlas.Reviews.Models ----------------------------------------------------------------------- -- File generated by Dynamo DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://github.com/stcarrez/dynamo Version 1.2.3 ----------------------------------------------------------------------- -- Copyright (C) 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- pragma Warnings (Off); with Ada.Unchecked_Deallocation; with Util.Beans.Objects.Time; with ASF.Events.Faces.Actions; pragma Warnings (On); package body Atlas.Reviews.Models is pragma Style_Checks ("-mr"); pragma Warnings (Off, "formal parameter * is not referenced"); pragma Warnings (Off, "use clause for type *"); pragma Warnings (Off, "use clause for private type *"); use type ADO.Objects.Object_Record_Access; use type ADO.Objects.Object_Ref; function Review_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => REVIEW_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Review_Key; function Review_Key (Id : in String) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => REVIEW_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Review_Key; function "=" (Left, Right : Review_Ref'Class) return Boolean is begin return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right); end "="; procedure Set_Field (Object : in out Review_Ref'Class; Impl : out Review_Access) is Result : ADO.Objects.Object_Record_Access; begin Object.Prepare_Modify (Result); Impl := Review_Impl (Result.all)'Access; end Set_Field; -- Internal method to allocate the Object_Record instance procedure Allocate (Object : in out Review_Ref) is Impl : Review_Access; begin Impl := new Review_Impl; Impl.Version := 0; Impl.Create_Date := ADO.DEFAULT_TIME; Impl.Allow_Comments := 0; ADO.Objects.Set_Object (Object, Impl.all'Access); end Allocate; -- ---------------------------------------- -- Data object: Review -- ---------------------------------------- procedure Set_Id (Object : in out Review_Ref; Value : in ADO.Identifier) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value); end Set_Id; function Get_Id (Object : in Review_Ref) return ADO.Identifier is Impl : constant Review_Access := Review_Impl (Object.Get_Object.all)'Access; begin return Impl.Get_Key_Value; end Get_Id; function Get_Version (Object : in Review_Ref) return Integer is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Version; end Get_Version; procedure Set_Title (Object : in out Review_Ref; Value : in String) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 3, Impl.Title, Value); end Set_Title; procedure Set_Title (Object : in out Review_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 3, Impl.Title, Value); end Set_Title; function Get_Title (Object : in Review_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Title); end Get_Title; function Get_Title (Object : in Review_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Title; end Get_Title; procedure Set_Text (Object : in out Review_Ref; Value : in String) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 4, Impl.Text, Value); end Set_Text; procedure Set_Text (Object : in out Review_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 4, Impl.Text, Value); end Set_Text; function Get_Text (Object : in Review_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Text); end Get_Text; function Get_Text (Object : in Review_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Text; end Get_Text; procedure Set_Create_Date (Object : in out Review_Ref; Value : in Ada.Calendar.Time) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 5, Impl.Create_Date, Value); end Set_Create_Date; function Get_Create_Date (Object : in Review_Ref) return Ada.Calendar.Time is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Create_Date; end Get_Create_Date; procedure Set_Allow_Comments (Object : in out Review_Ref; Value : in Integer) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 6, Impl.Allow_Comments, Value); end Set_Allow_Comments; function Get_Allow_Comments (Object : in Review_Ref) return Integer is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Allow_Comments; end Get_Allow_Comments; procedure Set_Site (Object : in out Review_Ref; Value : in String) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 7, Impl.Site, Value); end Set_Site; procedure Set_Site (Object : in out Review_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 7, Impl.Site, Value); end Set_Site; function Get_Site (Object : in Review_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Site); end Get_Site; function Get_Site (Object : in Review_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Site; end Get_Site; procedure Set_Reviewer (Object : in out Review_Ref; Value : in AWA.Users.Models.User_Ref'Class) is Impl : Review_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 8, Impl.Reviewer, Value); end Set_Reviewer; function Get_Reviewer (Object : in Review_Ref) return AWA.Users.Models.User_Ref'Class is Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Reviewer; end Get_Reviewer; -- Copy of the object. procedure Copy (Object : in Review_Ref; Into : in out Review_Ref) is Result : Review_Ref; begin if not Object.Is_Null then declare Impl : constant Review_Access := Review_Impl (Object.Get_Load_Object.all)'Access; Copy : constant Review_Access := new Review_Impl; begin ADO.Objects.Set_Object (Result, Copy.all'Access); Copy.Copy (Impl.all); Copy.Version := Impl.Version; Copy.Title := Impl.Title; Copy.Text := Impl.Text; Copy.Create_Date := Impl.Create_Date; Copy.Allow_Comments := Impl.Allow_Comments; Copy.Site := Impl.Site; Copy.Reviewer := Impl.Reviewer; end; end if; Into := Result; end Copy; procedure Find (Object : in out Review_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Impl : constant Review_Access := new Review_Impl; begin Impl.Find (Session, Query, Found); if Found then ADO.Objects.Set_Object (Object, Impl.all'Access); else ADO.Objects.Set_Object (Object, null); Destroy (Impl); end if; end Find; procedure Load (Object : in out Review_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier) is Impl : constant Review_Access := new Review_Impl; Found : Boolean; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); raise ADO.Objects.NOT_FOUND; end if; ADO.Objects.Set_Object (Object, Impl.all'Access); end Load; procedure Load (Object : in out Review_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean) is Impl : constant Review_Access := new Review_Impl; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); else ADO.Objects.Set_Object (Object, Impl.all'Access); end if; end Load; procedure Save (Object : in out Review_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl = null then Impl := new Review_Impl; ADO.Objects.Set_Object (Object, Impl); end if; if not ADO.Objects.Is_Created (Impl.all) then Impl.Create (Session); else Impl.Save (Session); end if; end Save; procedure Delete (Object : in out Review_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl /= null then Impl.Delete (Session); end if; end Delete; -- -------------------- -- Free the object -- -------------------- procedure Destroy (Object : access Review_Impl) is type Review_Impl_Ptr is access all Review_Impl; procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Review_Impl, Review_Impl_Ptr); pragma Warnings (Off, "*redundant conversion*"); Ptr : Review_Impl_Ptr := Review_Impl (Object.all)'Access; pragma Warnings (On, "*redundant conversion*"); begin Unchecked_Free (Ptr); end Destroy; procedure Find (Object : in out Review_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, REVIEW_DEF'Access); begin Stmt.Execute; if Stmt.Has_Elements then Object.Load (Stmt, Session); Stmt.Next; Found := not Stmt.Has_Elements; else Found := False; end if; end Find; overriding procedure Load (Object : in out Review_Impl; Session : in out ADO.Sessions.Session'Class) is Found : Boolean; Query : ADO.SQL.Query; Id : constant ADO.Identifier := Object.Get_Key_Value; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Object.Find (Session, Query, Found); if not Found then raise ADO.Objects.NOT_FOUND; end if; end Load; procedure Save (Object : in out Review_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Update_Statement := Session.Create_Statement (REVIEW_DEF'Access); begin if Object.Is_Modified (1) then Stmt.Save_Field (Name => COL_0_1_NAME, -- id Value => Object.Get_Key); Object.Clear_Modified (1); end if; if Object.Is_Modified (3) then Stmt.Save_Field (Name => COL_2_1_NAME, -- title Value => Object.Title); Object.Clear_Modified (3); end if; if Object.Is_Modified (4) then Stmt.Save_Field (Name => COL_3_1_NAME, -- text Value => Object.Text); Object.Clear_Modified (4); end if; if Object.Is_Modified (5) then Stmt.Save_Field (Name => COL_4_1_NAME, -- create_date Value => Object.Create_Date); Object.Clear_Modified (5); end if; if Object.Is_Modified (6) then Stmt.Save_Field (Name => COL_5_1_NAME, -- allow_comments Value => Object.Allow_Comments); Object.Clear_Modified (6); end if; if Object.Is_Modified (7) then Stmt.Save_Field (Name => COL_6_1_NAME, -- site Value => Object.Site); Object.Clear_Modified (7); end if; if Object.Is_Modified (8) then Stmt.Save_Field (Name => COL_7_1_NAME, -- reviewer_id Value => Object.Reviewer); Object.Clear_Modified (8); end if; if Stmt.Has_Save_Fields then Object.Version := Object.Version + 1; Stmt.Save_Field (Name => "version", Value => Object.Version); Stmt.Set_Filter (Filter => "id = ? and version = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Add_Param (Value => Object.Version - 1); declare Result : Integer; begin Stmt.Execute (Result); if Result /= 1 then if Result /= 0 then raise ADO.Objects.UPDATE_ERROR; else raise ADO.Objects.LAZY_LOCK; end if; end if; end; end if; end Save; procedure Create (Object : in out Review_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Query : ADO.Statements.Insert_Statement := Session.Create_Statement (REVIEW_DEF'Access); Result : Integer; begin Object.Version := 1; Session.Allocate (Id => Object); Query.Save_Field (Name => COL_0_1_NAME, -- id Value => Object.Get_Key); Query.Save_Field (Name => COL_1_1_NAME, -- version Value => Object.Version); Query.Save_Field (Name => COL_2_1_NAME, -- title Value => Object.Title); Query.Save_Field (Name => COL_3_1_NAME, -- text Value => Object.Text); Query.Save_Field (Name => COL_4_1_NAME, -- create_date Value => Object.Create_Date); Query.Save_Field (Name => COL_5_1_NAME, -- allow_comments Value => Object.Allow_Comments); Query.Save_Field (Name => COL_6_1_NAME, -- site Value => Object.Site); Query.Save_Field (Name => COL_7_1_NAME, -- reviewer_id Value => Object.Reviewer); Query.Execute (Result); if Result /= 1 then raise ADO.Objects.INSERT_ERROR; end if; ADO.Objects.Set_Created (Object); end Create; procedure Delete (Object : in out Review_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (REVIEW_DEF'Access); begin Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Execute; end Delete; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Review_Ref; Name : in String) return Util.Beans.Objects.Object is Obj : ADO.Objects.Object_Record_Access; Impl : access Review_Impl; begin if From.Is_Null then return Util.Beans.Objects.Null_Object; end if; Obj := From.Get_Load_Object; Impl := Review_Impl (Obj.all)'Access; if Name = "id" then return ADO.Objects.To_Object (Impl.Get_Key); elsif Name = "title" then return Util.Beans.Objects.To_Object (Impl.Title); elsif Name = "text" then return Util.Beans.Objects.To_Object (Impl.Text); elsif Name = "create_date" then return Util.Beans.Objects.Time.To_Object (Impl.Create_Date); elsif Name = "allow_comments" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Allow_Comments)); elsif Name = "site" then return Util.Beans.Objects.To_Object (Impl.Site); end if; return Util.Beans.Objects.Null_Object; end Get_Value; procedure List (Object : in out Review_Vector; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, REVIEW_DEF'Access); begin Stmt.Execute; Review_Vectors.Clear (Object); while Stmt.Has_Elements loop declare Item : Review_Ref; Impl : constant Review_Access := new Review_Impl; begin Impl.Load (Stmt, Session); ADO.Objects.Set_Object (Item, Impl.all'Access); Object.Append (Item); end; Stmt.Next; end loop; end List; -- ------------------------------ -- Load the object from current iterator position -- ------------------------------ procedure Load (Object : in out Review_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class) is begin Object.Set_Key_Value (Stmt.Get_Identifier (0)); Object.Title := Stmt.Get_Unbounded_String (2); Object.Text := Stmt.Get_Unbounded_String (3); Object.Create_Date := Stmt.Get_Time (4); Object.Allow_Comments := Stmt.Get_Integer (5); Object.Site := Stmt.Get_Unbounded_String (6); if not Stmt.Is_Null (7) then Object.Reviewer.Set_Key_Value (Stmt.Get_Identifier (7), Session); end if; Object.Version := Stmt.Get_Integer (1); ADO.Objects.Set_Created (Object); end Load; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in List_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Id)); elsif Name = "title" then return Util.Beans.Objects.To_Object (From.Title); elsif Name = "site" then return Util.Beans.Objects.To_Object (From.Site); elsif Name = "date" then return Util.Beans.Objects.Time.To_Object (From.Date); elsif Name = "allow_comments" then return Util.Beans.Objects.To_Object (From.Allow_Comments); elsif Name = "reviewer_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Reviewer_Id)); elsif Name = "reviewer_name" then return Util.Beans.Objects.To_Object (From.Reviewer_Name); elsif Name = "reviewer_email" then return Util.Beans.Objects.To_Object (From.Reviewer_Email); elsif Name = "text" then return Util.Beans.Objects.To_Object (From.Text); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out List_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "id" then Item.Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "title" then Item.Title := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "site" then Item.Site := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "date" then Item.Date := Util.Beans.Objects.Time.To_Time (Value); elsif Name = "allow_comments" then Item.Allow_Comments := Util.Beans.Objects.To_Boolean (Value); elsif Name = "reviewer_id" then Item.Reviewer_Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "reviewer_name" then Item.Reviewer_Name := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "reviewer_email" then Item.Reviewer_Email := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "text" then Item.Text := Util.Beans.Objects.To_Unbounded_String (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out List_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The list of reviews. -- -------------------- procedure List (Object : in out List_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out List_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out List_Info) is begin Into.Id := Stmt.Get_Identifier (0); Into.Title := Stmt.Get_Unbounded_String (1); Into.Site := Stmt.Get_Unbounded_String (2); Into.Date := Stmt.Get_Time (3); Into.Allow_Comments := Stmt.Get_Boolean (4); Into.Reviewer_Id := Stmt.Get_Identifier (5); Into.Reviewer_Name := Stmt.Get_Unbounded_String (6); Into.Reviewer_Email := Stmt.Get_Unbounded_String (7); Into.Text := Stmt.Get_Unbounded_String (8); end Read; begin Stmt.Execute; List_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; procedure Op_Save (Bean : in out Review_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Save (Bean : in out Review_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Review_Bean'Class (Bean).Save (Outcome); end Op_Save; package Binding_Review_Bean_1 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Review_Bean, Method => Op_Save, Name => "save"); procedure Op_Delete (Bean : in out Review_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Delete (Bean : in out Review_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Review_Bean'Class (Bean).Delete (Outcome); end Op_Delete; package Binding_Review_Bean_2 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Review_Bean, Method => Op_Delete, Name => "delete"); procedure Op_Load (Bean : in out Review_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load (Bean : in out Review_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Review_Bean'Class (Bean).Load (Outcome); end Op_Load; package Binding_Review_Bean_3 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Review_Bean, Method => Op_Load, Name => "load"); Binding_Review_Bean_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (1 => Binding_Review_Bean_1.Proxy'Access, 2 => Binding_Review_Bean_2.Proxy'Access, 3 => Binding_Review_Bean_3.Proxy'Access ); -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression. -- ------------------------------ overriding function Get_Method_Bindings (From : in Review_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Review_Bean_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Review_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "title" then Item.Set_Title (Util.Beans.Objects.To_String (Value)); elsif Name = "text" then Item.Set_Text (Util.Beans.Objects.To_String (Value)); elsif Name = "create_date" then Item.Set_Create_Date (Util.Beans.Objects.Time.To_Time (Value)); elsif Name = "allow_comments" then Item.Set_Allow_Comments (Util.Beans.Objects.To_Integer (Value)); elsif Name = "site" then Item.Set_Site (Util.Beans.Objects.To_String (Value)); end if; end Set_Value; procedure Op_Load (Bean : in out Review_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load (Bean : in out Review_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Review_List_Bean'Class (Bean).Load (Outcome); end Op_Load; package Binding_Review_List_Bean_1 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Review_List_Bean, Method => Op_Load, Name => "load"); Binding_Review_List_Bean_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (1 => Binding_Review_List_Bean_1.Proxy'Access ); -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression. -- ------------------------------ overriding function Get_Method_Bindings (From : in Review_List_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Review_List_Bean_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Review_List_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "page" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Page)); elsif Name = "count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Count)); elsif Name = "page_size" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Page_Size)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Review_List_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "page" then Item.Page := Util.Beans.Objects.To_Integer (Value); elsif Name = "count" then Item.Count := Util.Beans.Objects.To_Integer (Value); elsif Name = "page_size" then Item.Page_Size := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; end Atlas.Reviews.Models;
with Extraction.Graph_Operations; private package Extraction.Bodies_For_Decls is procedure Extract_Edges (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context); end Extraction.Bodies_For_Decls;
with Ada.Unchecked_Deallocation; with Number.Api; package body Benchmark_Number is package Skill renames Number.Api; use Number; use Skill; type State_Type is access Skill_State; State : State_Type; procedure Create (N : Integer; File_Name : String) is begin State := new Skill_State; Skill.Create (State); for I in 1 .. i64 (N) loop New_Number (State, I); end loop; end Create; procedure Write (N : Integer; File_Name : String) is begin Skill.Write (State, File_Name); end Write; procedure Read (N : Integer; File_Name : String) is begin State := new Skill_State; Skill.Read (State, File_Name); end Read; procedure Create_More (N : Integer; File_Name : String) is begin for I in 1 .. i64 (N) loop New_Number (State, I); end loop; end Create_More; procedure Append (N : Integer; File_Name : String) is begin Skill.Append (State); end Append; procedure Reset (N : Integer; File_Name : String) is procedure Free is new Ada.Unchecked_Deallocation (Skill_State, State_Type); begin Skill.Close (State); Free (State); end Reset; end Benchmark_Number;
-- Copyright 2008-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. function Ident (X : Integer) return Integer is begin return X; end Ident;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T A S K _ T E R M I N A T I O N -- -- -- -- S p e c -- -- -- -- Copyright (C) 2005-2014, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is a simplified version of this package to be used in when the -- Ravenscar profile and there are no exception handlers present (either of -- the restrictions No_Exception_Handlers or No_Exception_Propagation are in -- effect). This means that the only task termination cause that need to be -- taken into account is normal task termination (abort is not allowed by -- the Ravenscar profile and the restricted exception support does not -- include Exception_Occurrence). with Ada.Task_Identification; package Ada.Task_Termination is pragma Preelaborate (Task_Termination); type Termination_Handler is access protected procedure (T : Ada.Task_Identification.Task_Id); -- ??? This type is not conformant with the RM, as cause and exception -- occurrence are missing. Adding cause would be easy, but in the sfp -- profile there is no declaration of Exception_Occurrence. procedure Set_Dependents_Fallback_Handler (Handler : Termination_Handler); function Current_Task_Fallback_Handler return Termination_Handler; end Ada.Task_Termination;
with GNAT.Sockets.Connection_State_Machine.HTTP_Server; with GNAT.Sockets.Server; package Yaml.Servers is package HTTP renames GNAT.Sockets.Connection_State_Machine.HTTP_Server; package Server renames GNAT.Sockets.Server; type Yaml_Factory (Request_Length : Positive; Input_Size : Server.Buffer_Length; Output_Size : Server.Buffer_Length; Max_Connections : Positive) is new Server.Connections_Factory with null record; type Yaml_Client is new HTTP.HTTP_Client with null record; pragma Warnings (Off, "formal parameter ""From"" is not referenced"); overriding function Create (Factory : access Yaml_Factory; Listener : access Server.Connections_Server'Class; From : GNAT.Sockets.Sock_Addr_Type) return Server.Connection_Ptr is (new Yaml_Client (Listener => Listener.all'Unchecked_Access, Request_Length => Factory.Request_Length, Input_Size => Factory.Input_Size, Output_Size => Factory.Output_Size)); pragma Warnings (On, "formal parameter ""From"" is not referenced"); overriding procedure Do_Get (Client : in out Yaml_Client); end Yaml.Servers;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- U I N T P -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Output; use Output; with Tree_IO; use Tree_IO; with GNAT.HTable; use GNAT.HTable; package body Uintp is ------------------------ -- Local Declarations -- ------------------------ Uint_Int_First : Uint := Uint_0; -- Uint value containing Int'First value, set by Initialize. The initial -- value of Uint_0 is used for an assertion check that ensures that this -- value is not used before it is initialized. This value is used in the -- UI_Is_In_Int_Range predicate, and it is right that this is a host value, -- since the issue is host representation of integer values. Uint_Int_Last : Uint; -- Uint value containing Int'Last value set by Initialize UI_Power_2 : array (Int range 0 .. 64) of Uint; -- This table is used to memoize exponentiations by powers of 2. The Nth -- entry, if set, contains the Uint value 2 ** N. Initially UI_Power_2_Set -- is zero and only the 0'th entry is set, the invariant being that all -- entries in the range 0 .. UI_Power_2_Set are initialized. UI_Power_2_Set : Nat; -- Number of entries set in UI_Power_2; UI_Power_10 : array (Int range 0 .. 64) of Uint; -- This table is used to memoize exponentiations by powers of 10 in the -- same manner as described above for UI_Power_2. UI_Power_10_Set : Nat; -- Number of entries set in UI_Power_10; Uints_Min : Uint; Udigits_Min : Int; -- These values are used to make sure that the mark/release mechanism does -- not destroy values saved in the U_Power tables or in the hash table used -- by UI_From_Int. Whenever an entry is made in either of these tables, -- Uints_Min and Udigits_Min are updated to protect the entry, and Release -- never cuts back beyond these minimum values. Int_0 : constant Int := 0; Int_1 : constant Int := 1; Int_2 : constant Int := 2; -- These values are used in some cases where the use of numeric literals -- would cause ambiguities (integer vs Uint). ---------------------------- -- UI_From_Int Hash Table -- ---------------------------- -- UI_From_Int uses a hash table to avoid duplicating entries and wasting -- storage. This is particularly important for complex cases of back -- annotation. subtype Hnum is Nat range 0 .. 1022; function Hash_Num (F : Int) return Hnum; -- Hashing function package UI_Ints is new Simple_HTable ( Header_Num => Hnum, Element => Uint, No_Element => No_Uint, Key => Int, Hash => Hash_Num, Equal => "="); ----------------------- -- Local Subprograms -- ----------------------- function Direct (U : Uint) return Boolean; pragma Inline (Direct); -- Returns True if U is represented directly function Direct_Val (U : Uint) return Int; -- U is a Uint for is represented directly. The returned result is the -- value represented. function GCD (Jin, Kin : Int) return Int; -- Compute GCD of two integers. Assumes that Jin >= Kin >= 0 procedure Image_Out (Input : Uint; To_Buffer : Boolean; Format : UI_Format); -- Common processing for UI_Image and UI_Write, To_Buffer is set True for -- UI_Image, and false for UI_Write, and Format is copied from the Format -- parameter to UI_Image or UI_Write. procedure Init_Operand (UI : Uint; Vec : out UI_Vector); pragma Inline (Init_Operand); -- This procedure puts the value of UI into the vector in canonical -- multiple precision format. The parameter should be of the correct size -- as determined by a previous call to N_Digits (UI). The first digit of -- Vec contains the sign, all other digits are always non-negative. Note -- that the input may be directly represented, and in this case Vec will -- contain the corresponding one or two digit value. The low bound of Vec -- is always 1. function Least_Sig_Digit (Arg : Uint) return Int; pragma Inline (Least_Sig_Digit); -- Returns the Least Significant Digit of Arg quickly. When the given Uint -- is less than 2**15, the value returned is the input value, in this case -- the result may be negative. It is expected that any use will mask off -- unnecessary bits. This is used for finding Arg mod B where B is a power -- of two. Hence the actual base is irrelevant as long as it is a power of -- two. procedure Most_Sig_2_Digits (Left : Uint; Right : Uint; Left_Hat : out Int; Right_Hat : out Int); -- Returns leading two significant digits from the given pair of Uint's. -- Mathematically: returns Left / (Base ** K) and Right / (Base ** K) where -- K is as small as possible S.T. Right_Hat < Base * Base. It is required -- that Left > Right for the algorithm to work. function N_Digits (Input : Uint) return Int; pragma Inline (N_Digits); -- Returns number of "digits" in a Uint procedure UI_Div_Rem (Left, Right : Uint; Quotient : out Uint; Remainder : out Uint; Discard_Quotient : Boolean := False; Discard_Remainder : Boolean := False); -- Compute Euclidean division of Left by Right. If Discard_Quotient is -- False then the quotient is returned in Quotient (otherwise Quotient is -- set to No_Uint). If Discard_Remainder is False, then the remainder is -- returned in Remainder (otherwise Remainder is set to No_Uint). -- -- If Discard_Quotient is True, Quotient is set to No_Uint -- If Discard_Remainder is True, Remainder is set to No_Uint ------------ -- Direct -- ------------ function Direct (U : Uint) return Boolean is begin return Int (U) <= Int (Uint_Direct_Last); end Direct; ---------------- -- Direct_Val -- ---------------- function Direct_Val (U : Uint) return Int is begin pragma Assert (Direct (U)); return Int (U) - Int (Uint_Direct_Bias); end Direct_Val; --------- -- GCD -- --------- function GCD (Jin, Kin : Int) return Int is J, K, Tmp : Int; begin pragma Assert (Jin >= Kin); pragma Assert (Kin >= Int_0); J := Jin; K := Kin; while K /= Uint_0 loop Tmp := J mod K; J := K; K := Tmp; end loop; return J; end GCD; -------------- -- Hash_Num -- -------------- function Hash_Num (F : Int) return Hnum is begin return Types."mod" (F, Hnum'Range_Length); end Hash_Num; --------------- -- Image_Out -- --------------- procedure Image_Out (Input : Uint; To_Buffer : Boolean; Format : UI_Format) is Marks : constant Uintp.Save_Mark := Uintp.Mark; Base : Uint; Ainput : Uint; Digs_Output : Natural := 0; -- Counts digits output. In hex mode, but not in decimal mode, we -- put an underline after every four hex digits that are output. Exponent : Natural := 0; -- If the number is too long to fit in the buffer, we switch to an -- approximate output format with an exponent. This variable records -- the exponent value. function Better_In_Hex return Boolean; -- Determines if it is better to generate digits in base 16 (result -- is true) or base 10 (result is false). The choice is purely a -- matter of convenience and aesthetics, so it does not matter which -- value is returned from a correctness point of view. procedure Image_Char (C : Character); -- Internal procedure to output one character procedure Image_Exponent (N : Natural); -- Output non-zero exponent. Note that we only use the exponent form in -- the buffer case, so we know that To_Buffer is true. procedure Image_Uint (U : Uint); -- Internal procedure to output characters of non-negative Uint ------------------- -- Better_In_Hex -- ------------------- function Better_In_Hex return Boolean is T16 : constant Uint := Uint_2 ** Int'(16); A : Uint; begin A := UI_Abs (Input); -- Small values up to 2**16 can always be in decimal if A < T16 then return False; end if; -- Otherwise, see if we are a power of 2 or one less than a power -- of 2. For the moment these are the only cases printed in hex. if A mod Uint_2 = Uint_1 then A := A + Uint_1; end if; loop if A mod T16 /= Uint_0 then return False; else A := A / T16; end if; exit when A < T16; end loop; while A > Uint_2 loop if A mod Uint_2 /= Uint_0 then return False; else A := A / Uint_2; end if; end loop; return True; end Better_In_Hex; ---------------- -- Image_Char -- ---------------- procedure Image_Char (C : Character) is begin if To_Buffer then if UI_Image_Length + 6 > UI_Image_Max then Exponent := Exponent + 1; else UI_Image_Length := UI_Image_Length + 1; UI_Image_Buffer (UI_Image_Length) := C; end if; else Write_Char (C); end if; end Image_Char; -------------------- -- Image_Exponent -- -------------------- procedure Image_Exponent (N : Natural) is begin if N >= 10 then Image_Exponent (N / 10); end if; UI_Image_Length := UI_Image_Length + 1; UI_Image_Buffer (UI_Image_Length) := Character'Val (Character'Pos ('0') + N mod 10); end Image_Exponent; ---------------- -- Image_Uint -- ---------------- procedure Image_Uint (U : Uint) is H : constant array (Int range 0 .. 15) of Character := "0123456789ABCDEF"; Q, R : Uint; begin UI_Div_Rem (U, Base, Q, R); if Q > Uint_0 then Image_Uint (Q); end if; if Digs_Output = 4 and then Base = Uint_16 then Image_Char ('_'); Digs_Output := 0; end if; Image_Char (H (UI_To_Int (R))); Digs_Output := Digs_Output + 1; end Image_Uint; -- Start of processing for Image_Out begin if Input = No_Uint then Image_Char ('?'); return; end if; UI_Image_Length := 0; if Input < Uint_0 then Image_Char ('-'); Ainput := -Input; else Ainput := Input; end if; if Format = Hex or else (Format = Auto and then Better_In_Hex) then Base := Uint_16; Image_Char ('1'); Image_Char ('6'); Image_Char ('#'); Image_Uint (Ainput); Image_Char ('#'); else Base := Uint_10; Image_Uint (Ainput); end if; if Exponent /= 0 then UI_Image_Length := UI_Image_Length + 1; UI_Image_Buffer (UI_Image_Length) := 'E'; Image_Exponent (Exponent); end if; Uintp.Release (Marks); end Image_Out; ------------------- -- Init_Operand -- ------------------- procedure Init_Operand (UI : Uint; Vec : out UI_Vector) is Loc : Int; pragma Assert (Vec'First = Int'(1)); begin if Direct (UI) then Vec (1) := Direct_Val (UI); if Vec (1) >= Base then Vec (2) := Vec (1) rem Base; Vec (1) := Vec (1) / Base; end if; else Loc := Uints.Table (UI).Loc; for J in 1 .. Uints.Table (UI).Length loop Vec (J) := Udigits.Table (Loc + J - 1); end loop; end if; end Init_Operand; ---------------- -- Initialize -- ---------------- procedure Initialize is begin Uints.Init; Udigits.Init; Uint_Int_First := UI_From_Int (Int'First); Uint_Int_Last := UI_From_Int (Int'Last); UI_Power_2 (0) := Uint_1; UI_Power_2_Set := 0; UI_Power_10 (0) := Uint_1; UI_Power_10_Set := 0; Uints_Min := Uints.Last; Udigits_Min := Udigits.Last; UI_Ints.Reset; end Initialize; --------------------- -- Least_Sig_Digit -- --------------------- function Least_Sig_Digit (Arg : Uint) return Int is V : Int; begin if Direct (Arg) then V := Direct_Val (Arg); if V >= Base then V := V mod Base; end if; -- Note that this result may be negative return V; else return Udigits.Table (Uints.Table (Arg).Loc + Uints.Table (Arg).Length - 1); end if; end Least_Sig_Digit; ---------- -- Mark -- ---------- function Mark return Save_Mark is begin return (Save_Uint => Uints.Last, Save_Udigit => Udigits.Last); end Mark; ----------------------- -- Most_Sig_2_Digits -- ----------------------- procedure Most_Sig_2_Digits (Left : Uint; Right : Uint; Left_Hat : out Int; Right_Hat : out Int) is begin pragma Assert (Left >= Right); if Direct (Left) then Left_Hat := Direct_Val (Left); Right_Hat := Direct_Val (Right); return; else declare L1 : constant Int := Udigits.Table (Uints.Table (Left).Loc); L2 : constant Int := Udigits.Table (Uints.Table (Left).Loc + 1); begin -- It is not so clear what to return when Arg is negative??? Left_Hat := abs (L1) * Base + L2; end; end if; declare Length_L : constant Int := Uints.Table (Left).Length; Length_R : Int; R1 : Int; R2 : Int; T : Int; begin if Direct (Right) then T := Direct_Val (Left); R1 := abs (T / Base); R2 := T rem Base; Length_R := 2; else R1 := abs (Udigits.Table (Uints.Table (Right).Loc)); R2 := Udigits.Table (Uints.Table (Right).Loc + 1); Length_R := Uints.Table (Right).Length; end if; if Length_L = Length_R then Right_Hat := R1 * Base + R2; elsif Length_L = Length_R + Int_1 then Right_Hat := R1; else Right_Hat := 0; end if; end; end Most_Sig_2_Digits; --------------- -- N_Digits -- --------------- -- Note: N_Digits returns 1 for No_Uint function N_Digits (Input : Uint) return Int is begin if Direct (Input) then if Direct_Val (Input) >= Base then return 2; else return 1; end if; else return Uints.Table (Input).Length; end if; end N_Digits; -------------- -- Num_Bits -- -------------- function Num_Bits (Input : Uint) return Nat is Bits : Nat; Num : Nat; begin -- Largest negative number has to be handled specially, since it is in -- Int_Range, but we cannot take the absolute value. if Input = Uint_Int_First then return Int'Size; -- For any other number in Int_Range, get absolute value of number elsif UI_Is_In_Int_Range (Input) then Num := abs (UI_To_Int (Input)); Bits := 0; -- If not in Int_Range then initialize bit count for all low order -- words, and set number to high order digit. else Bits := Base_Bits * (Uints.Table (Input).Length - 1); Num := abs (Udigits.Table (Uints.Table (Input).Loc)); end if; -- Increase bit count for remaining value in Num while Types.">" (Num, 0) loop Num := Num / 2; Bits := Bits + 1; end loop; return Bits; end Num_Bits; --------- -- pid -- --------- procedure pid (Input : Uint) is begin UI_Write (Input, Decimal); Write_Eol; end pid; --------- -- pih -- --------- procedure pih (Input : Uint) is begin UI_Write (Input, Hex); Write_Eol; end pih; ------------- -- Release -- ------------- procedure Release (M : Save_Mark) is begin Uints.Set_Last (Uint'Max (M.Save_Uint, Uints_Min)); Udigits.Set_Last (Int'Max (M.Save_Udigit, Udigits_Min)); end Release; ---------------------- -- Release_And_Save -- ---------------------- procedure Release_And_Save (M : Save_Mark; UI : in out Uint) is begin if Direct (UI) then Release (M); else declare UE_Len : constant Pos := Uints.Table (UI).Length; UE_Loc : constant Int := Uints.Table (UI).Loc; UD : constant Udigits.Table_Type (1 .. UE_Len) := Udigits.Table (UE_Loc .. UE_Loc + UE_Len - 1); begin Release (M); Uints.Append ((Length => UE_Len, Loc => Udigits.Last + 1)); UI := Uints.Last; for J in 1 .. UE_Len loop Udigits.Append (UD (J)); end loop; end; end if; end Release_And_Save; procedure Release_And_Save (M : Save_Mark; UI1, UI2 : in out Uint) is begin if Direct (UI1) then Release_And_Save (M, UI2); elsif Direct (UI2) then Release_And_Save (M, UI1); else declare UE1_Len : constant Pos := Uints.Table (UI1).Length; UE1_Loc : constant Int := Uints.Table (UI1).Loc; UD1 : constant Udigits.Table_Type (1 .. UE1_Len) := Udigits.Table (UE1_Loc .. UE1_Loc + UE1_Len - 1); UE2_Len : constant Pos := Uints.Table (UI2).Length; UE2_Loc : constant Int := Uints.Table (UI2).Loc; UD2 : constant Udigits.Table_Type (1 .. UE2_Len) := Udigits.Table (UE2_Loc .. UE2_Loc + UE2_Len - 1); begin Release (M); Uints.Append ((Length => UE1_Len, Loc => Udigits.Last + 1)); UI1 := Uints.Last; for J in 1 .. UE1_Len loop Udigits.Append (UD1 (J)); end loop; Uints.Append ((Length => UE2_Len, Loc => Udigits.Last + 1)); UI2 := Uints.Last; for J in 1 .. UE2_Len loop Udigits.Append (UD2 (J)); end loop; end; end if; end Release_And_Save; --------------- -- Tree_Read -- --------------- procedure Tree_Read is begin Uints.Tree_Read; Udigits.Tree_Read; Tree_Read_Int (Int (Uint_Int_First)); Tree_Read_Int (Int (Uint_Int_Last)); Tree_Read_Int (UI_Power_2_Set); Tree_Read_Int (UI_Power_10_Set); Tree_Read_Int (Int (Uints_Min)); Tree_Read_Int (Udigits_Min); for J in 0 .. UI_Power_2_Set loop Tree_Read_Int (Int (UI_Power_2 (J))); end loop; for J in 0 .. UI_Power_10_Set loop Tree_Read_Int (Int (UI_Power_10 (J))); end loop; end Tree_Read; ---------------- -- Tree_Write -- ---------------- procedure Tree_Write is begin Uints.Tree_Write; Udigits.Tree_Write; Tree_Write_Int (Int (Uint_Int_First)); Tree_Write_Int (Int (Uint_Int_Last)); Tree_Write_Int (UI_Power_2_Set); Tree_Write_Int (UI_Power_10_Set); Tree_Write_Int (Int (Uints_Min)); Tree_Write_Int (Udigits_Min); for J in 0 .. UI_Power_2_Set loop Tree_Write_Int (Int (UI_Power_2 (J))); end loop; for J in 0 .. UI_Power_10_Set loop Tree_Write_Int (Int (UI_Power_10 (J))); end loop; end Tree_Write; ------------- -- UI_Abs -- ------------- function UI_Abs (Right : Uint) return Uint is begin if Right < Uint_0 then return -Right; else return Right; end if; end UI_Abs; ------------- -- UI_Add -- ------------- function UI_Add (Left : Int; Right : Uint) return Uint is begin return UI_Add (UI_From_Int (Left), Right); end UI_Add; function UI_Add (Left : Uint; Right : Int) return Uint is begin return UI_Add (Left, UI_From_Int (Right)); end UI_Add; function UI_Add (Left : Uint; Right : Uint) return Uint is begin -- Simple cases of direct operands and addition of zero if Direct (Left) then if Direct (Right) then return UI_From_Int (Direct_Val (Left) + Direct_Val (Right)); elsif Int (Left) = Int (Uint_0) then return Right; end if; elsif Direct (Right) and then Int (Right) = Int (Uint_0) then return Left; end if; -- Otherwise full circuit is needed declare L_Length : constant Int := N_Digits (Left); R_Length : constant Int := N_Digits (Right); L_Vec : UI_Vector (1 .. L_Length); R_Vec : UI_Vector (1 .. R_Length); Sum_Length : Int; Tmp_Int : Int; Carry : Int; Borrow : Int; X_Bigger : Boolean := False; Y_Bigger : Boolean := False; Result_Neg : Boolean := False; begin Init_Operand (Left, L_Vec); Init_Operand (Right, R_Vec); -- At least one of the two operands is in multi-digit form. -- Calculate the number of digits sufficient to hold result. if L_Length > R_Length then Sum_Length := L_Length + 1; X_Bigger := True; else Sum_Length := R_Length + 1; if R_Length > L_Length then Y_Bigger := True; end if; end if; -- Make copies of the absolute values of L_Vec and R_Vec into X and Y -- both with lengths equal to the maximum possibly needed. This makes -- looping over the digits much simpler. declare X : UI_Vector (1 .. Sum_Length); Y : UI_Vector (1 .. Sum_Length); Tmp_UI : UI_Vector (1 .. Sum_Length); begin for J in 1 .. Sum_Length - L_Length loop X (J) := 0; end loop; X (Sum_Length - L_Length + 1) := abs L_Vec (1); for J in 2 .. L_Length loop X (J + (Sum_Length - L_Length)) := L_Vec (J); end loop; for J in 1 .. Sum_Length - R_Length loop Y (J) := 0; end loop; Y (Sum_Length - R_Length + 1) := abs R_Vec (1); for J in 2 .. R_Length loop Y (J + (Sum_Length - R_Length)) := R_Vec (J); end loop; if (L_Vec (1) < Int_0) = (R_Vec (1) < Int_0) then -- Same sign so just add Carry := 0; for J in reverse 1 .. Sum_Length loop Tmp_Int := X (J) + Y (J) + Carry; if Tmp_Int >= Base then Tmp_Int := Tmp_Int - Base; Carry := 1; else Carry := 0; end if; X (J) := Tmp_Int; end loop; return Vector_To_Uint (X, L_Vec (1) < Int_0); else -- Find which one has bigger magnitude if not (X_Bigger or Y_Bigger) then for J in L_Vec'Range loop if abs L_Vec (J) > abs R_Vec (J) then X_Bigger := True; exit; elsif abs R_Vec (J) > abs L_Vec (J) then Y_Bigger := True; exit; end if; end loop; end if; -- If they have identical magnitude, just return 0, else swap -- if necessary so that X had the bigger magnitude. Determine -- if result is negative at this time. Result_Neg := False; if not (X_Bigger or Y_Bigger) then return Uint_0; elsif Y_Bigger then if R_Vec (1) < Int_0 then Result_Neg := True; end if; Tmp_UI := X; X := Y; Y := Tmp_UI; else if L_Vec (1) < Int_0 then Result_Neg := True; end if; end if; -- Subtract Y from the bigger X Borrow := 0; for J in reverse 1 .. Sum_Length loop Tmp_Int := X (J) - Y (J) + Borrow; if Tmp_Int < Int_0 then Tmp_Int := Tmp_Int + Base; Borrow := -1; else Borrow := 0; end if; X (J) := Tmp_Int; end loop; return Vector_To_Uint (X, Result_Neg); end if; end; end; end UI_Add; -------------------------- -- UI_Decimal_Digits_Hi -- -------------------------- function UI_Decimal_Digits_Hi (U : Uint) return Nat is begin -- The maximum value of a "digit" is 32767, which is 5 decimal digits, -- so an N_Digit number could take up to 5 times this number of digits. -- This is certainly too high for large numbers but it is not worth -- worrying about. return 5 * N_Digits (U); end UI_Decimal_Digits_Hi; -------------------------- -- UI_Decimal_Digits_Lo -- -------------------------- function UI_Decimal_Digits_Lo (U : Uint) return Nat is begin -- The maximum value of a "digit" is 32767, which is more than four -- decimal digits, but not a full five digits. The easily computed -- minimum number of decimal digits is thus 1 + 4 * the number of -- digits. This is certainly too low for large numbers but it is not -- worth worrying about. return 1 + 4 * (N_Digits (U) - 1); end UI_Decimal_Digits_Lo; ------------ -- UI_Div -- ------------ function UI_Div (Left : Int; Right : Uint) return Uint is begin return UI_Div (UI_From_Int (Left), Right); end UI_Div; function UI_Div (Left : Uint; Right : Int) return Uint is begin return UI_Div (Left, UI_From_Int (Right)); end UI_Div; function UI_Div (Left, Right : Uint) return Uint is Quotient : Uint; Remainder : Uint; pragma Warnings (Off, Remainder); begin UI_Div_Rem (Left, Right, Quotient, Remainder, Discard_Remainder => True); return Quotient; end UI_Div; ---------------- -- UI_Div_Rem -- ---------------- procedure UI_Div_Rem (Left, Right : Uint; Quotient : out Uint; Remainder : out Uint; Discard_Quotient : Boolean := False; Discard_Remainder : Boolean := False) is begin pragma Assert (Right /= Uint_0); Quotient := No_Uint; Remainder := No_Uint; -- Cases where both operands are represented directly if Direct (Left) and then Direct (Right) then declare DV_Left : constant Int := Direct_Val (Left); DV_Right : constant Int := Direct_Val (Right); begin if not Discard_Quotient then Quotient := UI_From_Int (DV_Left / DV_Right); end if; if not Discard_Remainder then Remainder := UI_From_Int (DV_Left rem DV_Right); end if; return; end; end if; declare L_Length : constant Int := N_Digits (Left); R_Length : constant Int := N_Digits (Right); Q_Length : constant Int := L_Length - R_Length + 1; L_Vec : UI_Vector (1 .. L_Length); R_Vec : UI_Vector (1 .. R_Length); D : Int; Remainder_I : Int; Tmp_Divisor : Int; Carry : Int; Tmp_Int : Int; Tmp_Dig : Int; procedure UI_Div_Vector (L_Vec : UI_Vector; R_Int : Int; Quotient : out UI_Vector; Remainder : out Int); pragma Inline (UI_Div_Vector); -- Specialised variant for case where the divisor is a single digit procedure UI_Div_Vector (L_Vec : UI_Vector; R_Int : Int; Quotient : out UI_Vector; Remainder : out Int) is Tmp_Int : Int; begin Remainder := 0; for J in L_Vec'Range loop Tmp_Int := Remainder * Base + abs L_Vec (J); Quotient (Quotient'First + J - L_Vec'First) := Tmp_Int / R_Int; Remainder := Tmp_Int rem R_Int; end loop; if L_Vec (L_Vec'First) < Int_0 then Remainder := -Remainder; end if; end UI_Div_Vector; -- Start of processing for UI_Div_Rem begin -- Result is zero if left operand is shorter than right if L_Length < R_Length then if not Discard_Quotient then Quotient := Uint_0; end if; if not Discard_Remainder then Remainder := Left; end if; return; end if; Init_Operand (Left, L_Vec); Init_Operand (Right, R_Vec); -- Case of right operand is single digit. Here we can simply divide -- each digit of the left operand by the divisor, from most to least -- significant, carrying the remainder to the next digit (just like -- ordinary long division by hand). if R_Length = Int_1 then Tmp_Divisor := abs R_Vec (1); declare Quotient_V : UI_Vector (1 .. L_Length); begin UI_Div_Vector (L_Vec, Tmp_Divisor, Quotient_V, Remainder_I); if not Discard_Quotient then Quotient := Vector_To_Uint (Quotient_V, (L_Vec (1) < Int_0 xor R_Vec (1) < Int_0)); end if; if not Discard_Remainder then Remainder := UI_From_Int (Remainder_I); end if; return; end; end if; -- The possible simple cases have been exhausted. Now turn to the -- algorithm D from the section of Knuth mentioned at the top of -- this package. Algorithm_D : declare Dividend : UI_Vector (1 .. L_Length + 1); Divisor : UI_Vector (1 .. R_Length); Quotient_V : UI_Vector (1 .. Q_Length); Divisor_Dig1 : Int; Divisor_Dig2 : Int; Q_Guess : Int; R_Guess : Int; begin -- [ NORMALIZE ] (step D1 in the algorithm). First calculate the -- scale d, and then multiply Left and Right (u and v in the book) -- by d to get the dividend and divisor to work with. D := Base / (abs R_Vec (1) + 1); Dividend (1) := 0; Dividend (2) := abs L_Vec (1); for J in 3 .. L_Length + Int_1 loop Dividend (J) := L_Vec (J - 1); end loop; Divisor (1) := abs R_Vec (1); for J in Int_2 .. R_Length loop Divisor (J) := R_Vec (J); end loop; if D > Int_1 then -- Multiply Dividend by d Carry := 0; for J in reverse Dividend'Range loop Tmp_Int := Dividend (J) * D + Carry; Dividend (J) := Tmp_Int rem Base; Carry := Tmp_Int / Base; end loop; -- Multiply Divisor by d Carry := 0; for J in reverse Divisor'Range loop Tmp_Int := Divisor (J) * D + Carry; Divisor (J) := Tmp_Int rem Base; Carry := Tmp_Int / Base; end loop; end if; -- Main loop of long division algorithm Divisor_Dig1 := Divisor (1); Divisor_Dig2 := Divisor (2); for J in Quotient_V'Range loop -- [ CALCULATE Q (hat) ] (step D3 in the algorithm) -- Note: this version of step D3 is from the original published -- algorithm, which is known to have a bug causing overflows. -- See: http://www-cs-faculty.stanford.edu/~uno/err2-2e.ps.gz -- and http://www-cs-faculty.stanford.edu/~uno/all2-pre.ps.gz. -- The code below is the fixed version of this step. Tmp_Int := Dividend (J) * Base + Dividend (J + 1); -- Initial guess Q_Guess := Tmp_Int / Divisor_Dig1; R_Guess := Tmp_Int rem Divisor_Dig1; -- Refine the guess while Q_Guess >= Base or else Divisor_Dig2 * Q_Guess > R_Guess * Base + Dividend (J + 2) loop Q_Guess := Q_Guess - 1; R_Guess := R_Guess + Divisor_Dig1; exit when R_Guess >= Base; end loop; -- [ MULTIPLY & SUBTRACT ] (step D4). Q_Guess * Divisor is -- subtracted from the remaining dividend. Carry := 0; for K in reverse Divisor'Range loop Tmp_Int := Dividend (J + K) - Q_Guess * Divisor (K) + Carry; Tmp_Dig := Tmp_Int rem Base; Carry := Tmp_Int / Base; if Tmp_Dig < Int_0 then Tmp_Dig := Tmp_Dig + Base; Carry := Carry - 1; end if; Dividend (J + K) := Tmp_Dig; end loop; Dividend (J) := Dividend (J) + Carry; -- [ TEST REMAINDER ] & [ ADD BACK ] (steps D5 and D6) -- Here there is a slight difference from the book: the last -- carry is always added in above and below (cancelling each -- other). In fact the dividend going negative is used as -- the test. -- If the Dividend went negative, then Q_Guess was off by -- one, so it is decremented, and the divisor is added back -- into the relevant portion of the dividend. if Dividend (J) < Int_0 then Q_Guess := Q_Guess - 1; Carry := 0; for K in reverse Divisor'Range loop Tmp_Int := Dividend (J + K) + Divisor (K) + Carry; if Tmp_Int >= Base then Tmp_Int := Tmp_Int - Base; Carry := 1; else Carry := 0; end if; Dividend (J + K) := Tmp_Int; end loop; Dividend (J) := Dividend (J) + Carry; end if; -- Finally we can get the next quotient digit Quotient_V (J) := Q_Guess; end loop; -- [ UNNORMALIZE ] (step D8) if not Discard_Quotient then Quotient := Vector_To_Uint (Quotient_V, (L_Vec (1) < Int_0 xor R_Vec (1) < Int_0)); end if; if not Discard_Remainder then declare Remainder_V : UI_Vector (1 .. R_Length); Discard_Int : Int; pragma Warnings (Off, Discard_Int); begin UI_Div_Vector (Dividend (Dividend'Last - R_Length + 1 .. Dividend'Last), D, Remainder_V, Discard_Int); Remainder := Vector_To_Uint (Remainder_V, L_Vec (1) < Int_0); end; end if; end Algorithm_D; end; end UI_Div_Rem; ------------ -- UI_Eq -- ------------ function UI_Eq (Left : Int; Right : Uint) return Boolean is begin return not UI_Ne (UI_From_Int (Left), Right); end UI_Eq; function UI_Eq (Left : Uint; Right : Int) return Boolean is begin return not UI_Ne (Left, UI_From_Int (Right)); end UI_Eq; function UI_Eq (Left : Uint; Right : Uint) return Boolean is begin return not UI_Ne (Left, Right); end UI_Eq; -------------- -- UI_Expon -- -------------- function UI_Expon (Left : Int; Right : Uint) return Uint is begin return UI_Expon (UI_From_Int (Left), Right); end UI_Expon; function UI_Expon (Left : Uint; Right : Int) return Uint is begin return UI_Expon (Left, UI_From_Int (Right)); end UI_Expon; function UI_Expon (Left : Int; Right : Int) return Uint is begin return UI_Expon (UI_From_Int (Left), UI_From_Int (Right)); end UI_Expon; function UI_Expon (Left : Uint; Right : Uint) return Uint is begin pragma Assert (Right >= Uint_0); -- Any value raised to power of 0 is 1 if Right = Uint_0 then return Uint_1; -- 0 to any positive power is 0 elsif Left = Uint_0 then return Uint_0; -- 1 to any power is 1 elsif Left = Uint_1 then return Uint_1; -- Any value raised to power of 1 is that value elsif Right = Uint_1 then return Left; -- Cases which can be done by table lookup elsif Right <= Uint_64 then -- 2 ** N for N in 2 .. 64 if Left = Uint_2 then declare Right_Int : constant Int := Direct_Val (Right); begin if Right_Int > UI_Power_2_Set then for J in UI_Power_2_Set + Int_1 .. Right_Int loop UI_Power_2 (J) := UI_Power_2 (J - Int_1) * Int_2; Uints_Min := Uints.Last; Udigits_Min := Udigits.Last; end loop; UI_Power_2_Set := Right_Int; end if; return UI_Power_2 (Right_Int); end; -- 10 ** N for N in 2 .. 64 elsif Left = Uint_10 then declare Right_Int : constant Int := Direct_Val (Right); begin if Right_Int > UI_Power_10_Set then for J in UI_Power_10_Set + Int_1 .. Right_Int loop UI_Power_10 (J) := UI_Power_10 (J - Int_1) * Int (10); Uints_Min := Uints.Last; Udigits_Min := Udigits.Last; end loop; UI_Power_10_Set := Right_Int; end if; return UI_Power_10 (Right_Int); end; end if; end if; -- If we fall through, then we have the general case (see Knuth 4.6.3) declare N : Uint := Right; Squares : Uint := Left; Result : Uint := Uint_1; M : constant Uintp.Save_Mark := Uintp.Mark; begin loop if (Least_Sig_Digit (N) mod Int_2) = Int_1 then Result := Result * Squares; end if; N := N / Uint_2; exit when N = Uint_0; Squares := Squares * Squares; end loop; Uintp.Release_And_Save (M, Result); return Result; end; end UI_Expon; ---------------- -- UI_From_CC -- ---------------- function UI_From_CC (Input : Char_Code) return Uint is begin return UI_From_Int (Int (Input)); end UI_From_CC; ----------------- -- UI_From_Int -- ----------------- function UI_From_Int (Input : Int) return Uint is U : Uint; begin if Min_Direct <= Input and then Input <= Max_Direct then return Uint (Int (Uint_Direct_Bias) + Input); end if; -- If already in the hash table, return entry U := UI_Ints.Get (Input); if U /= No_Uint then return U; end if; -- For values of larger magnitude, compute digits into a vector and call -- Vector_To_Uint. declare Max_For_Int : constant := 3; -- Base is defined so that 3 Uint digits is sufficient to hold the -- largest possible Int value. V : UI_Vector (1 .. Max_For_Int); Temp_Integer : Int := Input; begin for J in reverse V'Range loop V (J) := abs (Temp_Integer rem Base); Temp_Integer := Temp_Integer / Base; end loop; U := Vector_To_Uint (V, Input < Int_0); UI_Ints.Set (Input, U); Uints_Min := Uints.Last; Udigits_Min := Udigits.Last; return U; end; end UI_From_Int; ------------ -- UI_GCD -- ------------ -- Lehmer's algorithm for GCD -- The idea is to avoid using multiple precision arithmetic wherever -- possible, substituting Int arithmetic instead. See Knuth volume II, -- Algorithm L (page 329). -- We use the same notation as Knuth (U_Hat standing for the obvious) function UI_GCD (Uin, Vin : Uint) return Uint is U, V : Uint; -- Copies of Uin and Vin U_Hat, V_Hat : Int; -- The most Significant digits of U,V A, B, C, D, T, Q, Den1, Den2 : Int; Tmp_UI : Uint; Marks : constant Uintp.Save_Mark := Uintp.Mark; Iterations : Integer := 0; begin pragma Assert (Uin >= Vin); pragma Assert (Vin >= Uint_0); U := Uin; V := Vin; loop Iterations := Iterations + 1; if Direct (V) then if V = Uint_0 then return U; else return UI_From_Int (GCD (Direct_Val (V), UI_To_Int (U rem V))); end if; end if; Most_Sig_2_Digits (U, V, U_Hat, V_Hat); A := 1; B := 0; C := 0; D := 1; loop -- We might overflow and get division by zero here. This just -- means we cannot take the single precision step Den1 := V_Hat + C; Den2 := V_Hat + D; exit when Den1 = Int_0 or else Den2 = Int_0; -- Compute Q, the trial quotient Q := (U_Hat + A) / Den1; exit when Q /= ((U_Hat + B) / Den2); -- A single precision step Euclid step will give same answer as a -- multiprecision one. T := A - (Q * C); A := C; C := T; T := B - (Q * D); B := D; D := T; T := U_Hat - (Q * V_Hat); U_Hat := V_Hat; V_Hat := T; end loop; -- Take a multiprecision Euclid step if B = Int_0 then -- No single precision steps take a regular Euclid step Tmp_UI := U rem V; U := V; V := Tmp_UI; else -- Use prior single precision steps to compute this Euclid step -- For constructs such as: -- sqrt_2: constant := 1.41421_35623_73095_04880_16887_24209_698; -- sqrt_eps: constant long_float := long_float( 1.0 / sqrt_2) -- ** long_float'machine_mantissa; -- -- we spend 80% of our time working on this step. Perhaps we need -- a special case Int / Uint dot product to speed things up. ??? -- Alternatively we could increase the single precision iterations -- to handle Uint's of some small size ( <5 digits?). Then we -- would have more iterations on small Uint. On the code above, we -- only get 5 (on average) single precision iterations per large -- iteration. ??? Tmp_UI := (UI_From_Int (A) * U) + (UI_From_Int (B) * V); V := (UI_From_Int (C) * U) + (UI_From_Int (D) * V); U := Tmp_UI; end if; -- If the operands are very different in magnitude, the loop will -- generate large amounts of short-lived data, which it is worth -- removing periodically. if Iterations > 100 then Release_And_Save (Marks, U, V); Iterations := 0; end if; end loop; end UI_GCD; ------------ -- UI_Ge -- ------------ function UI_Ge (Left : Int; Right : Uint) return Boolean is begin return not UI_Lt (UI_From_Int (Left), Right); end UI_Ge; function UI_Ge (Left : Uint; Right : Int) return Boolean is begin return not UI_Lt (Left, UI_From_Int (Right)); end UI_Ge; function UI_Ge (Left : Uint; Right : Uint) return Boolean is begin return not UI_Lt (Left, Right); end UI_Ge; ------------ -- UI_Gt -- ------------ function UI_Gt (Left : Int; Right : Uint) return Boolean is begin return UI_Lt (Right, UI_From_Int (Left)); end UI_Gt; function UI_Gt (Left : Uint; Right : Int) return Boolean is begin return UI_Lt (UI_From_Int (Right), Left); end UI_Gt; function UI_Gt (Left : Uint; Right : Uint) return Boolean is begin return UI_Lt (Left => Right, Right => Left); end UI_Gt; --------------- -- UI_Image -- --------------- procedure UI_Image (Input : Uint; Format : UI_Format := Auto) is begin Image_Out (Input, True, Format); end UI_Image; function UI_Image (Input : Uint; Format : UI_Format := Auto) return String is begin Image_Out (Input, True, Format); return UI_Image_Buffer (1 .. UI_Image_Length); end UI_Image; ------------------------- -- UI_Is_In_Int_Range -- ------------------------- function UI_Is_In_Int_Range (Input : Uint) return Boolean is begin -- Make sure we don't get called before Initialize pragma Assert (Uint_Int_First /= Uint_0); if Direct (Input) then return True; else return Input >= Uint_Int_First and then Input <= Uint_Int_Last; end if; end UI_Is_In_Int_Range; ------------ -- UI_Le -- ------------ function UI_Le (Left : Int; Right : Uint) return Boolean is begin return not UI_Lt (Right, UI_From_Int (Left)); end UI_Le; function UI_Le (Left : Uint; Right : Int) return Boolean is begin return not UI_Lt (UI_From_Int (Right), Left); end UI_Le; function UI_Le (Left : Uint; Right : Uint) return Boolean is begin return not UI_Lt (Left => Right, Right => Left); end UI_Le; ------------ -- UI_Lt -- ------------ function UI_Lt (Left : Int; Right : Uint) return Boolean is begin return UI_Lt (UI_From_Int (Left), Right); end UI_Lt; function UI_Lt (Left : Uint; Right : Int) return Boolean is begin return UI_Lt (Left, UI_From_Int (Right)); end UI_Lt; function UI_Lt (Left : Uint; Right : Uint) return Boolean is begin -- Quick processing for identical arguments if Int (Left) = Int (Right) then return False; -- Quick processing for both arguments directly represented elsif Direct (Left) and then Direct (Right) then return Int (Left) < Int (Right); -- At least one argument is more than one digit long else declare L_Length : constant Int := N_Digits (Left); R_Length : constant Int := N_Digits (Right); L_Vec : UI_Vector (1 .. L_Length); R_Vec : UI_Vector (1 .. R_Length); begin Init_Operand (Left, L_Vec); Init_Operand (Right, R_Vec); if L_Vec (1) < Int_0 then -- First argument negative, second argument non-negative if R_Vec (1) >= Int_0 then return True; -- Both arguments negative else if L_Length /= R_Length then return L_Length > R_Length; elsif L_Vec (1) /= R_Vec (1) then return L_Vec (1) < R_Vec (1); else for J in 2 .. L_Vec'Last loop if L_Vec (J) /= R_Vec (J) then return L_Vec (J) > R_Vec (J); end if; end loop; return False; end if; end if; else -- First argument non-negative, second argument negative if R_Vec (1) < Int_0 then return False; -- Both arguments non-negative else if L_Length /= R_Length then return L_Length < R_Length; else for J in L_Vec'Range loop if L_Vec (J) /= R_Vec (J) then return L_Vec (J) < R_Vec (J); end if; end loop; return False; end if; end if; end if; end; end if; end UI_Lt; ------------ -- UI_Max -- ------------ function UI_Max (Left : Int; Right : Uint) return Uint is begin return UI_Max (UI_From_Int (Left), Right); end UI_Max; function UI_Max (Left : Uint; Right : Int) return Uint is begin return UI_Max (Left, UI_From_Int (Right)); end UI_Max; function UI_Max (Left : Uint; Right : Uint) return Uint is begin if Left >= Right then return Left; else return Right; end if; end UI_Max; ------------ -- UI_Min -- ------------ function UI_Min (Left : Int; Right : Uint) return Uint is begin return UI_Min (UI_From_Int (Left), Right); end UI_Min; function UI_Min (Left : Uint; Right : Int) return Uint is begin return UI_Min (Left, UI_From_Int (Right)); end UI_Min; function UI_Min (Left : Uint; Right : Uint) return Uint is begin if Left <= Right then return Left; else return Right; end if; end UI_Min; ------------- -- UI_Mod -- ------------- function UI_Mod (Left : Int; Right : Uint) return Uint is begin return UI_Mod (UI_From_Int (Left), Right); end UI_Mod; function UI_Mod (Left : Uint; Right : Int) return Uint is begin return UI_Mod (Left, UI_From_Int (Right)); end UI_Mod; function UI_Mod (Left : Uint; Right : Uint) return Uint is Urem : constant Uint := Left rem Right; begin if (Left < Uint_0) = (Right < Uint_0) or else Urem = Uint_0 then return Urem; else return Right + Urem; end if; end UI_Mod; ------------------------------- -- UI_Modular_Exponentiation -- ------------------------------- function UI_Modular_Exponentiation (B : Uint; E : Uint; Modulo : Uint) return Uint is M : constant Save_Mark := Mark; Result : Uint := Uint_1; Base : Uint := B; Exponent : Uint := E; begin while Exponent /= Uint_0 loop if Least_Sig_Digit (Exponent) rem Int'(2) = Int'(1) then Result := (Result * Base) rem Modulo; end if; Exponent := Exponent / Uint_2; Base := (Base * Base) rem Modulo; end loop; Release_And_Save (M, Result); return Result; end UI_Modular_Exponentiation; ------------------------ -- UI_Modular_Inverse -- ------------------------ function UI_Modular_Inverse (N : Uint; Modulo : Uint) return Uint is M : constant Save_Mark := Mark; U : Uint; V : Uint; Q : Uint; R : Uint; X : Uint; Y : Uint; T : Uint; S : Int := 1; begin U := Modulo; V := N; X := Uint_1; Y := Uint_0; loop UI_Div_Rem (U, V, Quotient => Q, Remainder => R); U := V; V := R; T := X; X := Y + Q * X; Y := T; S := -S; exit when R = Uint_1; end loop; if S = Int'(-1) then X := Modulo - X; end if; Release_And_Save (M, X); return X; end UI_Modular_Inverse; ------------ -- UI_Mul -- ------------ function UI_Mul (Left : Int; Right : Uint) return Uint is begin return UI_Mul (UI_From_Int (Left), Right); end UI_Mul; function UI_Mul (Left : Uint; Right : Int) return Uint is begin return UI_Mul (Left, UI_From_Int (Right)); end UI_Mul; function UI_Mul (Left : Uint; Right : Uint) return Uint is begin -- Case where product fits in the range of a 32-bit integer if Int (Left) <= Int (Uint_Max_Simple_Mul) and then Int (Right) <= Int (Uint_Max_Simple_Mul) then return UI_From_Int (Direct_Val (Left) * Direct_Val (Right)); end if; -- Otherwise we have the general case (Algorithm M in Knuth) declare L_Length : constant Int := N_Digits (Left); R_Length : constant Int := N_Digits (Right); L_Vec : UI_Vector (1 .. L_Length); R_Vec : UI_Vector (1 .. R_Length); Neg : Boolean; begin Init_Operand (Left, L_Vec); Init_Operand (Right, R_Vec); Neg := (L_Vec (1) < Int_0) xor (R_Vec (1) < Int_0); L_Vec (1) := abs (L_Vec (1)); R_Vec (1) := abs (R_Vec (1)); Algorithm_M : declare Product : UI_Vector (1 .. L_Length + R_Length); Tmp_Sum : Int; Carry : Int; begin for J in Product'Range loop Product (J) := 0; end loop; for J in reverse R_Vec'Range loop Carry := 0; for K in reverse L_Vec'Range loop Tmp_Sum := L_Vec (K) * R_Vec (J) + Product (J + K) + Carry; Product (J + K) := Tmp_Sum rem Base; Carry := Tmp_Sum / Base; end loop; Product (J) := Carry; end loop; return Vector_To_Uint (Product, Neg); end Algorithm_M; end; end UI_Mul; ------------ -- UI_Ne -- ------------ function UI_Ne (Left : Int; Right : Uint) return Boolean is begin return UI_Ne (UI_From_Int (Left), Right); end UI_Ne; function UI_Ne (Left : Uint; Right : Int) return Boolean is begin return UI_Ne (Left, UI_From_Int (Right)); end UI_Ne; function UI_Ne (Left : Uint; Right : Uint) return Boolean is begin -- Quick processing for identical arguments. Note that this takes -- care of the case of two No_Uint arguments. if Int (Left) = Int (Right) then return False; end if; -- See if left operand directly represented if Direct (Left) then -- If right operand directly represented then compare if Direct (Right) then return Int (Left) /= Int (Right); -- Left operand directly represented, right not, must be unequal else return True; end if; -- Right operand directly represented, left not, must be unequal elsif Direct (Right) then return True; end if; -- Otherwise both multi-word, do comparison declare Size : constant Int := N_Digits (Left); Left_Loc : Int; Right_Loc : Int; begin if Size /= N_Digits (Right) then return True; end if; Left_Loc := Uints.Table (Left).Loc; Right_Loc := Uints.Table (Right).Loc; for J in Int_0 .. Size - Int_1 loop if Udigits.Table (Left_Loc + J) /= Udigits.Table (Right_Loc + J) then return True; end if; end loop; return False; end; end UI_Ne; ---------------- -- UI_Negate -- ---------------- function UI_Negate (Right : Uint) return Uint is begin -- Case where input is directly represented. Note that since the range -- of Direct values is non-symmetrical, the result may not be directly -- represented, this is taken care of in UI_From_Int. if Direct (Right) then return UI_From_Int (-Direct_Val (Right)); -- Full processing for multi-digit case. Note that we cannot just copy -- the value to the end of the table negating the first digit, since the -- range of Direct values is non-symmetrical, so we can have a negative -- value that is not Direct whose negation can be represented directly. else declare R_Length : constant Int := N_Digits (Right); R_Vec : UI_Vector (1 .. R_Length); Neg : Boolean; begin Init_Operand (Right, R_Vec); Neg := R_Vec (1) > Int_0; R_Vec (1) := abs R_Vec (1); return Vector_To_Uint (R_Vec, Neg); end; end if; end UI_Negate; ------------- -- UI_Rem -- ------------- function UI_Rem (Left : Int; Right : Uint) return Uint is begin return UI_Rem (UI_From_Int (Left), Right); end UI_Rem; function UI_Rem (Left : Uint; Right : Int) return Uint is begin return UI_Rem (Left, UI_From_Int (Right)); end UI_Rem; function UI_Rem (Left, Right : Uint) return Uint is Remainder : Uint; Quotient : Uint; pragma Warnings (Off, Quotient); begin pragma Assert (Right /= Uint_0); if Direct (Right) and then Direct (Left) then return UI_From_Int (Direct_Val (Left) rem Direct_Val (Right)); else UI_Div_Rem (Left, Right, Quotient, Remainder, Discard_Quotient => True); return Remainder; end if; end UI_Rem; ------------ -- UI_Sub -- ------------ function UI_Sub (Left : Int; Right : Uint) return Uint is begin return UI_Add (Left, -Right); end UI_Sub; function UI_Sub (Left : Uint; Right : Int) return Uint is begin return UI_Add (Left, -Right); end UI_Sub; function UI_Sub (Left : Uint; Right : Uint) return Uint is begin if Direct (Left) and then Direct (Right) then return UI_From_Int (Direct_Val (Left) - Direct_Val (Right)); else return UI_Add (Left, -Right); end if; end UI_Sub; -------------- -- UI_To_CC -- -------------- function UI_To_CC (Input : Uint) return Char_Code is begin if Direct (Input) then return Char_Code (Direct_Val (Input)); -- Case of input is more than one digit else declare In_Length : constant Int := N_Digits (Input); In_Vec : UI_Vector (1 .. In_Length); Ret_CC : Char_Code; begin Init_Operand (Input, In_Vec); -- We assume value is positive Ret_CC := 0; for Idx in In_Vec'Range loop Ret_CC := Ret_CC * Char_Code (Base) + Char_Code (abs In_Vec (Idx)); end loop; return Ret_CC; end; end if; end UI_To_CC; ---------------- -- UI_To_Int -- ---------------- function UI_To_Int (Input : Uint) return Int is pragma Assert (Input /= No_Uint); begin if Direct (Input) then return Direct_Val (Input); -- Case of input is more than one digit else declare In_Length : constant Int := N_Digits (Input); In_Vec : UI_Vector (1 .. In_Length); Ret_Int : Int; begin -- Uints of more than one digit could be outside the range for -- Ints. Caller should have checked for this if not certain. -- Fatal error to attempt to convert from value outside Int'Range. pragma Assert (UI_Is_In_Int_Range (Input)); -- Otherwise, proceed ahead, we are OK Init_Operand (Input, In_Vec); Ret_Int := 0; -- Calculate -|Input| and then negates if value is positive. This -- handles our current definition of Int (based on 2s complement). -- Is it secure enough??? for Idx in In_Vec'Range loop Ret_Int := Ret_Int * Base - abs In_Vec (Idx); end loop; if In_Vec (1) < Int_0 then return Ret_Int; else return -Ret_Int; end if; end; end if; end UI_To_Int; -------------- -- UI_Write -- -------------- procedure UI_Write (Input : Uint; Format : UI_Format := Auto) is begin Image_Out (Input, False, Format); end UI_Write; --------------------- -- Vector_To_Uint -- --------------------- function Vector_To_Uint (In_Vec : UI_Vector; Negative : Boolean) return Uint is Size : Int; Val : Int; begin -- The vector can contain leading zeros. These are not stored in the -- table, so loop through the vector looking for first non-zero digit for J in In_Vec'Range loop if In_Vec (J) /= Int_0 then -- The length of the value is the length of the rest of the vector Size := In_Vec'Last - J + 1; -- One digit value can always be represented directly if Size = Int_1 then if Negative then return Uint (Int (Uint_Direct_Bias) - In_Vec (J)); else return Uint (Int (Uint_Direct_Bias) + In_Vec (J)); end if; -- Positive two digit values may be in direct representation range elsif Size = Int_2 and then not Negative then Val := In_Vec (J) * Base + In_Vec (J + 1); if Val <= Max_Direct then return Uint (Int (Uint_Direct_Bias) + Val); end if; end if; -- The value is outside the direct representation range and must -- therefore be stored in the table. Expand the table to contain -- the count and digits. The index of the new table entry will be -- returned as the result. Uints.Append ((Length => Size, Loc => Udigits.Last + 1)); if Negative then Val := -In_Vec (J); else Val := +In_Vec (J); end if; Udigits.Append (Val); for K in 2 .. Size loop Udigits.Append (In_Vec (J + K - 1)); end loop; return Uints.Last; end if; end loop; -- Dropped through loop only if vector contained all zeros return Uint_0; end Vector_To_Uint; end Uintp;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- with ewok.debug; with ewok.sched; with ewok.tasks; with m4.scb; package body ewok.tasks.debug with spark_mode => off is package DBG renames ewok.debug; procedure crashdump (frame_a : in ewok.t_stack_frame_access) is cfsr : constant m4.scb.t_SCB_CFSR := m4.scb.SCB.CFSR; begin if cfsr.MMFSR.IACCVIOL then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.MMFSR.IACCVIOL")); end if; if cfsr.MMFSR.DACCVIOL then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.MMFSR.DACCVIOL")); end if; if cfsr.MMFSR.MUNSTKERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.MMFSR.MUNSTKERR")); end if; if cfsr.MMFSR.MSTKERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.MMFSR.MSTKERR")); end if; if cfsr.MMFSR.MLSPERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.MMFSR.MLSPERR")); end if; if cfsr.MMFSR.MMARVALID then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.MMFSR.MMARVALID")); end if; if cfsr.MMFSR.MMARVALID then pragma DEBUG (DBG.log (DBG.ERROR, "MMFAR.ADDRESS = " & system_address'image (m4.scb.SCB.MMFAR.ADDRESS))); end if; if cfsr.BFSR.IBUSERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.IBUSERR")); end if; if cfsr.BFSR.PRECISERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.PRECISERR")); end if; if cfsr.BFSR.IMPRECISERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.IMPRECISERR")); end if; if cfsr.BFSR.UNSTKERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.UNSTKERR")); end if; if cfsr.BFSR.STKERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.STKERR")); end if; if cfsr.BFSR.LSPERR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.LSPERR")); end if; if cfsr.BFSR.BFARVALID then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.BFSR.BFARVALID")); end if; if cfsr.BFSR.BFARVALID then pragma DEBUG (DBG.log (DBG.ERROR, "BFAR.ADDRESS = " & system_address'image (m4.scb.SCB.BFAR.ADDRESS))); end if; if cfsr.UFSR.UNDEFINSTR then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.UFSR.UNDEFINSTR")); end if; if cfsr.UFSR.INVSTATE then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.UFSR.INVSTATE")); end if; if cfsr.UFSR.INVPC then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.UFSR.INVPC")); end if; if cfsr.UFSR.NOCP then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.UFSR.NOCP")); end if; if cfsr.UFSR.UNALIGNED then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.UFSR.UNALIGNED")); end if; if cfsr.UFSR.DIVBYZERO then pragma DEBUG (DBG.log (DBG.ERROR, "+cfsr.UFSR.DIVBYZERO")); end if; DBG.log (DBG.ERROR, ewok.tasks.tasks_list(ewok.sched.current_task_id).name); DBG.alert ("Frame "); DBG.alert (system_address'image (to_system_address (frame_a))); DBG.newline; DBG.alert ("EXC_RETURN "); DBG.alert (unsigned_32'image (frame_a.all.exc_return)); DBG.newline; DBG.alert ("R0 "); DBG.alert (unsigned_32'image (frame_a.all.R0)); DBG.newline; DBG.alert ("R1 "); DBG.alert (unsigned_32'image (frame_a.all.R1)); DBG.newline; DBG.alert ("R2 "); DBG.alert (unsigned_32'image (frame_a.all.R2)); DBG.newline; DBG.alert ("R3 "); DBG.alert (unsigned_32'image (frame_a.all.R3)); DBG.newline; DBG.alert ("R4 "); DBG.alert (unsigned_32'image (frame_a.all.R4)); DBG.newline; DBG.alert ("R5 "); DBG.alert (unsigned_32'image (frame_a.all.R5)); DBG.newline; DBG.alert ("R6 "); DBG.alert (unsigned_32'image (frame_a.all.R6)); DBG.newline; DBG.alert ("R7 "); DBG.alert (unsigned_32'image (frame_a.all.R7)); DBG.newline; DBG.alert ("R8 "); DBG.alert (unsigned_32'image (frame_a.all.R8)); DBG.newline; DBG.alert ("R9 "); DBG.alert (unsigned_32'image (frame_a.all.R9)); DBG.newline; DBG.alert ("R10 "); DBG.alert (unsigned_32'image (frame_a.all.R10)); DBG.newline; DBG.alert ("R11 "); DBG.alert (unsigned_32'image (frame_a.all.R11)); DBG.newline; DBG.alert ("R12 "); DBG.alert (unsigned_32'image (frame_a.all.R12)); DBG.newline; DBG.alert ("PC "); DBG.alert (unsigned_32'image (frame_a.all.PC)); DBG.newline; DBG.alert ("LR "); DBG.alert (unsigned_32'image (frame_a.all.LR)); DBG.newline; DBG.alert ("PSR "); DBG.alert (unsigned_32'image (m4.cpu.to_unsigned_32 (frame_a.all.PSR))); DBG.newline; end crashdump; end ewok.tasks.debug;