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_Output_Pins is
-------------------
-- Enter_Element --
-------------------
overriding procedure Enter_Element
(Self : not null access constant UML_Output_Pin_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_Output_Pin
(AMF.UML.Output_Pins.UML_Output_Pin_Access (Self),
Control);
end if;
end Enter_Element;
-------------------
-- Leave_Element --
-------------------
overriding procedure Leave_Element
(Self : not null access constant UML_Output_Pin_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_Output_Pin
(AMF.UML.Output_Pins.UML_Output_Pin_Access (Self),
Control);
end if;
end Leave_Element;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : not null access constant UML_Output_Pin_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_Output_Pin
(Visitor,
AMF.UML.Output_Pins.UML_Output_Pin_Access (Self),
Control);
end if;
end Visit_Element;
--------------------
-- Get_Is_Control --
--------------------
overriding function Get_Is_Control
(Self : not null access constant UML_Output_Pin_Proxy)
return Boolean is
begin
return
AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Control
(Self.Element);
end Get_Is_Control;
--------------------
-- Set_Is_Control --
--------------------
overriding procedure Set_Is_Control
(Self : not null access UML_Output_Pin_Proxy;
To : Boolean) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Control
(Self.Element, To);
end Set_Is_Control;
------------------
-- Get_In_State --
------------------
overriding function Get_In_State
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.States.Collections.Set_Of_UML_State is
begin
return
AMF.UML.States.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_State
(Self.Element)));
end Get_In_State;
-------------------------
-- Get_Is_Control_Type --
-------------------------
overriding function Get_Is_Control_Type
(Self : not null access constant UML_Output_Pin_Proxy)
return Boolean is
begin
return
AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Control_Type
(Self.Element);
end Get_Is_Control_Type;
-------------------------
-- Set_Is_Control_Type --
-------------------------
overriding procedure Set_Is_Control_Type
(Self : not null access UML_Output_Pin_Proxy;
To : Boolean) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Control_Type
(Self.Element, To);
end Set_Is_Control_Type;
------------------
-- Get_Ordering --
------------------
overriding function Get_Ordering
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.UML_Object_Node_Ordering_Kind is
begin
return
AMF.Internals.Tables.UML_Attributes.Internal_Get_Ordering
(Self.Element);
end Get_Ordering;
------------------
-- Set_Ordering --
------------------
overriding procedure Set_Ordering
(Self : not null access UML_Output_Pin_Proxy;
To : AMF.UML.UML_Object_Node_Ordering_Kind) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Ordering
(Self.Element, To);
end Set_Ordering;
-------------------
-- Get_Selection --
-------------------
overriding function Get_Selection
(Self : not null access constant UML_Output_Pin_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_Selection
(Self.Element)));
end Get_Selection;
-------------------
-- Set_Selection --
-------------------
overriding procedure Set_Selection
(Self : not null access UML_Output_Pin_Proxy;
To : AMF.UML.Behaviors.UML_Behavior_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Selection
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Selection;
---------------------
-- Get_Upper_Bound --
---------------------
overriding function Get_Upper_Bound
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Value_Specifications.UML_Value_Specification_Access is
begin
return
AMF.UML.Value_Specifications.UML_Value_Specification_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Upper_Bound
(Self.Element)));
end Get_Upper_Bound;
---------------------
-- Set_Upper_Bound --
---------------------
overriding procedure Set_Upper_Bound
(Self : not null access UML_Output_Pin_Proxy;
To : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Upper_Bound
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Upper_Bound;
------------------
-- Get_Activity --
------------------
overriding function Get_Activity
(Self : not null access constant UML_Output_Pin_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_Activity
(Self.Element)));
end Get_Activity;
------------------
-- Set_Activity --
------------------
overriding procedure Set_Activity
(Self : not null access UML_Output_Pin_Proxy;
To : AMF.UML.Activities.UML_Activity_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Activity
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Activity;
------------------
-- Get_In_Group --
------------------
overriding function Get_In_Group
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Activity_Groups.Collections.Set_Of_UML_Activity_Group is
begin
return
AMF.UML.Activity_Groups.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Group
(Self.Element)));
end Get_In_Group;
---------------------------------
-- Get_In_Interruptible_Region --
---------------------------------
overriding function Get_In_Interruptible_Region
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Interruptible_Activity_Regions.Collections.Set_Of_UML_Interruptible_Activity_Region is
begin
return
AMF.UML.Interruptible_Activity_Regions.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Interruptible_Region
(Self.Element)));
end Get_In_Interruptible_Region;
----------------------
-- Get_In_Partition --
----------------------
overriding function Get_In_Partition
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Activity_Partitions.Collections.Set_Of_UML_Activity_Partition is
begin
return
AMF.UML.Activity_Partitions.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Partition
(Self.Element)));
end Get_In_Partition;
----------------------------
-- Get_In_Structured_Node --
----------------------------
overriding function Get_In_Structured_Node
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access is
begin
return
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Structured_Node
(Self.Element)));
end Get_In_Structured_Node;
----------------------------
-- Set_In_Structured_Node --
----------------------------
overriding procedure Set_In_Structured_Node
(Self : not null access UML_Output_Pin_Proxy;
To : AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_In_Structured_Node
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_In_Structured_Node;
------------------
-- Get_Incoming --
------------------
overriding function Get_Incoming
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is
begin
return
AMF.UML.Activity_Edges.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Incoming
(Self.Element)));
end Get_Incoming;
------------------
-- Get_Outgoing --
------------------
overriding function Get_Outgoing
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is
begin
return
AMF.UML.Activity_Edges.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Outgoing
(Self.Element)));
end Get_Outgoing;
------------------------
-- Get_Redefined_Node --
------------------------
overriding function Get_Redefined_Node
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Activity_Nodes.Collections.Set_Of_UML_Activity_Node is
begin
return
AMF.UML.Activity_Nodes.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Node
(Self.Element)));
end Get_Redefined_Node;
-----------------
-- Get_Is_Leaf --
-----------------
overriding function Get_Is_Leaf
(Self : not null access constant UML_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_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;
---------------------------
-- Get_Client_Dependency --
---------------------------
overriding function Get_Client_Dependency
(Self : not null access constant UML_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_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_Type --
--------------
overriding function Get_Type
(Self : not null access constant UML_Output_Pin_Proxy)
return AMF.UML.Types.UML_Type_Access is
begin
return
AMF.UML.Types.UML_Type_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Type
(Self.Element)));
end Get_Type;
--------------
-- Set_Type --
--------------
overriding procedure Set_Type
(Self : not null access UML_Output_Pin_Proxy;
To : AMF.UML.Types.UML_Type_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Type
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Type;
------------------------
-- Is_Consistent_With --
------------------------
overriding function Is_Consistent_With
(Self : not null access constant UML_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_Proxy.Is_Redefinition_Context_Valid";
return Is_Redefinition_Context_Valid (Self, Redefined);
end Is_Redefinition_Context_Valid;
-------------------------
-- All_Owning_Packages --
-------------------------
overriding function All_Owning_Packages
(Self : not null access constant UML_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_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_Output_Pin_Proxy.Namespace";
return Namespace (Self);
end Namespace;
---------------------
-- Compatible_With --
---------------------
overriding function Compatible_With
(Self : not null access constant UML_Output_Pin_Proxy;
Other : AMF.UML.Multiplicity_Elements.UML_Multiplicity_Element_Access)
return Boolean is
begin
-- Generated stub: replace with real body!
pragma Compile_Time_Warning (Standard.True, "Compatible_With unimplemented");
raise Program_Error with "Unimplemented procedure UML_Output_Pin_Proxy.Compatible_With";
return Compatible_With (Self, Other);
end Compatible_With;
--------------------------
-- Includes_Cardinality --
--------------------------
overriding function Includes_Cardinality
(Self : not null access constant UML_Output_Pin_Proxy;
C : Integer)
return Boolean is
begin
-- Generated stub: replace with real body!
pragma Compile_Time_Warning (Standard.True, "Includes_Cardinality unimplemented");
raise Program_Error with "Unimplemented procedure UML_Output_Pin_Proxy.Includes_Cardinality";
return Includes_Cardinality (Self, C);
end Includes_Cardinality;
---------------------------
-- Includes_Multiplicity --
---------------------------
overriding function Includes_Multiplicity
(Self : not null access constant UML_Output_Pin_Proxy;
M : AMF.UML.Multiplicity_Elements.UML_Multiplicity_Element_Access)
return Boolean is
begin
-- Generated stub: replace with real body!
pragma Compile_Time_Warning (Standard.True, "Includes_Multiplicity unimplemented");
raise Program_Error with "Unimplemented procedure UML_Output_Pin_Proxy.Includes_Multiplicity";
return Includes_Multiplicity (Self, M);
end Includes_Multiplicity;
---------
-- Iss --
---------
overriding function Iss
(Self : not null access constant UML_Output_Pin_Proxy;
Lowerbound : Integer;
Upperbound : Integer)
return Boolean is
begin
-- Generated stub: replace with real body!
pragma Compile_Time_Warning (Standard.True, "Iss unimplemented");
raise Program_Error with "Unimplemented procedure UML_Output_Pin_Proxy.Iss";
return Iss (Self, Lowerbound, Upperbound);
end Iss;
end AMF.Internals.UML_Output_Pins;
|
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Clauses;
with Program.Elements.Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Simple_Expression_Ranges;
package Program.Elements.Component_Clauses is
pragma Pure (Program.Elements.Component_Clauses);
type Component_Clause is
limited interface and Program.Elements.Clauses.Clause;
type Component_Clause_Access is access all Component_Clause'Class
with Storage_Size => 0;
not overriding function Clause_Name
(Self : Component_Clause)
return not null Program.Elements.Identifiers.Identifier_Access
is abstract;
not overriding function Position
(Self : Component_Clause)
return not null Program.Elements.Expressions.Expression_Access
is abstract;
not overriding function Clause_Range
(Self : Component_Clause)
return not null Program.Elements.Simple_Expression_Ranges
.Simple_Expression_Range_Access is abstract;
type Component_Clause_Text is limited interface;
type Component_Clause_Text_Access is access all Component_Clause_Text'Class
with Storage_Size => 0;
not overriding function To_Component_Clause_Text
(Self : aliased in out Component_Clause)
return Component_Clause_Text_Access is abstract;
not overriding function At_Token
(Self : Component_Clause_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Range_Token
(Self : Component_Clause_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Semicolon_Token
(Self : Component_Clause_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
type Component_Clause_Vector is
limited interface and Program.Element_Vectors.Element_Vector;
type Component_Clause_Vector_Access is
access all Component_Clause_Vector'Class with Storage_Size => 0;
overriding function Element
(Self : Component_Clause_Vector;
Index : Positive)
return not null Program.Elements.Element_Access is abstract
with Post'Class => Element'Result.Is_Component_Clause;
function To_Component_Clause
(Self : Component_Clause_Vector'Class;
Index : Positive)
return not null Component_Clause_Access
is (Self.Element (Index).To_Component_Clause);
end Program.Elements.Component_Clauses;
|
with System.Pool_Local;
package body Actors is
-- Pool used to store/free components used for actors
component_pool : System.Pool_Local.Unbounded_Reclaim_Pool;
-- All orcs have same attack component, so we can share it between them
orc_attacker_comp : aliased Attacker := (power => 3);
troll_attacker_comp : aliased Attacker := (power => 4);
type Attacker_Ptr is access Attacker
with Storage_Pool => component_pool;
type Destructible_Ptr is access Destructible'Class
with Storage_Pool => component_pool;
type AI_Ptr is access AI'Class
with Storage_Pool => component_pool;
function make_player(x : Maps.X_Pos; y : Maps.Y_Pos;
name : String; defense_stat : Defense;
power, hp, max_hp : Health) return Actor is
attacker_comp : Attacker_Ptr := new Attacker'(power => power);
destructible_comp : Destructible_Ptr := new Player_Destructible'(max_hp => max_hp, hp => hp,
defense_stat => defense_stat);
ai_comp : AI_Ptr := new Player_AI;
begin
return result : Actor := (name => Actor_Names.To_Bounded_String(name),
x => x, y => y, ch => '@', color => Color.yellow, blocks => True,
attacker => attacker_comp,
destructible => destructible_comp,
ai => ai_comp);
end make_player;
function make_orc(x : Maps.X_Pos; y : Maps.Y_Pos) return Actor is
destructible_comp : Destructible_Ptr := new Monster_Destructible'(max_hp => 10, hp => 10,
defense_stat => 0);
ai_comp : AI_Ptr := new Monster_AI;
begin
return result : Actor := (name => Actor_Names.To_Bounded_String("Orc"),
x => x, y => y, ch => 'o', color => Color.desaturated_green,
blocks => True,
attacker => orc_attacker_comp'Unchecked_Access,
destructible => destructible_comp,
ai => ai_comp);
end make_orc;
function make_troll(x : Maps.X_Pos; y : Maps.Y_Pos) return Actor is
destructible_comp : Destructible_Ptr := new Monster_Destructible'(max_hp => 16, hp => 16,
defense_stat => 1);
ai_comp : AI_Ptr := new Monster_AI;
begin
return result : Actor := (name => Actor_Names.To_Bounded_String("Troll"),
x => x, y => y, ch => 'T', color => Color.darker_green,
blocks => True,
attacker => troll_attacker_comp'Unchecked_Access,
destructible => destructible_comp,
ai => ai_comp);
end make_troll;
function make_monster(x : Maps.X_Pos; y : Maps.Y_Pos; ch : Wide_Character;
name : String; color : RGB_Color;
defense_stat : Defense;
power, hp, max_hp : Health) return Actor is
attacker_comp : Attacker_Ptr := new Attacker'(power => power);
destructible_comp : Destructible_Ptr := new Monster_Destructible'(max_hp => max_hp, hp => hp,
defense_stat => defense_stat);
ai_comp : AI_Ptr := new Monster_AI;
begin
return result : Actor := (name => Actor_Names.To_Bounded_String(name),
x => x, y => y, ch => ch, color => color, blocks => True,
attacker => attacker_comp,
destructible => destructible_comp,
ai => ai_comp);
end make_monster;
function get_name(self : Actor) return String is (Actor_Names.To_String(self.name));
procedure render(self : Actor; screen : in out Console.Screen) is
begin
screen.put_char(Console.X_Pos(self.x), Console.Y_Pos(self.y), self.ch);
screen.set_char_fg(Console.X_Pos(self.x), Console.Y_Pos(self.y), self.color);
end render;
procedure update(self : in out Actor; engine : in out Engines.Engine) is
begin
if self.is_ai then
self.ai.update(self, engine);
end if;
end update;
end Actors;
|
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
package stdint_h is
INT8_MIN : constant := (-128); -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:76
INT16_MIN : constant := (-32768); -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:77
INT32_MIN : constant := (-2147483647 - 1); -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:78
INT64_MIN : constant := (-9223372036854775807 - 1); -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:79
INT8_MAX : constant := 127; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:81
INT16_MAX : constant := 32767; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:82
INT32_MAX : constant := 2147483647; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:83
INT64_MAX : constant := 9223372036854775807; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:84
UINT8_MAX : constant := 255; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:86
UINT16_MAX : constant := 65535; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:87
UINT32_MAX : constant := 16#ffffffff#; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:88
UINT64_MAX : constant := 16#ffffffffffffffff#; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:89
-- unsupported macro: INT_LEAST8_MIN INT8_MIN
-- unsupported macro: INT_LEAST16_MIN INT16_MIN
-- unsupported macro: INT_LEAST32_MIN INT32_MIN
-- unsupported macro: INT_LEAST64_MIN INT64_MIN
-- unsupported macro: INT_LEAST8_MAX INT8_MAX
-- unsupported macro: INT_LEAST16_MAX INT16_MAX
-- unsupported macro: INT_LEAST32_MAX INT32_MAX
-- unsupported macro: INT_LEAST64_MAX INT64_MAX
-- unsupported macro: UINT_LEAST8_MAX UINT8_MAX
-- unsupported macro: UINT_LEAST16_MAX UINT16_MAX
-- unsupported macro: UINT_LEAST32_MAX UINT32_MAX
-- unsupported macro: UINT_LEAST64_MAX UINT64_MAX
-- unsupported macro: INT_FAST8_MIN INT8_MIN
-- unsupported macro: INT_FAST16_MIN INT16_MIN
-- unsupported macro: INT_FAST32_MIN INT32_MIN
-- unsupported macro: INT_FAST64_MIN INT64_MIN
-- unsupported macro: INT_FAST8_MAX INT8_MAX
-- unsupported macro: INT_FAST16_MAX INT16_MAX
-- unsupported macro: INT_FAST32_MAX INT32_MAX
-- unsupported macro: INT_FAST64_MAX INT64_MAX
-- unsupported macro: UINT_FAST8_MAX UINT8_MAX
-- unsupported macro: UINT_FAST16_MAX UINT16_MAX
-- unsupported macro: UINT_FAST32_MAX UINT32_MAX
-- unsupported macro: UINT_FAST64_MAX UINT64_MAX
-- unsupported macro: INTPTR_MIN INT64_MIN
-- unsupported macro: INTPTR_MAX INT64_MAX
-- unsupported macro: UINTPTR_MAX UINT64_MAX
-- unsupported macro: INTMAX_MIN INT64_MIN
-- unsupported macro: INTMAX_MAX INT64_MAX
-- unsupported macro: UINTMAX_MAX UINT64_MAX
-- unsupported macro: PTRDIFF_MIN INT64_MIN
-- unsupported macro: PTRDIFF_MAX INT64_MAX
-- unsupported macro: SIG_ATOMIC_MIN INT32_MIN
-- unsupported macro: SIG_ATOMIC_MAX INT32_MAX
-- unsupported macro: SIZE_MAX UINT64_MAX
WCHAR_MIN : constant := 0; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:161
WCHAR_MAX : constant := 16#ffff#; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:162
WINT_MIN : constant := 0; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:168
WINT_MAX : constant := 16#ffff#; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:169
-- arg-macro: function INT8_C (val)
-- return INT_LEAST8_MAX-INT_LEAST8_MAX+(val);
-- arg-macro: function INT16_C (val)
-- return INT_LEAST16_MAX-INT_LEAST16_MAX+(val);
-- arg-macro: function INT32_C (val)
-- return INT_LEAST32_MAX-INT_LEAST32_MAX+(val);
-- unsupported macro: INT64_C(val) val ##LL
-- arg-macro: function UINT8_C (val)
-- return val;
-- arg-macro: function UINT16_C (val)
-- return val;
-- unsupported macro: UINT32_C(val) (val ##U)
-- unsupported macro: UINT64_C(val) val ##ULL
-- unsupported macro: INTMAX_C(val) val ##LL
-- unsupported macro: UINTMAX_C(val) val ##ULL
--*
-- * This file has no copyright assigned and is placed in the Public Domain.
-- * This file is part of the mingw-w64 runtime package.
-- * No warranty is given; refer to the file DISCLAIMER.PD within this package.
--
-- ISO C9x 7.18 Integer types <stdint.h>
-- * Based on ISO/IEC SC22/WG14 9899 Committee draft (SC22 N2794)
-- *
-- * THIS SOFTWARE IS NOT COPYRIGHTED
-- *
-- * Contributor: Danny Smith <danny_r_smith_2001@yahoo.co.nz>
-- *
-- * This source code is offered for use in the public domain. You may
-- * use, modify or distribute it freely.
-- *
-- * This code is distributed in the hope that it will be useful but
-- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
-- * DISCLAIMED. This includes but is not limited to warranties of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- *
-- * Date: 2000-12-02
--
-- 7.18.1.1 Exact-width integer types
subtype int8_t is signed_char; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:35
subtype uint8_t is unsigned_char; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:36
subtype int16_t is short; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:37
subtype uint16_t is unsigned_short; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:38
subtype int32_t is int; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:39
subtype uint32_t is unsigned; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:40
subtype int64_t is Long_Long_Integer; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:41
subtype uint64_t is Extensions.unsigned_long_long; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:42
-- 7.18.1.2 Minimum-width integer types
subtype int_least8_t is signed_char; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:45
subtype uint_least8_t is unsigned_char; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:46
subtype int_least16_t is short; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:47
subtype uint_least16_t is unsigned_short; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:48
subtype int_least32_t is int; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:49
subtype uint_least32_t is unsigned; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:50
subtype int_least64_t is Long_Long_Integer; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:51
subtype uint_least64_t is Extensions.unsigned_long_long; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:52
-- 7.18.1.3 Fastest minimum-width integer types
-- * Not actually guaranteed to be fastest for all purposes
-- * Here we use the exact-width types for 8 and 16-bit ints.
--
subtype int_fast8_t is signed_char; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:58
subtype uint_fast8_t is unsigned_char; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:59
subtype int_fast16_t is short; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:60
subtype uint_fast16_t is unsigned_short; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:61
subtype int_fast32_t is int; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:62
subtype uint_fast32_t is unsigned; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:63
subtype int_fast64_t is Long_Long_Integer; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:64
subtype uint_fast64_t is Extensions.unsigned_long_long; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:65
-- 7.18.1.5 Greatest-width integer types
subtype intmax_t is Long_Long_Integer; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:68
subtype uintmax_t is Extensions.unsigned_long_long; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:69
-- 7.18.2 Limits of specified-width integer types
-- 7.18.2.1 Limits of exact-width integer types
-- 7.18.2.2 Limits of minimum-width integer types
-- 7.18.2.3 Limits of fastest minimum-width integer types
-- 7.18.2.4 Limits of integer types capable of holding
-- object pointers
-- 7.18.2.5 Limits of greatest-width integer types
-- 7.18.3 Limits of other integer types
-- * wint_t is unsigned short for compatibility with MS runtime
--
-- 7.18.4 Macros for integer constants
-- 7.18.4.1 Macros for minimum-width integer constants
-- Accoding to Douglas Gwyn <gwyn@arl.mil>:
-- "This spec was changed in ISO/IEC 9899:1999 TC1; in ISO/IEC
-- 9899:1999 as initially published, the expansion was required
-- to be an integer constant of precisely matching type, which
-- is impossible to accomplish for the shorter types on most
-- platforms, because C99 provides no standard way to designate
-- an integer constant with width less than that of type int.
-- TC1 changed this to require just an integer constant
-- *expression* with *promoted* type."
-- The trick used here is from Clive D W Feather.
--
-- The 'trick' doesn't work in C89 for long long because, without
-- suffix, (val) will be evaluated as int, not intmax_t
-- 7.18.4.2 Macros for greatest-width integer constants
end stdint_h;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . T E X T _ I O . M O D U L A R _ I O --
-- --
-- S p e c --
-- --
-- Copyright (C) 1993-2009, 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. --
-- --
-- --
-- --
-- --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
-- In Ada 95, the package Ada.Text_IO.Modular_IO is a subpackage of Text_IO.
-- This is for compatibility with Ada 83. In GNAT we make it a child package
-- to avoid loading the necessary code if Modular_IO is not instantiated. See
-- routine Rtsfind.Text_IO_Kludge for a description of how we patch up the
-- difference in semantics so that it is invisible to the Ada programmer.
private generic
type Num is mod <>;
package Ada.Text_IO.Modular_IO is
Default_Width : Field := Num'Width;
Default_Base : Number_Base := 10;
procedure Get
(File : File_Type;
Item : out Num;
Width : Field := 0);
procedure Get
(Item : out Num;
Width : Field := 0);
procedure Put
(File : File_Type;
Item : Num;
Width : Field := Default_Width;
Base : Number_Base := Default_Base);
procedure Put
(Item : Num;
Width : Field := Default_Width;
Base : Number_Base := Default_Base);
procedure Get
(From : String;
Item : out Num;
Last : out Positive);
procedure Put
(To : out String;
Item : Num;
Base : Number_Base := Default_Base);
private
pragma Inline (Get);
pragma Inline (Put);
end Ada.Text_IO.Modular_IO;
|
-----------------------------------------------------------------------
-- serialize-io-json-tests -- Unit tests for JSON parser
-- Copyright (C) 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.
-----------------------------------------------------------------------
with Util.Test_Caller;
with Util.Log.Loggers;
package body Util.Serialize.IO.JSON.Tests is
use Util.Log;
Log : constant Loggers.Logger := Loggers.Create ("Util.Serialize.IO.JSON");
package Caller is new Util.Test_Caller (Test, "Serialize.IO.JSON");
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is
begin
Caller.Add_Test (Suite, "Test Util.Serialize.IO.JSON.Parse (parse errors)",
Test_Parse_Error'Access);
Caller.Add_Test (Suite, "Test Util.Serialize.IO.JSON.Parse (parse Ok)",
Test_Parser'Access);
end Add_Tests;
-- ------------------------------
-- Check various JSON parsing errors.
-- ------------------------------
procedure Test_Parse_Error (T : in out Test) is
pragma Unreferenced (T);
procedure Check_Parse_Error (Content : in String);
procedure Check_Parse_Error (Content : in String) is
P : Parser;
begin
P.Parse_String (Content);
Log.Error ("No exception raised for: {0}", Content);
exception
when Parse_Error =>
null;
end Check_Parse_Error;
begin
Check_Parse_Error ("{ ""person"":23");
Check_Parse_Error ("{ person: 23]");
Check_Parse_Error ("[ }");
Check_Parse_Error ("{[]}");
Check_Parse_Error ("{");
Check_Parse_Error ("{[");
Check_Parse_Error ("{ ""person");
Check_Parse_Error ("{ ""person"":");
Check_Parse_Error ("{ ""person"":""asf");
Check_Parse_Error ("{ ""person"":""asf""");
Check_Parse_Error ("{ ""person"":""asf"",");
Check_Parse_Error ("{ ""person"":""\uze""}");
Check_Parse_Error ("{ ""person"":""\u012-""}");
Check_Parse_Error ("{ ""person"":""\u012G""}");
end Test_Parse_Error;
-- ------------------------------
-- Check various (basic) JSON valid strings (no mapper).
-- ------------------------------
procedure Test_Parser (T : in out Test) is
pragma Unreferenced (T);
procedure Check_Parse (Content : in String);
procedure Check_Parse (Content : in String) is
P : Parser;
begin
P.Parse_String (Content);
exception
when Parse_Error =>
Log.Error ("Parse error for: " & Content);
raise;
end Check_Parse;
begin
Check_Parse ("{ ""person"":23}");
Check_Parse ("{ }");
Check_Parse ("{""person"":""asf""}");
Check_Parse ("{""person"":""asf"",""age"":""2""}");
Check_Parse ("{ ""person"":""\u0123""}");
Check_Parse ("{ ""person"":""\u4567""}");
Check_Parse ("{ ""person"":""\u89ab""}");
Check_Parse ("{ ""person"":""\ucdef""}");
Check_Parse ("{ ""person"":""\u1CDE""}");
Check_Parse ("{ ""person"":""\u2ABF""}");
end Test_Parser;
end Util.Serialize.IO.JSON.Tests;
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="14">
<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>call_Loop_LB2D_shift</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>2</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>slice_stream_V_value_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo class_id="6" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_stream.V.value.V</originalName>
<rtlName/>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<direction>0</direction>
<if_type>3</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>out_stream_V_value_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>out_stream.V.value.V</originalName>
<rtlName/>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</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>36</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_3">
<Value>
<Obj>
<type>0</type>
<id>3</id>
<name>buffer_1_value_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>buffer[1].value.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_4">
<Value>
<Obj>
<type>0</type>
<id>4</id>
<name>buffer_0_value_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>buffer[0].value.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>63</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_5">
<Value>
<Obj>
<type>0</type>
<id>9</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_6">
<Value>
<Obj>
<type>0</type>
<id>11</id>
<name>n1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>n1</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>65</item>
<item>66</item>
<item>68</item>
<item>69</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>12</id>
<name>tmp_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="11" tracking_level="0" version="0">
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</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>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_1_fu_115_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>70</item>
<item>72</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>14</id>
<name>n1_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>n1</originalName>
<rtlName>n1_1_fu_121_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>73</item>
<item>75</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>76</item>
<item>77</item>
<item>78</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>92</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>21</id>
<name>i_0_i_i</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>80</item>
<item>81</item>
<item>82</item>
<item>83</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name>tmp_3</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_3_fu_127_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>84</item>
<item>86</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>24</id>
<name>i</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName>i_fu_133_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>87</item>
<item>88</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>25</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>89</item>
<item>90</item>
<item>91</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>30</id>
<name>tmp_value_V_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>40</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>40</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.value.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>100</item>
<item>101</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>tmp</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_fu_139_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>10</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>103</item>
<item>104</item>
<item>105</item>
<item>107</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>32</id>
<name>icmp</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>icmp_fu_149_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>108</item>
<item>110</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>111</item>
<item>112</item>
<item>113</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>35</id>
<name>buffer_1_value_V_lo_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>36</id>
<name>buffer_0_value_V_lo</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>37</id>
<name>tmp_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_2_fu_161_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name>tmp_4</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_4_fu_165_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>39</id>
<name>tmp_5</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_5_fu_169_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>118</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>40</id>
<name>p_Result_5_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_Result_5_1_fu_173_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>120</item>
<item>121</item>
<item>123</item>
<item>125</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>41</id>
<name>p_Result_5_1_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_Result_5_1_1_fu_183_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>126</item>
<item>127</item>
<item>128</item>
<item>129</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>42</id>
<name>p_Result_5_1_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_Result_5_1_2_fu_193_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>130</item>
<item>131</item>
<item>132</item>
<item>133</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>p_Result_5_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_Result_5_2_fu_203_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>134</item>
<item>135</item>
<item>137</item>
<item>139</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_28">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name>p_Result_5_2_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_Result_5_2_1_fu_213_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>140</item>
<item>141</item>
<item>142</item>
<item>143</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>45</id>
<name>p_Result_5_2_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_Result_5_2_2_fu_223_p4</rtlName>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>144</item>
<item>145</item>
<item>146</item>
<item>147</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>46</id>
<name>tmp_value_V</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.value.V</originalName>
<rtlName>out_stream_V_value_V_din</rtlName>
<coreName/>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<oprand_edges>
<count>10</count>
<item_version>0</item_version>
<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>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>47</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>52</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>52</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>160</item>
<item>161</item>
<item>162</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>48</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>53</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>53</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>163</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>50</id>
<name>buffer_1_value_V_lo</name>
<fileName>../../../lib_files/Stencil.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>operator=</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>37</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
<item>
<first>
<first>../../../lib_files/Stencil.h</first>
<second>operator=</second>
</first>
<second>75</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>93</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name/>
<fileName>../../../lib_files/Stencil.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>operator=</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>37</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
<item>
<first>
<first>../../../lib_files/Stencil.h</first>
<second>operator=</second>
</first>
<second>75</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>94</item>
<item>95</item>
<item>279</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>53</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>40</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>40</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>96</item>
<item>97</item>
<item>277</item>
<item>278</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>54</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>98</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>57</id>
<name/>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>59</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<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>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_39">
<Value>
<Obj>
<type>2</type>
<id>61</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_40">
<Value>
<Obj>
<type>2</type>
<id>67</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_41">
<Value>
<Obj>
<type>2</type>
<id>71</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1078</content>
</item>
<item class_id_reference="16" object_id="_42">
<Value>
<Obj>
<type>2</type>
<id>74</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_43">
<Value>
<Obj>
<type>2</type>
<id>85</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1920</content>
</item>
<item class_id_reference="16" object_id="_44">
<Value>
<Obj>
<type>2</type>
<id>106</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>10</content>
</item>
<item class_id_reference="16" object_id="_45">
<Value>
<Obj>
<type>2</type>
<id>109</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>10</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_46">
<Value>
<Obj>
<type>2</type>
<id>122</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>32</content>
</item>
<item class_id_reference="16" object_id="_47">
<Value>
<Obj>
<type>2</type>
<id>124</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>63</content>
</item>
<item class_id_reference="16" object_id="_48">
<Value>
<Obj>
<type>2</type>
<id>136</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>64</content>
</item>
<item class_id_reference="16" object_id="_49">
<Value>
<Obj>
<type>2</type>
<id>138</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>95</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_50">
<Obj>
<type>3</type>
<id>10</id>
<name>newFuncRoot</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>3</item>
<item>4</item>
<item>9</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_51">
<Obj>
<type>3</type>
<id>16</id>
<name>.preheader</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>11</item>
<item>12</item>
<item>14</item>
<item>15</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_52">
<Obj>
<type>3</type>
<id>20</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_53">
<Obj>
<type>3</type>
<id>26</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>21</item>
<item>22</item>
<item>24</item>
<item>25</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_54">
<Obj>
<type>3</type>
<id>34</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>30</item>
<item>31</item>
<item>32</item>
<item>33</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_55">
<Obj>
<type>3</type>
<id>49</id>
<name>.preheader.i.i.preheader.0</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>14</count>
<item_version>0</item_version>
<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>
</node_objs>
</item>
<item class_id_reference="18" object_id="_56">
<Obj>
<type>3</type>
<id>55</id>
<name>._crit_edge.i.i</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>50</item>
<item>52</item>
<item>53</item>
<item>54</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_57">
<Obj>
<type>3</type>
<id>58</id>
<name>linebuffer_1D<1920ul, 3ul, 1ul, 1ul, 1ul, 3ul, unsigned int>.exit</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>57</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_58">
<Obj>
<type>3</type>
<id>60</id>
<name>.exitStub</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>59</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>91</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_59">
<id>62</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>3</sink_obj>
</item>
<item class_id_reference="20" object_id="_60">
<id>63</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>4</sink_obj>
</item>
<item class_id_reference="20" object_id="_61">
<id>64</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>9</sink_obj>
</item>
<item class_id_reference="20" object_id="_62">
<id>65</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_63">
<id>66</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_64">
<id>68</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_65">
<id>69</id>
<edge_type>2</edge_type>
<source_obj>10</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_66">
<id>70</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_67">
<id>72</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_68">
<id>73</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>14</sink_obj>
</item>
<item class_id_reference="20" object_id="_69">
<id>75</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>14</sink_obj>
</item>
<item class_id_reference="20" object_id="_70">
<id>76</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_71">
<id>77</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_72">
<id>78</id>
<edge_type>2</edge_type>
<source_obj>60</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_73">
<id>79</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>57</sink_obj>
</item>
<item class_id_reference="20" object_id="_74">
<id>80</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_75">
<id>81</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_76">
<id>82</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_77">
<id>83</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_78">
<id>84</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_79">
<id>86</id>
<edge_type>1</edge_type>
<source_obj>85</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_80">
<id>87</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_81">
<id>88</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_82">
<id>89</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_83">
<id>90</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_84">
<id>91</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_85">
<id>92</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_86">
<id>93</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>50</sink_obj>
</item>
<item class_id_reference="20" object_id="_87">
<id>94</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_88">
<id>95</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_89">
<id>96</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_90">
<id>97</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_91">
<id>98</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>54</sink_obj>
</item>
<item class_id_reference="20" object_id="_92">
<id>101</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_93">
<id>104</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_94">
<id>105</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_95">
<id>107</id>
<edge_type>1</edge_type>
<source_obj>106</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_96">
<id>108</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>32</sink_obj>
</item>
<item class_id_reference="20" object_id="_97">
<id>110</id>
<edge_type>1</edge_type>
<source_obj>109</source_obj>
<sink_obj>32</sink_obj>
</item>
<item class_id_reference="20" object_id="_98">
<id>111</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_99">
<id>112</id>
<edge_type>2</edge_type>
<source_obj>49</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_100">
<id>113</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_101">
<id>114</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_102">
<id>115</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_103">
<id>116</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_104">
<id>117</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>38</sink_obj>
</item>
<item class_id_reference="20" object_id="_105">
<id>118</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>39</sink_obj>
</item>
<item class_id_reference="20" object_id="_106">
<id>121</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_107">
<id>123</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_108">
<id>125</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_109">
<id>127</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_110">
<id>128</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_111">
<id>129</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_112">
<id>131</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_113">
<id>132</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_114">
<id>133</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_115">
<id>135</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_116">
<id>137</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_117">
<id>139</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_118">
<id>141</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_119">
<id>142</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_120">
<id>143</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_121">
<id>145</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_122">
<id>146</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_123">
<id>147</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_124">
<id>150</id>
<edge_type>1</edge_type>
<source_obj>45</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_125">
<id>151</id>
<edge_type>1</edge_type>
<source_obj>44</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_126">
<id>152</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_127">
<id>153</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_128">
<id>154</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_129">
<id>155</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_130">
<id>156</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_131">
<id>157</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_132">
<id>158</id>
<edge_type>1</edge_type>
<source_obj>37</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_133">
<id>161</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>47</sink_obj>
</item>
<item class_id_reference="20" object_id="_134">
<id>162</id>
<edge_type>1</edge_type>
<source_obj>46</source_obj>
<sink_obj>47</sink_obj>
</item>
<item class_id_reference="20" object_id="_135">
<id>163</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>48</sink_obj>
</item>
<item class_id_reference="20" object_id="_136">
<id>266</id>
<edge_type>2</edge_type>
<source_obj>10</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_137">
<id>267</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>60</sink_obj>
</item>
<item class_id_reference="20" object_id="_138">
<id>268</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>20</sink_obj>
</item>
<item class_id_reference="20" object_id="_139">
<id>269</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_140">
<id>270</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>58</sink_obj>
</item>
<item class_id_reference="20" object_id="_141">
<id>271</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_142">
<id>272</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>55</sink_obj>
</item>
<item class_id_reference="20" object_id="_143">
<id>273</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>49</sink_obj>
</item>
<item class_id_reference="20" object_id="_144">
<id>274</id>
<edge_type>2</edge_type>
<source_obj>49</source_obj>
<sink_obj>55</sink_obj>
</item>
<item class_id_reference="20" object_id="_145">
<id>275</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_146">
<id>276</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_147">
<id>277</id>
<edge_type>4</edge_type>
<source_obj>50</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_148">
<id>278</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_149">
<id>279</id>
<edge_type>4</edge_type>
<source_obj>36</source_obj>
<sink_obj>52</sink_obj>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>7</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_150">
<mId>1</mId>
<mTag>call_Loop_LB2D_shift</mTag>
<mType>0</mType>
<sub_regions>
<count>3</count>
<item_version>0</item_version>
<item>2</item>
<item>3</item>
<item>7</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>2072995</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_151">
<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>10</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_152">
<mId>3</mId>
<mTag>LB2D_shift</mTag>
<mType>1</mType>
<sub_regions>
<count>3</count>
<item_version>0</item_version>
<item>4</item>
<item>5</item>
<item>6</item>
</sub_regions>
<basic_blocks>
<count>0</count>
<item_version>0</item_version>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>1078</mMinTripCount>
<mMaxTripCount>1078</mMaxTripCount>
<mMinLatency>2072994</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_153">
<mId>4</mId>
<mTag>Region 1</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>2</count>
<item_version>0</item_version>
<item>16</item>
<item>20</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_154">
<mId>5</mId>
<mTag>LB1D_shiftreg</mTag>
<mType>1</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>34</item>
<item>49</item>
<item>55</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>1920</mMinTripCount>
<mMaxTripCount>1920</mMaxTripCount>
<mMinLatency>1920</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_155">
<mId>6</mId>
<mTag>Region 2</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>58</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_156">
<mId>7</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>60</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
</cdfg_regions>
<fsm class_id="24" tracking_level="1" version="0" object_id="_157">
<states class_id="25" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="26" tracking_level="1" version="0" object_id="_158">
<id>1</id>
<operations class_id="27" tracking_level="0" version="0">
<count>7</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="1" version="0" object_id="_159">
<id>3</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_160">
<id>4</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_161">
<id>5</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_162">
<id>6</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_163">
<id>7</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_164">
<id>8</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_165">
<id>9</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_166">
<id>2</id>
<operations>
<count>9</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_167">
<id>11</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_168">
<id>12</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_169">
<id>13</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_170">
<id>14</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_171">
<id>15</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_172">
<id>17</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_173">
<id>18</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_174">
<id>19</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_175">
<id>59</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_176">
<id>3</id>
<operations>
<count>8</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_177">
<id>21</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_178">
<id>22</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_179">
<id>23</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_180">
<id>24</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_181">
<id>25</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_182">
<id>31</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_183">
<id>32</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_184">
<id>33</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_185">
<id>4</id>
<operations>
<count>23</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_186">
<id>27</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_187">
<id>28</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_188">
<id>29</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_189">
<id>30</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_190">
<id>35</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_191">
<id>36</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_192">
<id>37</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_193">
<id>38</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_194">
<id>39</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_195">
<id>40</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_196">
<id>41</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_197">
<id>42</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_198">
<id>43</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_199">
<id>44</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_200">
<id>45</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_201">
<id>46</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_202">
<id>47</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_203">
<id>48</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_204">
<id>50</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_205">
<id>51</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_206">
<id>52</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_207">
<id>53</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_208">
<id>54</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_209">
<id>5</id>
<operations>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_210">
<id>56</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_211">
<id>57</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
</states>
<transitions class_id="29" tracking_level="0" version="0">
<count>6</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="1" version="0" object_id="_212">
<inState>1</inState>
<outState>2</outState>
<condition class_id="31" tracking_level="0" version="0">
<id>30</id>
<sop class_id="32" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_213">
<inState>2</inState>
<outState>3</outState>
<condition>
<id>32</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item class_id="34" tracking_level="0" version="0">
<first class_id="35" tracking_level="0" version="0">
<first>12</first>
<second>0</second>
</first>
<second>1</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_214">
<inState>5</inState>
<outState>2</outState>
<condition>
<id>40</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="30" object_id="_215">
<inState>4</inState>
<outState>3</outState>
<condition>
<id>42</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="30" object_id="_216">
<inState>3</inState>
<outState>5</outState>
<condition>
<id>41</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>22</first>
<second>0</second>
</first>
<second>0</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_217">
<inState>3</inState>
<outState>4</outState>
<condition>
<id>43</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>22</first>
<second>0</second>
</first>
<second>1</second>
</item>
</item>
</sop>
</condition>
</item>
</transitions>
</fsm>
<res class_id="36" tracking_level="1" version="0" object_id="_218">
<dp_component_resource class_id="37" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_component_resource>
<dp_expression_resource>
<count>10</count>
<item_version>0</item_version>
<item class_id="38" tracking_level="0" version="0">
<first>ap_block_pp0_stage0_flag00001001 ( and ) </first>
<second class_id="39" tracking_level="0" version="0">
<count>4</count>
<item_version>0</item_version>
<item class_id="40" tracking_level="0" version="0">
<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>2</second>
</item>
</second>
</item>
<item>
<first>ap_block_state1 ( 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>2</second>
</item>
</second>
</item>
<item>
<first>ap_block_state4_pp0_stage0_iter1 ( 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>2</second>
</item>
</second>
</item>
<item>
<first>ap_enable_pp0 ( xor ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>2</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>ap_enable_reg_pp0_iter1 ( xor ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>2</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>i_fu_133_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>11</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>38</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>icmp_fu_149_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>10</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>5</second>
</item>
</second>
</item>
<item>
<first>n1_1_fu_121_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>11</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>38</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>tmp_1_fu_115_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>11</second>
</item>
<item>
<first>(1P1)</first>
<second>11</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>6</second>
</item>
</second>
</item>
<item>
<first>tmp_3_fu_127_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>11</second>
</item>
<item>
<first>(1P1)</first>
<second>9</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>6</second>
</item>
</second>
</item>
</dp_expression_resource>
<dp_fifo_resource>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_resource>
<dp_memory_resource>
<count>0</count>
<item_version>0</item_version>
</dp_memory_resource>
<dp_multiplexer_resource>
<count>7</count>
<item_version>0</item_version>
<item>
<first>ap_NS_fsm</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>5</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>5</second>
</item>
<item>
<first>LUT</first>
<second>27</second>
</item>
</second>
</item>
<item>
<first>ap_done</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_enable_reg_pp0_iter1</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>15</second>
</item>
</second>
</item>
<item>
<first>i_0_i_i_reg_104</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>11</second>
</item>
<item>
<first>(2Count)</first>
<second>22</second>
</item>
<item>
<first>LUT</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>n1_reg_93</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>11</second>
</item>
<item>
<first>(2Count)</first>
<second>22</second>
</item>
<item>
<first>LUT</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>out_stream_V_value_V_blk_n</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>slice_stream_V_value_V_blk_n</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>11</count>
<item_version>0</item_version>
<item>
<first>ap_CS_fsm</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>ap_done_reg</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_enable_reg_pp0_iter0</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_enable_reg_pp0_iter1</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>buffer_0_value_V_fu_76</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>96</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>96</second>
</item>
</second>
</item>
<item>
<first>buffer_1_value_V_fu_72</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>96</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>96</second>
</item>
</second>
</item>
<item>
<first>i_0_i_i_reg_104</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>11</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>11</second>
</item>
</second>
</item>
<item>
<first>icmp_reg_300</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>n1_1_reg_286</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>11</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>11</second>
</item>
</second>
</item>
<item>
<first>n1_reg_93</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>11</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>11</second>
</item>
</second>
</item>
<item>
<first>tmp_3_reg_291</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_component_map class_id="41" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_component_map>
<dp_expression_map>
<count>5</count>
<item_version>0</item_version>
<item class_id="42" tracking_level="0" version="0">
<first>i_fu_133_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>icmp_fu_149_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>32</item>
</second>
</item>
<item>
<first>n1_1_fu_121_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>14</item>
</second>
</item>
<item>
<first>tmp_1_fu_115_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>tmp_3_fu_127_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
</dp_expression_map>
<dp_fifo_map>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_map>
<dp_memory_map>
<count>0</count>
<item_version>0</item_version>
</dp_memory_map>
</res>
<node_label_latency class_id="43" tracking_level="0" version="0">
<count>36</count>
<item_version>0</item_version>
<item class_id="44" tracking_level="0" version="0">
<first>3</first>
<second class_id="45" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>4</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>9</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>11</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>12</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>14</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>15</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>21</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>24</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>25</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>30</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>32</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>39</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>40</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>41</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>42</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>45</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>47</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>48</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>50</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>3</first>
<second>0</second>
</second>
</item>
<item>
<first>54</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="46" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="47" tracking_level="0" version="0">
<first>10</first>
<second class_id="48" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>16</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>26</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>2</first>
<second>3</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>55</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="49" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="50" tracking_level="1" version="0" object_id="_219">
<region_name>LB1D_shiftreg</region_name>
<basic_blocks>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>34</item>
<item>49</item>
<item>55</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>2</pipe_depth>
</item>
</regions>
<dp_fu_nodes class_id="51" tracking_level="0" version="0">
<count>27</count>
<item_version>0</item_version>
<item class_id="52" tracking_level="0" version="0">
<first>72</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>3</item>
</second>
</item>
<item>
<first>76</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>4</item>
</second>
</item>
<item>
<first>80</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>86</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>47</item>
</second>
</item>
<item>
<first>97</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>108</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>115</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>121</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>14</item>
</second>
</item>
<item>
<first>127</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
<item>
<first>133</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>139</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>149</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>32</item>
</second>
</item>
<item>
<first>155</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>35</item>
</second>
</item>
<item>
<first>158</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>36</item>
</second>
</item>
<item>
<first>161</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>37</item>
</second>
</item>
<item>
<first>165</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>38</item>
</second>
</item>
<item>
<first>169</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</second>
</item>
<item>
<first>173</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>183</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>193</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>203</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>213</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>223</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>45</item>
</second>
</item>
<item>
<first>233</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>46</item>
</second>
</item>
<item>
<first>256</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>50</item>
</second>
</item>
<item>
<first>259</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>264</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>53</item>
</second>
</item>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="54" tracking_level="0" version="0">
<count>20</count>
<item_version>0</item_version>
<item class_id="55" tracking_level="0" version="0">
<first>buffer_0_value_V_fu_76</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>4</item>
</second>
</item>
<item>
<first>buffer_1_value_V_fu_72</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>3</item>
</second>
</item>
<item>
<first>i_0_i_i_phi_fu_108</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>i_fu_133</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>icmp_fu_149</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>32</item>
</second>
</item>
<item>
<first>n1_1_fu_121</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>14</item>
</second>
</item>
<item>
<first>n1_phi_fu_97</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>p_Result_5_1_1_fu_183</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>p_Result_5_1_2_fu_193</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>p_Result_5_1_fu_173</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>p_Result_5_2_1_fu_213</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>p_Result_5_2_2_fu_223</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>45</item>
</second>
</item>
<item>
<first>p_Result_5_2_fu_203</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>tmp_1_fu_115</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>tmp_2_fu_161</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>37</item>
</second>
</item>
<item>
<first>tmp_3_fu_127</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
<item>
<first>tmp_4_fu_165</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>38</item>
</second>
</item>
<item>
<first>tmp_5_fu_169</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</second>
</item>
<item>
<first>tmp_fu_139</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>tmp_value_V_fu_233</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>46</item>
</second>
</item>
</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>7</count>
<item_version>0</item_version>
<item>
<first>StgValue_46_write_fu_86</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>47</item>
</second>
</item>
<item>
<first>StgValue_50_store_fu_259</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>StgValue_51_store_fu_264</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>53</item>
</second>
</item>
<item>
<first>buffer_0_value_V_lo_load_fu_158</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>36</item>
</second>
</item>
<item>
<first>buffer_1_value_V_lo_1_load_fu_155</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>35</item>
</second>
</item>
<item>
<first>buffer_1_value_V_lo_load_fu_256</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>50</item>
</second>
</item>
<item>
<first>tmp_value_V_1_read_fu_80</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</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="56" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_mem_port_nodes>
<dp_reg_nodes>
<count>9</count>
<item_version>0</item_version>
<item>
<first>93</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>104</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>269</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>3</item>
</second>
</item>
<item>
<first>276</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>4</item>
</second>
</item>
<item>
<first>282</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>286</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>14</item>
</second>
</item>
<item>
<first>291</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
<item>
<first>295</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>300</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>32</item>
</second>
</item>
</dp_reg_nodes>
<dp_regname_nodes>
<count>9</count>
<item_version>0</item_version>
<item>
<first>buffer_0_value_V_reg_276</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>4</item>
</second>
</item>
<item>
<first>buffer_1_value_V_reg_269</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>3</item>
</second>
</item>
<item>
<first>i_0_i_i_reg_104</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>i_reg_295</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>icmp_reg_300</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>32</item>
</second>
</item>
<item>
<first>n1_1_reg_286</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>14</item>
</second>
</item>
<item>
<first>n1_reg_93</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>tmp_1_reg_282</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>tmp_3_reg_291</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
</dp_regname_nodes>
<dp_reg_phi>
<count>2</count>
<item_version>0</item_version>
<item>
<first>93</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>104</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
</dp_reg_phi>
<dp_regname_phi>
<count>2</count>
<item_version>0</item_version>
<item>
<first>i_0_i_i_reg_104</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>n1_reg_93</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
</dp_regname_phi>
<dp_port_io_nodes class_id="57" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="58" tracking_level="0" version="0">
<first>out_stream_V_value_V</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>write</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>47</item>
</second>
</item>
</second>
</item>
<item>
<first>slice_stream_V_value_V</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>read</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
</second>
</item>
</dp_port_io_nodes>
<port2core class_id="59" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="60" tracking_level="0" version="0">
<first>1</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>2</first>
<second>FIFO_SRL</second>
</item>
</port2core>
<node2core>
<count>0</count>
<item_version>0</item_version>
</node2core>
</syndb>
</boost_serialization>
|
-- CA3011A2.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.
--*
-- A SUBUNIT OF A GENERIC UNIT.
-- THE GENERIC UNIT IS IN CA3011A0.
-- INSTANTIATION IS IN CA3011A4M.
-- APPLICABILITY CRITERIA:
-- THIS UNIT MUST BE ACCEPTED BY ALL ADA 95 IMPLEMENTATIONS.
-- HISTORY:
-- RJW 09/22/86 CREATED ORIGINAL TEST.
-- BCB 01/05/88 MODIFIED HEADER.
-- RLB 09/13/99 UPDATED APPLICABILITY CRITERIA FOR ADA 95.
SEPARATE (CA3011A0)
PROCEDURE CA3011A2 (Y : OUT T) IS
BEGIN
Y := X;
END CA3011A2;
|
-- Copyright 2008-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 Types; use Types;
procedure Foo is
R : Rectangle := (1, 2, 3, 4);
S : Object'Class := Ident (R);
begin
Do_Nothing (R); -- STOP
Do_Nothing (S);
end Foo;
|
with System.Zero_Terminated_Strings;
with C.mach_o.dyld;
with C.stdint;
package body System.Program is
use type C.signed_int;
use type C.stdint.uint32_t;
function Full_Name return String is
-- use proc_pidpath instead of NSGetExecutablePath?
Buffer_Length : aliased C.stdint.uint32_t := 0;
Small_Buffer : aliased C.char_array (0 .. 0);
R : C.signed_int;
begin
-- getting the length at first
R :=
C.mach_o.dyld.NSGetExecutablePath (
Small_Buffer (0)'Access,
Buffer_Length'Access);
pragma Assert (R < 0 and then Buffer_Length > 0);
-- Buffer_Length is updated
declare
Buffer : aliased C.char_array (0 .. C.size_t (Buffer_Length - 1));
begin
R :=
C.mach_o.dyld.NSGetExecutablePath (
Buffer (0)'Access,
Buffer_Length'Access);
pragma Assert (not (R < 0));
return Zero_Terminated_Strings.Value (
Buffer (0)'Access,
C.size_t (Buffer_Length - 1));
end;
end Full_Name;
end System.Program;
|
-- CE3404B.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 END_OF_LINE OPERATES ON THE CURRENT DEFAULT INPUT FILE
-- IF NO FILE IS SPECIFIED.
-- APPLICABILITY CRITERIA:
-- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH SUPPORT
-- TEXT FILES.
-- HISTORY:
-- ABW 08/26/82
-- SPS 09/17/82
-- SPS 11/11/82
-- TBN 11/04/86 REVISED TEST TO OUTPUT A NON_APPLICABLE
-- RESULT WHEN FILES ARE NOT SUPPORTED.
-- GMT 09/22/87 CREATED A NON-TEMP FILE, REMOVED DEPENDENCE ON
-- RESET, AND CHECKED THE VALUE OF THE CHAR READ.
WITH REPORT; USE REPORT;
WITH TEXT_IO; USE TEXT_IO;
PROCEDURE CE3404B IS
INCOMPLETE : EXCEPTION;
MY_FILE : FILE_TYPE;
LOOP_COUNT : INTEGER := 0;
BOOL : BOOLEAN;
CHAR : CHARACTER := ('C');
BEGIN
TEST ("CE3404B", "CHECK THAT END_OF_LINE OPERATES ON THE " &
"CURRENT DEFAULT INPUT FILE IF NO FILE " &
"IS SPECIFIED");
-- CREATE AND INITIALIZE THE FILE
BEGIN
CREATE (MY_FILE, OUT_FILE, LEGAL_FILE_NAME);
EXCEPTION
WHEN USE_ERROR =>
NOT_APPLICABLE ("USE_ERROR RAISED ON TEXT CREATE " &
"WITH OUT_FILE MODE - 1");
RAISE INCOMPLETE;
WHEN NAME_ERROR =>
NOT_APPLICABLE ("NAME_ERROR RAISED; TEXT CREATE " &
"WITH OUT_FILE MODE - 2");
RAISE INCOMPLETE;
WHEN OTHERS =>
FAILED ("UNEXPECTED EXCEPTION RAISED; TEXT CREATE - 3");
RAISE INCOMPLETE;
END;
FOR I IN 1..3 LOOP
PUT (MY_FILE,CHAR);
END LOOP;
NEW_LINE (MY_FILE);
PUT (MY_FILE,CHAR);
CLOSE (MY_FILE);
BEGIN
OPEN (MY_FILE, IN_FILE, LEGAL_FILE_NAME);
EXCEPTION
WHEN USE_ERROR =>
NOT_APPLICABLE ("USE ERROR RAISED ON ATTEMPT TO " &
"RE-OPEN WITH MODE OF IN_FILE - 4");
RAISE INCOMPLETE;
END;
SET_INPUT (MY_FILE);
-- START THE TEST
LOOP
GET (CHAR);
IF CHAR /= 'C' THEN
FAILED ("CHAR READ FROM FILE HAS WRONG VALUE - 5");
RAISE INCOMPLETE;
END IF;
EXIT WHEN END_OF_LINE;
LOOP_COUNT := LOOP_COUNT + 1;
IF LOOP_COUNT > IDENT_INT (3) THEN
FAILED ("END_OF_LINE ON DEFAULT INCORRECT - 6");
EXIT;
END IF;
END LOOP;
GET (CHAR);
IF CHAR /= 'C' THEN
FAILED ("FINAL CHAR READ FROM FILE HAS WRONG VALUE - 7");
END IF;
BEGIN
DELETE (MY_FILE);
EXCEPTION
WHEN OTHERS =>
NULL;
END;
RESULT;
EXCEPTION
WHEN INCOMPLETE =>
RESULT;
END CE3404B;
|
--
-- 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.
--
--
pragma Restrictions (No_Elaboration_Code);
pragma warnings (Off, "use clause for package");
-- distribute interfaces and types to child packages
with interfaces; use interfaces;
pragma unreferenced (interfaces);
with types; use types;
pragma unreferenced (types);
pragma warnings (On, "use clause for package");
Package m4 is
end m4;
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with ABR; use ABR;
-- Afficher la fréquence absolue des caractères d'une chaîne de caractère.
procedure Frequences_Caracteres is
-- Calculer la fréquence absolue (Frequences) de chaque caractère de Texte.
procedure Calculer_Frequences_Absolues (Texte : in String ; Frequences : out T_ABR) is
begin
Initialiser (Frequences);
for I in Texte'Range loop
declare
C : constant Character := Texte (I);
begin
Modifier (Frequences, C, La_Donnee (Frequences, C) + 1);
exception
when Cle_Absente_Exception =>
Inserer (Frequences, C, 1);
end;
end loop;
end Calculer_Frequences_Absolues;
Frequences: T_ABR;
begin
Calculer_Frequences_Absolues ("DCEFABCCAABAA", Frequences);
-- afficher les résultats
Put_Line ("Nombre de caractères différents : "
& Integer'Image (Taille (Frequences)));
Afficher (Frequences);
Afficher_Debug (Frequences);
-- vérifier les résulats
pragma Assert (Taille (Frequences) = 6);
pragma Assert (La_Donnee (Frequences, 'A') = 5);
pragma Assert (La_Donnee (Frequences, 'B') = 2);
pragma Assert (La_Donnee (Frequences, 'C') = 3);
for C in Character range 'D'..'F' loop
pragma Assert (La_Donnee (Frequences, C) = 1);
end loop;
end Frequences_Caracteres;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . S T R I N G S . W I D E _ W I D E _ U N B O U N D E D . A U X --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2010, 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. --
-- --
------------------------------------------------------------------------------
package body Ada.Strings.Wide_Wide_Unbounded.Aux is
--------------------------
-- Get_Wide_Wide_String --
--------------------------
procedure Get_Wide_Wide_String
(U : Unbounded_Wide_Wide_String;
S : out Big_Wide_Wide_String_Access;
L : out Natural)
is
X : aliased Big_Wide_Wide_String;
for X'Address use U.Reference.Data'Address;
begin
S := X'Unchecked_Access;
L := U.Reference.Last;
end Get_Wide_Wide_String;
--------------------------
-- Set_Wide_Wide_String --
--------------------------
procedure Set_Wide_Wide_String
(UP : in out Unbounded_Wide_Wide_String;
S : Wide_Wide_String_Access)
is
X : Wide_Wide_String_Access := S;
begin
Set_Unbounded_Wide_Wide_String (UP, S.all);
Free (X);
end Set_Wide_Wide_String;
end Ada.Strings.Wide_Wide_Unbounded.Aux;
|
with Klient_assets_package; use Klient_assets_package;
--graphics
package Yatzy_graphics_package is
--remove after tests
--type Protocoll_Type is
-- array(1..15) of Integer;
procedure update_protocoll(X_Start, Y_Start: in Integer; prot1, prot2: in Protocoll_Type; Which_Protocoll_Or_Both: in Integer; Other_Color: in Integer);
procedure update_reroll_arrow_graphics(d1, d2, d3, d4, d5: in Integer);
procedure dice (A, X_Start, Y_Start: in Integer);
procedure background;
procedure clear_protocoll(X_Start, Y_Start: in Integer; Which_Protocoll_Or_Both: in Integer);
procedure protocoll_background (X_Start, Y_Start: in Integer);
procedure Start_screen (X_Start, Y_Start : in integer);
procedure logo(X_Start, Y_Start : in Integer);
procedure vinst (X_Start, Y_Start : in Integer);
Procedure logo_background (X_Start, Y_Start : in Integer);
procedure place_graphics (avail_points : in Protocoll_Type; select_place : out Integer; Player: in Positive);
procedure message (X_Start, Y_Start : in Integer; S : in String);
procedure message2 (X_Start, Y_Start : in Integer; S : in String);
procedure message3 (X_Start, Y_Start : in Integer; S : in String);
procedure message4 (X_Start, Y_Start : in Integer; S : in String);
procedure dice_placement (D1, D2, D3, D4, D5 : in Integer);
private
end Yatzy_graphics_package;
|
with AdaBase;
with Connect;
with CommonText;
with Ada.Text_IO;
with AdaBase.Results.Sets;
with Spatial_Data;
procedure Spatial4 is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package ARS renames AdaBase.Results.Sets;
package CT renames CommonText;
package SD renames Spatial_Data;
begin
CON.connect_database;
declare
use type SD.Geometric_Real;
my_point : SD.Geometry := SD.initialize_as_point ((3.2, 4.775));
my_linestr : SD.Geometry := SD.initialize_as_line
(((-0.034, 14.993), (5.0, 6.0), (-3.0, 19.0), (0.0, -7.1000009)));
wrk_poly : SD.Geometric_Polygon := SD.start_polygon
(((35.0, 10.0), (45.0, 45.0), (15.0, 40.0), (10.0, 20.0), (35.0, 10.0)));
my_polygon : SD.Geometry;
my_mpoly : SD.Geometry;
my_mpoint : SD.Geometry := SD.initialize_as_multi_point ((10.0, 10.0));
my_mline : SD.Geometry := SD.initialize_as_multi_line
(((5.0, 5.0), (0.0, 2.0), (-7.0, 13.0), (99.0, -1.0), (50.0, 50.0)));
my_mixture : SD.Geometry := SD.initialize_as_collection (my_linestr);
begin
SD.append_inner_ring (wrk_poly, ((20.0, 30.0), (35.0, 35.0), (30.0, 20.0), (20.0, 30.0)));
my_polygon := SD.initialize_as_polygon (wrk_poly);
SD.augment_multi_point (my_mpoint, (100.0, 200.0));
SD.augment_multi_point (my_mpoint, (-52.0, 250.0));
SD.augment_multi_line (my_mline, ((20.0, 10.0), (87.0, 88.0)));
my_mpoly := SD.initialize_as_multi_polygon (wrk_poly);
SD.augment_collection (my_mixture, my_polygon);
SD.augment_collection (my_mixture, my_mpoint);
SD.augment_collection (my_mixture, my_point);
SD.augment_collection (my_mixture, my_mline);
declare
template : String := "INSERT INTO spatial_plus " &
"(id, sp_point, sp_linestring, sp_polygon, sp_multi_point," &
" sp_multi_line_string, sp_multi_polygon, sp_geo_collection)" &
" VALUES (10, ST_GeomFromText (:pt, 4326)," &
" ST_GeomFromText (:line, 4326)," &
" ST_GeomFromText (:poly, 4326)," &
" ST_GeomFromText(:mpoint, 4326)," &
" ST_GeomFromText(:mline, 4326)," &
" ST_GeomFromText(:mpoly, 4326)," &
" ST_GeomFromText(:collset, 4326))";
stmt : CON.Stmt_Type := CON.DR.prepare (template);
begin
stmt.assign ("pt", SD.Well_Known_Text (my_point));
stmt.assign ("line", SD.Well_Known_Text (my_linestr));
stmt.assign ("poly", SD.Well_Known_Text (my_polygon));
stmt.assign ("mpoint", SD.Well_Known_Text (my_mpoint));
stmt.assign ("mline", SD.Well_Known_Text (my_mline));
stmt.assign ("mpoly", SD.Well_Known_Text (my_mpoly));
stmt.assign ("collset", SD.Well_Known_Text (my_mixture));
if not stmt.execute then
TIO.Put_Line (stmt.last_driver_message);
CON.DR.rollback;
return;
end if;
declare
row : ARS.Datarow;
s2 : CON.Stmt_Type := CON.DR.query
("SELECT * FROM spatial_plus WHERE id=10");
begin
loop
row := s2.fetch_next;
exit when row.data_exhausted;
for x in Natural range 1 .. row.count loop
TIO.Put (s2.column_name (x) & " : ");
TIO.Put_Line (row.column (x).as_string);
end loop;
end loop;
end;
CON.DR.rollback;
end;
end;
CON.DR.disconnect;
end Spatial4;
|
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- Copyright (C) 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 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. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
with System;
with System.Storage_Elements; use System.Storage_Elements;
with Interfaces; use Interfaces;
with Term; use Term;
with Console;
with Memwrite; use Memwrite;
package body Srec is
Has_Error : Boolean;
procedure Error (Msg : String) is
begin
Has_Error := True;
Console.Put_Line (Msg);
end Error;
procedure Read_Srec_Line is
C : Character;
begin
-- Read a line
Line_Len := 0;
loop
Console.Get (C);
case C is
when ASCII.LF =>
exit;
when ASCII.CR =>
null;
when others =>
if Line_Len = Line'Last then
Error ("Line too long");
Console.Put ("Line: ");
Console.Put_Line (Line);
return;
end if;
Line_Len := Line_Len + 1;
Line (Line_Len) := C;
end case;
end loop;
end Read_Srec_Line;
function Read_Hex (Pos : Line_Range) return Unsigned_8 is
H, L : Hex_Digit_Type;
begin
H := Read_Hex_Digit (Pos);
L := Read_Hex_Digit (Pos + 1);
if H = Bad_Hex or else L = Bad_Hex then
Error ("Bad hexa character");
return 0;
else
return Unsigned_8 (H * 16 + L);
end if;
end Read_Hex;
procedure Read_Srec is
Reclen : Unsigned_8;
Chksum : Unsigned_8;
P : Line_Range;
Addr : Unsigned_32;
B : Storage_Array (1 .. 1);
begin
Memwrite.Init;
Has_Error := False;
loop
-- Read a line
Read_Srec_Line;
if Has_Error then
return;
end if;
-- Check S-rec
if Line_Len = 0 then
-- Skip empty line (to easily deal with CR+LF).
null;
elsif Line_Len < 4
or else Line (1) /= 'S' or else Line (2) not in '0' .. '9'
then
Error ("Not an s-record");
return;
else
-- Check line length.
Reclen := Read_Hex (3);
if Line_Len /= Natural (Reclen) * 2 + 4 then
Error ("bad s-rec line length");
end if;
if Has_Error then
-- Either from read_hex or previous message
return;
end if;
-- Check integrity
Chksum := 0;
P := 3;
while P < Line_Len loop
Chksum := Chksum + Read_Hex (P);
P := P + 2;
end loop;
if Chksum /= 16#ff# then
Error ("Bad checksum");
end if;
if Has_Error then
-- Either from read_hex or previous message
return;
end if;
Reclen := Reclen - 1;
-- Handle record
case Line (2) is
when '0' =>
-- Block header are ignored
null;
when '5' =>
-- Record count is ignored
null;
when '1' | '2' | '8' | '9' =>
Error ("Only 4-bytes addresses handled");
return;
when '3' | '7' =>
-- Decode address
if Reclen < 4 then
Error ("Packet too short");
return;
end if;
Addr := 0;
for I in 1 .. 4 loop
Addr := Addr * 256 + Unsigned_32 (Read_Hex (3 + 2 * I));
-- Read_Hex already checked by checksum.
end loop;
if Line (2) = '7' then
-- Start address
if Reclen /= 4 then
Error ("Garbage for S7 record");
return;
end if;
Memwrite.Flush;
Memwrite.Exec_Addr := Addr;
Console.Put ('.');
return;
else
for I in 5 .. Reclen loop
B (1) :=
Storage_Element (Read_Hex (3 + Natural (2 * I)));
Memwrite.Write (Addr, B);
Addr := Addr + 1;
end loop;
end if;
when others =>
-- Won't happen
null;
end case;
Console.Put ('+');
end if;
end loop;
end Read_Srec;
end Srec;
|
-- #include "LinearMath/impact.d3.Vector.h"
-- #include "impact.d3.jacobian_Entry.h"
-- #include "impact.d3.Joint.h"
--
-- class impact.d3.Object.rigid;
with
impact.d3.Object.rigid;
with impact.d3.jacobian_Entry;
package impact.d3.Joint.any
--
-- impact.d3.Joint.any between two rigidbodies each with a pivotpoint that descibes the axis location in local space
--
-- impact.d3.Joint.any can leave any of the 6 degree of freedom 'free' or 'locked'.
-- currently this limit supports rotational motors<br>
--
-- For Linear limits, use impact.d3.Joint.any.setLinearUpperLimit, impact.d3.Joint.any.setLinearLowerLimit. You can
-- set the parameters with the btTranslationalLimitMotor structure accsesible through the impact.d3.Joint.any.getTranslationalLimitMotor method.
-- At this moment translational motors are not supported. May be in the future.
--
-- For Angular limits, use the btRotationalLimitMotor structure for configuring the limit.
-- This is accessible through impact.d3.Joint.any.getLimitMotor method,
-- This brings support for limit parameters and motors.
--
-- Angulars limits have these possible ranges:
--
--
-- AXIS
-- MIN ANGLE
-- MAX ANGLE
--
-- X
-- -PI
-- PI
--
-- Y
-- -PI / 2
-- PI / 2
--
-- Z
-- -PI
-- PI
--
is
use Math;
type Axes is array (1 .. 3) of Vector_3;
-- bt6DofFlags
--
BT_6DOF_FLAGS_CFM_NORM : Flags := 1;
BT_6DOF_FLAGS_CFM_STOP : Flags := 2;
BT_6DOF_FLAGS_ERP_STOP : Flags := 4;
BT_6DOF_FLAGS_AXIS_SHIFT : constant := 3; -- bits per axis
type Item is new impact.d3.Joint.Item with private; -- tbd: bullet makes this class 'limited' (ie provides a private, aborting '=' operator).
---------------------------
--- btRotationalLimitMotor
--
-- Rotation Limit structure for generic joints.
type btRotationLimitMotor is tagged
record
m_loLimit : Real; -- joint limit
m_hiLimit : Real; -- joint limit
m_targetVelocity : Real; -- target motor velocity
m_maxMotorForce : Real; -- max force on motor
m_maxLimitForce : Real; -- max force on limit
m_damping : Real; -- Damping
m_limitSoftness : Real; -- Relaxation factor
m_normalCFM : Real; -- Constraint force mixing factor
m_stopERP : Real; -- Error tolerance factor when joint is at limit
m_stopCFM : Real; -- Constraint force mixing factor when joint is at limit
m_bounce : Real; -- restitution factor
m_enableMotor : Boolean;
-- temporary variables
m_currentLimitError : Real; -- How much is violated this limit
m_currentPosition : Real; -- current value of angle
m_currentLimit : Integer; -- 0=free, 1=at lo limit, 2=at hi limit
m_accumulatedImpulse : Real;
end record;
function to_btRotationLimitMotor return btRotationLimitMotor;
function to_btRotationLimitMotor (Other : in btRotationLimitMotor) return btRotationLimitMotor;
function isLimited (Self : in btRotationLimitMotor) return Boolean;
function needApplyTorques (Self : in btRotationLimitMotor) return Boolean;
function testLimitValue (Self : access btRotationLimitMotor; test_value : in Real) return Integer;
--
-- Calculates error (ie 'm_currentLimit' and 'm_currentLimitError').
function solveAngularLimits (Self : access btRotationLimitMotor; timeStep : in math.Real;
axis : access math.Vector_3;
jacDiagABInv : in math.Real;
body0, body1 : in impact.d3.Object.rigid.view) return math.Real;
--
-- Apply the correction impulses for two bodies.
-- class btRotationalLimitMotor
-- {
-- public:
-- //! limit_parameters
-- //!@{
-- impact.d3.Scalar m_loLimit;//!< joint limit
-- impact.d3.Scalar m_hiLimit;//!< joint limit
-- impact.d3.Scalar m_targetVelocity;//!< target motor velocity
-- impact.d3.Scalar m_maxMotorForce;//!< max force on motor
-- impact.d3.Scalar m_maxLimitForce;//!< max force on limit
-- impact.d3.Scalar m_damping;//!< Damping.
-- impact.d3.Scalar m_limitSoftness;//! Relaxation factor
-- impact.d3.Scalar m_normalCFM;//!< Constraint force mixing factor
-- impact.d3.Scalar m_stopERP;//!< Error tolerance factor when joint is at limit
-- impact.d3.Scalar m_stopCFM;//!< Constraint force mixing factor when joint is at limit
-- impact.d3.Scalar m_bounce;//!< restitution factor
-- bool m_enableMotor;
--
-- //!@}
--
-- //! temp_variables
-- //!@{
-- impact.d3.Scalar m_currentLimitError;//! How much is violated this limit
-- impact.d3.Scalar m_currentPosition; //! current value of angle
-- int m_currentLimit;//!< 0=free, 1=at lo limit, 2=at hi limit
-- impact.d3.Scalar m_accumulatedImpulse;
-- //!@}
-- };
type Angular_Limits is array (1 .. 3) of aliased btRotationLimitMotor;
type Enable_Motor is array (1 .. 3) of Boolean;
type Current_Limit is array (1 .. 3) of Integer;
------------------------------
--- btTranslationalLimitMotor
--
type btTranslationalLimitMotor is tagged
record
m_lowerLimit : Vector_3; -- the constraint lower limits
m_upperLimit : Vector_3; -- the constraint upper limits
m_accumulatedImpulse : Vector_3;
m_limitSoftness : Real; -- Softness for linear limit
m_damping : Real; -- Damping for linear limit
m_restitution : Real; -- Bounce parameter for linear limit
m_normalCFM : Vector_3; -- Constraint force mixing factor
m_stopERP : Vector_3; -- Error tolerance factor when joint is at limit
m_stopCFM : Vector_3; -- Constraint force mixing factor when joint is at limit.
m_enableMotor : Enable_Motor;
m_targetVelocity : Vector_3; -- target motor velocity
m_maxMotorForce : Vector_3; -- max force on motor
m_currentLimitError : Vector_3; -- How much is violated this limit
m_currentLinearDiff : Vector_3; -- Current relative offset of constraint frames
m_currentLimit : Current_Limit; -- 0=free, 1=at lower limit, 2=at upper limit
end record;
function to_btTranslationalLimitMotor return btTranslationalLimitMotor;
function to_btTranslationalLimitMotor (Other : in btTranslationalLimitMotor) return btTranslationalLimitMotor;
function isLimited (Self : in btTranslationalLimitMotor; limitIndex : in Integer) return Boolean;
function needApplyForce (Self : in btTranslationalLimitMotor; limitIndex : in Integer) return Boolean;
function solveLinearAxis (Self : access btTranslationalLimitMotor; timeStep : in math.Real;
jacDiagABInv : in math.Real;
body1 : in impact.d3.Object.rigid.view;
pointInA : in math.Vector_3;
body2 : in impact.d3.Object.rigid.view;
pointInB : in math.Vector_3;
limitIndex : in Integer;
axis_normal_on_a : in math.Vector_3;
anchorPos : in math.Vector_3) return math.Real;
-- class btTranslationalLimitMotor
-- {
-- public:
-- impact.d3.Vector m_lowerLimit;//!< the constraint lower limits
-- impact.d3.Vector m_upperLimit;//!< the constraint upper limits
-- impact.d3.Vector m_accumulatedImpulse;
-- //! Linear_Limit_parameters
-- //!@{
-- impact.d3.Scalar m_limitSoftness;//!< Softness for linear limit
-- impact.d3.Scalar m_damping;//!< Damping for linear limit
-- impact.d3.Scalar m_restitution;//! Bounce parameter for linear limit
-- impact.d3.Vector m_normalCFM;//!< Constraint force mixing factor
-- impact.d3.Vector m_stopERP;//!< Error tolerance factor when joint is at limit
-- impact.d3.Vector m_stopCFM;//!< Constraint force mixing factor when joint is at limit
-- //!@}
-- bool m_enableMotor[3];
-- impact.d3.Vector m_targetVelocity;//!< target motor velocity
-- impact.d3.Vector m_maxMotorForce;//!< max force on motor
-- impact.d3.Vector m_currentLimitError;//! How much is violated this limit
-- impact.d3.Vector m_currentLinearDiff;//! Current relative offset of constraint frames
-- int m_currentLimit[3];//!< 0=free, 1=at lower limit, 2=at upper limit
--
--
-- //! Test limit --- tbd: where is this ported ?
-- /*!
-- - free means upper < lower,
-- - locked means upper == lower
-- - limited means upper > lower
-- - limitIndex: first 3 are linear, next 3 are angular
-- */
-- };
----------------------------
--- impact.d3.Joint.any
--
----------
--- Forge
--
function to_any_Joint (rbA, rbB : in impact.d3.Object.rigid.view;
frameInA, frameInB : in Transform_3d;
useLinearReferenceFrameA : in Boolean ) return Item;
-- impact.d3.Joint.any(impact.d3.Object.rigid& rbA, impact.d3.Object.rigid& rbB, const impact.d3.Transform& frameInA, const impact.d3.Transform& frameInB ,bool useLinearReferenceFrameA);
function to_any_Joint (rbB : in impact.d3.Object.rigid.view;
frameInB : in Transform_3d;
useLinearReferenceFrameB : in Boolean ) return Item;
--
-- Not providing rigidbody A means implicitly using worldspace for body A.
-- impact.d3.Joint.any(impact.d3.Object.rigid& rbB, const impact.d3.Transform& frameInB, bool useLinearReferenceFrameB);
----------------
--- Atttributes
--
overriding procedure setParam (Self : out Item;
num : in impact.d3.Joint.btConstraintParams;
value : in Math.Real;
axis : in Integer := -1);
--
-- Override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5).
-- If no axis is provided, it uses the default axis for this constraint.
-- virtual void setParam(int num, impact.d3.Scalar value, int axis = -1);
overriding function getParam (Self : in Item;
num : in impact.d3.Joint.btConstraintParams;
axis : in Integer := -1) return Math.Real;
--
-- Return the local value of parameter.
-- virtual impact.d3.Scalar getParam(int num, int axis = -1) const;
overriding procedure getInfo1 (Self : in out Item;
info : out impact.d3.Joint.btConstraintInfo1);
-- virtual void getInfo1 (btConstraintInfo1* info);
procedure getInfo1NonVirtual (Self : in out Item;
info : out impact.d3.Joint.btConstraintInfo1);
-- void getInfo1NonVirtual (btConstraintInfo1* info);
overriding procedure getInfo2 (Self : in out Item;
info : out impact.d3.Joint.btConstraintInfo2);
-- virtual void getInfo2 (btConstraintInfo2* info);
procedure getInfo2NonVirtual (Self : in out Item;
info : out impact.d3.Joint.btConstraintInfo2;
transA : in Transform_3d;
transB : in Transform_3d;
linVelA : in Vector_3;
linVelB : in Vector_3;
angVelA : in Vector_3;
angVelB : in Vector_3);
-- void getInfo2NonVirtual (btConstraintInfo2* info,const impact.d3.Transform& transA,const impact.d3.Transform& transB,const impact.d3.Vector& linVelA,const impact.d3.Vector& linVelB,const impact.d3.Vector& angVelA,const impact.d3.Vector& angVelB);
procedure calculateTransforms (Self : in out Item);
-- void calculateTransforms();
procedure calculateTransforms (Self : in out Item;
transA : in Transform_3d;
transB : in Transform_3d);
--
-- Calcs global transform of the offsets.
--
-- Calcs the global transform for the joint offset for body A an B, and also calcs the agle differences between the bodies.
--
-- See also: impact.d3.Joint.any.getCalculatedTransformA, impact.d3.Joint.any.getCalculatedTransformB, impact.d3.Joint.any.calculateAngleInfo
-- void calculateTransforms(const impact.d3.Transform& transA,const impact.d3.Transform& transB);
function getCalculatedTransformA (Self : in Item) return Transform_3d;
--
-- Gets the global transform of the offset for body A
--
-- See also: impact.d3.Joint.any.getFrameOffsetA, impact.d3.Joint.any.getFrameOffsetB, impact.d3.Joint.any.calculateAngleInfo.
-- const impact.d3.Transform & getCalculatedTransformA() const
function getCalculatedTransformB (Self : in Item) return Transform_3d;
--
-- Gets the global transform of the offset for body B
--
-- See also: impact.d3.Joint.any.getFrameOffsetA, impact.d3.Joint.any.getFrameOffsetB, impact.d3.Joint.any.calculateAngleInfo.
-- const impact.d3.Transform & getCalculatedTransformB() const
procedure setFrameOffsetA (Self : in out Item; To : in Transform_3d);
procedure setFrameOffsetB (Self : in out Item; To : in Transform_3d);
function getFrameOffsetA (Self : in Item) return Transform_3d;
-- const impact.d3.Transform & getFrameOffsetA() const
-- {
-- return m_frameInA;
-- }
function getFrameOffsetB (Self : in Item) return Transform_3d;
-- const impact.d3.Transform & getFrameOffsetB() const
-- {
-- return m_frameInB;
-- }
overriding procedure buildJacobian (Self : in out Item);
--
-- Performs Jacobian calculation, and also calculates angle differences and axis.
-- virtual void buildJacobian();
procedure updateRHS (Self : in out Item;
timeStep : in Real);
-- void updateRHS(impact.d3.Scalar timeStep);
function getAxis (Self : in Item;
axis_index : in Integer) return Vector_3;
--
-- Get the rotation axis in global coordinates.
--
-- impact.d3.Joint.any.buildJacobian must be called previously.
-- impact.d3.Vector getAxis(int axis_index) const;
function getRelativePivotPosition (Self : in Item;
axis_index : in Integer) return Real;
--
-- Get the relative position of the constraint pivot
--
-- impact.d3.Joint.any::calculateTransforms() must be called previously.
-- impact.d3.Scalar getRelativePivotPosition(int axis_index) const;
procedure setFrames (Self : in out Item;
frameA : in Transform_3d;
frameB : in Transform_3d);
-- void setFrames(const impact.d3.Transform & frameA, const impact.d3.Transform & frameB);
function getAngle (Self : in Item;
axis_index : in Integer) return Real;
--
-- Get the relative Euler angle.
--
-- impact.d3.Joint.any::calculateTransforms() must be called previously.
-- impact.d3.Scalar getAngle(int axis_index) const;
function testAngularLimitMotor (Self : access Item;
axis_index : in Integer) return Boolean;
--
-- Test angular limit.
--
-- Calculates angular correction and returns true if limit needs to be corrected.
-- impact.d3.Joint.any::calculateTransforms() must be called previously.
-- bool testAngularLimitMotor(int axis_index);
procedure setLinearLowerLimit (Self : in out Item;
linearLower : in Vector_3);
procedure getLinearLowerLimit (Self : in Item;
linearLower : out Vector_3);
procedure setLinearUpperLimit (Self : in out Item;
linearUpper : in Vector_3);
procedure getLinearUpperLimit (Self : in Item;
linearUpper : out Vector_3);
procedure setAngularLowerLimit (Self : in out Item;
angularLower : in Vector_3);
procedure getAngularLowerLimit (Self : in Item;
angularLower : out Vector_3);
procedure setAngularUpperLimit (Self : in out Item;
angularUpper : in Vector_3);
procedure getAngularUpperLimit (Self : in Item;
angularUpper : out Vector_3);
procedure setRotationalLimitMotor (Self : in out Item; index : in Integer; To : in btRotationLimitMotor'Class);
function getRotationalLimitMotor (Self : in Item; index : in Integer) return btRotationLimitMotor'Class;
function getRotationalLimitMotor (Self : access Item; index : in Integer) return access btRotationLimitMotor'Class;
--
-- Retrieves the angular limit information.
-- btRotationalLimitMotor * getRotationalLimitMotor(int index)
-- {
-- return &m_angularLimits[index];
-- }
function getTranslationalLimitMotor (Self : access Item) return access btTranslationalLimitMotor'Class;
--
-- Retrieves the linear limit information
-- btTranslationalLimitMotor * getTranslationalLimitMotor()
-- {
-- return &m_linearLimits;
-- }
--
procedure setLimit (Self : in out Item;
axis : in Integer;
lo : in out Real;
hi : in out Real);
function isLimited (Self : in Item;
limitIndex : in Integer) return Boolean;
procedure calcAnchorPos (Self : in out Item); -- overridable
-- virtual void calcAnchorPos(void);
function get_limit_motor_info2 (Self : in Item;
limot : in btRotationLimitMotor'Class;
transA : in Transform_3d;
transB : in Transform_3d;
linVelA : in Vector_3;
linVelB : in Vector_3;
angVelA : in Vector_3;
angVelB : in Vector_3;
info : in impact.d3.Joint.btConstraintInfo2;
row : in Integer;
ax1 : in Vector_3;
rotational : in Boolean;
rotAllowed : in Boolean := False) return Integer;
-- int get_limit_motor_info2( btRotationalLimitMotor * limot,
-- const impact.d3.Transform& transA,const impact.d3.Transform& transB,const impact.d3.Vector& linVelA,const impact.d3.Vector& linVelB,const impact.d3.Vector& angVelA,const impact.d3.Vector& angVelB,
-- btConstraintInfo2 *info, int row, impact.d3.Vector& ax1, int rotational, int rotAllowed = false);
--- Access for UseFrameOffset.
--
function getUseFrameOffset (Self : in Item) return Boolean;
-- bool getUseFrameOffset() { return m_useOffsetForConstraintFrame; }
procedure setUseFrameOffset (Self : in out Item;
frameOffsetOnOff : in Boolean);
-- void setUseFrameOffset(bool frameOffsetOnOff) { m_useOffsetForConstraintFrame = frameOffsetOnOff; }
procedure setAxis (Self : in out Item;
axis1 : in Vector_3;
axis2 : in Vector_3);
-- void setAxis( const impact.d3.Vector& axis1, const impact.d3.Vector& axis2);
private
type Item is new impact.d3.Joint.Item with
record
-- relative frames
m_frameInA : Transform_3d; -- the constraint space w.r.t body A
m_frameInB : Transform_3d; -- the constraint space w.r.t body B
-- Jacobians
m_jacLinear : impact.d3.jacobian_Entry.Items (1 .. 3); -- 3 orthogonal linear constraints
m_jacAng : impact.d3.jacobian_Entry.Items (1 .. 3); -- 3 orthogonal angular constraints
m_linearLimits : aliased btTranslationalLimitMotor := to_btTranslationalLimitMotor; -- Linear_Limit_parameters
m_angularLimits : Angular_Limits := (others => to_btRotationLimitMotor); -- hinge_parameters
m_timeStep : Real;
m_calculatedTransformA : Transform_3d;
m_calculatedTransformB : Transform_3d;
m_calculatedAxisAngleDiff : aliased Vector_3;
m_calculatedAxis : Axes;
m_calculatedLinearDiff : Vector_3;
m_factA : Real;
m_factB : Real;
m_hasStaticBody : Boolean;
m_AnchorPos : Vector_3; -- point betwen pivots of bodies A and B to solve linear axes
m_useLinearReferenceFrameA : Boolean;
m_useOffsetForConstraintFrame : Boolean;
m_flags : Flags;
m_useSolveConstraintObsolete : Boolean; -- for backwards compatibility during the transition to 'getInfo/getInfo2'
end record;
-- protected:
--
-- //! relative_frames
-- //!@{
-- impact.d3.Transform m_frameInA;//!< the constraint space w.r.t body A
-- impact.d3.Transform m_frameInB;//!< the constraint space w.r.t body B
-- //!@}
--
-- //! Jacobians
-- //!@{
-- impact.d3.jacobian_Entry m_jacLinear[3];//!< 3 orthogonal linear constraints
-- impact.d3.jacobian_Entry m_jacAng[3];//!< 3 orthogonal angular constraints
-- //!@}
--
-- //! Linear_Limit_parameters
-- //!@{
-- btTranslationalLimitMotor m_linearLimits;
-- //!@}
--
--
-- //! hinge_parameters
-- //!@{
-- btRotationalLimitMotor m_angularLimits[3];
-- //!@}
--
--
-- protected:
-- //! temporal variables
-- //!@{
-- impact.d3.Scalar m_timeStep;
-- impact.d3.Transform m_calculatedTransformA;
-- impact.d3.Transform m_calculatedTransformB;
-- impact.d3.Vector m_calculatedAxisAngleDiff;
-- impact.d3.Vector m_calculatedAxis[3];
-- impact.d3.Vector m_calculatedLinearDiff;
-- impact.d3.Scalar m_factA;
-- impact.d3.Scalar m_factB;
-- bool m_hasStaticBody;
--
-- impact.d3.Vector m_AnchorPos; // point betwen pivots of bodies A and B to solve linear axes
--
-- bool m_useLinearReferenceFrameA;
-- bool m_useOffsetForConstraintFrame;
--
-- int m_flags;
--
--
-- public:
--
-- ///for backwards compatibility during the transition to 'getInfo/getInfo2'
-- bool m_useSolveConstraintObsolete;
function setAngularLimits (Self : access Item;
info : in impact.d3.Joint.btConstraintInfo2;
row_offset : in Integer;
transA : in Transform_3d;
transB : in Transform_3d;
linVelA : in Vector_3;
linVelB : in Vector_3;
angVelA : in Vector_3;
angVelB : in Vector_3) return Integer;
-- int setAngularLimits(btConstraintInfo2 *info, int row_offset,const impact.d3.Transform& transA,const impact.d3.Transform& transB,const impact.d3.Vector& linVelA,const impact.d3.Vector& linVelB,const impact.d3.Vector& angVelA,const impact.d3.Vector& angVelB);
function setLinearLimits (Self : in Item;
info : in impact.d3.Joint.btConstraintInfo2;
row : in Integer;
transA : in Transform_3d;
transB : in Transform_3d;
linVelA : in Vector_3;
linVelB : in Vector_3;
angVelA : in Vector_3;
angVelB : in Vector_3) return Integer;
-- int setLinearLimits(btConstraintInfo2 *info, int row, const impact.d3.Transform& transA,const impact.d3.Transform& transB,const impact.d3.Vector& linVelA,const impact.d3.Vector& linVelB,const impact.d3.Vector& angVelA,const impact.d3.Vector& angVelB);
procedure buildLinearJacobian (Self : in out Item;
jacLinear : out impact.d3.jacobian_Entry.item;
normalWorld : in Vector_3;
pivotAInW : in Vector_3;
pivotBInW : in Vector_3);
-- void buildLinearJacobian(
-- impact.d3.jacobian_Entry & jacLinear,const impact.d3.Vector & normalWorld,
-- const impact.d3.Vector & pivotAInW,const impact.d3.Vector & pivotBInW);
procedure buildAngularJacobian (Self : in out Item;
jacAngular : out impact.d3.jacobian_Entry.Item;
jointAxisW : in Vector_3);
-- void buildAngularJacobian(impact.d3.jacobian_Entry & jacAngular,const impact.d3.Vector & jointAxisW);
procedure calculateLinearInfo (Self : in out Item);
--
-- tests linear limits
-- void calculateLinearInfo();
procedure calculateAngleInfo (Self : in out Item);
--
-- calcs the euler angles between the two bodies.
-- void calculateAngleInfo();
end impact.d3.Joint.any;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . A U X _ D E C --
-- --
-- S p e c --
-- --
-- Copyright (C) 1996-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. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
-- This package contains definitions that are designed to be compatible
-- with the extra definitions in package System for DEC Ada implementations.
-- These definitions can be used directly by withing this package, or merged
-- with System using pragma Extend_System (Aux_DEC)
-- This is the VMS 64 bit version.
with Unchecked_Conversion;
package System.Aux_DEC is
pragma Preelaborate;
type Short_Integer_Address is
range -2 ** (32 - 1) .. +2 ** (32 - 1) - 1;
-- Integer literals cannot appear naked in an address context, as a
-- result the bounds of Short_Address cannot be given simply as 2^32 etc.
subtype Short_Address is Address
range Address (Short_Integer_Address'First) ..
Address (Short_Integer_Address'Last);
for Short_Address'Object_Size use 32;
-- This subtype allows addresses to be converted from 64 bits to 32 bits
-- with an appropriate range check. Note that since this is a subtype of
-- type System.Address, the same limitations apply to this subtype. Namely
-- there are no visible arithmetic operations, and integer literals are
-- not available.
Short_Memory_Size : constant := 2 ** 32;
-- Defined for convenience of porting.
type Integer_8 is range -2 ** (8 - 1) .. +2 ** (8 - 1) - 1;
for Integer_8'Size use 8;
type Integer_16 is range -2 ** (16 - 1) .. +2 ** (16 - 1) - 1;
for Integer_16'Size use 16;
type Integer_32 is range -2 ** (32 - 1) .. +2 ** (32 - 1) - 1;
for Integer_32'Size use 32;
type Integer_64 is range -2 ** (64 - 1) .. +2 ** (64 - 1) - 1;
for Integer_64'Size use 64;
type Largest_Integer is range Min_Int .. Max_Int;
type AST_Handler is limited private;
No_AST_Handler : constant AST_Handler;
type Type_Class is
(Type_Class_Enumeration,
Type_Class_Integer,
Type_Class_Fixed_Point,
Type_Class_Floating_Point,
Type_Class_Array,
Type_Class_Record,
Type_Class_Access,
Type_Class_Task, -- also in Ada 95 protected
Type_Class_Address);
function "not" (Left : Largest_Integer) return Largest_Integer;
function "and" (Left, Right : Largest_Integer) return Largest_Integer;
function "or" (Left, Right : Largest_Integer) return Largest_Integer;
function "xor" (Left, Right : Largest_Integer) return Largest_Integer;
Address_Zero : constant Address;
No_Addr : constant Address;
Address_Size : constant := Standard'Address_Size;
function "+" (Left : Address; Right : Integer) return Address;
function "+" (Left : Integer; Right : Address) return Address;
function "-" (Left : Address; Right : Address) return Integer;
function "-" (Left : Address; Right : Integer) return Address;
generic
type Target is private;
function Fetch_From_Address (A : Address) return Target;
generic
type Target is private;
procedure Assign_To_Address (A : Address; T : Target);
-- Floating point type declarations for VAX floating point data types
pragma Warnings (Off);
type F_Float is digits 6;
pragma Float_Representation (VAX_Float, F_Float);
type D_Float is digits 9;
pragma Float_Representation (Vax_Float, D_Float);
type G_Float is digits 15;
pragma Float_Representation (Vax_Float, G_Float);
-- Floating point type declarations for IEEE floating point data types
type IEEE_Single_Float is digits 6;
pragma Float_Representation (IEEE_Float, IEEE_Single_Float);
type IEEE_Double_Float is digits 15;
pragma Float_Representation (IEEE_Float, IEEE_Double_Float);
pragma Warnings (On);
Non_Ada_Error : exception;
-- Hardware-oriented types and functions
type Bit_Array is array (Integer range <>) of Boolean;
pragma Pack (Bit_Array);
subtype Bit_Array_8 is Bit_Array (0 .. 7);
subtype Bit_Array_16 is Bit_Array (0 .. 15);
subtype Bit_Array_32 is Bit_Array (0 .. 31);
subtype Bit_Array_64 is Bit_Array (0 .. 63);
type Unsigned_Byte is range 0 .. 255;
for Unsigned_Byte'Size use 8;
function "not" (Left : Unsigned_Byte) return Unsigned_Byte;
function "and" (Left, Right : Unsigned_Byte) return Unsigned_Byte;
function "or" (Left, Right : Unsigned_Byte) return Unsigned_Byte;
function "xor" (Left, Right : Unsigned_Byte) return Unsigned_Byte;
function To_Unsigned_Byte (X : Bit_Array_8) return Unsigned_Byte;
function To_Bit_Array_8 (X : Unsigned_Byte) return Bit_Array_8;
type Unsigned_Byte_Array is array (Integer range <>) of Unsigned_Byte;
type Unsigned_Word is range 0 .. 65535;
for Unsigned_Word'Size use 16;
function "not" (Left : Unsigned_Word) return Unsigned_Word;
function "and" (Left, Right : Unsigned_Word) return Unsigned_Word;
function "or" (Left, Right : Unsigned_Word) return Unsigned_Word;
function "xor" (Left, Right : Unsigned_Word) return Unsigned_Word;
function To_Unsigned_Word (X : Bit_Array_16) return Unsigned_Word;
function To_Bit_Array_16 (X : Unsigned_Word) return Bit_Array_16;
type Unsigned_Word_Array is array (Integer range <>) of Unsigned_Word;
type Unsigned_Longword is range -2_147_483_648 .. 2_147_483_647;
for Unsigned_Longword'Size use 32;
function "not" (Left : Unsigned_Longword) return Unsigned_Longword;
function "and" (Left, Right : Unsigned_Longword) return Unsigned_Longword;
function "or" (Left, Right : Unsigned_Longword) return Unsigned_Longword;
function "xor" (Left, Right : Unsigned_Longword) return Unsigned_Longword;
function To_Unsigned_Longword (X : Bit_Array_32) return Unsigned_Longword;
function To_Bit_Array_32 (X : Unsigned_Longword) return Bit_Array_32;
type Unsigned_Longword_Array is
array (Integer range <>) of Unsigned_Longword;
type Unsigned_32 is range 0 .. 4_294_967_295;
for Unsigned_32'Size use 32;
function "not" (Left : Unsigned_32) return Unsigned_32;
function "and" (Left, Right : Unsigned_32) return Unsigned_32;
function "or" (Left, Right : Unsigned_32) return Unsigned_32;
function "xor" (Left, Right : Unsigned_32) return Unsigned_32;
function To_Unsigned_32 (X : Bit_Array_32) return Unsigned_32;
function To_Bit_Array_32 (X : Unsigned_32) return Bit_Array_32;
type Unsigned_Quadword is record
L0 : Unsigned_Longword;
L1 : Unsigned_Longword;
end record;
for Unsigned_Quadword'Size use 64;
for Unsigned_Quadword'Alignment use
Integer'Min (8, Standard'Maximum_Alignment);
function "not" (Left : Unsigned_Quadword) return Unsigned_Quadword;
function "and" (Left, Right : Unsigned_Quadword) return Unsigned_Quadword;
function "or" (Left, Right : Unsigned_Quadword) return Unsigned_Quadword;
function "xor" (Left, Right : Unsigned_Quadword) return Unsigned_Quadword;
function To_Unsigned_Quadword (X : Bit_Array_64) return Unsigned_Quadword;
function To_Bit_Array_64 (X : Unsigned_Quadword) return Bit_Array_64;
type Unsigned_Quadword_Array is
array (Integer range <>) of Unsigned_Quadword;
function To_Address (X : Integer) return Address;
pragma Pure_Function (To_Address);
function To_Address_Long (X : Unsigned_Longword) return Address;
pragma Pure_Function (To_Address_Long);
function To_Integer (X : Address) return Integer;
function To_Unsigned_Longword (X : Address) return Unsigned_Longword;
function To_Unsigned_Longword (X : AST_Handler) return Unsigned_Longword;
-- Conventional names for static subtypes of type UNSIGNED_LONGWORD
subtype Unsigned_1 is Unsigned_Longword range 0 .. 2** 1-1;
subtype Unsigned_2 is Unsigned_Longword range 0 .. 2** 2-1;
subtype Unsigned_3 is Unsigned_Longword range 0 .. 2** 3-1;
subtype Unsigned_4 is Unsigned_Longword range 0 .. 2** 4-1;
subtype Unsigned_5 is Unsigned_Longword range 0 .. 2** 5-1;
subtype Unsigned_6 is Unsigned_Longword range 0 .. 2** 6-1;
subtype Unsigned_7 is Unsigned_Longword range 0 .. 2** 7-1;
subtype Unsigned_8 is Unsigned_Longword range 0 .. 2** 8-1;
subtype Unsigned_9 is Unsigned_Longword range 0 .. 2** 9-1;
subtype Unsigned_10 is Unsigned_Longword range 0 .. 2**10-1;
subtype Unsigned_11 is Unsigned_Longword range 0 .. 2**11-1;
subtype Unsigned_12 is Unsigned_Longword range 0 .. 2**12-1;
subtype Unsigned_13 is Unsigned_Longword range 0 .. 2**13-1;
subtype Unsigned_14 is Unsigned_Longword range 0 .. 2**14-1;
subtype Unsigned_15 is Unsigned_Longword range 0 .. 2**15-1;
subtype Unsigned_16 is Unsigned_Longword range 0 .. 2**16-1;
subtype Unsigned_17 is Unsigned_Longword range 0 .. 2**17-1;
subtype Unsigned_18 is Unsigned_Longword range 0 .. 2**18-1;
subtype Unsigned_19 is Unsigned_Longword range 0 .. 2**19-1;
subtype Unsigned_20 is Unsigned_Longword range 0 .. 2**20-1;
subtype Unsigned_21 is Unsigned_Longword range 0 .. 2**21-1;
subtype Unsigned_22 is Unsigned_Longword range 0 .. 2**22-1;
subtype Unsigned_23 is Unsigned_Longword range 0 .. 2**23-1;
subtype Unsigned_24 is Unsigned_Longword range 0 .. 2**24-1;
subtype Unsigned_25 is Unsigned_Longword range 0 .. 2**25-1;
subtype Unsigned_26 is Unsigned_Longword range 0 .. 2**26-1;
subtype Unsigned_27 is Unsigned_Longword range 0 .. 2**27-1;
subtype Unsigned_28 is Unsigned_Longword range 0 .. 2**28-1;
subtype Unsigned_29 is Unsigned_Longword range 0 .. 2**29-1;
subtype Unsigned_30 is Unsigned_Longword range 0 .. 2**30-1;
subtype Unsigned_31 is Unsigned_Longword range 0 .. 2**31-1;
-- Function for obtaining global symbol values
function Import_Value (Symbol : String) return Unsigned_Longword;
function Import_Address (Symbol : String) return Address;
function Import_Largest_Value (Symbol : String) return Largest_Integer;
pragma Import (Intrinsic, Import_Value);
pragma Import (Intrinsic, Import_Address);
pragma Import (Intrinsic, Import_Largest_Value);
-- For the following declarations, note that the declaration without
-- a Retry_Count parameter means to retry infinitely. A value of zero
-- for the Retry_Count parameter means do not retry.
-- Interlocked-instruction procedures
procedure Clear_Interlocked
(Bit : in out Boolean;
Old_Value : out Boolean);
procedure Set_Interlocked
(Bit : in out Boolean;
Old_Value : out Boolean);
type Aligned_Word is record
Value : Short_Integer;
end record;
for Aligned_Word'Alignment use
Integer'Min (2, Standard'Maximum_Alignment);
procedure Clear_Interlocked
(Bit : in out Boolean;
Old_Value : out Boolean;
Retry_Count : in Natural;
Success_Flag : out Boolean);
procedure Set_Interlocked
(Bit : in out Boolean;
Old_Value : out Boolean;
Retry_Count : in Natural;
Success_Flag : out Boolean);
procedure Add_Interlocked
(Addend : in Short_Integer;
Augend : in out Aligned_Word;
Sign : out Integer);
type Aligned_Integer is record
Value : Integer;
end record;
for Aligned_Integer'Alignment use
Integer'Min (4, Standard'Maximum_Alignment);
type Aligned_Long_Integer is record
Value : Long_Integer;
end record;
for Aligned_Long_Integer'Alignment use
Integer'Min (8, Standard'Maximum_Alignment);
-- For the following declarations, note that the declaration without
-- a Retry_Count parameter mean to retry infinitely. A value of zero
-- for the Retry_Count means do not retry.
procedure Add_Atomic
(To : in out Aligned_Integer;
Amount : in Integer);
procedure Add_Atomic
(To : in out Aligned_Integer;
Amount : in Integer;
Retry_Count : in Natural;
Old_Value : out Integer;
Success_Flag : out Boolean);
procedure Add_Atomic
(To : in out Aligned_Long_Integer;
Amount : in Long_Integer);
procedure Add_Atomic
(To : in out Aligned_Long_Integer;
Amount : in Long_Integer;
Retry_Count : in Natural;
Old_Value : out Long_Integer;
Success_Flag : out Boolean);
procedure And_Atomic
(To : in out Aligned_Integer;
From : in Integer);
procedure And_Atomic
(To : in out Aligned_Integer;
From : in Integer;
Retry_Count : in Natural;
Old_Value : out Integer;
Success_Flag : out Boolean);
procedure And_Atomic
(To : in out Aligned_Long_Integer;
From : in Long_Integer);
procedure And_Atomic
(To : in out Aligned_Long_Integer;
From : in Long_Integer;
Retry_Count : in Natural;
Old_Value : out Long_Integer;
Success_Flag : out Boolean);
procedure Or_Atomic
(To : in out Aligned_Integer;
From : in Integer);
procedure Or_Atomic
(To : in out Aligned_Integer;
From : in Integer;
Retry_Count : in Natural;
Old_Value : out Integer;
Success_Flag : out Boolean);
procedure Or_Atomic
(To : in out Aligned_Long_Integer;
From : in Long_Integer);
procedure Or_Atomic
(To : in out Aligned_Long_Integer;
From : in Long_Integer;
Retry_Count : in Natural;
Old_Value : out Long_Integer;
Success_Flag : out Boolean);
type Insq_Status is
(Fail_No_Lock, OK_Not_First, OK_First);
for Insq_Status use
(Fail_No_Lock => -1,
OK_Not_First => 0,
OK_First => +1);
type Remq_Status is (
Fail_No_Lock,
Fail_Was_Empty,
OK_Not_Empty,
OK_Empty);
for Remq_Status use
(Fail_No_Lock => -1,
Fail_Was_Empty => 0,
OK_Not_Empty => +1,
OK_Empty => +2);
procedure Insqhi
(Item : in Address;
Header : in Address;
Status : out Insq_Status);
procedure Remqhi
(Header : in Address;
Item : out Address;
Status : out Remq_Status);
procedure Insqti
(Item : in Address;
Header : in Address;
Status : out Insq_Status);
procedure Remqti
(Header : in Address;
Item : out Address;
Status : out Remq_Status);
private
Address_Zero : constant Address := Null_Address;
No_Addr : constant Address := Null_Address;
-- An AST_Handler value is from a typing point of view simply a pointer
-- to a procedure taking a single 64bit parameter. However, this
-- is a bit misleading, because the data that this pointer references is
-- highly stylized. See body of System.AST_Handling for full details.
type AST_Handler is access procedure (Param : Long_Integer);
No_AST_Handler : constant AST_Handler := null;
-- Other operators have incorrect profiles. It would be nice to make
-- them intrinsic, since the backend can handle them, but the front
-- end is not prepared to deal with them, so at least inline them.
pragma Inline_Always ("+");
pragma Inline_Always ("-");
pragma Inline_Always ("not");
pragma Inline_Always ("and");
pragma Inline_Always ("or");
pragma Inline_Always ("xor");
-- Other inlined subprograms
pragma Inline_Always (Fetch_From_Address);
pragma Inline_Always (Assign_To_Address);
-- Synchronization related subprograms. These are declared to have
-- convention C so that the critical parameters are passed by reference.
-- Without this, the parameters are passed by copy, creating load/store
-- race conditions. We also inline them, since this seems more in the
-- spirit of the original (hardware intrinsic) routines.
pragma Convention (C, Clear_Interlocked);
pragma Inline_Always (Clear_Interlocked);
pragma Convention (C, Set_Interlocked);
pragma Inline_Always (Set_Interlocked);
pragma Convention (C, Add_Interlocked);
pragma Inline_Always (Add_Interlocked);
pragma Convention (C, Add_Atomic);
pragma Inline_Always (Add_Atomic);
pragma Convention (C, And_Atomic);
pragma Inline_Always (And_Atomic);
pragma Convention (C, Or_Atomic);
pragma Inline_Always (Or_Atomic);
-- Provide proper unchecked conversion definitions for transfer
-- functions. Note that we need this level of indirection because
-- the formal parameter name is X and not Source (and this is indeed
-- detectable by a program)
function To_Unsigned_Byte_A is new
Unchecked_Conversion (Bit_Array_8, Unsigned_Byte);
function To_Unsigned_Byte (X : Bit_Array_8) return Unsigned_Byte
renames To_Unsigned_Byte_A;
function To_Bit_Array_8_A is new
Unchecked_Conversion (Unsigned_Byte, Bit_Array_8);
function To_Bit_Array_8 (X : Unsigned_Byte) return Bit_Array_8
renames To_Bit_Array_8_A;
function To_Unsigned_Word_A is new
Unchecked_Conversion (Bit_Array_16, Unsigned_Word);
function To_Unsigned_Word (X : Bit_Array_16) return Unsigned_Word
renames To_Unsigned_Word_A;
function To_Bit_Array_16_A is new
Unchecked_Conversion (Unsigned_Word, Bit_Array_16);
function To_Bit_Array_16 (X : Unsigned_Word) return Bit_Array_16
renames To_Bit_Array_16_A;
function To_Unsigned_Longword_A is new
Unchecked_Conversion (Bit_Array_32, Unsigned_Longword);
function To_Unsigned_Longword (X : Bit_Array_32) return Unsigned_Longword
renames To_Unsigned_Longword_A;
function To_Bit_Array_32_A is new
Unchecked_Conversion (Unsigned_Longword, Bit_Array_32);
function To_Bit_Array_32 (X : Unsigned_Longword) return Bit_Array_32
renames To_Bit_Array_32_A;
function To_Unsigned_32_A is new
Unchecked_Conversion (Bit_Array_32, Unsigned_32);
function To_Unsigned_32 (X : Bit_Array_32) return Unsigned_32
renames To_Unsigned_32_A;
function To_Bit_Array_32_A is new
Unchecked_Conversion (Unsigned_32, Bit_Array_32);
function To_Bit_Array_32 (X : Unsigned_32) return Bit_Array_32
renames To_Bit_Array_32_A;
function To_Unsigned_Quadword_A is new
Unchecked_Conversion (Bit_Array_64, Unsigned_Quadword);
function To_Unsigned_Quadword (X : Bit_Array_64) return Unsigned_Quadword
renames To_Unsigned_Quadword_A;
function To_Bit_Array_64_A is new
Unchecked_Conversion (Unsigned_Quadword, Bit_Array_64);
function To_Bit_Array_64 (X : Unsigned_Quadword) return Bit_Array_64
renames To_Bit_Array_64_A;
pragma Warnings (Off);
-- Turn warnings off. This is needed for systems with 64-bit integers,
-- where some of these operations are of dubious meaning, but we do not
-- want warnings when we compile on such systems.
function To_Address_A is new
Unchecked_Conversion (Integer, Address);
pragma Pure_Function (To_Address_A);
function To_Address (X : Integer) return Address
renames To_Address_A;
pragma Pure_Function (To_Address);
function To_Address_Long_A is new
Unchecked_Conversion (Unsigned_Longword, Address);
pragma Pure_Function (To_Address_Long_A);
function To_Address_Long (X : Unsigned_Longword) return Address
renames To_Address_Long_A;
pragma Pure_Function (To_Address_Long);
function To_Integer_A is new
Unchecked_Conversion (Address, Integer);
function To_Integer (X : Address) return Integer
renames To_Integer_A;
function To_Unsigned_Longword_A is new
Unchecked_Conversion (Address, Unsigned_Longword);
function To_Unsigned_Longword (X : Address) return Unsigned_Longword
renames To_Unsigned_Longword_A;
function To_Unsigned_Longword_A is new
Unchecked_Conversion (AST_Handler, Unsigned_Longword);
function To_Unsigned_Longword (X : AST_Handler) return Unsigned_Longword
renames To_Unsigned_Longword_A;
pragma Warnings (On);
end System.Aux_DEC;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . E X N _ L L I --
-- --
-- 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. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
-- Long_Long_Integer exponentiation (checks off)
package System.Exn_LLI is
pragma Pure;
function Exn_Long_Long_Integer
(Left : Long_Long_Integer;
Right : Natural)
return Long_Long_Integer;
end System.Exn_LLI;
|
-- C45220B.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.
--*
-- CHECK THAT '<' , '<=' , '>' , '>=' PRODUCE CORRECT RESULTS ON
-- BOOLEAN-TYPE OPERANDS (IN PARTICULAR, FOR OPERANDS HAVING
-- DIFFERENT SUBTYPES).
-- THIS TEST IS DERIVED FROM C45220A.ADA .
-- RM 28 OCTOBER 1980
-- JWC 7/8/85 RENAMED TO -AB
WITH REPORT ;
PROCEDURE C45220B IS
USE REPORT;
SUBTYPE T1 IS BOOLEAN RANGE FALSE..FALSE ;
SUBTYPE T2 IS BOOLEAN RANGE TRUE..TRUE ;
SUBTYPE T3 IS BOOLEAN RANGE FALSE..TRUE ;
SUBTYPE T4 IS T3 RANGE TRUE..TRUE ;
FVAR1 : T1 := FALSE ;
TVAR1 : T2 := TRUE ;
FVAR2 : T3 := FALSE ;
TVAR2 : T4 := TRUE ;
ERROR_COUNT : INTEGER := 0 ;
PROCEDURE BUMP IS
BEGIN
ERROR_COUNT := ERROR_COUNT + 1 ;
END BUMP ;
BEGIN
TEST( "C45220B" , "CHECK THAT '<' , '<=' , '>' , '>=' PRODUCE" &
" CORRECT RESULTS ON BOOLEAN-TYPE OPERANDS" ) ;
-- 64 CASES ( 2 * 2 ORDERED PAIRS OF OPERAND VALUES,
-- 4 OPERATORS : '<' , <=' , '>' , '>='
-- 4 VARIABLE/LITERAL FOR LEFT OPERAND,
-- VARIABLE/LITERAL FOR RIGHT OPERAND.
-- 'BUMP' MEANS 'BUMP THE ERROR COUNT'
FVAR1 := IDENT_BOOL( FALSE ) ;
TVAR1 := IDENT_BOOL( TRUE ) ;
FVAR2 := IDENT_BOOL( FALSE ) ;
TVAR2 := IDENT_BOOL( TRUE ) ;
ERROR_COUNT := 0 ;
IF FALSE < FALSE THEN BUMP ; END IF;
IF FVAR1 < FALSE THEN BUMP ; END IF;
IF FALSE < FVAR2 THEN BUMP ; END IF;
IF FVAR2 < FVAR1 THEN BUMP ; END IF;
IF FALSE < TRUE THEN NULL ; ELSE BUMP ; END IF;
IF FVAR1 < TRUE THEN NULL ; ELSE BUMP ; END IF;
IF FALSE < TVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF FVAR2 < TVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF TRUE < FALSE THEN BUMP ; END IF;
IF TRUE < FVAR1 THEN BUMP ; END IF;
IF TVAR2 < FALSE THEN BUMP ; END IF;
IF TVAR1 < FVAR2 THEN BUMP ; END IF;
IF TRUE < TRUE THEN BUMP ; END IF;
IF TVAR1 < TRUE THEN BUMP ; END IF;
IF TRUE < TVAR2 THEN BUMP ; END IF;
IF TVAR2 < TVAR1 THEN BUMP ; END IF;
IF ERROR_COUNT > 0 THEN
FAILED( "ORDERING OF BOOLEAN VALUES - FAILURE '<'" );
END IF;
ERROR_COUNT := 0 ;
IF FALSE <= FALSE THEN NULL ; ELSE BUMP ; END IF;
IF FVAR1 <= FALSE THEN NULL ; ELSE BUMP ; END IF;
IF FALSE <= FVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF FVAR2 <= FVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF FALSE <= TRUE THEN NULL ; ELSE BUMP ; END IF;
IF FVAR1 <= TRUE THEN NULL ; ELSE BUMP ; END IF;
IF FALSE <= TVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF FVAR2 <= TVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF TRUE <= FALSE THEN BUMP ; END IF;
IF TRUE <= FVAR1 THEN BUMP ; END IF;
IF TVAR2 <= FALSE THEN BUMP ; END IF;
IF TVAR1 <= FVAR2 THEN BUMP ; END IF;
IF TRUE <= TRUE THEN NULL ; ELSE BUMP ; END IF;
IF TVAR1 <= TRUE THEN NULL ; ELSE BUMP ; END IF;
IF TRUE <= TVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF TVAR2 <= TVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF ERROR_COUNT > 0 THEN
FAILED( "ORDERING OF BOOLEAN VALUES - FAILURE '<='" );
END IF;
ERROR_COUNT := 0 ;
IF FALSE > FALSE THEN BUMP ; END IF;
IF FVAR1 > FALSE THEN BUMP ; END IF;
IF FALSE > FVAR2 THEN BUMP ; END IF;
IF FVAR2 > FVAR1 THEN BUMP ; END IF;
IF FALSE > TRUE THEN BUMP ; END IF;
IF FVAR1 > TRUE THEN BUMP ; END IF;
IF FALSE > TVAR2 THEN BUMP ; END IF;
IF FVAR2 > TVAR1 THEN BUMP ; END IF;
IF TRUE > FALSE THEN NULL ; ELSE BUMP ; END IF;
IF TRUE > FVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF TVAR2 > FALSE THEN NULL ; ELSE BUMP ; END IF;
IF TVAR1 > FVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF TRUE > TRUE THEN BUMP ; END IF;
IF TVAR1 > TRUE THEN BUMP ; END IF;
IF TRUE > TVAR2 THEN BUMP ; END IF;
IF TVAR2 > TVAR1 THEN BUMP ; END IF;
IF ERROR_COUNT > 0 THEN
FAILED( "ORDERING OF BOOLEAN VALUES - FAILURE '>'" );
END IF;
ERROR_COUNT := 0 ;
IF FALSE >= FALSE THEN NULL ; ELSE BUMP ; END IF;
IF FVAR1 >= FALSE THEN NULL ; ELSE BUMP ; END IF;
IF FALSE >= FVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF FVAR2 >= FVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF FALSE >= TRUE THEN BUMP ; END IF;
IF FVAR1 >= TRUE THEN BUMP ; END IF;
IF FALSE >= TVAR2 THEN BUMP ; END IF;
IF FVAR2 >= TVAR1 THEN BUMP ; END IF;
IF TRUE >= FALSE THEN NULL ; ELSE BUMP ; END IF;
IF TRUE >= FVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF TVAR2 >= FALSE THEN NULL ; ELSE BUMP ; END IF;
IF TVAR1 >= FVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF TRUE >= TRUE THEN NULL ; ELSE BUMP ; END IF;
IF TVAR1 >= TRUE THEN NULL ; ELSE BUMP ; END IF;
IF TRUE >= TVAR2 THEN NULL ; ELSE BUMP ; END IF;
IF TVAR2 >= TVAR1 THEN NULL ; ELSE BUMP ; END IF;
IF ERROR_COUNT > 0 THEN
FAILED( "ORDERING OF BOOLEAN VALUES - FAILURE '>='" );
END IF;
RESULT ;
END C45220B;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011, 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.
------------------------------------------------------------------------------
-- A property is a structural feature of a classifier that characterizes
-- instances of the classifier. A property related by ownedAttribute to a
-- classifier (other than an association) represents an attribute and might
-- also represent an association end. It relates an instance of the class to
-- a value or set of values of the type of the attribute. A property related
-- by memberEnd or its specializations to an association represents an end of
-- the association. The type of the property is the type of the end of the
-- association.
------------------------------------------------------------------------------
limited with AMF.CMOF.Associations;
limited with AMF.CMOF.Classes;
limited with AMF.CMOF.Classifiers.Collections;
limited with AMF.CMOF.Data_Types;
limited with AMF.CMOF.Properties.Collections;
limited with AMF.CMOF.Redefinable_Elements;
with AMF.CMOF.Structural_Features;
package AMF.CMOF.Properties is
pragma Preelaborate;
type CMOF_Property is limited interface
and AMF.CMOF.Structural_Features.CMOF_Structural_Feature;
type CMOF_Property_Access is
access all CMOF_Property'Class;
for CMOF_Property_Access'Storage_Size use 0;
not overriding function Get_Is_Read_Only
(Self : not null access constant CMOF_Property)
return Boolean is abstract;
-- Getter of Property::isReadOnly.
--
-- If isReadOnly is true, the attribute may not be written to after
-- initialization.
not overriding procedure Set_Is_Read_Only
(Self : not null access CMOF_Property;
To : Boolean) is abstract;
-- Setter of Property::isReadOnly.
--
-- If isReadOnly is true, the attribute may not be written to after
-- initialization.
not overriding function Get_Default
(Self : not null access constant CMOF_Property)
return AMF.Optional_String is abstract;
-- Getter of Property::default.
--
-- Specifies a String that represents a value to be used when no argument
-- is supplied for the Property.
not overriding procedure Set_Default
(Self : not null access CMOF_Property;
To : AMF.Optional_String) is abstract;
-- Setter of Property::default.
--
-- Specifies a String that represents a value to be used when no argument
-- is supplied for the Property.
not overriding function Get_Is_Composite
(Self : not null access constant CMOF_Property)
return Boolean is abstract;
-- Getter of Property::isComposite.
--
-- If isComposite is true, the object containing the attribute is a
-- container for the object or value contained in the attribute.
not overriding procedure Set_Is_Composite
(Self : not null access CMOF_Property;
To : Boolean) is abstract;
-- Setter of Property::isComposite.
--
-- If isComposite is true, the object containing the attribute is a
-- container for the object or value contained in the attribute.
not overriding function Get_Is_Derived
(Self : not null access constant CMOF_Property)
return Boolean is abstract;
-- Getter of Property::isDerived.
--
-- If isDerived is true, the value of the attribute is derived from
-- information elsewhere.
not overriding procedure Set_Is_Derived
(Self : not null access CMOF_Property;
To : Boolean) is abstract;
-- Setter of Property::isDerived.
--
-- If isDerived is true, the value of the attribute is derived from
-- information elsewhere.
not overriding function Get_Is_Derived_Union
(Self : not null access constant CMOF_Property)
return Boolean is abstract;
-- Getter of Property::isDerivedUnion.
--
-- Specifies whether the property is derived as the union of all of the
-- properties that are constrained to subset it.
not overriding procedure Set_Is_Derived_Union
(Self : not null access CMOF_Property;
To : Boolean) is abstract;
-- Setter of Property::isDerivedUnion.
--
-- Specifies whether the property is derived as the union of all of the
-- properties that are constrained to subset it.
not overriding function Get_Class
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Classes.CMOF_Class_Access is abstract;
-- Getter of Property::class.
--
-- References the Class that owns the Property.
not overriding procedure Set_Class
(Self : not null access CMOF_Property;
To : AMF.CMOF.Classes.CMOF_Class_Access) is abstract;
-- Setter of Property::class.
--
-- References the Class that owns the Property.
not overriding function Get_Owning_Association
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Associations.CMOF_Association_Access is abstract;
-- Getter of Property::owningAssociation.
--
-- References the owning association of this property, if any.
not overriding procedure Set_Owning_Association
(Self : not null access CMOF_Property;
To : AMF.CMOF.Associations.CMOF_Association_Access) is abstract;
-- Setter of Property::owningAssociation.
--
-- References the owning association of this property, if any.
not overriding function Get_Redefined_Property
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Properties.Collections.Set_Of_CMOF_Property is abstract;
-- Getter of Property::redefinedProperty.
--
-- References the properties that are redefined by this property.
not overriding function Get_Subsetted_Property
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Properties.Collections.Set_Of_CMOF_Property is abstract;
-- Getter of Property::subsettedProperty.
--
-- References the properties of which this property is constrained to be a
-- subset.
not overriding function Get_Opposite
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Properties.CMOF_Property_Access is abstract;
-- Getter of Property::opposite.
--
-- In the case where the property is one navigable end of a binary
-- association with both ends navigable, this gives the other end.
not overriding procedure Set_Opposite
(Self : not null access CMOF_Property;
To : AMF.CMOF.Properties.CMOF_Property_Access) is abstract;
-- Setter of Property::opposite.
--
-- In the case where the property is one navigable end of a binary
-- association with both ends navigable, this gives the other end.
not overriding function Get_Datatype
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Data_Types.CMOF_Data_Type_Access is abstract;
-- Getter of Property::datatype.
--
-- The DataType that owns this Property.
not overriding procedure Set_Datatype
(Self : not null access CMOF_Property;
To : AMF.CMOF.Data_Types.CMOF_Data_Type_Access) is abstract;
-- Setter of Property::datatype.
--
-- The DataType that owns this Property.
not overriding function Get_Association
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Associations.CMOF_Association_Access is abstract;
-- Getter of Property::association.
--
-- References the association of which this property is a member, if any.
not overriding procedure Set_Association
(Self : not null access CMOF_Property;
To : AMF.CMOF.Associations.CMOF_Association_Access) is abstract;
-- Setter of Property::association.
--
-- References the association of which this property is a member, if any.
not overriding function Opposite
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Properties.CMOF_Property_Access is abstract;
-- Operation Property::opposite.
--
-- If this property is owned by a class, associated with a binary
-- association, and the other end of the association is also owned by a
-- class, then opposite gives the other end.
overriding function Is_Consistent_With
(Self : not null access constant CMOF_Property;
Redefinee : AMF.CMOF.Redefinable_Elements.CMOF_Redefinable_Element_Access)
return Boolean is abstract;
-- Operation Property::isConsistentWith.
--
-- The query isConsistentWith() specifies, for any two Properties in a
-- context in which redefinition is possible, whether redefinition would
-- be logically consistent. A redefining property is consistent with a
-- redefined property if the type of the redefining property conforms to
-- the type of the redefined property, the multiplicity of the redefining
-- property (if specified) is contained in the multiplicity of the
-- redefined property, and the redefining property is derived if the
-- redefined property is derived.
not overriding function Subsetting_Context
(Self : not null access constant CMOF_Property)
return AMF.CMOF.Classifiers.Collections.Set_Of_CMOF_Classifier is abstract;
-- Operation Property::subsettingContext.
--
-- The query subsettingContext() gives the context for subsetting a
-- property. It consists, in the case of an attribute, of the
-- corresponding classifier, and in the case of an association end, all of
-- the classifiers at the other ends.
not overriding function Is_Navigable
(Self : not null access constant CMOF_Property)
return Boolean is abstract;
-- Operation Property::isNavigable.
--
-- The query isNavigable() indicates whether it is possible to navigate
-- across the property.
not overriding function Is_Attribute
(Self : not null access constant CMOF_Property;
P : AMF.CMOF.Properties.CMOF_Property_Access)
return Boolean is abstract;
-- Operation Property::isAttribute.
--
-- The query isAttribute() is true if the Property is defined as an
-- attribute of some classifier.
end AMF.CMOF.Properties;
|
with impact.d3.collision.Detector.discrete,
impact.d3.Shape.convex.internal.polyhedral.box;
package impact.d3.collision.Detector.discrete.box_box
--
--
-- impact.d3.collision.Detector.discrete.box_box wraps the ODE box-box collision detector.
--
is
use impact.d3.collision.Detector.discrete;
type Item is new impact.d3.collision.Detector.discrete.item with private;
function to_box_box_Detector (box1, box2 : in impact.d3.Shape.convex.internal.polyhedral.box.view) return Item;
overriding procedure getClosestPoints (Self : in out Item; input : in ClosestPointInput;
output : in out Result'Class;
swapResults : in Boolean := False);
private
type Item is new impact.d3.collision.Detector.discrete.item with
record
m_box1,
m_box2 : impact.d3.Shape.convex.internal.polyhedral.box.view;
end record;
end impact.d3.collision.Detector.discrete.box_box;
|
-- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual
---------------------------------------------------------------------------
generic
type Index_Type is (<>);
type Element_Type is private;
type Array_Type is array (Index_Type) of Element_Type;
with function "<" (Left : in Element_Type;
Right : in Element_Type)
return Boolean is <>;
procedure Ada.Containers.Generic_Constrained_Array_Sort
(Container : in out Array_Type);
pragma Pure (Ada.Containers.Generic_Constrained_Array_Sort);
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . O S _ P R I M I T I V E S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1998-2020, 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 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/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This version is for POSIX.1-2008-like operating systems
with System.CRTL;
with System.OS_Constants;
package body System.OS_Primitives is
subtype int is System.CRTL.int;
-- ??? These definitions are duplicated from System.OS_Interface because
-- we don't want to depend on any package. Consider removing these
-- declarations in System.OS_Interface and move these ones to the spec.
type time_t is new System.CRTL.int64;
type timespec is record
tv_sec : time_t;
tv_nsec : Long_Integer;
end record;
pragma Convention (C, timespec);
function nanosleep (rqtp, rmtp : not null access timespec) return Integer;
pragma Import (C, nanosleep, "nanosleep");
-----------
-- Clock --
-----------
function Clock return Duration is
TS : aliased timespec;
Result : int;
type clockid_t is new int;
CLOCK_REALTIME : constant clockid_t :=
System.OS_Constants.CLOCK_REALTIME;
function clock_gettime
(clock_id : clockid_t;
tp : access timespec) return int;
pragma Import (C, clock_gettime, "clock_gettime");
begin
Result := clock_gettime (CLOCK_REALTIME, TS'Unchecked_Access);
pragma Assert (Result = 0);
return Duration (TS.tv_sec) + Duration (TS.tv_nsec) / 10#1#E9;
end Clock;
-----------------
-- To_Timespec --
-----------------
function To_Timespec (D : Duration) return timespec;
function To_Timespec (D : Duration) return timespec is
S : time_t;
F : Duration;
begin
S := time_t (Long_Long_Integer (D));
F := D - Duration (S);
-- If F has negative value due to a round-up, adjust for positive F
-- value.
if F < 0.0 then
S := S - 1;
F := F + 1.0;
end if;
return
timespec'(tv_sec => S,
tv_nsec => Long_Integer (Long_Long_Integer (F * 10#1#E9)));
end To_Timespec;
-----------------
-- Timed_Delay --
-----------------
procedure Timed_Delay
(Time : Duration;
Mode : Integer)
is separate;
----------------
-- Initialize --
----------------
procedure Initialize is
begin
null;
end Initialize;
end System.OS_Primitives;
|
------------------------------------------------------------------------------
-- --
-- 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_Control_Flows is
-------------------
-- Enter_Element --
-------------------
overriding procedure Enter_Element
(Self : not null access constant UML_Control_Flow_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_Control_Flow
(AMF.UML.Control_Flows.UML_Control_Flow_Access (Self),
Control);
end if;
end Enter_Element;
-------------------
-- Leave_Element --
-------------------
overriding procedure Leave_Element
(Self : not null access constant UML_Control_Flow_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_Control_Flow
(AMF.UML.Control_Flows.UML_Control_Flow_Access (Self),
Control);
end if;
end Leave_Element;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : not null access constant UML_Control_Flow_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_Control_Flow
(Visitor,
AMF.UML.Control_Flows.UML_Control_Flow_Access (Self),
Control);
end if;
end Visit_Element;
------------------
-- Get_Activity --
------------------
overriding function Get_Activity
(Self : not null access constant UML_Control_Flow_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_Activity
(Self.Element)));
end Get_Activity;
------------------
-- Set_Activity --
------------------
overriding procedure Set_Activity
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Activities.UML_Activity_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Activity
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Activity;
---------------
-- Get_Guard --
---------------
overriding function Get_Guard
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Value_Specifications.UML_Value_Specification_Access is
begin
return
AMF.UML.Value_Specifications.UML_Value_Specification_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Guard
(Self.Element)));
end Get_Guard;
---------------
-- Set_Guard --
---------------
overriding procedure Set_Guard
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Guard
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Guard;
------------------
-- Get_In_Group --
------------------
overriding function Get_In_Group
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Activity_Groups.Collections.Set_Of_UML_Activity_Group is
begin
return
AMF.UML.Activity_Groups.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Group
(Self.Element)));
end Get_In_Group;
----------------------
-- Get_In_Partition --
----------------------
overriding function Get_In_Partition
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Activity_Partitions.Collections.Set_Of_UML_Activity_Partition is
begin
return
AMF.UML.Activity_Partitions.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Partition
(Self.Element)));
end Get_In_Partition;
----------------------------
-- Get_In_Structured_Node --
----------------------------
overriding function Get_In_Structured_Node
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access is
begin
return
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Structured_Node
(Self.Element)));
end Get_In_Structured_Node;
----------------------------
-- Set_In_Structured_Node --
----------------------------
overriding procedure Set_In_Structured_Node
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_In_Structured_Node
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_In_Structured_Node;
--------------------
-- Get_Interrupts --
--------------------
overriding function Get_Interrupts
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access is
begin
return
AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Interrupts
(Self.Element)));
end Get_Interrupts;
--------------------
-- Set_Interrupts --
--------------------
overriding procedure Set_Interrupts
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Interrupts
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Interrupts;
------------------------
-- Get_Redefined_Edge --
------------------------
overriding function Get_Redefined_Edge
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is
begin
return
AMF.UML.Activity_Edges.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Edge
(Self.Element)));
end Get_Redefined_Edge;
----------------
-- Get_Source --
----------------
overriding function Get_Source
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Activity_Nodes.UML_Activity_Node_Access is
begin
return
AMF.UML.Activity_Nodes.UML_Activity_Node_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Source
(Self.Element)));
end Get_Source;
----------------
-- Set_Source --
----------------
overriding procedure Set_Source
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Activity_Nodes.UML_Activity_Node_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Source
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Source;
----------------
-- Get_Target --
----------------
overriding function Get_Target
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Activity_Nodes.UML_Activity_Node_Access is
begin
return
AMF.UML.Activity_Nodes.UML_Activity_Node_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Target
(Self.Element)));
end Get_Target;
----------------
-- Set_Target --
----------------
overriding procedure Set_Target
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Activity_Nodes.UML_Activity_Node_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Target
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Target;
----------------
-- Get_Weight --
----------------
overriding function Get_Weight
(Self : not null access constant UML_Control_Flow_Proxy)
return AMF.UML.Value_Specifications.UML_Value_Specification_Access is
begin
return
AMF.UML.Value_Specifications.UML_Value_Specification_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Weight
(Self.Element)));
end Get_Weight;
----------------
-- Set_Weight --
----------------
overriding procedure Set_Weight
(Self : not null access UML_Control_Flow_Proxy;
To : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Weight
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Weight;
-----------------
-- Get_Is_Leaf --
-----------------
overriding function Get_Is_Leaf
(Self : not null access constant UML_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_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;
---------------------------
-- Get_Client_Dependency --
---------------------------
overriding function Get_Client_Dependency
(Self : not null access constant UML_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_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;
------------------------
-- Is_Consistent_With --
------------------------
overriding function Is_Consistent_With
(Self : not null access constant UML_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_Proxy.Is_Redefinition_Context_Valid";
return Is_Redefinition_Context_Valid (Self, Redefined);
end Is_Redefinition_Context_Valid;
-------------------------
-- All_Owning_Packages --
-------------------------
overriding function All_Owning_Packages
(Self : not null access constant UML_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_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_Control_Flow_Proxy.Namespace";
return Namespace (Self);
end Namespace;
end AMF.Internals.UML_Control_Flows;
|
package Giza.Bitmap_Fonts.FreeSansBoldOblique12pt7b is
Font : constant Giza.Font.Ref_Const;
private
FreeSansBoldOblique12pt7bBitmaps : aliased constant Font_Bitmap := (
16#0C#, 16#3C#, 16#78#, 16#E1#, 16#C3#, 16#8F#, 16#1C#, 16#38#, 16#70#,
16#C1#, 16#83#, 16#00#, 16#1C#, 16#78#, 16#F0#, 16#71#, 16#FC#, 16#FE#,
16#3B#, 16#8E#, 16#C3#, 16#30#, 16#C0#, 16#01#, 16#8C#, 16#07#, 16#38#,
16#0C#, 16#61#, 16#FF#, 16#F3#, 16#FF#, 16#E7#, 16#FF#, 16#83#, 16#9C#,
16#06#, 16#30#, 16#1C#, 16#E1#, 16#FF#, 16#F3#, 16#FF#, 16#C7#, 16#FF#,
16#83#, 16#18#, 16#0E#, 16#70#, 16#18#, 16#C0#, 16#73#, 16#80#, 16#00#,
16#40#, 16#07#, 16#F0#, 16#3F#, 16#F0#, 16#FF#, 16#F3#, 16#C9#, 16#E7#,
16#93#, 16#CF#, 16#60#, 16#1F#, 16#C0#, 16#3F#, 16#C0#, 16#3F#, 16#E0#,
16#1F#, 16#E0#, 16#1B#, 16#E0#, 16#33#, 16#DE#, 16#47#, 16#BC#, 16#8F#,
16#7F#, 16#7C#, 16#7F#, 16#F0#, 16#7F#, 16#80#, 16#18#, 16#00#, 16#20#,
16#00#, 16#C0#, 16#00#, 16#00#, 16#01#, 16#87#, 16#80#, 16#C3#, 16#F0#,
16#21#, 16#FE#, 16#10#, 16#E1#, 16#8C#, 16#30#, 16#66#, 16#0C#, 16#3B#,
16#03#, 16#FC#, 16#80#, 16#7E#, 16#40#, 16#0F#, 16#30#, 16#00#, 16#18#,
16#70#, 16#04#, 16#7E#, 16#02#, 16#1F#, 16#C1#, 16#8E#, 16#30#, 16#C3#,
16#1C#, 16#60#, 16#FE#, 16#10#, 16#1F#, 16#8C#, 16#07#, 16#80#, 16#01#,
16#E0#, 16#07#, 16#F0#, 16#1F#, 16#E0#, 16#79#, 16#C0#, 16#F3#, 16#81#,
16#EE#, 16#01#, 16#F8#, 16#01#, 16#E0#, 16#1F#, 16#C6#, 16#7B#, 16#DD#,
16#E3#, 16#F7#, 16#87#, 16#EF#, 16#07#, 16#9F#, 16#1F#, 16#3F#, 16#FF#,
16#3F#, 16#DE#, 16#3F#, 16#1C#, 16#7F#, 16#EE#, 16#CC#, 16#03#, 16#83#,
16#81#, 16#81#, 16#C1#, 16#C0#, 16#E0#, 16#E0#, 16#70#, 16#70#, 16#38#,
16#3C#, 16#1C#, 16#0E#, 16#07#, 16#03#, 16#81#, 16#C0#, 16#E0#, 16#70#,
16#18#, 16#0E#, 16#07#, 16#01#, 16#80#, 16#06#, 16#03#, 16#81#, 16#C0#,
16#60#, 16#38#, 16#1C#, 16#0E#, 16#07#, 16#03#, 16#81#, 16#C0#, 16#E0#,
16#E0#, 16#70#, 16#38#, 16#38#, 16#1C#, 16#1C#, 16#0E#, 16#0E#, 16#06#,
16#07#, 16#07#, 16#00#, 16#0C#, 16#0C#, 16#4F#, 16#FF#, 16#1C#, 16#3C#,
16#6C#, 16#44#, 16#03#, 16#80#, 16#38#, 16#07#, 16#00#, 16#70#, 16#7F#,
16#FF#, 16#FF#, 16#FF#, 16#F0#, 16#E0#, 16#0E#, 16#00#, 16#E0#, 16#0C#,
16#00#, 16#7B#, 16#DC#, 16#23#, 16#33#, 16#00#, 16#7F#, 16#FF#, 16#F0#,
16#7F#, 16#E0#, 16#00#, 16#40#, 16#20#, 16#08#, 16#04#, 16#01#, 16#00#,
16#80#, 16#60#, 16#10#, 16#0C#, 16#02#, 16#01#, 16#80#, 16#40#, 16#30#,
16#08#, 16#06#, 16#01#, 16#00#, 16#C0#, 16#00#, 16#03#, 16#C0#, 16#7F#,
16#87#, 16#FC#, 16#78#, 16#F3#, 16#C7#, 16#BC#, 16#3D#, 16#E1#, 16#EF#,
16#0F#, 16#F0#, 16#7F#, 16#87#, 16#BC#, 16#3D#, 16#E1#, 16#EF#, 16#1E#,
16#78#, 16#F3#, 16#FF#, 16#0F#, 16#F0#, 16#3E#, 16#00#, 16#03#, 16#83#,
16#83#, 16#CF#, 16#EF#, 16#F0#, 16#70#, 16#38#, 16#1C#, 16#0E#, 16#0F#,
16#07#, 16#03#, 16#81#, 16#C0#, 16#E0#, 16#E0#, 16#70#, 16#38#, 16#00#,
16#03#, 16#F0#, 16#0F#, 16#F8#, 16#7F#, 16#F8#, 16#F1#, 16#F3#, 16#C1#,
16#E7#, 16#83#, 16#C0#, 16#07#, 16#80#, 16#1E#, 16#00#, 16#78#, 16#03#,
16#E0#, 16#0F#, 16#00#, 16#7C#, 16#01#, 16#E0#, 16#07#, 16#00#, 16#1F#,
16#FC#, 16#3F#, 16#F8#, 16#FF#, 16#F0#, 16#07#, 16#E0#, 16#FF#, 16#8F#,
16#FE#, 16#F8#, 16#F7#, 16#87#, 16#80#, 16#78#, 16#0F#, 16#80#, 16#FC#,
16#07#, 16#E0#, 16#0F#, 16#80#, 16#3C#, 16#01#, 16#EF#, 16#0F#, 16#78#,
16#F3#, 16#FF#, 16#8F#, 16#F8#, 16#3F#, 16#00#, 16#00#, 16#78#, 16#07#,
16#C0#, 16#7E#, 16#03#, 16#F0#, 16#37#, 16#03#, 16#38#, 16#31#, 16#C3#,
16#9E#, 16#38#, 16#E1#, 16#87#, 16#1F#, 16#FE#, 16#FF#, 16#F7#, 16#FF#,
16#80#, 16#F0#, 16#07#, 16#00#, 16#38#, 16#03#, 16#C0#, 16#07#, 16#FC#,
16#1F#, 16#F0#, 16#FF#, 16#C3#, 16#00#, 16#1C#, 16#00#, 16#7F#, 16#81#,
16#FF#, 16#0F#, 16#FE#, 16#38#, 16#F8#, 16#01#, 16#E0#, 16#07#, 16#80#,
16#1E#, 16#F0#, 16#F3#, 16#C7#, 16#CF#, 16#FE#, 16#1F#, 16#F0#, 16#3F#,
16#00#, 16#03#, 16#E0#, 16#7F#, 16#87#, 16#FE#, 16#78#, 16#F3#, 16#C0#,
16#3D#, 16#E1#, 16#FF#, 16#8F#, 16#FE#, 16#F8#, 16#F7#, 16#C7#, 16#BC#,
16#3D#, 16#E1#, 16#EF#, 16#1E#, 16#7C#, 16#F3#, 16#FF#, 16#0F#, 16#F0#,
16#1F#, 16#00#, 16#7F#, 16#FB#, 16#FF#, 16#DF#, 16#FE#, 16#00#, 16#E0#,
16#0E#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#E0#, 16#0F#, 16#00#, 16#70#,
16#07#, 16#00#, 16#78#, 16#03#, 16#80#, 16#3C#, 16#01#, 16#C0#, 16#0E#,
16#00#, 16#F0#, 16#00#, 16#03#, 16#F0#, 16#1F#, 16#E0#, 16#FF#, 16#C7#,
16#8F#, 16#1C#, 16#3C#, 16#71#, 16#E0#, 16#FF#, 16#03#, 16#F8#, 16#3F#,
16#F1#, 16#F1#, 16#E7#, 16#87#, 16#BC#, 16#1E#, 16#F0#, 16#7B#, 16#E3#,
16#CF#, 16#FF#, 16#1F#, 16#F8#, 16#1F#, 16#80#, 16#03#, 16#E0#, 16#3F#,
16#E1#, 16#FF#, 16#8F#, 16#9F#, 16#3C#, 16#3D#, 16#E0#, 16#F7#, 16#83#,
16#DE#, 16#1F#, 16#78#, 16#FD#, 16#FF#, 16#E3#, 16#FF#, 16#87#, 16#DE#,
16#00#, 16#F3#, 16#C7#, 16#8F#, 16#FE#, 16#1F#, 16#F0#, 16#3F#, 16#00#,
16#1C#, 16#F3#, 16#80#, 16#00#, 16#00#, 16#00#, 16#01#, 16#CF#, 16#38#,
16#0E#, 16#3C#, 16#70#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#F1#,
16#E3#, 16#81#, 16#06#, 16#18#, 16#60#, 16#00#, 16#00#, 16#01#, 16#C0#,
16#7E#, 16#1F#, 16#E7#, 16#F8#, 16#7E#, 16#03#, 16#E0#, 16#1F#, 16#E0#,
16#3F#, 16#C0#, 16#7F#, 16#00#, 16#78#, 16#00#, 16#C0#, 16#3F#, 16#FC#,
16#FF#, 16#F3#, 16#FF#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#,
16#FF#, 16#9F#, 16#FC#, 16#7F#, 16#F0#, 16#30#, 16#01#, 16#E0#, 16#0F#,
16#E0#, 16#3F#, 16#C0#, 16#7F#, 16#80#, 16#7C#, 16#07#, 16#E1#, 16#FE#,
16#7F#, 16#87#, 16#E0#, 16#38#, 16#00#, 16#00#, 16#00#, 16#0F#, 16#C1#,
16#FF#, 16#8F#, 16#FC#, 16#F1#, 16#FF#, 16#07#, 16#F0#, 16#3C#, 16#01#,
16#E0#, 16#1E#, 16#01#, 16#E0#, 16#3E#, 16#03#, 16#E0#, 16#1C#, 16#01#,
16#C0#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#80#, 16#3C#, 16#01#, 16#C0#,
16#00#, 16#00#, 16#3F#, 16#80#, 16#03#, 16#FF#, 16#80#, 16#3C#, 16#0F#,
16#01#, 16#C0#, 16#0E#, 16#0E#, 16#00#, 16#1C#, 16#70#, 16#F7#, 16#73#,
16#87#, 16#F8#, 16#CC#, 16#31#, 16#E3#, 16#61#, 16#87#, 16#0D#, 16#8C#,
16#1C#, 16#3C#, 16#30#, 16#61#, 16#B1#, 16#81#, 16#86#, 16#C6#, 16#0C#,
16#3B#, 16#18#, 16#71#, 16#CC#, 16#63#, 16#CE#, 16#31#, 16#FB#, 16#F0#,
16#E3#, 16#CF#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#C0#, 16#C0#, 16#07#,
16#FF#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#1F#,
16#00#, 16#1F#, 16#80#, 16#1F#, 16#C0#, 16#0F#, 16#E0#, 16#0F#, 16#F0#,
16#07#, 16#7C#, 16#07#, 16#1E#, 16#03#, 16#8F#, 16#03#, 16#87#, 16#81#,
16#C3#, 16#C1#, 16#FF#, 16#E1#, 16#FF#, 16#F8#, 16#FF#, 16#FC#, 16#F0#,
16#1E#, 16#70#, 16#0F#, 16#78#, 16#07#, 16#B8#, 16#03#, 16#C0#, 16#0F#,
16#FE#, 16#0F#, 16#FF#, 16#87#, 16#FF#, 16#E3#, 16#C0#, 16#F1#, 16#C0#,
16#78#, 16#E0#, 16#3C#, 16#F0#, 16#3C#, 16#7F#, 16#FC#, 16#3F#, 16#FC#,
16#1F#, 16#FF#, 16#0E#, 16#07#, 16#CF#, 16#01#, 16#E7#, 16#80#, 16#F3#,
16#80#, 16#79#, 16#C0#, 16#79#, 16#FF#, 16#F8#, 16#FF#, 16#FC#, 16#7F#,
16#F8#, 16#00#, 16#01#, 16#F8#, 16#03#, 16#FF#, 16#03#, 16#FF#, 16#C3#,
16#E1#, 16#F3#, 16#C0#, 16#79#, 16#E0#, 16#3D#, 16#E0#, 16#00#, 16#F0#,
16#00#, 16#F0#, 16#00#, 16#78#, 16#00#, 16#3C#, 16#00#, 16#1E#, 16#00#,
16#0F#, 16#00#, 16#E7#, 16#80#, 16#F3#, 16#E0#, 16#F0#, 16#FF#, 16#F8#,
16#3F#, 16#F0#, 16#07#, 16#E0#, 16#00#, 16#1F#, 16#FC#, 16#0F#, 16#FF#,
16#87#, 16#FF#, 16#C3#, 16#81#, 16#F1#, 16#C0#, 16#79#, 16#E0#, 16#3C#,
16#F0#, 16#1E#, 16#78#, 16#0F#, 16#38#, 16#07#, 16#9C#, 16#03#, 16#DE#,
16#03#, 16#CF#, 16#01#, 16#E7#, 16#81#, 16#F3#, 16#80#, 16#F1#, 16#C1#,
16#F1#, 16#FF#, 16#F0#, 16#FF#, 16#F0#, 16#7F#, 16#E0#, 16#00#, 16#0F#,
16#FF#, 16#1F#, 16#FF#, 16#1F#, 16#FF#, 16#1C#, 16#00#, 16#1C#, 16#00#,
16#3C#, 16#00#, 16#3C#, 16#00#, 16#3F#, 16#FC#, 16#3F#, 16#FC#, 16#3F#,
16#FC#, 16#78#, 16#00#, 16#78#, 16#00#, 16#78#, 16#00#, 16#70#, 16#00#,
16#70#, 16#00#, 16#FF#, 16#F8#, 16#FF#, 16#F8#, 16#FF#, 16#F8#, 16#1F#,
16#FF#, 16#1F#, 16#FE#, 16#1F#, 16#FE#, 16#1C#, 16#00#, 16#1C#, 16#00#,
16#3C#, 16#00#, 16#3C#, 16#00#, 16#3F#, 16#F8#, 16#3F#, 16#F8#, 16#3F#,
16#F8#, 16#78#, 16#00#, 16#78#, 16#00#, 16#78#, 16#00#, 16#70#, 16#00#,
16#F0#, 16#00#, 16#F0#, 16#00#, 16#F0#, 16#00#, 16#E0#, 16#00#, 16#01#,
16#FC#, 16#03#, 16#FF#, 16#03#, 16#FF#, 16#C3#, 16#E0#, 16#F3#, 16#C0#,
16#39#, 16#C0#, 16#01#, 16#E0#, 16#00#, 16#F0#, 16#00#, 16#F0#, 16#7F#,
16#78#, 16#3F#, 16#BC#, 16#1F#, 16#DE#, 16#01#, 16#CF#, 16#00#, 16#E7#,
16#C0#, 16#F1#, 16#F0#, 16#F8#, 16#FF#, 16#F8#, 16#3F#, 16#EC#, 16#07#,
16#E6#, 16#00#, 16#1E#, 16#03#, 16#8F#, 16#01#, 16#C7#, 16#01#, 16#E3#,
16#80#, 16#F3#, 16#C0#, 16#79#, 16#E0#, 16#38#, 16#F0#, 16#1C#, 16#7F#,
16#FE#, 16#3F#, 16#FF#, 16#3F#, 16#FF#, 16#9E#, 16#03#, 16#8F#, 16#01#,
16#C7#, 16#01#, 16#E3#, 16#80#, 16#F3#, 16#C0#, 16#71#, 16#E0#, 16#38#,
16#F0#, 16#3C#, 16#70#, 16#1E#, 16#00#, 16#1E#, 16#3C#, 16#78#, 16#E1#,
16#C7#, 16#8F#, 16#1E#, 16#38#, 16#71#, 16#E3#, 16#C7#, 16#8E#, 16#1C#,
16#78#, 16#F1#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#70#, 16#03#, 16#C0#,
16#0F#, 16#00#, 16#38#, 16#00#, 16#E0#, 16#07#, 16#80#, 16#1E#, 16#00#,
16#70#, 16#01#, 16#C0#, 16#07#, 16#3C#, 16#3C#, 16#F0#, 16#F3#, 16#C3#,
16#8F#, 16#1E#, 16#3F#, 16#F8#, 16#7F#, 16#C0#, 16#FC#, 16#00#, 16#1E#,
16#07#, 16#C7#, 16#83#, 16#E1#, 16#E1#, 16#E0#, 16#70#, 16#F0#, 16#1C#,
16#78#, 16#0F#, 16#3C#, 16#03#, 16#DE#, 16#00#, 16#FF#, 16#00#, 16#3F#,
16#C0#, 16#0F#, 16#F0#, 16#07#, 16#DE#, 16#01#, 16#E7#, 16#C0#, 16#78#,
16#F0#, 16#1C#, 16#3E#, 16#0F#, 16#07#, 16#83#, 16#C0#, 16#F0#, 16#F0#,
16#3C#, 16#38#, 16#07#, 16#80#, 16#0E#, 16#00#, 16#F0#, 16#07#, 16#80#,
16#3C#, 16#01#, 16#C0#, 16#0E#, 16#00#, 16#F0#, 16#07#, 16#80#, 16#38#,
16#01#, 16#C0#, 16#1E#, 16#00#, 16#F0#, 16#07#, 16#80#, 16#38#, 16#01#,
16#C0#, 16#1F#, 16#FE#, 16#FF#, 16#F7#, 16#FF#, 16#80#, 16#1F#, 16#01#,
16#F1#, 16#F0#, 16#3F#, 16#1F#, 16#03#, 16#F1#, 16#F0#, 16#7F#, 16#3F#,
16#07#, 16#E3#, 16#F0#, 16#EE#, 16#3B#, 16#0E#, 16#E3#, 16#B1#, 16#DE#,
16#3B#, 16#1D#, 16#E7#, 16#B3#, 16#9C#, 16#73#, 16#39#, 16#C7#, 16#37#,
16#1C#, 16#73#, 16#73#, 16#CF#, 16#3F#, 16#3C#, 16#F3#, 16#E3#, 16#8E#,
16#3E#, 16#38#, 16#E3#, 16#C3#, 16#8E#, 16#3C#, 16#78#, 16#0E#, 16#03#,
16#87#, 16#C0#, 16#E1#, 16#F0#, 16#38#, 16#7C#, 16#0E#, 16#1F#, 16#87#,
16#8F#, 16#E1#, 16#C3#, 16#B8#, 16#70#, 16#EF#, 16#1C#, 16#39#, 16#C7#,
16#0E#, 16#7B#, 16#C7#, 16#9E#, 16#E1#, 16#C3#, 16#B8#, 16#70#, 16#FE#,
16#1C#, 16#1F#, 16#8F#, 16#07#, 16#E3#, 16#81#, 16#F0#, 16#E0#, 16#3C#,
16#38#, 16#0F#, 16#00#, 16#01#, 16#F8#, 16#03#, 16#FF#, 16#03#, 16#FF#,
16#C3#, 16#E3#, 16#E3#, 16#C0#, 16#F9#, 16#E0#, 16#3D#, 16#E0#, 16#1E#,
16#F0#, 16#0F#, 16#F0#, 16#07#, 16#F8#, 16#03#, 16#FC#, 16#03#, 16#DE#,
16#01#, 16#EF#, 16#00#, 16#F7#, 16#C0#, 16#F1#, 16#F0#, 16#F0#, 16#FF#,
16#F0#, 16#3F#, 16#F0#, 16#07#, 16#E0#, 16#00#, 16#1F#, 16#FC#, 16#1F#,
16#FE#, 16#1F#, 16#FF#, 16#1C#, 16#1F#, 16#1C#, 16#0F#, 16#3C#, 16#0F#,
16#3C#, 16#0F#, 16#3C#, 16#1E#, 16#3F#, 16#FC#, 16#3F#, 16#FC#, 16#7F#,
16#F0#, 16#78#, 16#00#, 16#78#, 16#00#, 16#70#, 16#00#, 16#70#, 16#00#,
16#F0#, 16#00#, 16#F0#, 16#00#, 16#F0#, 16#00#, 16#01#, 16#F8#, 16#03#,
16#FF#, 16#03#, 16#FF#, 16#C3#, 16#E3#, 16#E3#, 16#C0#, 16#F9#, 16#C0#,
16#3D#, 16#E0#, 16#1E#, 16#F0#, 16#0F#, 16#F0#, 16#07#, 16#F8#, 16#03#,
16#FC#, 16#03#, 16#DE#, 16#09#, 16#EF#, 16#0E#, 16#E7#, 16#C7#, 16#F1#,
16#F1#, 16#F0#, 16#FF#, 16#F8#, 16#3F#, 16#FE#, 16#07#, 16#EE#, 16#00#,
16#02#, 16#00#, 16#0F#, 16#FE#, 16#0F#, 16#FF#, 16#87#, 16#FF#, 16#E3#,
16#81#, 16#F1#, 16#C0#, 16#78#, 16#E0#, 16#3C#, 16#F0#, 16#1C#, 16#78#,
16#1E#, 16#3F#, 16#FC#, 16#1F#, 16#FC#, 16#1F#, 16#FF#, 16#8F#, 16#03#,
16#C7#, 16#81#, 16#E3#, 16#80#, 16#F1#, 16#C0#, 16#F1#, 16#E0#, 16#78#,
16#F0#, 16#3C#, 16#78#, 16#1F#, 16#00#, 16#03#, 16#F8#, 16#0F#, 16#FE#,
16#1F#, 16#FF#, 16#1E#, 16#1F#, 16#3C#, 16#0F#, 16#3C#, 16#0F#, 16#3C#,
16#00#, 16#3F#, 16#00#, 16#1F#, 16#F0#, 16#0F#, 16#FC#, 16#01#, 16#FE#,
16#00#, 16#3E#, 16#F0#, 16#1E#, 16#F0#, 16#1E#, 16#F8#, 16#3C#, 16#7F#,
16#F8#, 16#7F#, 16#F0#, 16#1F#, 16#C0#, 16#7F#, 16#FE#, 16#FF#, 16#FD#,
16#FF#, 16#F8#, 16#1C#, 16#00#, 16#78#, 16#00#, 16#F0#, 16#01#, 16#E0#,
16#03#, 16#80#, 16#07#, 16#00#, 16#1E#, 16#00#, 16#3C#, 16#00#, 16#78#,
16#00#, 16#E0#, 16#01#, 16#C0#, 16#07#, 16#80#, 16#0F#, 16#00#, 16#1E#,
16#00#, 16#38#, 16#00#, 16#1E#, 16#07#, 16#1C#, 16#07#, 16#3C#, 16#0F#,
16#3C#, 16#0F#, 16#3C#, 16#0E#, 16#38#, 16#0E#, 16#78#, 16#1E#, 16#78#,
16#1E#, 16#78#, 16#1C#, 16#70#, 16#1C#, 16#70#, 16#1C#, 16#F0#, 16#3C#,
16#F0#, 16#3C#, 16#F0#, 16#38#, 16#F8#, 16#78#, 16#FF#, 16#F0#, 16#7F#,
16#E0#, 16#1F#, 16#80#, 16#F0#, 16#1F#, 16#E0#, 16#39#, 16#C0#, 16#F3#,
16#81#, 16#C7#, 16#07#, 16#8E#, 16#0E#, 16#1C#, 16#3C#, 16#3C#, 16#70#,
16#79#, 16#E0#, 16#F3#, 16#80#, 16#EF#, 16#01#, 16#DC#, 16#03#, 16#B8#,
16#07#, 16#E0#, 16#0F#, 16#80#, 16#1F#, 16#00#, 16#3C#, 16#00#, 16#78#,
16#00#, 16#F0#, 16#70#, 16#7F#, 16#83#, 16#83#, 16#FC#, 16#3C#, 16#3D#,
16#E1#, 16#E1#, 16#EF#, 16#1F#, 16#0E#, 16#78#, 16#D8#, 16#F3#, 16#C6#,
16#C7#, 16#1E#, 16#76#, 16#78#, 16#F3#, 16#33#, 16#83#, 16#B9#, 16#9C#,
16#1D#, 16#8D#, 16#C0#, 16#EC#, 16#6E#, 16#07#, 16#E3#, 16#E0#, 16#3E#,
16#1F#, 16#01#, 16#F0#, 16#F0#, 16#0F#, 16#07#, 16#80#, 16#78#, 16#38#,
16#03#, 16#C1#, 16#C0#, 16#00#, 16#0F#, 16#03#, 16#C3#, 16#C1#, 16#E0#,
16#F8#, 16#F0#, 16#1E#, 16#78#, 16#07#, 16#9C#, 16#00#, 16#FF#, 16#00#,
16#3F#, 16#80#, 16#0F#, 16#C0#, 16#01#, 16#E0#, 16#00#, 16#78#, 16#00#,
16#3F#, 16#00#, 16#1F#, 16#C0#, 16#0F#, 16#F0#, 16#07#, 16#9E#, 16#03#,
16#C7#, 16#80#, 16#F0#, 16#F0#, 16#78#, 16#3C#, 16#3C#, 16#0F#, 16#80#,
16#78#, 16#1E#, 16#F0#, 16#79#, 16#E0#, 16#F3#, 16#C3#, 16#C3#, 16#CF#,
16#07#, 16#9C#, 16#0F#, 16#78#, 16#0F#, 16#E0#, 16#1F#, 16#80#, 16#3F#,
16#00#, 16#3C#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#03#, 16#C0#, 16#07#,
16#80#, 16#0F#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#1F#, 16#FF#,
16#0F#, 16#FF#, 16#87#, 16#FF#, 16#C0#, 16#03#, 16#C0#, 16#03#, 16#E0#,
16#01#, 16#E0#, 16#01#, 16#E0#, 16#01#, 16#E0#, 16#01#, 16#E0#, 16#01#,
16#E0#, 16#01#, 16#E0#, 16#01#, 16#E0#, 16#01#, 16#E0#, 16#01#, 16#E0#,
16#01#, 16#E0#, 16#01#, 16#FF#, 16#F0#, 16#FF#, 16#F8#, 16#7F#, 16#FC#,
16#00#, 16#07#, 16#C3#, 16#F0#, 16#FC#, 16#38#, 16#0E#, 16#03#, 16#01#,
16#C0#, 16#70#, 16#1C#, 16#06#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0C#,
16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#06#, 16#03#, 16#80#, 16#FC#,
16#3F#, 16#0F#, 16#C0#, 16#08#, 16#88#, 16#C4#, 16#44#, 16#66#, 16#66#,
16#66#, 16#62#, 16#22#, 16#33#, 16#33#, 16#30#, 16#0F#, 16#C3#, 16#F0#,
16#FC#, 16#07#, 16#01#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#,
16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#80#, 16#E0#, 16#38#, 16#0E#,
16#03#, 16#01#, 16#C0#, 16#70#, 16#FC#, 16#3F#, 16#0F#, 16#80#, 16#03#,
16#80#, 16#F0#, 16#1E#, 16#07#, 16#E1#, 16#DC#, 16#3B#, 16#8E#, 16#71#,
16#86#, 16#70#, 16#FC#, 16#1F#, 16#03#, 16#80#, 16#7F#, 16#FE#, 16#FF#,
16#FC#, 16#E6#, 16#30#, 16#07#, 16#E0#, 16#FF#, 16#8F#, 16#FE#, 16#70#,
16#E0#, 16#07#, 16#03#, 16#F8#, 16#FF#, 16#CF#, 16#9E#, 16#F0#, 16#F7#,
16#8F#, 16#3F#, 16#F8#, 16#FF#, 16#C3#, 16#DF#, 16#00#, 16#0E#, 16#00#,
16#1C#, 16#00#, 16#38#, 16#00#, 16#F0#, 16#01#, 16#E0#, 16#03#, 16#9F#,
16#07#, 16#FF#, 16#0F#, 16#FF#, 16#3E#, 16#3E#, 16#78#, 16#3C#, 16#F0#,
16#79#, 16#C0#, 16#F3#, 16#81#, 16#EF#, 16#07#, 16#9F#, 16#1F#, 16#3F#,
16#FC#, 16#7F#, 16#F0#, 16#EF#, 16#80#, 16#07#, 16#C0#, 16#FF#, 16#8F#,
16#FE#, 16#F8#, 16#F7#, 16#87#, 16#B8#, 16#03#, 16#C0#, 16#1E#, 16#00#,
16#F0#, 16#F7#, 16#8F#, 16#1F#, 16#F8#, 16#FF#, 16#81#, 16#F0#, 16#00#,
16#00#, 16#1E#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#03#,
16#C0#, 16#F7#, 16#87#, 16#FE#, 16#1F#, 16#FC#, 16#7C#, 16#78#, 16#F0#,
16#73#, 16#C0#, 16#E7#, 16#81#, 16#8F#, 16#07#, 16#1E#, 16#0E#, 16#3E#,
16#3C#, 16#7F#, 16#F8#, 16#7F#, 16#E0#, 16#7D#, 16#C0#, 16#07#, 16#C0#,
16#FF#, 16#8F#, 16#FE#, 16#F0#, 16#F7#, 16#87#, 16#FF#, 16#FF#, 16#FF#,
16#FE#, 16#00#, 16#F0#, 16#07#, 16#C7#, 16#9F#, 16#F8#, 16#FF#, 16#81#,
16#F0#, 16#00#, 16#07#, 16#87#, 16#C7#, 16#E3#, 16#C1#, 16#C3#, 16#F9#,
16#FC#, 16#38#, 16#3C#, 16#1C#, 16#0E#, 16#07#, 16#07#, 16#83#, 16#81#,
16#C0#, 16#E0#, 16#F0#, 16#70#, 16#00#, 16#03#, 16#DE#, 16#1F#, 16#F8#,
16#7F#, 16#F1#, 16#F1#, 16#E3#, 16#C1#, 16#CF#, 16#03#, 16#1E#, 16#06#,
16#3C#, 16#0C#, 16#78#, 16#38#, 16#F8#, 16#F1#, 16#FF#, 16#C1#, 16#FF#,
16#81#, 16#F7#, 16#00#, 16#0E#, 16#3C#, 16#3C#, 16#78#, 16#F0#, 16#7F#,
16#C0#, 16#7E#, 16#00#, 16#1E#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#07#,
16#00#, 16#3C#, 16#00#, 16#F7#, 16#C3#, 16#BF#, 16#8F#, 16#FF#, 16#3C#,
16#3D#, 16#E0#, 16#E7#, 16#83#, 16#9C#, 16#0E#, 16#70#, 16#79#, 16#C1#,
16#CF#, 16#07#, 16#3C#, 16#1C#, 16#E0#, 16#73#, 16#83#, 16#C0#, 16#0E#,
16#3C#, 16#70#, 16#00#, 16#03#, 16#8F#, 16#1C#, 16#38#, 16#70#, 16#E3#,
16#C7#, 16#0E#, 16#1C#, 16#38#, 16#F1#, 16#C0#, 16#03#, 16#C0#, 16#E0#,
16#38#, 16#00#, 16#00#, 16#01#, 16#E0#, 16#70#, 16#1C#, 16#07#, 16#01#,
16#C0#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#81#, 16#E0#, 16#70#, 16#1C#,
16#07#, 16#03#, 16#C0#, 16#E0#, 16#F8#, 16#3E#, 16#0F#, 16#00#, 16#0E#,
16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#F0#, 16#01#, 16#E0#, 16#03#,
16#87#, 16#87#, 16#1E#, 16#0E#, 16#78#, 16#3D#, 16#E0#, 16#7F#, 16#80#,
16#FE#, 16#01#, 16#FE#, 16#03#, 16#FC#, 16#0F#, 16#38#, 16#1E#, 16#78#,
16#38#, 16#F0#, 16#70#, 16#F0#, 16#E1#, 16#E0#, 16#0E#, 16#1C#, 16#70#,
16#E1#, 16#C3#, 16#8F#, 16#1C#, 16#38#, 16#70#, 16#E3#, 16#C7#, 16#0E#,
16#1C#, 16#38#, 16#E1#, 16#C0#, 16#1C#, 16#F1#, 16#E0#, 16#EF#, 16#DF#,
16#87#, 16#FF#, 16#FE#, 16#7C#, 16#78#, 16#F3#, 16#C3#, 16#87#, 16#9C#,
16#1C#, 16#38#, 16#E1#, 16#E1#, 16#C7#, 16#0E#, 16#0E#, 16#78#, 16#70#,
16#F3#, 16#C3#, 16#87#, 16#1C#, 16#1C#, 16#38#, 16#E1#, 16#E1#, 16#C7#,
16#0E#, 16#0E#, 16#00#, 16#3D#, 16#F0#, 16#EF#, 16#E3#, 16#FF#, 16#CF#,
16#0F#, 16#78#, 16#39#, 16#C0#, 16#E7#, 16#03#, 16#9C#, 16#1E#, 16#70#,
16#73#, 16#C1#, 16#CE#, 16#07#, 16#38#, 16#1C#, 16#E0#, 16#F0#, 16#07#,
16#E0#, 16#7F#, 16#E3#, 16#FF#, 16#9F#, 16#1F#, 16#78#, 16#3F#, 16#C0#,
16#FF#, 16#03#, 16#FC#, 16#1F#, 16#F0#, 16#7B#, 16#E3#, 16#E7#, 16#FF#,
16#1F#, 16#F8#, 16#1F#, 16#80#, 16#0E#, 16#7C#, 16#0F#, 16#FE#, 16#0F#,
16#FF#, 16#0F#, 16#1F#, 16#1E#, 16#0F#, 16#1E#, 16#0F#, 16#1C#, 16#0F#,
16#1C#, 16#0F#, 16#3C#, 16#1E#, 16#3E#, 16#3E#, 16#3F#, 16#FC#, 16#3F#,
16#F8#, 16#3B#, 16#E0#, 16#78#, 16#00#, 16#70#, 16#00#, 16#70#, 16#00#,
16#70#, 16#00#, 16#F0#, 16#00#, 16#07#, 16#BC#, 16#7F#, 16#E3#, 16#FF#,
16#9F#, 16#1E#, 16#78#, 16#3B#, 16#C0#, 16#EF#, 16#03#, 16#3C#, 16#0C#,
16#F0#, 16#73#, 16#E3#, 16#CF#, 16#FE#, 16#1F#, 16#F8#, 16#3C#, 16#E0#,
16#03#, 16#80#, 16#1C#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#07#, 16#00#,
16#3D#, 16#CE#, 16#E3#, 16#F8#, 16#F0#, 16#78#, 16#1E#, 16#07#, 16#01#,
16#C0#, 16#70#, 16#3C#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#1F#,
16#C3#, 16#FE#, 16#7F#, 16#FF#, 16#0F#, 16#F0#, 16#0F#, 16#E0#, 16#7F#,
16#C1#, 16#FE#, 16#03#, 16#EE#, 16#1E#, 16#FF#, 16#C7#, 16#FC#, 16#3F#,
16#00#, 16#1E#, 16#1C#, 16#1C#, 16#7F#, 16#FF#, 16#3C#, 16#38#, 16#38#,
16#38#, 16#78#, 16#78#, 16#70#, 16#7C#, 16#F8#, 16#78#, 16#38#, 16#3C#,
16#E0#, 16#E3#, 16#83#, 16#9E#, 16#0E#, 16#70#, 16#79#, 16#C1#, 16#E7#,
16#07#, 16#3C#, 16#1C#, 16#F0#, 16#F3#, 16#E7#, 16#CF#, 16#FE#, 16#1F#,
16#F8#, 16#3C#, 16#E0#, 16#F0#, 16#77#, 16#87#, 16#BC#, 16#39#, 16#E3#,
16#C7#, 16#1C#, 16#39#, 16#E1#, 16#CE#, 16#0E#, 16#E0#, 16#77#, 16#03#,
16#F0#, 16#0F#, 16#80#, 16#78#, 16#03#, 16#C0#, 16#00#, 16#F1#, 16#C3#,
16#F8#, 16#E3#, 16#FC#, 16#F1#, 16#DE#, 16#79#, 16#EF#, 16#3C#, 16#E7#,
16#B6#, 16#73#, 16#DB#, 16#70#, 16#ED#, 16#B8#, 16#7C#, 16#F8#, 16#3E#,
16#7C#, 16#1F#, 16#3C#, 16#0F#, 16#1E#, 16#07#, 16#8E#, 16#00#, 16#1F#,
16#1E#, 16#0F#, 16#3C#, 16#0F#, 16#38#, 16#07#, 16#70#, 16#07#, 16#F0#,
16#03#, 16#E0#, 16#03#, 16#C0#, 16#07#, 16#C0#, 16#0F#, 16#E0#, 16#1E#,
16#E0#, 16#3C#, 16#F0#, 16#38#, 16#F0#, 16#78#, 16#78#, 16#3C#, 16#1C#,
16#78#, 16#38#, 16#F0#, 16#E1#, 16#E3#, 16#C1#, 16#C7#, 16#03#, 16#9E#,
16#07#, 16#38#, 16#0E#, 16#E0#, 16#1D#, 16#C0#, 16#3F#, 16#00#, 16#7E#,
16#00#, 16#78#, 16#00#, 16#F0#, 16#01#, 16#C0#, 16#07#, 16#00#, 16#7E#,
16#00#, 16#F8#, 16#01#, 16#E0#, 16#00#, 16#1F#, 16#F9#, 16#FF#, 16#CF#,
16#FC#, 16#01#, 16#E0#, 16#3E#, 16#03#, 16#C0#, 16#3C#, 16#03#, 16#C0#,
16#3C#, 16#03#, 16#C0#, 16#3F#, 16#F9#, 16#FF#, 16#CF#, 16#FC#, 16#00#,
16#07#, 16#87#, 16#C3#, 16#E3#, 16#C1#, 16#C0#, 16#E0#, 16#70#, 16#38#,
16#3C#, 16#1C#, 16#0E#, 16#1E#, 16#0F#, 16#03#, 16#81#, 16#C0#, 16#E0#,
16#70#, 16#38#, 16#38#, 16#1C#, 16#0F#, 16#87#, 16#C1#, 16#C0#, 16#0C#,
16#30#, 16#82#, 16#18#, 16#61#, 16#84#, 16#30#, 16#C3#, 16#08#, 16#21#,
16#86#, 16#10#, 16#43#, 16#0C#, 16#30#, 16#82#, 16#00#, 16#00#, 16#07#,
16#07#, 16#C3#, 16#E0#, 16#70#, 16#38#, 16#38#, 16#1C#, 16#0E#, 16#07#,
16#03#, 16#81#, 16#E0#, 16#F0#, 16#E0#, 16#70#, 16#78#, 16#38#, 16#1C#,
16#0E#, 16#07#, 16#07#, 16#8F#, 16#87#, 16#C3#, 16#C0#, 16#3C#, 16#07#,
16#E0#, 16#C7#, 16#30#, 16#7E#, 16#01#, 16#C0#);
FreeSansBoldOblique12pt7bGlyphs : aliased constant Glyph_Array := (
(0, 0, 0, 7, 0, 1), -- 0x20 ' '
(0, 7, 17, 8, 3, -16), -- 0x21 '!'
(15, 10, 6, 11, 4, -17), -- 0x22 '"'
(23, 15, 16, 13, 1, -15), -- 0x23 '#'
(53, 15, 21, 13, 1, -17), -- 0x24 '$'
(93, 18, 18, 21, 3, -17), -- 0x25 '%'
(134, 15, 17, 17, 2, -16), -- 0x26 '&'
(166, 4, 6, 6, 4, -17), -- 0x27 '''
(169, 9, 22, 8, 2, -17), -- 0x28 '('
(194, 9, 22, 8, -1, -16), -- 0x29 ')'
(219, 8, 8, 9, 3, -17), -- 0x2A '*'
(227, 12, 11, 14, 2, -10), -- 0x2B '+'
(244, 5, 7, 7, 1, -2), -- 0x2C ','
(249, 7, 3, 8, 2, -7), -- 0x2D '-'
(252, 4, 3, 7, 2, -2), -- 0x2E '.'
(254, 10, 17, 7, 0, -16), -- 0x2F '/'
(276, 13, 17, 13, 2, -16), -- 0x30 '0'
(304, 9, 17, 13, 4, -16), -- 0x31 '1'
(324, 15, 17, 13, 1, -16), -- 0x32 '2'
(356, 13, 17, 13, 2, -16), -- 0x33 '3'
(384, 13, 17, 13, 1, -16), -- 0x34 '4'
(412, 14, 17, 13, 1, -16), -- 0x35 '5'
(442, 13, 17, 13, 2, -16), -- 0x36 '6'
(470, 13, 17, 13, 3, -16), -- 0x37 '7'
(498, 14, 17, 13, 1, -16), -- 0x38 '8'
(528, 14, 17, 13, 2, -16), -- 0x39 '9'
(558, 6, 12, 8, 3, -11), -- 0x3A ':'
(567, 7, 16, 8, 2, -11), -- 0x3B ';'
(581, 13, 12, 14, 2, -11), -- 0x3C '<'
(601, 14, 9, 14, 1, -9), -- 0x3D '='
(617, 13, 12, 14, 1, -10), -- 0x3E '>'
(637, 13, 18, 15, 4, -17), -- 0x3F '?'
(667, 22, 21, 23, 2, -17), -- 0x40 '@'
(725, 17, 18, 17, 0, -17), -- 0x41 'A'
(764, 17, 18, 17, 2, -17), -- 0x42 'B'
(803, 17, 18, 17, 3, -17), -- 0x43 'C'
(842, 17, 18, 17, 2, -17), -- 0x44 'D'
(881, 16, 18, 16, 2, -17), -- 0x45 'E'
(917, 16, 18, 15, 2, -17), -- 0x46 'F'
(953, 17, 18, 19, 3, -17), -- 0x47 'G'
(992, 17, 18, 17, 2, -17), -- 0x48 'H'
(1031, 7, 18, 7, 2, -17), -- 0x49 'I'
(1047, 14, 18, 13, 1, -17), -- 0x4A 'J'
(1079, 18, 18, 17, 2, -17), -- 0x4B 'K'
(1120, 13, 18, 15, 2, -17), -- 0x4C 'L'
(1150, 20, 18, 20, 2, -17), -- 0x4D 'M'
(1195, 18, 18, 17, 2, -17), -- 0x4E 'N'
(1236, 17, 18, 19, 3, -17), -- 0x4F 'O'
(1275, 16, 18, 16, 2, -17), -- 0x50 'P'
(1311, 17, 19, 19, 3, -17), -- 0x51 'Q'
(1352, 17, 18, 17, 2, -17), -- 0x52 'R'
(1391, 16, 18, 16, 2, -17), -- 0x53 'S'
(1427, 15, 18, 15, 3, -17), -- 0x54 'T'
(1461, 16, 18, 17, 3, -17), -- 0x55 'U'
(1497, 15, 18, 16, 4, -17), -- 0x56 'V'
(1531, 21, 18, 23, 4, -17), -- 0x57 'W'
(1579, 18, 18, 16, 1, -17), -- 0x58 'X'
(1620, 15, 18, 16, 4, -17), -- 0x59 'Y'
(1654, 17, 18, 15, 1, -17), -- 0x5A 'Z'
(1693, 10, 23, 8, 1, -17), -- 0x5B '['
(1722, 4, 23, 7, 3, -22), -- 0x5C '\'
(1734, 10, 23, 8, 0, -17), -- 0x5D ']'
(1763, 11, 11, 14, 3, -16), -- 0x5E '^'
(1779, 15, 2, 13, -2, 4), -- 0x5F '_'
(1783, 4, 3, 8, 4, -17), -- 0x60 '`'
(1785, 13, 13, 13, 1, -12), -- 0x61 'a'
(1807, 15, 18, 15, 1, -17), -- 0x62 'b'
(1841, 13, 13, 13, 2, -12), -- 0x63 'c'
(1863, 15, 18, 15, 2, -17), -- 0x64 'd'
(1897, 13, 13, 13, 2, -12), -- 0x65 'e'
(1919, 9, 18, 8, 2, -17), -- 0x66 'f'
(1940, 15, 18, 15, 1, -12), -- 0x67 'g'
(1974, 14, 18, 15, 2, -17), -- 0x68 'h'
(2006, 7, 18, 7, 2, -17), -- 0x69 'i'
(2022, 10, 23, 7, -1, -17), -- 0x6A 'j'
(2051, 15, 18, 13, 1, -17), -- 0x6B 'k'
(2085, 7, 18, 7, 2, -17), -- 0x6C 'l'
(2101, 21, 13, 21, 1, -12), -- 0x6D 'm'
(2136, 14, 13, 15, 2, -12), -- 0x6E 'n'
(2159, 14, 13, 15, 2, -12), -- 0x6F 'o'
(2182, 16, 18, 15, 0, -12), -- 0x70 'p'
(2218, 14, 18, 15, 2, -12), -- 0x71 'q'
(2250, 10, 13, 9, 2, -12), -- 0x72 'r'
(2267, 12, 13, 13, 3, -12), -- 0x73 's'
(2287, 8, 15, 8, 2, -14), -- 0x74 't'
(2302, 14, 13, 15, 2, -12), -- 0x75 'u'
(2325, 13, 13, 13, 3, -12), -- 0x76 'v'
(2347, 17, 13, 19, 3, -12), -- 0x77 'w'
(2375, 16, 13, 13, 0, -12), -- 0x78 'x'
(2401, 15, 18, 13, 1, -12), -- 0x79 'y'
(2435, 13, 13, 12, 1, -12), -- 0x7A 'z'
(2457, 9, 23, 9, 3, -17), -- 0x7B '{'
(2483, 6, 23, 7, 1, -17), -- 0x7C '|'
(2501, 9, 23, 9, 0, -17), -- 0x7D '}'
(2527, 12, 5, 14, 2, -7)); -- 0x7E '~'
Font_D : aliased constant Bitmap_Font :=
(FreeSansBoldOblique12pt7bBitmaps'Access,
FreeSansBoldOblique12pt7bGlyphs'Access,
28);
Font : constant Giza.Font.Ref_Const := Font_D'Access;
end Giza.Bitmap_Fonts.FreeSansBoldOblique12pt7b;
|
-- TITLE aflex - main program
--
-- AUTHOR: John Self (UCI)
-- DESCRIPTION main subprogram of aflex, calls the major routines in order
-- $Header: /co/ua/self/arcadia/aflex/ada/src/RCS/aflex.a,v 1.11 90/10/15 20:00:40 self Exp Locker: self $
--
-- Modified 3.9.92 by Simon Wright (sjwright@cix.compulink.co.uk) for VAX/VMS
-- to return sensible status values; the 'fail' status value is quiet.
--***************************************************************************
-- aflex
-- version 1.4a
--***************************************************************************
--
-- Arcadia Project
-- Department of Information and Computer Science
-- University of California
-- Irvine, California 92717
--
-- Send requests for aflex information to alex-info@ics.uci.edu
--
-- Send bug reports for aflex to alex-bugs@ics.uci.edu
--
-- 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.
--
-- This program is based on the flex program written by Vern Paxson.
--
-- The following is the copyright notice from flex, from which aflex is
-- derived.
-- Copyright (c) 1989 The Regents of the University of California.
-- All rights reserved.
--
-- This code is derived from software contributed to Berkeley by
-- Vern Paxson.
--
-- The United States Government has rights in this work pursuant to
-- contract no. DE-AC03-76SF00098 between the United States Department of
-- Energy and the University of California.
--
-- 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, Berkeley. 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 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
--
--***************************************************************************
with MAIN_BODY, DFA, GEN, MISC_DEFS, TEXT_IO, MISC;
with TSTRING, TEMPLATE_MANAGER, EXTERNAL_FILE_MANAGER; use MISC_DEFS, TEXT_IO,
TSTRING, EXTERNAL_FILE_MANAGER;
function AFLEX return INTEGER is
copyright : constant string :=
"@(#) Copyright (c) 1990 Regents of the University of California.";
copyright2 : constant string :=
"All rights reserved.";
begin
MAIN_BODY.AFLEXINIT;
MAIN_BODY.READIN;
if (SYNTAXERROR) then
MAIN_BODY.AFLEXEND(1);
end if;
if (PERFORMANCE_REPORT) then
if (INTERACTIVE) then
TEXT_IO.PUT_LINE(STANDARD_ERROR,
"-I (interactive) entails a minor performance penalty");
end if;
end if;
if (VARIABLE_TRAILING_CONTEXT_RULES) then
MISC.AFLEXERROR("can't handle variable trailing context rules");
end if;
-- convert the ndfa to a dfa
DFA.NTOD;
-- generate the Ada state transition tables from the DFA
GEN.MAKE_TABLES;
TEMPLATE_MANAGER.GENERATE_IO_FILE;
TEMPLATE_MANAGER.GENERATE_DFA_FILE;
MAIN_BODY.AFLEXEND(0);
return 1;
exception
when MAIN_BODY.AFLEX_TERMINATE =>
return 16#10000002#;
end AFLEX;
|
--
-- 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 soc.interrupts; use soc.interrupts;
with ewok.posthook;
with ewok.softirq;
with ewok.dma;
with soc.dma;
with soc.nvic;
package body ewok.isr
with spark_mode => off
is
procedure postpone_isr
(intr : in soc.interrupts.t_interrupt;
handler : in ewok.interrupts.t_interrupt_handler_access;
task_id : in ewok.tasks_shared.t_task_id)
is
pragma warnings (off); -- Size differ
function to_unsigned_32 is new ada.unchecked_conversion
(soc.dma.t_dma_stream_int_status, unsigned_32);
pragma warnings (on);
dma_status : soc.dma.t_dma_stream_int_status;
status : unsigned_32 := 0;
data : unsigned_32 := 0;
isr_params : ewok.softirq.t_isr_parameters;
ok : boolean;
begin
-- Acknowledge interrupt:
-- - DMAs are managed by the kernel
-- - Devices managed by user tasks should use the posthook mechanism
-- to acknowledge interrupt (in order to avoid bursts).
-- Note:
-- Posthook execution is mandatory for hardware devices that wait for
-- a quick answer from the driver. It permit to execute some
-- instructions (reading and writing registers) and to return some
-- value (former 'status' and 'data' parameters)
if soc.dma.soc_is_dma_irq (intr) then
ewok.dma.get_status_register (task_id, intr, dma_status, ok);
if ok then
status := to_unsigned_32 (dma_status) and 2#0011_1101#;
else
raise program_error;
end if;
ewok.dma.clear_dma_interrupts (task_id, intr);
else
-- INFO: this function should be executed as a critical section
-- (ToCToU risk)
ewok.posthook.exec (intr, status, data);
end if;
-- All user ISR have their Pending IRQ bit clean here
soc.nvic.clear_pending_irq (soc.nvic.to_irq_number (intr));
-- Pushing the request for further treatment by softirq
isr_params.handler := ewok.interrupts.to_system_address (handler);
isr_params.interrupt := intr;
isr_params.posthook_status := status;
isr_params.posthook_data := data;
-- INFO: this function is not reentrant
ewok.softirq.push_isr (task_id, isr_params);
return;
end postpone_isr;
end ewok.isr;
|
-- { dg-do compile }
-- { dg-options "-O" }
package body Slice2 is
function F (I : R1) return R2 is
Val : R2;
begin
Val.Text (1 .. 8) := I.Text (1 .. 8);
return Val;
end F;
end Slice2;
|
-----------------------------------------------------------------------
-- helios -- Helios Fast Reliable Monitoring Agent
-- Copyright (C) 2017 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 Interfaces;
package Helios is
subtype Uint64 is Interfaces.Unsigned_64;
end Helios;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . S T R I N G S . W I D E _ W I D E _ M A P S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2021, 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. --
-- --
-- --
-- --
-- --
-- --
-- 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 Ada.Finalization;
package Ada.Strings.Wide_Wide_Maps is
pragma Preelaborate;
------------------------------------------
-- Wide_Wide_Character Set Declarations --
------------------------------------------
type Wide_Wide_Character_Set is private;
pragma Preelaborable_Initialization (Wide_Wide_Character_Set);
-- Representation for a set of Wide_Wide_Character values:
Null_Set : constant Wide_Wide_Character_Set;
-----------------------------------------------
-- Constructors for Wide_Wide_Character Sets --
-----------------------------------------------
type Wide_Wide_Character_Range is record
Low : Wide_Wide_Character;
High : Wide_Wide_Character;
end record;
-- Represents Wide_Wide_Character range Low .. High
type Wide_Wide_Character_Ranges is
array (Positive range <>) of Wide_Wide_Character_Range;
function To_Set
(Ranges : Wide_Wide_Character_Ranges) return Wide_Wide_Character_Set;
function To_Set
(Span : Wide_Wide_Character_Range) return Wide_Wide_Character_Set;
function To_Ranges
(Set : Wide_Wide_Character_Set) return Wide_Wide_Character_Ranges;
---------------------------------------
-- Operations on Wide Character Sets --
---------------------------------------
function "=" (Left, Right : Wide_Wide_Character_Set) return Boolean;
function "not"
(Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "and"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "or"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "xor"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "-"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function Is_In
(Element : Wide_Wide_Character;
Set : Wide_Wide_Character_Set) return Boolean;
function Is_Subset
(Elements : Wide_Wide_Character_Set;
Set : Wide_Wide_Character_Set) return Boolean;
function "<="
(Left : Wide_Wide_Character_Set;
Right : Wide_Wide_Character_Set) return Boolean
renames Is_Subset;
subtype Wide_Wide_Character_Sequence is Wide_Wide_String;
-- Alternative representation for a set of character values
function To_Set
(Sequence : Wide_Wide_Character_Sequence) return Wide_Wide_Character_Set;
function To_Set
(Singleton : Wide_Wide_Character) return Wide_Wide_Character_Set;
function To_Sequence
(Set : Wide_Wide_Character_Set) return Wide_Wide_Character_Sequence;
----------------------------------------------
-- Wide_Wide_Character Mapping Declarations --
----------------------------------------------
type Wide_Wide_Character_Mapping is private;
pragma Preelaborable_Initialization (Wide_Wide_Character_Mapping);
-- Representation for a wide character to wide character mapping:
function Value
(Map : Wide_Wide_Character_Mapping;
Element : Wide_Wide_Character) return Wide_Wide_Character;
Identity : constant Wide_Wide_Character_Mapping;
--------------------------------------
-- Operations on Wide Wide Mappings --
---------------------------------------
function To_Mapping
(From, To : Wide_Wide_Character_Sequence)
return Wide_Wide_Character_Mapping;
function To_Domain
(Map : Wide_Wide_Character_Mapping) return Wide_Wide_Character_Sequence;
function To_Range
(Map : Wide_Wide_Character_Mapping) return Wide_Wide_Character_Sequence;
type Wide_Wide_Character_Mapping_Function is
access function (From : Wide_Wide_Character) return Wide_Wide_Character;
private
package AF renames Ada.Finalization;
-----------------------------------------------
-- Representation of Wide_Wide_Character_Set --
-----------------------------------------------
-- A wide character set is represented as a sequence of wide character
-- ranges (i.e. an object of type Wide_Wide_Character_Ranges) in which the
-- following hold:
-- The lower bound is 1
-- The ranges are in order by increasing Low values
-- The ranges are non-overlapping and discontigous
-- A character value is in the set if it is contained in one of the
-- ranges. The actual Wide_Wide_Character_Set value is a controlled pointer
-- to this Wide_Wide_Character_Ranges value. The use of a controlled type
-- is necessary to prevent storage leaks.
type Wide_Wide_Character_Ranges_Access is
access all Wide_Wide_Character_Ranges;
type Wide_Wide_Character_Set is new AF.Controlled with record
Set : Wide_Wide_Character_Ranges_Access;
end record;
pragma Finalize_Storage_Only (Wide_Wide_Character_Set);
-- This avoids useless finalizations, and, more importantly avoids
-- incorrect attempts to finalize constants that are statically
-- declared here and in Ada.Strings.Wide_Wide_Maps, which is incorrect.
procedure Initialize (Object : in out Wide_Wide_Character_Set);
procedure Adjust (Object : in out Wide_Wide_Character_Set);
procedure Finalize (Object : in out Wide_Wide_Character_Set);
Null_Range : aliased constant Wide_Wide_Character_Ranges :=
(1 .. 0 => (Low => ' ', High => ' '));
Null_Set : constant Wide_Wide_Character_Set :=
(AF.Controlled with
Set => Null_Range'Unrestricted_Access);
---------------------------------------------------
-- Representation of Wide_Wide_Character_Mapping --
---------------------------------------------------
-- A wide character mapping is represented as two strings of equal
-- length, where any character appearing in Domain is mapped to the
-- corresponding character in Rangev. A character not appearing in
-- Domain is mapped to itself. The characters in Domain are sorted
-- in ascending order.
-- The actual Wide_Wide_Character_Mapping value is a controlled record
-- that contains a pointer to a discriminated record containing the
-- range and domain values.
-- Note: this representation is canonical, and the values stored in
-- Domain and Rangev are exactly the values that are returned by the
-- functions To_Domain and To_Range. The use of a controlled type is
-- necessary to prevent storage leaks.
type Wide_Wide_Character_Mapping_Values (Length : Natural) is record
Domain : Wide_Wide_Character_Sequence (1 .. Length);
Rangev : Wide_Wide_Character_Sequence (1 .. Length);
end record;
type Wide_Wide_Character_Mapping_Values_Access is
access all Wide_Wide_Character_Mapping_Values;
type Wide_Wide_Character_Mapping is new AF.Controlled with record
Map : Wide_Wide_Character_Mapping_Values_Access;
end record;
pragma Finalize_Storage_Only (Wide_Wide_Character_Mapping);
-- This avoids useless finalizations, and, more importantly avoids
-- incorrect attempts to finalize constants that are statically
-- declared here and in Ada.Strings.Wide_Wide_Maps, which is incorrect.
procedure Initialize (Object : in out Wide_Wide_Character_Mapping);
procedure Adjust (Object : in out Wide_Wide_Character_Mapping);
procedure Finalize (Object : in out Wide_Wide_Character_Mapping);
Null_Map : aliased constant Wide_Wide_Character_Mapping_Values :=
(Length => 0,
Domain => "",
Rangev => "");
Identity : constant Wide_Wide_Character_Mapping :=
(AF.Controlled with
Map => Null_Map'Unrestricted_Access);
end Ada.Strings.Wide_Wide_Maps;
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Formal_Discrete_Type_Definitions is
function Create
(Left_Bracket_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Box_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Right_Bracket_Token : not null Program.Lexical_Elements
.Lexical_Element_Access)
return Formal_Discrete_Type_Definition is
begin
return Result : Formal_Discrete_Type_Definition :=
(Left_Bracket_Token => Left_Bracket_Token, Box_Token => Box_Token,
Right_Bracket_Token => Right_Bracket_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_Discrete_Type_Definition is
begin
return Result : Implicit_Formal_Discrete_Type_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 Left_Bracket_Token
(Self : Formal_Discrete_Type_Definition)
return not null Program.Lexical_Elements.Lexical_Element_Access is
begin
return Self.Left_Bracket_Token;
end Left_Bracket_Token;
overriding function Box_Token
(Self : Formal_Discrete_Type_Definition)
return not null Program.Lexical_Elements.Lexical_Element_Access is
begin
return Self.Box_Token;
end Box_Token;
overriding function Right_Bracket_Token
(Self : Formal_Discrete_Type_Definition)
return not null Program.Lexical_Elements.Lexical_Element_Access is
begin
return Self.Right_Bracket_Token;
end Right_Bracket_Token;
overriding function Is_Part_Of_Implicit
(Self : Implicit_Formal_Discrete_Type_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_Discrete_Type_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_Discrete_Type_Definition)
return Boolean is
begin
return Self.Is_Part_Of_Instance;
end Is_Part_Of_Instance;
procedure Initialize
(Self : in out Base_Formal_Discrete_Type_Definition'Class) is
begin
null;
end Initialize;
overriding function Is_Formal_Discrete_Type_Definition
(Self : Base_Formal_Discrete_Type_Definition)
return Boolean is
pragma Unreferenced (Self);
begin
return True;
end Is_Formal_Discrete_Type_Definition;
overriding function Is_Formal_Type_Definition
(Self : Base_Formal_Discrete_Type_Definition)
return Boolean is
pragma Unreferenced (Self);
begin
return True;
end Is_Formal_Type_Definition;
overriding function Is_Definition
(Self : Base_Formal_Discrete_Type_Definition)
return Boolean is
pragma Unreferenced (Self);
begin
return True;
end Is_Definition;
overriding procedure Visit
(Self : not null access Base_Formal_Discrete_Type_Definition;
Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is
begin
Visitor.Formal_Discrete_Type_Definition (Self);
end Visit;
overriding function To_Formal_Discrete_Type_Definition_Text
(Self : in out Formal_Discrete_Type_Definition)
return Program.Elements.Formal_Discrete_Type_Definitions
.Formal_Discrete_Type_Definition_Text_Access is
begin
return Self'Unchecked_Access;
end To_Formal_Discrete_Type_Definition_Text;
overriding function To_Formal_Discrete_Type_Definition_Text
(Self : in out Implicit_Formal_Discrete_Type_Definition)
return Program.Elements.Formal_Discrete_Type_Definitions
.Formal_Discrete_Type_Definition_Text_Access is
pragma Unreferenced (Self);
begin
return null;
end To_Formal_Discrete_Type_Definition_Text;
end Program.Nodes.Formal_Discrete_Type_Definitions;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- E X P _ C H 2 --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-1997 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. --
-- --
------------------------------------------------------------------------------
-- Expand routines for chapter 2 constructs
with Types; use Types;
package Exp_Ch2 is
procedure Expand_N_Expanded_Name (N : Node_Id);
procedure Expand_N_Identifier (N : Node_Id);
procedure Expand_N_Real_Literal (N : Node_Id);
function Param_Entity (N : Node_Id) return Entity_Id;
-- Given an expression N, determines if the expression is a reference
-- to a formal (of a subprogram or entry), and if so returns the Id
-- of the corresponding formal entity, otherwise returns Empty. The
-- reason that this is in Exp_Ch2 is that it has to deal with the
-- case where the reference is to an entry formal, and has been
-- expanded already. Since Exp_Ch2 is in charge of the expansion, it
-- is best suited to knowing how to detect this case.
end Exp_Ch2;
|
pragma License (Unrestricted);
-- separated and auto-loaded by compiler
private generic
type Num is delta <>;
package Ada.Text_IO.Fixed_IO is
Default_Fore : Field := Num'Fore;
Default_Aft : Field := Num'Aft;
Default_Exp : Field := 0;
procedure Get (
File : File_Type; -- Input_File_Type
Item : out Num;
Width : Field := 0);
procedure Get (
Item : out Num;
Width : Field := 0);
procedure Get (
File : not null File_Access;
Item : out Num;
Width : Field := 0); -- alt
procedure Put (
File : File_Type; -- Output_File_Type
Item : Num;
Fore : Field := Default_Fore;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp);
procedure Put (
Item : Num;
Fore : Field := Default_Fore;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp);
procedure Put (
File : not null File_Access;
Item : Num;
Fore : Field := Default_Fore;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp); -- alt
procedure Get (
From : String;
Item : out Num;
Last : out Positive);
procedure Put (
To : out String;
Item : Num;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp);
end Ada.Text_IO.Fixed_IO;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . I M G _ B O O L --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2009, 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. --
-- --
------------------------------------------------------------------------------
package body System.Img_Bool is
-------------------
-- Image_Boolean --
-------------------
procedure Image_Boolean
(V : Boolean;
S : in out String;
P : out Natural)
is
pragma Assert (S'First = 1);
begin
if V then
S (1 .. 4) := "TRUE";
P := 4;
else
S (1 .. 5) := "FALSE";
P := 5;
end if;
end Image_Boolean;
end System.Img_Bool;
|
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
--
-- This package is about Ada Visibility Rules as they defined in the Reference
-- Manual (Section 8).
--
-- The package provides Context type. The user populates context by creating
-- named entities and declarative regions. The user also queries the context
-- to find the view corresponding to given symbol (identifier, operator or
-- character literal).
--
-- View provides access to defining name nodes, entity kind and properties.
with Ada.Iterator_Interfaces;
private with Ada.Containers.Hashed_Maps;
private with Ada.Containers.Vectors;
with Program.Elements.Defining_Names;
with Program.Symbols;
package Program.Visibility is
pragma Preelaborate;
subtype Defining_Name is
Program.Elements.Defining_Names.Defining_Name_Access;
-- Defining name AST node
subtype Symbol is Program.Symbols.Symbol;
-- A representation of an identifier, operator or character literal
function Standard return Symbol renames Program.Symbols.Standard;
-- Symbol of Standard Ada package
type View_Kind is
(Unresolved_View,
Subtype_View,
Exception_View,
Enumeration_Literal_View,
Character_Literal_View,
Implicit_Type_View, -- Type_View_Kind v
Enumeration_Type_View,
Signed_Integer_Type_View,
Modular_Type_View,
Float_Point_Type_View,
Object_Access_Type_View,
Incomplete_Type_View, -- Has_Region v
Array_Type_View,
Record_Type_View, -- Type_View_Kind ^,
Variable_View, -- Object_View v
Component_View,
Parameter_View, -- Object_View ^
Procedure_View,
Function_View,
Package_View); -- Has_Region ^
-- Kind of entity view
subtype Type_View_Kind is View_Kind
range Implicit_Type_View .. Record_Type_View;
-- Kind of type view
subtype Object_View is View_Kind
range Variable_View .. Parameter_View;
-- Kind of an object declaration
type View (Kind : View_Kind := Unresolved_View) is private;
-- An information about a program entity
type View_Array is array (Positive range <>) of View;
-- Array of views
function Name (Self : View) return Defining_Name;
-- Get defining name of the entity
function Has_Region (Self : View) return Boolean;
-- Check if given entity could contain nested declarative region
function Enumeration_Type (Self : View) return View
with Pre => Self.Kind in
Enumeration_Literal_View | Character_Literal_View;
-- Return enumeration type for given enumeration or character literal
function Enumeration_Literals (Self : View) return View_Array
with Pre => Self.Kind = Enumeration_Type_View;
-- Return enumeration or character literals for given enumeration type
function Is_Character_Type (Self : View) return Boolean
with Pre => Self.Kind = Enumeration_Type_View;
-- If given enumeration type is a character type
function Subtype_Mark (Self : View) return View
with Pre => Self.Kind in Subtype_View | Object_View;
-- Return type of subtype, parameter, variable declarations
function Designated_Type (Self : View) return View
with Pre => Self.Kind in Object_Access_Type_View;
-- Return designated type of an access-to-object type
function Has_Constraint (Self : View) return Boolean
with Pre => Self.Kind = Subtype_View;
-- If given subtype has a constraint
function First_Subtype (Self : View) return View
with Pre => Self.Kind in Subtype_View | Type_View_Kind,
Post => First_Subtype'Result.Kind in Type_View_Kind;
-- Return first subtype of a type
function Indexes (Self : View) return View_Array
with Pre => Self.Kind = Array_Type_View;
-- Return index types for given array type
function Component (Self : View) return View
with Pre => Self.Kind = Array_Type_View;
-- Return component type for given array type
type Parameter_Mode is (In_Mode, In_Out_Mode, Out_Mode);
function Mode (Self : View) return Parameter_Mode
with Pre => Self.Kind = Parameter_View;
-- Return Mode of parameter declaration
function Has_Default (Self : View) return Boolean
with Pre => Self.Kind = Parameter_View;
-- Check if parameter has a default value
function Parameters (Self : View) return View_Array
with Pre => Self.Kind in Procedure_View | Function_View;
-- Return parameters for given subprogram
function Result (Self : View) return View
with Pre => Self.Kind = Function_View;
-- Return result type for function
function Type_Of (Self : View) return View
with Pre => Self.Kind in
Enumeration_Literal_View |
Character_Literal_View |
Object_View;
-- Return a corresponding type:
-- * for enumeration/character literal - Enumeration_Type
-- * for parameter/variable - Subtype_Mark
function Is_Expected_Type (Self, Expected : View) return Boolean
with Pre => Self.Kind in Type_View_Kind
and Expected.Kind in Type_View_Kind;
-- Check in given type is expected type
type View_Cursor is private;
-- A cursor to iterate over visible views
function Get_View (Self : View_Cursor) return View;
-- Get a view corresponding to the cursor
function "+" (Self : View_Cursor) return View renames Get_View;
-- Get a view corresponding to the cursor
function Has_Element (Self : View_Cursor) return Boolean;
-- Check if cursor still points to a view
package Iterators is new Ada.Iterator_Interfaces (View_Cursor, Has_Element);
subtype View_Iterator is Iterators.Forward_Iterator'Class;
function Immediate_Visible
(Self : View;
Symbol : Program.Visibility.Symbol)
return View_Iterator
with Pre => Has_Region (Self);
-- Return iterator of views for immediate visible names with given symbol
function Region_Items (Self : View) return View_Array
with Pre => Has_Region (Self);
-- Return array of views for immediate visible names
type Snapshot is tagged limited private;
-- Snapshot keeps state of a context. We save snapshots for private
-- and public parts of entities.
type Snapshot_Access is access all Snapshot'Class
with Storage_Size => 0;
type Context is tagged limited private;
-- A context keeps map from symbol to its view. It also tracks set of
-- snapshots.
type Context_Access is access all Program.Visibility.Context'Class
with Storage_Size => 0;
procedure Create_Empty_Context
(Self : in out Context'Class);
-- Initialize a context to empty state before loading Standard package
procedure Leave_Declarative_Region (Self : in out Context'Class);
-- Leave current declarative region the context.
function Create_Snapshot
(Self : in out Context'Class) return Snapshot_Access;
-- Store state of the context into a snapshot
procedure Restore_Snapshot
(Self : in out Context'Class;
Snapshot : not null Snapshot_Access);
-- Restore snapshot. For example before leaving a package, restore
-- the snapshot of its public part.
procedure Enter_Snapshot
(Self : in out Context'Class;
Snapshot : not null Snapshot_Access);
-- Take topmost element of the snapshot and enter its declarative region.
-- Use-case example:
--
-- declare
-- package P is
-- type T is private;
-- procedure Proc (X : T);
-- private --> Public_Snap := Create_Snapshot;
-- type T is new Integer;
-- end P; --> Private_Snap := Create_Snapshot;
--
-- --> Restore_Snapshot (Public_Snap); Leave_Declaration;
-- V : P.T;
-- package body P is --> Enter_Snapshot (Private_Snap);
--
-- procedure Start_Private_Part
-- (Self : in out Context'Class;
-- Snapshot : not null Snapshot_Access);
-- Make private declarations visible. Current "point of view" should be
-- in a public part of a library unit. Snapshot should be taken from the
-- parent of the current unit.
-- Use-case example:
--
-- package P is
-- type T is private;
-- private --> Public_Snap := Create_Snapshot;
-- type T is new Integer;
-- end P; --> Private_Snap := Create_Snapshot;
--
-- --> Restore_Snapshot (Public_Snap); Leave_Declaration;
-- package P.Q is --> Create_Package (P.Q)
-- V : T;
-- private --> Start_Private_Part (Private_Snap);
-- --> Now we see that T is integer and its oprerations like "+", "/"
--
procedure Create_Implicit_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an implicit type view to the context. Don't create a region.
procedure Create_Incomplete_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an incomplete type view to the context. Create a region.
procedure Create_Object_Access_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Designated : View);
-- Add an access-to-object type view to the context.
-- Don't create a region.
procedure Create_Enumeration_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an enumeration type view to the context. Don't create a region.
procedure Create_Enumeration_Literal
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Enumeration_Type : View)
with Pre => Enumeration_Type.Kind = Enumeration_Type_View;
-- Add an enumeration literal view to the context. Don't create a region.
procedure Create_Character_Literal
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Enumeration_Type : View)
with Pre => Enumeration_Type.Kind = Enumeration_Type_View;
-- Add a character literal view to the context. Don't create a region.
type Meta_Character_Literal_Kind is
(Meta_Character, Meta_Wide_Character, Meta_Wide_Wide_Character);
-- Meta character literal matches any character name in its class.
-- We use them to avoid a million of defining names in the context.
procedure Create_Character_Literal
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Meta_Character : Meta_Character_Literal_Kind;
Enumeration_Type : View)
with Pre => Enumeration_Type.Kind = Enumeration_Type_View;
-- Add a meta character literal view to the context. Don't create a region.
procedure Create_Signed_Integer_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a signed integer type view to the context. Create a region.
procedure Create_Modular_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a unsigned integer type view to the context. Create a region.
procedure Create_Float_Point_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a float point type view to the context. Create a region.
procedure Create_Array_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Indexes : View_Array;
Component : View)
with Pre => Component.Kind in Type_View_Kind;
-- Add an array type view to the context. Create a region.
procedure Create_Record_Type
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a (untagged) record type view to the context.
procedure Create_Subtype
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Subtype_Mark : View;
Has_Constraint : Boolean)
with Pre => Subtype_Mark.Kind in Type_View_Kind;
-- Add a subtype view to the context. Create a region.
procedure Create_Package
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an empty package view to the context. Create a region.
procedure Create_Procedure
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a procedure view to the context. Create declarative region.
-- The typical flow is
-- * Create_Procedure
-- ** Create_Parameter
-- ** Leave_Declarative_Region
-- ** Set_Object_Type
-- * Leave_Declarative_Region
procedure Create_Parameter
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Mode : Parameter_Mode;
Has_Default : Boolean);
-- Add a parameter view to the context and to the topmost subprogram
-- declaration. Create declarative region.
procedure Create_Component
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Has_Default : Boolean);
-- Add a component view to the context and to the topmost record
-- declaration. Create declarative region.
procedure Set_Object_Type
(Self : in out Context'Class;
Definition : View);
-- Assign given subtype to the topmost Object_View declaration
procedure Create_Function
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a function view to the context. Create declarative region.
-- The typical flow is
-- * Create_Function
-- ** Create_Parameter
-- ** Leave_Declarative_Region
-- ** Set_Object_Type
-- * Set_Result_Type
-- * Leave_Declarative_Region
procedure Set_Result_Type
(Self : in out Context'Class;
Definition : View);
-- Assign given subtype as a result type to the topmost function decl.
procedure Create_Variable
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a variable view to the context. Create declarative region.
-- The typical flow is
-- * Create_Variable
-- * Leave_Declarative_Region
-- * Set_Object_Type
procedure Create_Exception
(Self : in out Context'Class;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an exception view to the context. Don't create a region.
procedure Add_Use_Package
(Self : in out Context'Class;
Pkg : View);
-- Add use package clause to the context.
function Immediate_Visible
(Self : Context'Class;
Symbol : Program.Visibility.Symbol)
return View_Iterator;
-- Return iterator of views for immediate visible names with given symbol
function Use_Visible
(Self : Context'Class;
Symbol : Program.Visibility.Symbol)
return View_Iterator;
-- Return iterator of views for use visible names with given symbol
type Directly_Visible_Name_Iterator is
new Iterators.Forward_Iterator with private;
overriding function First
(Self : Directly_Visible_Name_Iterator) return View_Cursor;
overriding function Next
(Self : Directly_Visible_Name_Iterator;
Position : View_Cursor) return View_Cursor;
function Directly_Visible
(Self : Context'Class;
Symbol : Program.Visibility.Symbol)
return Directly_Visible_Name_Iterator;
-- Return iterator of views for directly visible (use or immediate) names
-- with given symbol
function Latest_View (Self : Context'Class) return View;
-- View that was added to the context
function Get_Name_View
(Self : Context'Class;
Name : not null Program.Elements.Element_Access) return View;
private
type Entity_Identifier is range 1 .. Integer'Last;
type Region_Identifier is range 1 .. Integer'Last;
type Entity_Reference is record
Region : Region_Identifier;
Entity_Id : Entity_Identifier;
end record;
No_Entity : constant Entity_Reference :=
(Region_Identifier'Last, Entity_Identifier'Last);
package Entity_References is new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Entity_Reference);
subtype Has_Region_Kind is
View_Kind range Incomplete_Type_View .. Package_View;
type Entity (Kind : View_Kind := Package_View) is record
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Prev : Entity_Reference; -- An upper entity with the same symbol
-- Entity_Id : Entity_Identifier;
-- The index of the item from which we copied this item
case Kind is
when Has_Region_Kind =>
Region : Region_Identifier;
-- If Item has nested region, it's region index
case Kind is
when Function_View =>
Result_Def : Entity_Reference;
when Array_Type_View =>
Indexes : Entity_References.Vector;
Component : Entity_Reference;
when Parameter_View | Component_View | Variable_View =>
Object_Def : Entity_Reference;
Mode : Parameter_Mode;
Has_Default : Boolean;
when others =>
null;
end case;
when others =>
case Kind is
when Enumeration_Type_View =>
Is_Character_Type : Boolean;
First_Literal : Entity_Identifier;
Last_Literal : Entity_Identifier;
-- indexes of its enumeration literals
when Enumeration_Literal_View =>
Enumeration_Type : Entity_Identifier;
when Character_Literal_View =>
Character_Type : Entity_Identifier;
when Subtype_View =>
Subtype_Mark : Entity_Reference;
Has_Constraint : Boolean;
when Object_Access_Type_View =>
Designated_Type : Entity_Reference;
when others =>
null;
end case;
end case;
end record;
package Entity_Vectors is new Ada.Containers.Vectors
(Index_Type => Entity_Identifier,
Element_Type => Entity);
package Region_Id_Vectors is new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Region_Identifier);
type Snapshot is tagged limited record
Region_Id : Region_Identifier; -- Ignore Region_Id if Entities is empty
Entities : Entity_Vectors.Vector;
Uses : Region_Id_Vectors.Vector;
end record;
function Hash
(Value : Program.Elements.Defining_Names.Defining_Name_Access)
return Ada.Containers.Hash_Type;
package Defining_Name_Maps is new Ada.Containers.Hashed_Maps
(Key_Type => Program.Elements.Defining_Names.Defining_Name_Access,
Element_Type => Entity_Reference,
Hash => Hash,
Equivalent_Keys => Program.Elements.Defining_Names."=",
"=" => "=");
type Region is record
Enclosing : Region_Identifier'Base;
Entities : Entity_Vectors.Vector;
Uses : Region_Id_Vectors.Vector;
end record;
package Region_Vectors is new Ada.Containers.Vectors
(Index_Type => Region_Identifier,
Element_Type => Region);
package Entity_Maps is new Ada.Containers.Hashed_Maps
(Key_Type => Program.Visibility.Symbol,
Element_Type => Entity_Reference,
Hash => Program.Symbols.Hash,
Equivalent_Keys => Program.Symbols."=",
"=" => "=");
type Context is tagged limited record
Data : Region_Vectors.Vector;
-- All items are stored here
Top : Region_Identifier;
-- Current region
Xref : Defining_Name_Maps.Map;
-- For each defining name a corresponding reference
Directly : Entity_Maps.Map;
-- A Directly visible symbols mapped to corresponding entities
end record;
type Constant_Context_Access is access constant Context'Class;
type View (Kind : View_Kind := Unresolved_View) is record
Env : Constant_Context_Access;
Index : Entity_Reference;
end record;
type View_Cursor is record
Region : Region_Identifier;
Entity : Entity_Identifier'Base;
Use_Id : Positive;
View : Program.Visibility.View;
end record;
type Region_Immediate_Visible_Iterator is new Iterators.Forward_Iterator
with record
Context : Constant_Context_Access;
Region : Region_Identifier;
Symbol : Program.Visibility.Symbol;
end record;
overriding function First
(Self : Region_Immediate_Visible_Iterator) return View_Cursor;
overriding function Next
(Self : Region_Immediate_Visible_Iterator;
Position : View_Cursor) return View_Cursor;
type Context_Immediate_Visible_Iterator is new Iterators.Forward_Iterator
with record
Context : Constant_Context_Access;
First : Entity_Reference;
end record;
overriding function First
(Self : Context_Immediate_Visible_Iterator) return View_Cursor;
overriding function Next
(Self : Context_Immediate_Visible_Iterator;
Position : View_Cursor) return View_Cursor;
type Use_Visible_Iterator is
new Region_Immediate_Visible_Iterator with null record;
overriding function First
(Self : Use_Visible_Iterator) return View_Cursor;
overriding function Next
(Self : Use_Visible_Iterator;
Position : View_Cursor) return View_Cursor;
type Directly_Visible_Name_Iterator is new Iterators.Forward_Iterator
with record
Immediate : Context_Immediate_Visible_Iterator;
Uses : Use_Visible_Iterator;
end record;
end Program.Visibility;
|
package Render.Widgets is
---------------------------------------------------------------------------
-- drawCircle - a filled in circle.
---------------------------------------------------------------------------
procedure drawCircle (x : Float;
y : Float;
radius : Float;
r : Float;
g : Float;
b : Float;
a : Float;
windowW : Float;
windowH : Float);
---------------------------------------------------------------------------
-- drawLine
---------------------------------------------------------------------------
procedure drawLine (fromX : Float;
fromY : Float;
toX : Float;
toY : Float;
width : Float;
r : Float;
g : Float;
b : Float;
a : Float;
windowW : Float;
windowH : Float;
antiAliased : Boolean := True);
end Render.Widgets;
|
package Giza.Bitmap_Fonts.FreeSerifBold12pt7b is
Font : constant Giza.Font.Ref_Const;
private
FreeSerifBold12pt7bBitmaps : aliased constant Font_Bitmap := (
16#7F#, 16#FF#, 16#77#, 16#66#, 16#22#, 16#00#, 16#6F#, 16#F7#, 16#E3#,
16#F1#, 16#F8#, 16#FC#, 16#7E#, 16#3A#, 16#09#, 16#04#, 16#0C#, 16#40#,
16#CC#, 16#0C#, 16#C0#, 16#8C#, 16#18#, 16#C7#, 16#FF#, 16#18#, 16#C1#,
16#88#, 16#19#, 16#81#, 16#18#, 16#FF#, 16#E3#, 16#18#, 16#31#, 16#83#,
16#18#, 16#33#, 16#03#, 16#30#, 16#08#, 16#01#, 16#00#, 16#FC#, 16#24#,
16#EC#, 16#8D#, 16#90#, 16#BA#, 16#07#, 16#C0#, 16#7E#, 16#07#, 16#F0#,
16#7F#, 16#07#, 16#F0#, 16#9F#, 16#11#, 16#E2#, 16#3E#, 16#46#, 16#E9#,
16#C7#, 16#C0#, 16#20#, 16#04#, 16#00#, 16#1E#, 16#0C#, 16#0E#, 16#7F#,
16#07#, 16#10#, 16#83#, 16#C4#, 16#40#, 16#E1#, 16#30#, 16#38#, 16#88#,
16#0E#, 16#26#, 16#03#, 16#91#, 16#1E#, 16#78#, 16#8E#, 16#40#, 16#27#,
16#10#, 16#11#, 16#C4#, 16#0C#, 16#E1#, 16#02#, 16#38#, 16#81#, 16#0E#,
16#20#, 16#43#, 16#90#, 16#20#, 16#78#, 16#03#, 16#E0#, 16#01#, 16#9E#,
16#00#, 16#E3#, 16#80#, 16#38#, 16#E0#, 16#0F#, 16#30#, 16#03#, 16#F0#,
16#00#, 16#78#, 16#7C#, 16#1F#, 16#06#, 16#1B#, 16#E1#, 16#1C#, 16#7C#,
16#8F#, 16#1F#, 16#23#, 16#C3#, 16#F0#, 16#F8#, 16#7C#, 16#3E#, 16#0F#,
16#97#, 16#C7#, 16#FC#, 16#FE#, 16#3E#, 16#FF#, 16#FE#, 16#90#, 16#00#,
16#31#, 16#0C#, 16#31#, 16#86#, 16#38#, 16#E3#, 16#8E#, 16#38#, 16#E3#,
16#86#, 16#18#, 16#60#, 16#C1#, 16#02#, 16#04#, 16#03#, 16#06#, 16#0C#,
16#30#, 16#61#, 16#87#, 16#1C#, 16#71#, 16#C7#, 16#1C#, 16#71#, 16#86#,
16#38#, 16#C2#, 16#10#, 16#80#, 16#1C#, 16#6E#, 16#FA#, 16#EF#, 16#F1#,
16#C7#, 16#FF#, 16#AF#, 16#BB#, 16#1C#, 16#04#, 16#00#, 16#06#, 16#00#,
16#60#, 16#06#, 16#00#, 16#60#, 16#06#, 16#0F#, 16#FF#, 16#FF#, 16#F0#,
16#60#, 16#06#, 16#00#, 16#60#, 16#06#, 16#00#, 16#60#, 16#6F#, 16#F7#,
16#11#, 16#24#, 16#FF#, 16#FF#, 16#C0#, 16#6F#, 16#F6#, 16#03#, 16#02#,
16#06#, 16#06#, 16#0C#, 16#0C#, 16#0C#, 16#18#, 16#18#, 16#18#, 16#30#,
16#30#, 16#30#, 16#60#, 16#60#, 16#60#, 16#C0#, 16#0E#, 16#07#, 16#71#,
16#C7#, 16#38#, 16#EF#, 16#1D#, 16#E3#, 16#FC#, 16#7F#, 16#8F#, 16#F1#,
16#FE#, 16#3F#, 16#C7#, 16#F8#, 16#F7#, 16#1C#, 16#E3#, 16#8E#, 16#E0#,
16#F8#, 16#06#, 16#0F#, 16#1F#, 16#83#, 16#C1#, 16#E0#, 16#F0#, 16#78#,
16#3C#, 16#1E#, 16#0F#, 16#07#, 16#83#, 16#C1#, 16#E0#, 16#F0#, 16#F9#,
16#FF#, 16#0F#, 16#03#, 16#FC#, 16#7F#, 16#C4#, 16#3E#, 16#01#, 16#E0#,
16#1E#, 16#01#, 16#E0#, 16#1C#, 16#03#, 16#80#, 16#30#, 16#06#, 16#00#,
16#C1#, 16#18#, 16#13#, 16#FE#, 16#7F#, 16#EF#, 16#FE#, 16#1F#, 16#0C#,
16#FA#, 16#0F#, 16#01#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#E0#, 16#3E#,
16#03#, 16#E0#, 16#3C#, 16#03#, 16#80#, 16#70#, 16#0D#, 16#C1#, 16#BC#,
16#43#, 16#F0#, 16#03#, 16#80#, 16#E0#, 16#78#, 16#3E#, 16#17#, 16#89#,
16#E2#, 16#79#, 16#1E#, 16#87#, 16#A1#, 16#EF#, 16#FF#, 16#FF#, 16#FF#,
16#C1#, 16#E0#, 16#78#, 16#1E#, 16#3F#, 16#E7#, 16#F8#, 16#FF#, 16#10#,
16#04#, 16#00#, 16#F8#, 16#1F#, 16#C7#, 16#FC#, 16#1F#, 16#C0#, 16#78#,
16#07#, 16#00#, 16#60#, 16#0D#, 16#C1#, 16#3C#, 16#43#, 16#F0#, 16#00#,
16#E0#, 16#F0#, 16#38#, 16#1E#, 16#07#, 16#80#, 16#F0#, 16#3F#, 16#E7#,
16#9E#, 16#F1#, 16#FE#, 16#3F#, 16#C7#, 16#F8#, 16#F7#, 16#1E#, 16#E3#,
16#8E#, 16#60#, 16#F8#, 16#7F#, 16#EF#, 16#FD#, 16#FF#, 16#A0#, 16#68#,
16#0C#, 16#01#, 16#00#, 16#60#, 16#0C#, 16#03#, 16#00#, 16#60#, 16#0C#,
16#03#, 16#00#, 16#60#, 16#1C#, 16#03#, 16#00#, 16#60#, 16#1F#, 16#0E#,
16#73#, 16#87#, 16#70#, 16#EF#, 16#1D#, 16#F3#, 16#1F#, 16#81#, 16#F8#,
16#1F#, 16#CC#, 16#FB#, 16#8F#, 16#F0#, 16#FE#, 16#1F#, 16#C3#, 16#9C#,
16#F1#, 16#F8#, 16#1F#, 16#06#, 16#71#, 16#C7#, 16#78#, 16#EF#, 16#1F#,
16#E3#, 16#FC#, 16#7F#, 16#8F#, 16#79#, 16#E7#, 16#FC#, 16#0F#, 16#01#,
16#C0#, 16#78#, 16#1C#, 16#0F#, 16#07#, 16#00#, 16#6F#, 16#F6#, 16#00#,
16#06#, 16#FF#, 16#60#, 16#6F#, 16#F6#, 16#00#, 16#06#, 16#FF#, 16#71#,
16#22#, 16#C0#, 16#00#, 16#04#, 16#00#, 16#70#, 16#07#, 16#C0#, 16#FC#,
16#0F#, 16#80#, 16#F8#, 16#0F#, 16#80#, 16#1F#, 16#00#, 16#1F#, 16#00#,
16#1F#, 16#00#, 16#1F#, 16#00#, 16#1F#, 16#00#, 16#1C#, 16#00#, 16#00#,
16#FF#, 16#FF#, 16#FF#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#,
16#00#, 16#0F#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#03#, 16#80#, 16#0F#,
16#80#, 16#0F#, 16#80#, 16#0F#, 16#80#, 16#0F#, 16#80#, 16#0F#, 16#80#,
16#1F#, 16#01#, 16#F0#, 16#1F#, 16#03#, 16#F0#, 16#3E#, 16#00#, 16#E0#,
16#02#, 16#00#, 16#00#, 16#3E#, 16#11#, 16#EC#, 16#3F#, 16#8F#, 16#E3#,
16#C0#, 16#F0#, 16#78#, 16#18#, 16#08#, 16#02#, 16#00#, 16#00#, 16#00#,
16#1C#, 16#07#, 16#81#, 16#E0#, 16#30#, 16#03#, 16#F0#, 16#0E#, 16#18#,
16#18#, 16#04#, 16#30#, 16#66#, 16#70#, 16#DB#, 16#61#, 16#99#, 16#E3#,
16#19#, 16#E3#, 16#31#, 16#E6#, 16#31#, 16#E6#, 16#31#, 16#E6#, 16#F2#,
16#66#, 16#B2#, 16#73#, 16#3C#, 16#38#, 16#00#, 16#1E#, 16#04#, 16#03#,
16#F8#, 16#00#, 16#80#, 16#00#, 16#60#, 16#00#, 16#70#, 16#00#, 16#38#,
16#00#, 16#3E#, 16#00#, 16#1F#, 16#00#, 16#1B#, 16#C0#, 16#09#, 16#E0#,
16#04#, 16#F8#, 16#04#, 16#3C#, 16#02#, 16#1F#, 16#03#, 16#FF#, 16#81#,
16#03#, 16#C1#, 16#80#, 16#F0#, 16#80#, 16#7D#, 16#F0#, 16#FF#, 16#FF#,
16#C0#, 16#F3#, 16#C3#, 16#C7#, 16#8F#, 16#1E#, 16#3C#, 16#78#, 16#F1#,
16#E3#, 16#CE#, 16#0F#, 16#F0#, 16#3C#, 16#70#, 16#F0#, 16#E3#, 16#C3#,
16#CF#, 16#0F#, 16#3C#, 16#3C#, 16#F0#, 16#E3#, 16#C7#, 16#BF#, 16#F8#,
16#07#, 16#E2#, 16#38#, 16#7C#, 16#E0#, 16#3B#, 16#C0#, 16#37#, 16#00#,
16#7E#, 16#00#, 16#7C#, 16#00#, 16#78#, 16#00#, 16#F0#, 16#01#, 16#E0#,
16#03#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#80#, 16#27#, 16#00#, 16#C7#,
16#86#, 16#03#, 16#F0#, 16#FF#, 16#E0#, 16#1E#, 16#1E#, 16#0F#, 16#07#,
16#87#, 16#81#, 16#E3#, 16#C0#, 16#F1#, 16#E0#, 16#3C#, 16#F0#, 16#1E#,
16#78#, 16#0F#, 16#3C#, 16#07#, 16#9E#, 16#03#, 16#CF#, 16#01#, 16#E7#,
16#80#, 16#E3#, 16#C0#, 16#F1#, 16#E0#, 16#F0#, 16#F0#, 16#E1#, 16#FF#,
16#C0#, 16#FF#, 16#FC#, 16#78#, 16#38#, 16#F0#, 16#31#, 16#E0#, 16#23#,
16#C4#, 16#07#, 16#88#, 16#0F#, 16#30#, 16#1F#, 16#E0#, 16#3C#, 16#C0#,
16#78#, 16#80#, 16#F1#, 16#01#, 16#E0#, 16#23#, 16#C0#, 16#47#, 16#81#,
16#8F#, 16#07#, 16#7F#, 16#FE#, 16#FF#, 16#FC#, 16#F0#, 16#73#, 16#C0#,
16#CF#, 16#01#, 16#3C#, 16#40#, 16#F1#, 16#03#, 16#CC#, 16#0F#, 16#F0#,
16#3C#, 16#C0#, 16#F1#, 16#03#, 16#C4#, 16#0F#, 16#00#, 16#3C#, 16#00#,
16#F0#, 16#03#, 16#C0#, 16#3F#, 16#C0#, 16#07#, 16#E2#, 16#1C#, 16#3E#,
16#38#, 16#0E#, 16#78#, 16#06#, 16#70#, 16#06#, 16#F0#, 16#00#, 16#F0#,
16#00#, 16#F0#, 16#00#, 16#F0#, 16#00#, 16#F0#, 16#7F#, 16#F0#, 16#1E#,
16#70#, 16#1E#, 16#78#, 16#1E#, 16#38#, 16#1E#, 16#1E#, 16#1E#, 16#07#,
16#F0#, 16#FE#, 16#FF#, 16#78#, 16#3C#, 16#78#, 16#3C#, 16#78#, 16#3C#,
16#78#, 16#3C#, 16#78#, 16#3C#, 16#78#, 16#3C#, 16#7F#, 16#FC#, 16#78#,
16#3C#, 16#78#, 16#3C#, 16#78#, 16#3C#, 16#78#, 16#3C#, 16#78#, 16#3C#,
16#78#, 16#3C#, 16#78#, 16#3C#, 16#FE#, 16#FF#, 16#FF#, 16#3C#, 16#3C#,
16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#,
16#3C#, 16#3C#, 16#3C#, 16#FF#, 16#0F#, 16#F0#, 16#3C#, 16#03#, 16#C0#,
16#3C#, 16#03#, 16#C0#, 16#3C#, 16#03#, 16#C0#, 16#3C#, 16#03#, 16#C0#,
16#3C#, 16#03#, 16#C0#, 16#3C#, 16#03#, 16#C0#, 16#3C#, 16#E3#, 16#CE#,
16#38#, 16#E3#, 16#83#, 16#E0#, 16#FE#, 16#7F#, 16#3C#, 16#0E#, 16#1E#,
16#04#, 16#0F#, 16#04#, 16#07#, 16#84#, 16#03#, 16#CC#, 16#01#, 16#EE#,
16#00#, 16#FF#, 16#00#, 16#7F#, 16#C0#, 16#3D#, 16#F0#, 16#1E#, 16#7C#,
16#0F#, 16#1F#, 16#07#, 16#87#, 16#C3#, 16#C1#, 16#F1#, 16#E0#, 16#7D#,
16#FC#, 16#FF#, 16#FE#, 16#01#, 16#E0#, 16#07#, 16#80#, 16#1E#, 16#00#,
16#78#, 16#01#, 16#E0#, 16#07#, 16#80#, 16#1E#, 16#00#, 16#78#, 16#01#,
16#E0#, 16#07#, 16#80#, 16#1E#, 16#01#, 16#78#, 16#0D#, 16#E0#, 16#67#,
16#83#, 16#BF#, 16#FE#, 16#FC#, 16#01#, 16#F3#, 16#C0#, 16#3E#, 16#3E#,
16#03#, 16#E3#, 16#E0#, 16#5E#, 16#2F#, 16#05#, 16#E2#, 16#F0#, 16#5E#,
16#27#, 16#09#, 16#E2#, 16#78#, 16#9E#, 16#27#, 16#91#, 16#E2#, 16#3D#,
16#1E#, 16#23#, 16#E1#, 16#E2#, 16#1E#, 16#1E#, 16#21#, 16#E1#, 16#E2#,
16#0C#, 16#1E#, 16#20#, 16#C1#, 16#EF#, 16#88#, 16#3F#, 16#F8#, 16#1E#,
16#F8#, 16#18#, 16#F8#, 16#11#, 16#F8#, 16#22#, 16#F8#, 16#45#, 16#F0#,
16#89#, 16#F1#, 16#11#, 16#F2#, 16#21#, 16#F4#, 16#41#, 16#F8#, 16#81#,
16#F1#, 16#01#, 16#E2#, 16#03#, 16#C4#, 16#03#, 16#8C#, 16#03#, 16#7C#,
16#02#, 16#07#, 16#F0#, 16#0F#, 16#1E#, 16#0E#, 16#03#, 16#8F#, 16#01#,
16#E7#, 16#00#, 16#77#, 16#80#, 16#3F#, 16#C0#, 16#1F#, 16#E0#, 16#0F#,
16#F0#, 16#07#, 16#F8#, 16#03#, 16#FC#, 16#01#, 16#EE#, 16#00#, 16#E7#,
16#80#, 16#F1#, 16#C0#, 16#70#, 16#70#, 16#70#, 16#0F#, 16#E0#, 16#FF#,
16#87#, 16#9E#, 16#78#, 16#F7#, 16#8F#, 16#78#, 16#F7#, 16#8F#, 16#78#,
16#F7#, 16#9E#, 16#7F#, 16#87#, 16#80#, 16#78#, 16#07#, 16#80#, 16#78#,
16#07#, 16#80#, 16#78#, 16#0F#, 16#E0#, 16#07#, 16#F0#, 16#0F#, 16#1E#,
16#0E#, 16#07#, 16#8F#, 16#01#, 16#E7#, 16#00#, 16#F7#, 16#80#, 16#3F#,
16#C0#, 16#1F#, 16#E0#, 16#0F#, 16#F0#, 16#07#, 16#F8#, 16#03#, 16#FC#,
16#01#, 16#EE#, 16#00#, 16#E7#, 16#00#, 16#F1#, 16#C0#, 16#70#, 16#70#,
16#70#, 16#1C#, 16#F0#, 16#03#, 16#E0#, 16#01#, 16#F8#, 16#00#, 16#3E#,
16#00#, 16#07#, 16#E0#, 16#FF#, 16#E0#, 16#3C#, 16#78#, 16#3C#, 16#3C#,
16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#38#, 16#3C#,
16#70#, 16#3F#, 16#C0#, 16#3D#, 16#E0#, 16#3C#, 16#F0#, 16#3C#, 16#F8#,
16#3C#, 16#78#, 16#3C#, 16#3C#, 16#3C#, 16#3E#, 16#FF#, 16#1F#, 16#1F#,
16#27#, 16#0E#, 16#60#, 16#6E#, 16#06#, 16#F0#, 16#2F#, 16#80#, 16#7F#,
16#07#, 16#FC#, 16#1F#, 16#E0#, 16#7E#, 16#01#, 16#F8#, 16#07#, 16#C0#,
16#7C#, 16#06#, 16#F0#, 16#C9#, 16#F8#, 16#FF#, 16#FF#, 16#C7#, 16#9F#,
16#0F#, 16#1C#, 16#1E#, 16#10#, 16#3C#, 16#00#, 16#78#, 16#00#, 16#F0#,
16#01#, 16#E0#, 16#03#, 16#C0#, 16#07#, 16#80#, 16#0F#, 16#00#, 16#1E#,
16#00#, 16#3C#, 16#00#, 16#78#, 16#00#, 16#F0#, 16#07#, 16#F8#, 16#FE#,
16#1E#, 16#F0#, 16#09#, 16#E0#, 16#13#, 16#C0#, 16#27#, 16#80#, 16#4F#,
16#00#, 16#9E#, 16#01#, 16#3C#, 16#02#, 16#78#, 16#04#, 16#F0#, 16#09#,
16#E0#, 16#13#, 16#C0#, 16#27#, 16#80#, 16#47#, 16#81#, 16#07#, 16#84#,
16#07#, 16#F0#, 16#FF#, 16#0F#, 16#9E#, 16#03#, 16#0F#, 16#00#, 16#83#,
16#C0#, 16#81#, 16#E0#, 16#40#, 16#F8#, 16#20#, 16#3C#, 16#20#, 16#1E#,
16#10#, 16#07#, 16#90#, 16#03#, 16#C8#, 16#00#, 16#F4#, 16#00#, 16#7C#,
16#00#, 16#3E#, 16#00#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#01#, 16#00#,
16#00#, 16#80#, 16#00#, 16#FE#, 16#7F#, 16#9E#, 16#F8#, 16#3C#, 16#08#,
16#F0#, 16#78#, 16#11#, 16#E0#, 16#F0#, 16#41#, 16#E0#, 16#F0#, 16#83#,
16#C3#, 16#E1#, 16#07#, 16#87#, 16#C4#, 16#07#, 16#93#, 16#C8#, 16#0F#,
16#27#, 16#B0#, 16#0E#, 16#47#, 16#40#, 16#1F#, 16#0F#, 16#80#, 16#3E#,
16#1F#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#70#, 16#38#, 16#00#, 16#C0#,
16#30#, 16#00#, 16#80#, 16#40#, 16#FF#, 16#9F#, 16#9F#, 16#07#, 16#0F#,
16#83#, 16#03#, 16#E3#, 16#00#, 16#F9#, 16#00#, 16#3D#, 16#00#, 16#1F#,
16#00#, 16#07#, 16#C0#, 16#01#, 16#E0#, 16#00#, 16#F8#, 16#00#, 16#BE#,
16#00#, 16#8F#, 16#00#, 16#83#, 16#C0#, 16#C1#, 16#F0#, 16#E0#, 16#FD#,
16#F8#, 16#FF#, 16#FF#, 16#1F#, 16#7C#, 16#06#, 16#3C#, 16#04#, 16#3E#,
16#0C#, 16#1E#, 16#08#, 16#1F#, 16#10#, 16#0F#, 16#30#, 16#07#, 16#A0#,
16#07#, 16#C0#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#03#,
16#C0#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#0F#, 16#F0#, 16#7F#, 16#FC#,
16#E0#, 16#F1#, 16#83#, 16#E2#, 16#07#, 16#84#, 16#1E#, 16#00#, 16#7C#,
16#00#, 16#F0#, 16#03#, 16#C0#, 16#0F#, 16#80#, 16#1E#, 16#00#, 16#7C#,
16#08#, 16#F0#, 16#13#, 16#C0#, 16#6F#, 16#81#, 16#9E#, 16#07#, 16#7F#,
16#FE#, 16#FF#, 16#39#, 16#CE#, 16#73#, 16#9C#, 16#E7#, 16#39#, 16#CE#,
16#73#, 16#9C#, 16#E7#, 16#39#, 16#F0#, 16#C0#, 16#E0#, 16#60#, 16#60#,
16#70#, 16#30#, 16#38#, 16#38#, 16#18#, 16#1C#, 16#1C#, 16#0C#, 16#0E#,
16#06#, 16#06#, 16#07#, 16#03#, 16#F9#, 16#CE#, 16#73#, 16#9C#, 16#E7#,
16#39#, 16#CE#, 16#73#, 16#9C#, 16#E7#, 16#39#, 16#CF#, 16#F0#, 16#0C#,
16#07#, 16#81#, 16#E0#, 16#CC#, 16#33#, 16#18#, 16#66#, 16#1B#, 16#87#,
16#C0#, 16#C0#, 16#FF#, 16#F0#, 16#C7#, 16#1C#, 16#30#, 16#1F#, 16#0E#,
16#71#, 16#CF#, 16#39#, 16#E0#, 16#3C#, 16#1F#, 16#8E#, 16#F3#, 16#9E#,
16#F3#, 16#DE#, 16#79#, 16#FF#, 16#80#, 16#F8#, 16#07#, 16#80#, 16#78#,
16#07#, 16#80#, 16#78#, 16#07#, 16#B8#, 16#7D#, 16#E7#, 16#8E#, 16#78#,
16#F7#, 16#8F#, 16#78#, 16#F7#, 16#8F#, 16#78#, 16#F7#, 16#8E#, 16#79#,
16#C4#, 16#78#, 16#1F#, 16#1D#, 16#DC#, 16#FE#, 16#7F#, 16#07#, 16#83#,
16#C1#, 16#E0#, 16#78#, 16#3C#, 16#47#, 16#C0#, 16#03#, 16#E0#, 16#1E#,
16#01#, 16#E0#, 16#1E#, 16#01#, 16#E1#, 16#DE#, 16#7B#, 16#E7#, 16#1E#,
16#F1#, 16#EF#, 16#1E#, 16#F1#, 16#EF#, 16#1E#, 16#F1#, 16#E7#, 16#1E#,
16#7B#, 16#E1#, 16#DF#, 16#1F#, 16#0C#, 16#67#, 16#1B#, 16#C7#, 16#FF#,
16#FC#, 16#0F#, 16#03#, 16#C0#, 16#78#, 16#4E#, 16#21#, 16#F0#, 16#1E#,
16#3B#, 16#7B#, 16#78#, 16#78#, 16#FC#, 16#78#, 16#78#, 16#78#, 16#78#,
16#78#, 16#78#, 16#78#, 16#78#, 16#78#, 16#FC#, 16#3E#, 16#0E#, 16#7F#,
16#CE#, 16#79#, 16#EF#, 16#3C#, 16#E7#, 16#0F#, 16#C1#, 16#00#, 16#60#,
16#1C#, 16#03#, 16#FE#, 16#7F#, 16#E3#, 16#FF#, 16#80#, 16#F0#, 16#33#,
16#FC#, 16#F8#, 16#07#, 16#80#, 16#78#, 16#07#, 16#80#, 16#78#, 16#07#,
16#B8#, 16#7D#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#,
16#9E#, 16#79#, 16#E7#, 16#9E#, 16#79#, 16#EF#, 16#FF#, 16#31#, 16#E7#,
16#8C#, 16#03#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#,
16#BF#, 16#06#, 16#0F#, 16#0F#, 16#06#, 16#00#, 16#1F#, 16#0F#, 16#0F#,
16#0F#, 16#0F#, 16#0F#, 16#0F#, 16#0F#, 16#0F#, 16#0F#, 16#0F#, 16#0F#,
16#0F#, 16#CF#, 16#CE#, 16#7C#, 16#F8#, 16#03#, 16#C0#, 16#1E#, 16#00#,
16#F0#, 16#07#, 16#80#, 16#3C#, 16#F9#, 16#E1#, 16#8F#, 16#10#, 16#79#,
16#03#, 16#D8#, 16#1F#, 16#E0#, 16#F7#, 16#87#, 16#9E#, 16#3C#, 16#71#,
16#E3#, 16#DF#, 16#BF#, 16#F9#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#,
16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#BF#, 16#FB#, 16#CF#, 16#0F#,
16#BE#, 16#79#, 16#E7#, 16#8F#, 16#3C#, 16#F1#, 16#E7#, 16#9E#, 16#3C#,
16#F3#, 16#C7#, 16#9E#, 16#78#, 16#F3#, 16#CF#, 16#1E#, 16#79#, 16#E3#,
16#CF#, 16#3C#, 16#7B#, 16#FF#, 16#DF#, 16#80#, 16#FB#, 16#87#, 16#DE#,
16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#,
16#79#, 16#E7#, 16#9E#, 16#FF#, 16#F0#, 16#1F#, 16#07#, 16#71#, 16#C7#,
16#78#, 16#FF#, 16#1F#, 16#E3#, 16#FC#, 16#7F#, 16#8F#, 16#71#, 16#C7#,
16#70#, 16#7C#, 16#00#, 16#FB#, 16#87#, 16#DE#, 16#78#, 16#E7#, 16#8F#,
16#78#, 16#F7#, 16#8F#, 16#78#, 16#F7#, 16#8F#, 16#78#, 16#E7#, 16#9E#,
16#7F#, 16#87#, 16#80#, 16#78#, 16#07#, 16#80#, 16#78#, 16#0F#, 16#C0#,
16#1E#, 16#23#, 16#9E#, 16#71#, 16#EF#, 16#1E#, 16#F1#, 16#EF#, 16#1E#,
16#F1#, 16#EF#, 16#1E#, 16#71#, 16#E7#, 16#9E#, 16#1F#, 16#E0#, 16#1E#,
16#01#, 16#E0#, 16#1E#, 16#01#, 16#E0#, 16#3F#, 16#F9#, 16#DF#, 16#F7#,
16#DD#, 16#E0#, 16#78#, 16#1E#, 16#07#, 16#81#, 16#E0#, 16#78#, 16#1E#,
16#0F#, 16#C0#, 16#3D#, 16#43#, 16#C3#, 16#E0#, 16#FC#, 16#7E#, 16#1F#,
16#87#, 16#83#, 16#C2#, 16#BC#, 16#08#, 16#18#, 16#38#, 16#78#, 16#FC#,
16#78#, 16#78#, 16#78#, 16#78#, 16#78#, 16#78#, 16#78#, 16#78#, 16#79#,
16#3E#, 16#FB#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#,
16#9E#, 16#79#, 16#E7#, 16#9E#, 16#79#, 16#E7#, 16#9E#, 16#3F#, 16#F0#,
16#FC#, 16#EF#, 16#08#, 16#E1#, 16#1E#, 16#41#, 16#C8#, 16#3E#, 16#03#,
16#C0#, 16#78#, 16#0E#, 16#00#, 16#C0#, 16#10#, 16#00#, 16#FD#, 16#F7#,
16#BC#, 16#71#, 16#9E#, 16#38#, 16#87#, 16#1E#, 16#43#, 16#CF#, 16#40#,
16#EB#, 16#A0#, 16#7C#, 16#F0#, 16#1C#, 16#70#, 16#0E#, 16#38#, 16#06#,
16#08#, 16#01#, 16#04#, 16#00#, 16#FC#, 16#F7#, 16#84#, 16#3C#, 16#81#,
16#F0#, 16#0F#, 16#00#, 16#F0#, 16#0F#, 16#80#, 16#BC#, 16#13#, 16#C2#,
16#1E#, 16#FB#, 16#F0#, 16#FC#, 16#EF#, 16#08#, 16#E1#, 16#1E#, 16#43#,
16#C8#, 16#3A#, 16#07#, 16#C0#, 16#78#, 16#0E#, 16#01#, 16#C0#, 16#18#,
16#02#, 16#00#, 16#41#, 16#C8#, 16#3A#, 16#03#, 16#80#, 16#FF#, 16#B1#,
16#E8#, 16#70#, 16#3C#, 16#1E#, 16#07#, 16#83#, 16#C1#, 16#E0#, 16#78#,
16#BC#, 16#2F#, 16#F8#, 16#07#, 16#0E#, 16#1C#, 16#1C#, 16#1C#, 16#1C#,
16#1C#, 16#1C#, 16#1C#, 16#1C#, 16#E0#, 16#18#, 16#1C#, 16#1C#, 16#1C#,
16#1C#, 16#1C#, 16#1C#, 16#1C#, 16#1E#, 16#07#, 16#FF#, 16#FF#, 16#FF#,
16#FF#, 16#C0#, 16#E0#, 16#70#, 16#38#, 16#38#, 16#38#, 16#38#, 16#38#,
16#38#, 16#38#, 16#18#, 16#07#, 16#38#, 16#38#, 16#38#, 16#38#, 16#38#,
16#38#, 16#38#, 16#38#, 16#70#, 16#E0#, 16#70#, 16#1F#, 16#8B#, 16#3F#,
16#01#, 16#C0#);
FreeSerifBold12pt7bGlyphs : aliased constant Glyph_Array := (
(0, 0, 0, 6, 0, 1), -- 0x20 ' '
(0, 4, 16, 8, 2, -15), -- 0x21 '!'
(8, 9, 7, 13, 2, -15), -- 0x22 '"'
(16, 12, 16, 12, 0, -15), -- 0x23 '#'
(40, 11, 20, 12, 1, -17), -- 0x24 '$'
(68, 18, 16, 24, 3, -15), -- 0x25 '%'
(104, 18, 16, 20, 1, -15), -- 0x26 '&'
(140, 3, 7, 7, 2, -15), -- 0x27 '''
(143, 6, 21, 8, 1, -16), -- 0x28 '('
(159, 6, 21, 8, 1, -16), -- 0x29 ')'
(175, 9, 10, 12, 2, -15), -- 0x2A '*'
(187, 12, 12, 16, 2, -11), -- 0x2B '+'
(205, 4, 8, 6, 1, -3), -- 0x2C ','
(209, 6, 3, 8, 1, -6), -- 0x2D '-'
(212, 4, 4, 6, 1, -3), -- 0x2E '.'
(214, 8, 17, 7, -1, -15), -- 0x2F '/'
(231, 11, 16, 12, 1, -15), -- 0x30 '0'
(253, 9, 16, 12, 1, -15), -- 0x31 '1'
(271, 12, 16, 12, 0, -15), -- 0x32 '2'
(295, 11, 16, 12, 1, -15), -- 0x33 '3'
(317, 10, 16, 12, 1, -15), -- 0x34 '4'
(337, 11, 16, 12, 1, -15), -- 0x35 '5'
(359, 11, 16, 12, 1, -15), -- 0x36 '6'
(381, 11, 16, 12, 0, -15), -- 0x37 '7'
(403, 11, 16, 12, 1, -15), -- 0x38 '8'
(425, 11, 16, 12, 1, -15), -- 0x39 '9'
(447, 4, 11, 8, 2, -10), -- 0x3A ':'
(453, 4, 15, 8, 2, -10), -- 0x3B ';'
(461, 14, 14, 16, 1, -12), -- 0x3C '<'
(486, 14, 8, 16, 1, -9), -- 0x3D '='
(500, 14, 14, 16, 1, -12), -- 0x3E '>'
(525, 10, 16, 12, 1, -15), -- 0x3F '?'
(545, 16, 16, 22, 3, -15), -- 0x40 '@'
(577, 17, 16, 17, 0, -15), -- 0x41 'A'
(611, 14, 16, 16, 1, -15), -- 0x42 'B'
(639, 15, 16, 17, 1, -15), -- 0x43 'C'
(669, 17, 16, 18, 0, -15), -- 0x44 'D'
(703, 15, 16, 16, 1, -15), -- 0x45 'E'
(733, 14, 16, 15, 1, -15), -- 0x46 'F'
(761, 16, 16, 19, 1, -15), -- 0x47 'G'
(793, 16, 16, 19, 2, -15), -- 0x48 'H'
(825, 8, 16, 9, 1, -15), -- 0x49 'I'
(841, 12, 18, 12, 0, -15), -- 0x4A 'J'
(868, 17, 16, 19, 2, -15), -- 0x4B 'K'
(902, 14, 16, 16, 2, -15), -- 0x4C 'L'
(930, 20, 16, 23, 1, -15), -- 0x4D 'M'
(970, 15, 16, 17, 1, -15), -- 0x4E 'N'
(1000, 17, 16, 19, 1, -15), -- 0x4F 'O'
(1034, 12, 16, 15, 2, -15), -- 0x50 'P'
(1058, 17, 20, 19, 1, -15), -- 0x51 'Q'
(1101, 16, 16, 17, 1, -15), -- 0x52 'R'
(1133, 12, 16, 14, 1, -15), -- 0x53 'S'
(1157, 15, 16, 15, 0, -15), -- 0x54 'T'
(1187, 15, 16, 17, 1, -15), -- 0x55 'U'
(1217, 17, 17, 17, 0, -15), -- 0x56 'V'
(1254, 23, 16, 24, 0, -15), -- 0x57 'W'
(1300, 17, 16, 17, 0, -15), -- 0x58 'X'
(1334, 16, 16, 17, 1, -15), -- 0x59 'Y'
(1366, 15, 16, 16, 0, -15), -- 0x5A 'Z'
(1396, 5, 20, 8, 2, -15), -- 0x5B '['
(1409, 8, 17, 7, -1, -15), -- 0x5C '\'
(1426, 5, 20, 8, 2, -15), -- 0x5D ']'
(1439, 10, 9, 14, 2, -15), -- 0x5E '^'
(1451, 12, 1, 12, 0, 4), -- 0x5F '_'
(1453, 5, 4, 8, 0, -16), -- 0x60 '`'
(1456, 11, 11, 12, 1, -10), -- 0x61 'a'
(1472, 12, 16, 13, 1, -15), -- 0x62 'b'
(1496, 9, 11, 10, 1, -10), -- 0x63 'c'
(1509, 12, 16, 13, 1, -15), -- 0x64 'd'
(1533, 10, 11, 11, 1, -10), -- 0x65 'e'
(1547, 8, 16, 9, 1, -15), -- 0x66 'f'
(1563, 11, 16, 12, 1, -10), -- 0x67 'g'
(1585, 12, 16, 13, 1, -15), -- 0x68 'h'
(1609, 6, 16, 7, 1, -15), -- 0x69 'i'
(1621, 8, 21, 10, 0, -15), -- 0x6A 'j'
(1642, 13, 16, 13, 1, -15), -- 0x6B 'k'
(1668, 6, 16, 7, 1, -15), -- 0x6C 'l'
(1680, 19, 11, 20, 1, -10), -- 0x6D 'm'
(1707, 12, 11, 13, 1, -10), -- 0x6E 'n'
(1724, 11, 11, 12, 1, -10), -- 0x6F 'o'
(1740, 12, 16, 13, 1, -10), -- 0x70 'p'
(1764, 12, 16, 13, 1, -10), -- 0x71 'q'
(1788, 10, 11, 10, 1, -10), -- 0x72 'r'
(1802, 8, 11, 10, 1, -10), -- 0x73 's'
(1813, 8, 15, 8, 1, -14), -- 0x74 't'
(1828, 12, 11, 14, 1, -10), -- 0x75 'u'
(1845, 11, 11, 12, 0, -10), -- 0x76 'v'
(1861, 17, 11, 17, 0, -10), -- 0x77 'w'
(1885, 12, 11, 12, 0, -10), -- 0x78 'x'
(1902, 11, 16, 12, 0, -10), -- 0x79 'y'
(1924, 10, 11, 11, 1, -10), -- 0x7A 'z'
(1938, 8, 21, 9, 0, -16), -- 0x7B '{'
(1959, 2, 17, 5, 2, -15), -- 0x7C '|'
(1964, 8, 21, 9, 2, -16), -- 0x7D '}'
(1985, 11, 4, 12, 1, -7)); -- 0x7E '~'
Font_D : aliased constant Bitmap_Font :=
(FreeSerifBold12pt7bBitmaps'Access,
FreeSerifBold12pt7bGlyphs'Access,
28);
Font : constant Giza.Font.Ref_Const := Font_D'Access;
end Giza.Bitmap_Fonts.FreeSerifBold12pt7b;
|
-----------------------------------------------------------------------
-- swagger-server-applications -- REST application
-- Copyright (C) 2017, 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 Util.Properties;
private with Security.OAuth.Servers;
private with Servlet.Core.Rest;
private with Servlet.Core.Files;
private with Servlet.Security.OAuth;
private with Servlet.Security.Filters.OAuth;
private with Security.OAuth.File_Registry;
package Swagger.Servers.Applications is
type Application_Type is limited new Swagger.Servers.Application_Type with private;
-- Configures the REST application so that it is ready to handler REST
-- operations as well as give access to the Swagger UI that describes them.
not overriding
procedure Configure (App : in out Application_Type;
Config : in Util.Properties.Manager'Class);
private
type Application_Type is limited new Swagger.Servers.Application_Type with record
Api : aliased Servlet.Core.Rest.Rest_Servlet;
OAuth : aliased Servlet.Security.OAuth.Token_Servlet;
Filter : aliased Servlet.Security.Filters.OAuth.Auth_Filter;
Files : aliased Servlet.Core.Files.File_Servlet;
Ui_Files : aliased Servlet.Core.Files.File_Servlet;
Auth : aliased Security.OAuth.Servers.Auth_Manager;
Apps : aliased Security.OAuth.File_Registry.File_Application_Manager;
Realm : aliased Security.OAuth.File_Registry.File_Realm_Manager;
end record;
end Swagger.Servers.Applications;
|
-----------------------------------------------------------------------
-- html -- ASF HTML Components
-- Copyright (C) 2009, 2010, 2011, 2012 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 ASF.Utils is
TITLE_ATTR : aliased constant String := "title";
STYLE_ATTR : aliased constant String := "style";
STYLE_CLASS_ATTR : aliased constant String := "styleClass";
DIR_ATTR : aliased constant String := "dir";
LANG_ATTR : aliased constant String := "lang";
ACCESS_KEY_ATTR : aliased constant String := "accesskey";
ON_BLUR_ATTR : aliased constant String := "onblur";
ON_CLICK_ATTR : aliased constant String := "onclick";
ON_DBLCLICK_ATTR : aliased constant String := "ondblclick";
ON_FOCUS_ATTR : aliased constant String := "onfocus";
ON_KEYDOWN_ATTR : aliased constant String := "onkeydown";
ON_KEYUP_ATTR : aliased constant String := "onkeyup";
ON_MOUSE_DOWN_ATTR : aliased constant String := "onmousedown";
ON_MOUSE_MOVE_ATTR : aliased constant String := "onmousemove";
ON_MOUSE_OUT_ATTR : aliased constant String := "onmouseout";
ON_MOUSE_OVER_ATTR : aliased constant String := "onmouseover";
ON_MOUSE_UP_ATTR : aliased constant String := "onmouseup";
ON_CHANGE_ATTR : aliased constant String := "onchange";
ON_RESET_ATTR : aliased constant String := "onreset";
ON_SUBMIT_ATTR : aliased constant String := "onsubmit";
ENCTYPE_ATTR : aliased constant String := "enctype";
ON_LOAD_ATTR : aliased constant String := "onload";
ON_UNLOAD_ATTR : aliased constant String := "onunload";
TABINDEX_ATTR : aliased constant String := "tabindex";
AUTOCOMPLETE_ATTR : aliased constant String := "autocomplete";
SIZE_ATTR : aliased constant String := "size";
MAXLENGTH_ATTR : aliased constant String := "maxlength";
ALT_ATTR : aliased constant String := "alt";
DISABLED_ATTR : aliased constant String := "disabled";
READONLY_ATTR : aliased constant String := "readonly";
ACCEPT_ATTR : aliased constant String := "accept";
ROWS_ATTR : aliased constant String := "rows";
COLS_ATTR : aliased constant String := "cols";
CHARSET_ATTR : aliased constant String := "charset";
SHAPE_ATTR : aliased constant String := "shape";
REV_ATTR : aliased constant String := "rev";
COORDS_ATTR : aliased constant String := "coords";
TARGET_ATTR : aliased constant String := "target";
HREFLANG_ATTR : aliased constant String := "hreflang";
-- ------------------------------
-- Add in the <b>names</b> set, the basic text attributes that can be set
-- on HTML elements (dir, lang, style, title).
-- ------------------------------
procedure Set_Text_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (STYLE_CLASS_ATTR'Access);
Names.Insert (TITLE_ATTR'Access);
Names.Insert (DIR_ATTR'Access);
Names.Insert (LANG_ATTR'Access);
Names.Insert (STYLE_ATTR'Access);
end Set_Text_Attributes;
-- ------------------------------
-- Add in the <b>names</b> set, the onXXX attributes that can be set
-- on HTML elements (accesskey, tabindex, onXXX).
-- ------------------------------
procedure Set_Interactive_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (ACCESS_KEY_ATTR'Access);
Names.Insert (TABINDEX_ATTR'Access);
Names.Insert (ON_BLUR_ATTR'Access);
Names.Insert (ON_MOUSE_UP_ATTR'Access);
Names.Insert (ON_MOUSE_OVER_ATTR'Access);
Names.Insert (ON_MOUSE_OUT_ATTR'Access);
Names.Insert (ON_MOUSE_MOVE_ATTR'Access);
Names.Insert (ON_MOUSE_DOWN_ATTR'Access);
Names.Insert (ON_KEYUP_ATTR'Access);
Names.Insert (ON_KEYDOWN_ATTR'Access);
Names.Insert (ON_FOCUS_ATTR'Access);
Names.Insert (ON_DBLCLICK_ATTR'Access);
Names.Insert (ON_CLICK_ATTR'Access);
Names.Insert (ON_CHANGE_ATTR'Access);
end Set_Interactive_Attributes;
-- ------------------------------
-- Add in the <b>names</b> set, the size attributes that can be set
-- on HTML elements.
-- ------------------------------
procedure Set_Input_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (SIZE_ATTR'Access);
Names.Insert (AUTOCOMPLETE_ATTR'Access);
Names.Insert (MAXLENGTH_ATTR'Access);
Names.Insert (ALT_ATTR'Access);
Names.Insert (DISABLED_ATTR'Access);
Names.Insert (READONLY_ATTR'Access);
end Set_Input_Attributes;
-- ------------------------------
-- Add in the <b>names</b> set, the size attributes that can be set
-- on <textarea> elements.
-- ------------------------------
procedure Set_Textarea_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (ROWS_ATTR'Access);
Names.Insert (COLS_ATTR'Access);
end Set_Textarea_Attributes;
-- ------------------------------
-- Add in the <b>names</b> set, the online and onunload attributes that can be set
-- on <body> elements.
-- ------------------------------
procedure Set_Body_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (ON_LOAD_ATTR'Access);
Names.Insert (ON_UNLOAD_ATTR'Access);
end Set_Body_Attributes;
-- ------------------------------
-- Add in the <b>names</b> set, the dir, lang attributes that can be set
-- on <head> elements.
-- ------------------------------
procedure Set_Head_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (DIR_ATTR'Access);
Names.Insert (LANG_ATTR'Access);
end Set_Head_Attributes;
--------------------
-- Add in the <b>names</b> set, the onreset and onsubmit attributes that can be set
-- on <form> elements.
-- ------------------------------
procedure Set_Form_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (ON_RESET_ATTR'Access);
Names.Insert (ON_SUBMIT_ATTR'Access);
Names.Insert (ENCTYPE_ATTR'Access);
end Set_Form_Attributes;
--------------------
-- Add in the <b>names</b> set, the attributes which are specific to a link.
-- ------------------------------
procedure Set_Link_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (CHARSET_ATTR'Access);
Names.Insert (SHAPE_ATTR'Access);
Names.Insert (REV_ATTR'Access);
Names.Insert (COORDS_ATTR'Access);
Names.Insert (TARGET_ATTR'Access);
Names.Insert (HREFLANG_ATTR'Access);
end Set_Link_Attributes;
-- ------------------------------
-- Add in the <b>names</b> set, the attributes which are specific to an input file.
-- ------------------------------
procedure Set_File_Attributes (Names : in out Util.Strings.String_Set.Set) is
begin
Names.Insert (ACCEPT_ATTR'Access);
end Set_File_Attributes;
end ASF.Utils;
|
with
AdaM.Entity;
private
with
ada.Streams;
package AdaM.Statement
is
type Item is new Entity.item with private;
type View is access all Item'Class;
-- Forge
--
function new_Statement (Line : in String := "") return Statement.view;
procedure free (Self : in out Statement.view);
procedure destruct (Self : in out Item);
-- Attributes
--
overriding
function Id (Self : access Item) return AdaM.Id;
overriding
function Name (Self : in Item) return Identifier;
overriding
function to_Source (Self : in Item) return text_Vectors.Vector;
procedure add (Self : in out Item; the_Line : in String);
private
type Item is new Entity.item with
record
Lines : Text_vectors.Vector;
end record;
-- Streams
--
procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Self : in View);
procedure View_read (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Self : out View);
for View'write use View_write;
for View'read use View_read;
end AdaM.Statement;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, 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 STMicroelectronics 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. --
-- --
-- --
-- This file is based on: --
-- --
-- @file ili9341.c --
-- @author MCD Application Team --
-- @version V1.0.2 --
-- @date 02-December-2014 --
-- @brief This file provides a set of functions needed to manage the --
-- L3GD20, ST MEMS motion sensor, 3-axis digital output --
-- gyroscope. --
-- --
-- COPYRIGHT(c) 2014 STMicroelectronics --
------------------------------------------------------------------------------
with Ada.Unchecked_Conversion;
with ILI9341_Regs; use ILI9341_Regs;
package body ILI9341 is
function As_UInt16 is new Ada.Unchecked_Conversion
(Source => Colors, Target => UInt16);
-------------------
-- Current_Width --
-------------------
function Current_Width (This : ILI9341_Device) return Natural is
(This.Selected_Width);
--------------------
-- Current_Height --
--------------------
function Current_Height (This : ILI9341_Device) return Natural is
(This.Selected_Height);
-------------------------
-- Current_Orientation --
-------------------------
function Current_Orientation (This : ILI9341_Device) return Orientations is
(This.Selected_Orientation);
----------------
-- Initialize --
----------------
procedure Initialize
(This : in out ILI9341_Device;
Mode : ILI9341_Mode)
is
begin
if This.Initialized then
return;
end if;
This.Chip_Select_High;
This.Init_LCD (Mode);
This.Selected_Width := Device_Width;
This.Selected_Height := Device_Height;
This.Selected_Orientation := Portrait_2;
This.Initialized := True;
end Initialize;
---------------
-- Set_Pixel --
---------------
procedure Set_Pixel
(This : in out ILI9341_Device;
X : Width;
Y : Height;
Color : Colors)
is
Color_High_UInt8 : constant UInt8 :=
UInt8 (Shift_Right (As_UInt16 (Color), 8));
Color_Low_UInt8 : constant UInt8 :=
UInt8 (As_UInt16 (Color) and 16#FF#);
begin
This.Set_Cursor_Position (X, Y, X, Y);
This.Send_Command (ILI9341_GRAM);
This.Send_Data (Color_High_UInt8);
This.Send_Data (Color_Low_UInt8);
end Set_Pixel;
----------
-- Fill --
----------
procedure Fill (This : in out ILI9341_Device; Color : Colors) is
Color_High_UInt8 : constant UInt8 :=
UInt8 (Shift_Right (As_UInt16 (Color), 8));
Color_Low_UInt8 : constant UInt8 :=
UInt8 (As_UInt16 (Color) and 16#FF#);
begin
This.Set_Cursor_Position (X1 => 0,
Y1 => 0,
X2 => This.Selected_Width - 1,
Y2 => This.Selected_Height - 1);
This.Send_Command (ILI9341_GRAM);
for N in 1 .. (Device_Width * Device_Height) loop
This.Send_Data (Color_High_UInt8);
This.Send_Data (Color_Low_UInt8);
end loop;
end Fill;
---------------------
-- Set_Orientation --
---------------------
procedure Set_Orientation (This : in out ILI9341_Device;
To : Orientations)
is
begin
This.Send_Command (ILI9341_MAC);
case To is
when Portrait_1 => This.Send_Data (16#58#);
when Portrait_2 => This.Send_Data (16#88#);
when Landscape_1 => This.Send_Data (16#28#);
when Landscape_2 => This.Send_Data (16#E8#);
end case;
case To is
when Portrait_1 | Portrait_2 =>
This.Selected_Width := Device_Width;
This.Selected_Height := Device_Height;
when Landscape_1 | Landscape_2 =>
This.Selected_Width := Device_Height;
This.Selected_Height := Device_Width;
end case;
This.Selected_Orientation := To;
end Set_Orientation;
--------------------
-- Enable_Display --
--------------------
procedure Enable_Display (This : in out ILI9341_Device) is
begin
This.Send_Command (ILI9341_DISPLAY_ON);
end Enable_Display;
---------------------
-- Disable_Display --
---------------------
procedure Disable_Display (This : in out ILI9341_Device) is
begin
This.Send_Command (ILI9341_DISPLAY_OFF);
end Disable_Display;
-------------------------
-- Set_Cursor_Position --
-------------------------
procedure Set_Cursor_Position
(This : in out ILI9341_Device;
X1 : Width;
Y1 : Height;
X2 : Width;
Y2 : Height)
is
X1_High : constant UInt8 := UInt8 (Shift_Right (UInt16 (X1), 8));
X1_Low : constant UInt8 := UInt8 (UInt16 (X1) and 16#FF#);
X2_High : constant UInt8 := UInt8 (Shift_Right (UInt16 (X2), 8));
X2_Low : constant UInt8 := UInt8 (UInt16 (X2) and 16#FF#);
Y1_High : constant UInt8 := UInt8 (Shift_Right (UInt16 (Y1), 8));
Y1_Low : constant UInt8 := UInt8 (UInt16 (Y1) and 16#FF#);
Y2_High : constant UInt8 := UInt8 (Shift_Right (UInt16 (Y2), 8));
Y2_Low : constant UInt8 := UInt8 (UInt16 (Y2) and 16#FF#);
begin
This.Send_Command (ILI9341_COLUMN_ADDR);
This.Send_Data (X1_High);
This.Send_Data (X1_Low);
This.Send_Data (X2_High);
This.Send_Data (X2_Low);
This.Send_Command (ILI9341_PAGE_ADDR);
This.Send_Data (Y1_High);
This.Send_Data (Y1_Low);
This.Send_Data (Y2_High);
This.Send_Data (Y2_Low);
end Set_Cursor_Position;
----------------------
-- Chip_Select_High --
----------------------
procedure Chip_Select_High (This : in out ILI9341_Device) is
begin
This.Chip_Select.Set;
end Chip_Select_High;
---------------------
-- Chip_Select_Low --
---------------------
procedure Chip_Select_Low (This : in out ILI9341_Device) is
begin
This.Chip_Select.Clear;
end Chip_Select_Low;
---------------
-- Send_Data --
---------------
procedure Send_Data (This : in out ILI9341_Device; Data : UInt8) is
Status : SPI_Status;
begin
This.WRX.Set;
This.Chip_Select_Low;
This.Port.Transmit (SPI_Data_8b'(1 => Data), Status);
if Status /= Ok then
raise Program_Error;
end if;
This.Chip_Select_High;
end Send_Data;
------------------
-- Send_Command --
------------------
procedure Send_Command (This : in out ILI9341_Device; Cmd : UInt8) is
Status : SPI_Status;
begin
This.WRX.Clear;
This.Chip_Select_Low;
This.Port.Transmit (SPI_Data_8b'(1 => Cmd), Status);
if Status /= Ok then
raise Program_Error;
end if;
This.Chip_Select_High;
end Send_Command;
--------------
-- Init_LCD --
--------------
procedure Init_LCD (This : in out ILI9341_Device;
Mode : ILI9341_Mode) is
begin
This.Reset.Set;
This.Send_Command (ILI9341_RESET);
This.Time.Delay_Milliseconds (5);
This.Send_Command (ILI9341_POWERA);
This.Send_Data (16#39#);
This.Send_Data (16#2C#);
This.Send_Data (16#00#);
This.Send_Data (16#34#);
This.Send_Data (16#02#);
This.Send_Command (ILI9341_POWERB);
This.Send_Data (16#00#);
This.Send_Data (16#C1#);
This.Send_Data (16#30#);
This.Send_Command (ILI9341_DTCA);
This.Send_Data (16#85#);
This.Send_Data (16#00#);
This.Send_Data (16#78#);
This.Send_Command (ILI9341_DTCB);
This.Send_Data (16#00#);
This.Send_Data (16#00#);
This.Send_Command (ILI9341_POWER_SEQ);
This.Send_Data (16#64#);
This.Send_Data (16#03#);
This.Send_Data (16#12#);
This.Send_Data (16#81#);
This.Send_Command (ILI9341_PRC);
This.Send_Data (16#20#);
This.Send_Command (ILI9341_POWER1);
This.Send_Data (16#23#);
This.Send_Command (ILI9341_POWER2);
This.Send_Data (16#10#);
This.Send_Command (ILI9341_VCOM1);
This.Send_Data (16#3E#);
This.Send_Data (16#28#);
This.Send_Command (ILI9341_VCOM2);
This.Send_Data (16#86#);
This.Send_Command (ILI9341_MAC);
This.Send_Data (16#C8#);
This.Send_Command (ILI9341_FRC);
This.Send_Data (16#00#);
This.Send_Data (16#18#);
case Mode is
when RGB_Mode =>
This.Send_Command (ILI9341_RGB_INTERFACE);
This.Send_Data (16#C2#);
This.Send_Command (ILI9341_INTERFACE);
This.Send_Data (16#01#);
This.Send_Data (16#00#);
This.Send_Data (16#06#);
This.Send_Command (ILI9341_DFC);
This.Send_Data (16#0A#);
This.Send_Data (16#A7#);
This.Send_Data (16#27#);
This.Send_Data (16#04#);
when SPI_Mode =>
This.Send_Command (ILI9341_PIXEL_FORMAT);
This.Send_Data (16#55#);
This.Send_Command (ILI9341_DFC);
This.Send_Data (16#08#);
This.Send_Data (16#82#);
This.Send_Data (16#27#);
end case;
This.Send_Command (ILI9341_3GAMMA_EN);
This.Send_Data (16#00#);
This.Send_Command (ILI9341_COLUMN_ADDR);
This.Send_Data (16#00#);
This.Send_Data (16#00#);
This.Send_Data (16#00#);
This.Send_Data (16#EF#);
This.Send_Command (ILI9341_PAGE_ADDR);
This.Send_Data (16#00#);
This.Send_Data (16#00#);
This.Send_Data (16#01#);
This.Send_Data (16#3F#);
This.Send_Command (ILI9341_GAMMA);
This.Send_Data (16#01#);
This.Send_Command (ILI9341_PGAMMA);
This.Send_Data (16#0F#);
This.Send_Data (16#31#);
This.Send_Data (16#2B#);
This.Send_Data (16#0C#);
This.Send_Data (16#0E#);
This.Send_Data (16#08#);
This.Send_Data (16#4E#);
This.Send_Data (16#F1#);
This.Send_Data (16#37#);
This.Send_Data (16#07#);
This.Send_Data (16#10#);
This.Send_Data (16#03#);
This.Send_Data (16#0E#);
This.Send_Data (16#09#);
This.Send_Data (16#00#);
This.Send_Command (ILI9341_NGAMMA);
This.Send_Data (16#00#);
This.Send_Data (16#0E#);
This.Send_Data (16#14#);
This.Send_Data (16#03#);
This.Send_Data (16#11#);
This.Send_Data (16#07#);
This.Send_Data (16#31#);
This.Send_Data (16#C1#);
This.Send_Data (16#48#);
This.Send_Data (16#08#);
This.Send_Data (16#0F#);
This.Send_Data (16#0C#);
This.Send_Data (16#31#);
This.Send_Data (16#36#);
This.Send_Data (16#0F#);
This.Send_Command (ILI9341_SLEEP_OUT);
case Mode is
when RGB_Mode =>
This.Time.Delay_Milliseconds (150);
when SPI_Mode =>
This.Time.Delay_Milliseconds (20);
end case;
-- document ILI9341_DS_V1.02, section 11.2, pg 205 says we need
-- either 120ms or 5ms, depending on the mode, but seems incorrect.
This.Send_Command (ILI9341_DISPLAY_ON);
This.Send_Command (ILI9341_GRAM);
end Init_LCD;
end ILI9341;
|
------------------------------------------------------------------------------
-- --
-- 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 --
-- --
-- S p e c --
-- --
-- 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 System.Multiprocessors.Spin_Locks is
pragma Preelaborate;
---------------
-- Spin lock --
---------------
type Atomic_Flag is mod 2**8;
pragma Atomic (Atomic_Flag);
Unlocked : constant Atomic_Flag := 0;
type Spin_Lock is limited record
Flag : aliased Atomic_Flag := Unlocked;
end record;
-- The default value of a Spin_Lock is unlocked
procedure Lock (Slock : in out Spin_Lock);
pragma Inline (Lock);
-- Loop until lock is acquired
function Locked (Slock : Spin_Lock) return Boolean;
pragma Inline (Locked);
-- Return the current state of the lock
procedure Try_Lock (Slock : in out Spin_Lock; Succeeded : out Boolean);
pragma Inline (Try_Lock);
-- Return True if the lock has been acquired, otherwise don't wait for the
-- lock and return False.
procedure Unlock (Slock : in out Spin_Lock);
pragma Inline (Unlock);
-- Release the lock
end System.Multiprocessors.Spin_Locks;
|
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with Ada.Containers.Doubly_Linked_Lists;
with League.Strings.Hash;
with LSP.Messages;
with Incr.Lexers.Incremental;
with Incr.Nodes;
with Incr.Parsers.Incremental;
with Ada_LSP.Ada_Lexers;
with Ada_LSP.Ada_Parser_Data;
with Ada_LSP.Completions;
with Ada_LSP.Documents;
package Ada_LSP.Contexts is
type Context is tagged limited private;
not overriding procedure Initialize
(Self : in out Context;
Root : League.Strings.Universal_String);
not overriding procedure Load_Document
(Self : in out Context;
Item : LSP.Messages.TextDocumentItem);
not overriding function Get_Document
(Self : Context;
URI : LSP.Messages.DocumentUri)
return Ada_LSP.Documents.Document_Access;
not overriding procedure Update_Document
(Self : in out Context;
Item : not null Ada_LSP.Documents.Document_Access);
-- Reparse document after changes
not overriding procedure Add_Completion_Handler
(Self : in out Context;
Value : not null Ada_LSP.Completions.Handler_Access);
not overriding procedure Fill_Completions
(Self : Context;
Context : Ada_LSP.Completions.Context'Class;
Result : in out LSP.Messages.CompletionList);
not overriding function Get_Parser_Data_Provider
(Self : Context) return Ada_LSP.Ada_Parser_Data.Provider_Access;
private
package Document_Maps is new Ada.Containers.Hashed_Maps
(Key_Type => LSP.Messages.DocumentUri,
Element_Type => Ada_LSP.Documents.Document_Access,
Hash => League.Strings.Hash,
Equivalent_Keys => League.Strings."=",
"=" => Ada_LSP.Documents."=");
type Kind_Map is array (Incr.Nodes.Node_Kind range <>) of Boolean;
type Provider is new Ada_LSP.Ada_Parser_Data.Provider with record
Is_Defining_Name : Kind_Map (108 .. 120);
end record;
overriding function Is_Defining_Name
(Self : Provider;
Kind : Incr.Nodes.Node_Kind) return Boolean;
package Completion_Handler_Lists is new Ada.Containers.Doubly_Linked_Lists
(Ada_LSP.Completions.Handler_Access, Ada_LSP.Completions."=");
type Context is tagged limited record
Root : League.Strings.Universal_String;
Documents : Document_Maps.Map;
Batch_Lexer : aliased Ada_LSP.Ada_Lexers.Batch_Lexer;
Incr_Lexer : aliased Incr.Lexers.Incremental.Incremental_Lexer;
Incr_Parser : aliased Incr.Parsers.Incremental.Incremental_Parser;
Provider : aliased Ada_LSP.Contexts.Provider;
Completions : Completion_Handler_Lists.List;
end record;
end Ada_LSP.Contexts;
|
with Ada.Exception_Identification.From_Here;
with System.Native_Calendar;
with System.Native_Time;
package body Ada.Calendar is
use Exception_Identification.From_Here;
use type System.Native_Time.Nanosecond_Number;
function add_overflow (
a, b : System.Native_Time.Nanosecond_Number;
res : not null access System.Native_Time.Nanosecond_Number)
return Boolean
with Import,
Convention => Intrinsic, External_Name => "__builtin_saddll_overflow";
function sub_overflow (
a, b : System.Native_Time.Nanosecond_Number;
res : not null access System.Native_Time.Nanosecond_Number)
return Boolean
with Import,
Convention => Intrinsic, External_Name => "__builtin_ssubll_overflow";
-- for Year, Month, Day
type Packed_Split_Time is mod 2 ** 32;
-- for Packed_Split_Time use record
-- Day at 0 range 0 .. 7; -- 2 ** 5 = 32 > 31
-- Month at 0 range 8 .. 15; -- 2 ** 4 = 16 > 12
-- Year at 0 range 16 .. 31; -- 2 ** 9 = 512 > 2399 - 1901 + 1 = 499
-- end record;
pragma Provide_Shift_Operators (Packed_Split_Time);
function Packed_Split (Date : Time) return Packed_Split_Time;
-- The callings of this function will be unified since pure attribute
-- when Year, Month, and Day are inlined.
pragma Pure_Function (Packed_Split);
pragma Machine_Attribute (Packed_Split, "const");
function Packed_Split (Date : Time) return Packed_Split_Time is
Year : Year_Number;
Month : Month_Number;
Day : Day_Number;
Hour : System.Native_Calendar.Hour_Number;
Minute : System.Native_Calendar.Minute_Number;
Second : System.Native_Calendar.Second_Number;
Sub_Second : System.Native_Calendar.Second_Duration;
Day_of_Week : System.Native_Calendar.Day_Name;
Leap_Second : Boolean;
Error : Boolean;
begin
System.Native_Calendar.Split (
Duration (Date),
Year => Year,
Month => Month,
Day => Day,
Hour => Hour,
Minute => Minute,
Second => Second,
Sub_Second => Sub_Second,
Leap_Second => Leap_Second,
Day_of_Week => Day_of_Week,
Time_Zone => 0, -- GMT
Error => Error);
if Error then
Raise_Exception (Time_Error'Identity);
end if;
return Packed_Split_Time (Day)
or Shift_Left (Packed_Split_Time (Month), 8)
or Shift_Left (Packed_Split_Time (Year), 16);
end Packed_Split;
-- implementation
function Clock return Time is
begin
return Time (
System.Native_Calendar.To_Time (System.Native_Calendar.Clock));
end Clock;
function Year (Date : Time) return Year_Number is
pragma Suppress (Range_Check);
begin
return Year_Number (Shift_Right (Packed_Split (Date), 16));
end Year;
function Month (Date : Time) return Month_Number is
pragma Suppress (Range_Check);
begin
return Month_Number (Shift_Right (Packed_Split (Date), 8) and 16#ff#);
end Month;
function Day (Date : Time) return Day_Number is
pragma Suppress (Range_Check);
begin
return Day_Number (Packed_Split (Date) and 16#ff#);
end Day;
function Seconds (Date : Time) return Day_Duration is
Year : Year_Number;
Month : Month_Number;
Day : Day_Number;
Seconds : Day_Duration;
begin
Split (Date,
Year => Year, Month => Month, Day => Day, Seconds => Seconds);
return Seconds;
end Seconds;
procedure Split (
Date : Time;
Year : out Year_Number;
Month : out Month_Number;
Day : out Day_Number;
Seconds : out Day_Duration)
is
Leap_Second : Boolean;
Error : Boolean;
begin
System.Native_Calendar.Split (
Duration (Date),
Year => Year,
Month => Month,
Day => Day,
Seconds => Seconds,
Leap_Second => Leap_Second,
Time_Zone => 0, -- GMT
Error => Error);
if Error then
Raise_Exception (Time_Error'Identity);
end if;
end Split;
function Time_Of (
Year : Year_Number;
Month : Month_Number;
Day : Day_Number;
Seconds : Day_Duration := 0.0)
return Time
is
Result : Duration;
Error : Boolean;
begin
System.Native_Calendar.Time_Of (
Year => Year,
Month => Month,
Day => Day,
Seconds => Seconds,
Leap_Second => False,
Time_Zone => 0,
Result => Result,
Error => Error);
if Error then
Raise_Exception (Time_Error'Identity);
end if;
return Time (Result);
end Time_Of;
function "+" (Left : Time; Right : Duration) return Time is
begin
if not Standard'Fast_Math and then Overflow_Check'Enabled then
declare
Result : aliased System.Native_Time.Nanosecond_Number;
begin
if add_overflow (
System.Native_Time.Nanosecond_Number'Integer_Value (Left),
System.Native_Time.Nanosecond_Number'Integer_Value (Right),
Result'Access)
then
raise Time_Error;
end if;
return Time'Fixed_Value (Result);
end;
else
return Time (Duration (Left) + Right);
end if;
end "+";
function "+" (Left : Duration; Right : Time) return Time is
begin
if not Standard'Fast_Math and then Overflow_Check'Enabled then
declare
Result : aliased System.Native_Time.Nanosecond_Number;
begin
if add_overflow (
System.Native_Time.Nanosecond_Number'Integer_Value (Left),
System.Native_Time.Nanosecond_Number'Integer_Value (Right),
Result'Access)
then
raise Time_Error;
end if;
return Time'Fixed_Value (Result);
end;
else
return Time (Left + Duration (Right));
end if;
end "+";
function "-" (Left : Time; Right : Duration) return Time is
begin
if not Standard'Fast_Math and then Overflow_Check'Enabled then
declare
Result : aliased System.Native_Time.Nanosecond_Number;
begin
if sub_overflow (
System.Native_Time.Nanosecond_Number'Integer_Value (Left),
System.Native_Time.Nanosecond_Number'Integer_Value (Right),
Result'Access)
then
raise Time_Error;
end if;
return Time'Fixed_Value (Result);
end;
else
return Time (Duration (Left) - Right);
end if;
end "-";
function "-" (Left : Time; Right : Time) return Duration is
begin
if not Standard'Fast_Math and then Overflow_Check'Enabled then
declare
Result : aliased System.Native_Time.Nanosecond_Number;
begin
if sub_overflow (
System.Native_Time.Nanosecond_Number'Integer_Value (Left),
System.Native_Time.Nanosecond_Number'Integer_Value (Right),
Result'Access)
then
raise Time_Error;
end if;
return Duration'Fixed_Value (Result);
end;
else
return Duration (Left) - Duration (Right);
end if;
end "-";
end Ada.Calendar;
|
-- Copyright (C) 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/>.
package Pck is
function Ident (I : Integer) return Integer;
end Pck;
|
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- - - - - - - - - - - - - - - - --
-- Read copyright and license at the end of this file --
------------------------------------------------------------------------------
-- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $
-- Purpose:
with Gela.Embeded_Links.Lists;
with Gela.Embeded_Links.Double_Lists;
generic
-- Element of list
type Element (<>) is limited private;
-- Pointer to element of list
type Element_Ptr is access all Element;
type Hash_Type is range <>;
with function Hash (Item : Element) return Hash_Type is <>;
with function Get_Next_Hash (Item : Element_Ptr) return Element_Ptr is <>;
with procedure Set_Next_Hash (Item, Next : Element_Ptr) is <>;
with function Get_Next (Item : Element_Ptr) return Element_Ptr is <>;
with procedure Set_Next (Item, Next : Element_Ptr) is <>;
with function Get_Prev (Item : Element_Ptr) return Element_Ptr is <>;
with procedure Set_Prev (Item, Prev : Element_Ptr) is <>;
with function "=" (Left, Right : Element) return Boolean is <>;
package Gela.Embeded_Links.Caches is
type Cache (Size : Hash_Type) is limited private;
function Preferred_Size (Size : Hash_Type) return Hash_Type;
procedure Add
(Container : in out Cache;
Item : in Element_Ptr;
Removed : out Element_Ptr);
procedure Remove
(Container : in out Cache;
Item : in Element_Ptr);
procedure Find
(Container : in out Cache;
Item : in Element;
Result : out Element_Ptr;
Touch : in Boolean := True);
private
package Lists is new Gela.Embeded_Links.Lists
(Element, Element_Ptr, Get_Next_Hash, Set_Next_Hash);
package FIFO_Lists is new Double_Lists (Element, Element_Ptr);
type List_Array is array (Hash_Type range <>) of Lists.List;
type Cache (Size : Hash_Type) is record
FIFO : FIFO_Lists.List;
Choices : List_Array (1 .. Size);
end record;
end Gela.Embeded_Links.Caches;
------------------------------------------------------------------------------
-- Copyright (c) 2006, 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.
------------------------------------------------------------------------------
|
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Ada.Exceptions;
package Exceptions is
procedure Put_Message
(Occurrence : in Ada.Exceptions.Exception_Occurrence);
end Exceptions;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012-2015, 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$
------------------------------------------------------------------------------
pragma Restrictions (No_Elaboration_Code);
-- GNAT: enforce generation of preinitialized data section instead of
-- generation of elaboration code.
package Matreshka.Internals.Unicode.Ucd.Core_0021 is
pragma Preelaborate;
Group_0021 : aliased constant Core_Second_Stage
:= (16#00# .. 16#01# => -- 2100 .. 2101
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#02# => -- 2102
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#03# => -- 2103
(Other_Symbol, Ambiguous,
Other, Other, Other, Postfix_Numeric,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#04# => -- 2104
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#05# => -- 2105
(Other_Symbol, Ambiguous,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#06# => -- 2106
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#07# => -- 2107
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#08# => -- 2108
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#09# => -- 2109
(Other_Symbol, Ambiguous,
Other, Other, Other, Postfix_Numeric,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#0A# => -- 210A
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#0B# .. 16#0D# => -- 210B .. 210D
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#0E# .. 16#0F# => -- 210E .. 210F
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#10# .. 16#12# => -- 2110 .. 2112
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#13# => -- 2113
(Lowercase_Letter, Ambiguous,
Other, A_Letter, Lower, Ambiguous,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#14# => -- 2114
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#15# => -- 2115
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#16# => -- 2116
(Other_Symbol, Ambiguous,
Other, Other, Other, Prefix_Numeric,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#17# => -- 2117
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#18# => -- 2118
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Other_ID_Start
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| XID_Continue
| XID_Start => True,
others => False)),
16#19# .. 16#1D# => -- 2119 .. 211D
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#1E# .. 16#1F# => -- 211E .. 211F
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#20# => -- 2120
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#21# .. 16#22# => -- 2121 .. 2122
(Other_Symbol, Ambiguous,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#23# => -- 2123
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#24# => -- 2124
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#25# => -- 2125
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#26# => -- 2126
(Uppercase_Letter, Ambiguous,
Other, A_Letter, Upper, Alphabetic,
(Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#27# => -- 2127
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#28# => -- 2128
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#29# => -- 2129
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Other_Math
| Grapheme_Base
| Math => True,
others => False)),
16#2A# => -- 212A
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#2B# => -- 212B
(Uppercase_Letter, Ambiguous,
Other, A_Letter, Upper, Ambiguous,
(Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#2C# .. 16#2D# => -- 212C .. 212D
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#2E# => -- 212E
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Other_ID_Start
| Grapheme_Base
| ID_Continue
| ID_Start
| XID_Continue
| XID_Start => True,
others => False)),
16#2F# => -- 212F
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#30# .. 16#31# => -- 2130 .. 2131
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#32# => -- 2132
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#33# => -- 2133
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#34# => -- 2134
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#35# .. 16#38# => -- 2135 .. 2138
(Other_Letter, Neutral,
Other, A_Letter, O_Letter, Alphabetic,
(Other_Math
| Alphabetic
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#39# => -- 2139
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#3A# => -- 213A
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#3B# => -- 213B
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#3C# .. 16#3D# => -- 213C .. 213D
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#3E# .. 16#3F# => -- 213E .. 213F
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#40# => -- 2140
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Math
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#41# .. 16#44# => -- 2141 .. 2144
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Math => True,
others => False)),
16#45# => -- 2145
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Math
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#46# .. 16#47# => -- 2146 .. 2147
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#48# .. 16#49# => -- 2148 .. 2149
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Math
| Soft_Dotted
| Alphabetic
| Cased
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| Math
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#4A# => -- 214A
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#4B# => -- 214B
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Math => True,
others => False)),
16#4C# .. 16#4D# => -- 214C .. 214D
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#4E# => -- 214E
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Alphabetic
| Cased
| Changes_When_Uppercased
| Changes_When_Titlecased
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| XID_Continue
| XID_Start => True,
others => False)),
16#4F# => -- 214F
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base => True,
others => False)),
16#50# .. 16#52# => -- 2150 .. 2152
(Other_Number, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#53# => -- 2153
(Other_Number, Ambiguous,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#54# => -- 2154
(Other_Number, Ambiguous,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#55# => -- 2155
(Other_Number, Neutral,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#56# .. 16#5A# => -- 2156 .. 215A
(Other_Number, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#5B# => -- 215B
(Other_Number, Ambiguous,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#5C# .. 16#5D# => -- 215C .. 215D
(Other_Number, Ambiguous,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#5E# => -- 215E
(Other_Number, Ambiguous,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#5F# => -- 215F
(Other_Number, Neutral,
Other, Other, Other, Alphabetic,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#60# .. 16#6B# => -- 2160 .. 216B
(Letter_Number, Ambiguous,
Other, A_Letter, Upper, Ambiguous,
(Other_Uppercase
| Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#6C# .. 16#6F# => -- 216C .. 216F
(Letter_Number, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Other_Uppercase
| Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#70# .. 16#79# => -- 2170 .. 2179
(Letter_Number, Ambiguous,
Other, A_Letter, Lower, Ambiguous,
(Other_Lowercase
| Alphabetic
| Cased
| Changes_When_Uppercased
| Changes_When_Titlecased
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#7A# .. 16#7F# => -- 217A .. 217F
(Letter_Number, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Other_Lowercase
| Alphabetic
| Cased
| Changes_When_Uppercased
| Changes_When_Titlecased
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#80# .. 16#82# => -- 2180 .. 2182
(Letter_Number, Neutral,
Other, A_Letter, O_Letter, Alphabetic,
(Alphabetic
| Grapheme_Base
| ID_Continue
| ID_Start
| XID_Continue
| XID_Start => True,
others => False)),
16#83# => -- 2183
(Uppercase_Letter, Neutral,
Other, A_Letter, Upper, Alphabetic,
(Alphabetic
| Cased
| Changes_When_Lowercased
| Changes_When_Casefolded
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Uppercase
| XID_Continue
| XID_Start
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#84# => -- 2184
(Lowercase_Letter, Neutral,
Other, A_Letter, Lower, Alphabetic,
(Alphabetic
| Cased
| Changes_When_Uppercased
| Changes_When_Titlecased
| Changes_When_Casemapped
| Grapheme_Base
| ID_Continue
| ID_Start
| Lowercase
| XID_Continue
| XID_Start => True,
others => False)),
16#85# .. 16#88# => -- 2185 .. 2188
(Letter_Number, Neutral,
Other, A_Letter, O_Letter, Alphabetic,
(Alphabetic
| Grapheme_Base
| ID_Continue
| ID_Start
| XID_Continue
| XID_Start => True,
others => False)),
16#89# => -- 2189
(Other_Number, Ambiguous,
Other, Other, Other, Ambiguous,
(Grapheme_Base
| Changes_When_NFKC_Casefolded => True,
others => False)),
16#8A# .. 16#8F# => -- 218A .. 218F
(Unassigned, Neutral,
Other, Other, Other, Unknown,
(others => False)),
16#90# .. 16#94# => -- 2190 .. 2194
(Math_Symbol, Ambiguous,
Other, Other, Other, Ambiguous,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#95# .. 16#99# => -- 2195 .. 2199
(Other_Symbol, Ambiguous,
Other, Other, Other, Ambiguous,
(Other_Math
| Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#9A# .. 16#9B# => -- 219A .. 219B
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#A0# => -- 21A0
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#A3# => -- 21A3
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#A6# => -- 21A6
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#A8# => -- 21A8
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#AE# => -- 21AE
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#AF# => -- 21AF
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#B2# .. 16#B5# => -- 21B2 .. 21B5
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#B8# .. 16#B9# => -- 21B8 .. 21B9
(Other_Symbol, Ambiguous,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#BA# .. 16#BB# => -- 21BA .. 21BB
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#CE# .. 16#CF# => -- 21CE .. 21CF
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#D2# => -- 21D2
(Math_Symbol, Ambiguous,
Other, Other, Other, Ambiguous,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#D4# => -- 21D4
(Math_Symbol, Ambiguous,
Other, Other, Other, Ambiguous,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
16#DC# => -- 21DC
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#DE# .. 16#E3# => -- 21DE .. 21E3
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#E6# => -- 21E6
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#E7# => -- 21E7
(Other_Symbol, Ambiguous,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#E8# .. 16#F3# => -- 21E8 .. 21F3
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base => True,
others => False)),
16#F4# .. 16#FF# => -- 21F4 .. 21FF
(Math_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)),
others =>
(Other_Symbol, Neutral,
Other, Other, Other, Alphabetic,
(Other_Math
| Pattern_Syntax
| Grapheme_Base
| Math => True,
others => False)));
end Matreshka.Internals.Unicode.Ucd.Core_0021;
|
with Irc.Bot;
with Irc.Commands;
with Irc.Message;
with Ada.Strings.Unbounded;
with GNAT.Sockets;
-- for host_bot.adb
package Host_Command is
procedure Host (Bot : in out Irc.Bot.Connection;
Msg : Irc.Message.Message);
end Host_Command;
package body Host_Command is
procedure Host (Bot : in out Irc.Bot.Connection;
Msg : Irc.Message.Message) is
Host : String := GNAT.Sockets.Host_Name;
Target : String := Ada.Strings.Unbounded.To_String
(Msg.Privmsg.Target);
begin
-- Send back our host name to whichever nick/channel
-- triggered the callback
Bot.Privmsg (Target, "I am running on " & Host);
end Host;
end Host_Command;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . T E X T _ I O . E N U M E R A T I O N _ A U X --
-- --
-- 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 Ada.Text_IO.Generic_Aux; use Ada.Text_IO.Generic_Aux;
with Ada.Characters.Handling; use Ada.Characters.Handling;
-- Note: this package does not yet deal properly with wide characters ???
package body Ada.Text_IO.Enumeration_Aux is
------------------
-- Get_Enum_Lit --
------------------
procedure Get_Enum_Lit
(File : File_Type;
Buf : out String;
Buflen : out Natural)
is
ch : Integer;
C : Character;
begin
Buflen := 0;
Load_Skip (File);
ch := Getc (File);
C := Character'Val (ch);
-- Character literal case. If the initial character is a quote, then
-- we read as far as we can without backup (see ACVC test CE3905L)
if C = ''' then
Store_Char (File, ch, Buf, Buflen);
ch := Getc (File);
if ch in 16#20# .. 16#7E# or else ch >= 16#80# then
Store_Char (File, ch, Buf, Buflen);
ch := Getc (File);
if ch = Character'Pos (''') then
Store_Char (File, ch, Buf, Buflen);
else
Ungetc (ch, File);
end if;
else
Ungetc (ch, File);
end if;
-- Similarly for identifiers, read as far as we can, in particular,
-- do read a trailing underscore (again see ACVC test CE3905L to
-- understand why we do this, although it seems somewhat peculiar).
else
-- Identifier must start with a letter
if not Is_Letter (C) then
Ungetc (ch, File);
return;
end if;
-- If we do have a letter, loop through the characters quitting on
-- the first non-identifier character (note that this includes the
-- cases of hitting a line mark or page mark).
loop
C := Character'Val (ch);
Store_Char (File, Character'Pos (To_Upper (C)), Buf, Buflen);
ch := Getc (File);
exit when ch = EOF_Char;
C := Character'Val (ch);
exit when not Is_Letter (C)
and then not Is_Digit (C)
and then C /= '_';
exit when C = '_'
and then Buf (Buflen) = '_';
end loop;
Ungetc (ch, File);
end if;
end Get_Enum_Lit;
---------
-- Put --
---------
procedure Put
(File : File_Type;
Item : String;
Width : Field;
Set : Type_Set)
is
Actual_Width : constant Count := Count'Max (Count (Width), Item'Length);
begin
-- Deal with limited line length of output file
if Line_Length (File) /= 0 then
-- If actual width exceeds line length, raise Layout_Error
if Actual_Width > Line_Length (File) then
raise Layout_Error;
end if;
-- If full width cannot fit on current line move to new line
if Actual_Width + (Col (File) - 1) > Line_Length (File) then
New_Line (File);
end if;
end if;
-- Output in lower case if necessary
if Set = Lower_Case and then Item (Item'First) /= ''' then
declare
Iteml : String (Item'First .. Item'Last);
begin
for J in Item'Range loop
Iteml (J) := To_Lower (Item (J));
end loop;
Put_Item (File, Iteml);
end;
-- Otherwise output in upper case
else
Put_Item (File, Item);
end if;
-- Fill out item with spaces to width
for J in 1 .. Actual_Width - Item'Length loop
Put (File, ' ');
end loop;
end Put;
----------
-- Puts --
----------
procedure Puts
(To : out String;
Item : String;
Set : Type_Set)
is
Ptr : Natural;
begin
if Item'Length > To'Length then
raise Layout_Error;
else
Ptr := To'First;
for J in Item'Range loop
if Set = Lower_Case and then Item (Item'First) /= ''' then
To (Ptr) := To_Lower (Item (J));
else
To (Ptr) := Item (J);
end if;
Ptr := Ptr + 1;
end loop;
while Ptr <= To'Last loop
To (Ptr) := ' ';
Ptr := Ptr + 1;
end loop;
end if;
end Puts;
-------------------
-- Scan_Enum_Lit --
-------------------
procedure Scan_Enum_Lit
(From : String;
Start : out Natural;
Stop : out Natural)
is
C : Character;
-- Processing for Scan_Enum_Lit
begin
String_Skip (From, Start);
-- Character literal case. If the initial character is a quote, then
-- we read as far as we can without backup (see ACVC test CE3905L
-- which is for the analogous case for reading from a file).
if From (Start) = ''' then
Stop := Start;
if Stop = From'Last then
raise Data_Error;
else
Stop := Stop + 1;
end if;
if From (Stop) in ' ' .. '~'
or else From (Stop) >= Character'Val (16#80#)
then
if Stop = From'Last then
raise Data_Error;
else
Stop := Stop + 1;
if From (Stop) = ''' then
return;
end if;
end if;
end if;
raise Data_Error;
-- Similarly for identifiers, read as far as we can, in particular,
-- do read a trailing underscore (again see ACVC test CE3905L to
-- understand why we do this, although it seems somewhat peculiar).
else
-- Identifier must start with a letter
if not Is_Letter (From (Start)) then
raise Data_Error;
end if;
-- If we do have a letter, loop through the characters quitting on
-- the first non-identifier character (note that this includes the
-- cases of hitting a line mark or page mark).
Stop := Start;
while Stop < From'Last loop
C := From (Stop + 1);
exit when not Is_Letter (C)
and then not Is_Digit (C)
and then C /= '_';
exit when C = '_'
and then From (Stop) = '_';
Stop := Stop + 1;
end loop;
end if;
end Scan_Enum_Lit;
end Ada.Text_IO.Enumeration_Aux;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- V A S T --
-- --
-- B o d y --
-- --
-- Copyright (C) 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. --
-- --
------------------------------------------------------------------------------
-- Dummy implementation
package body VAST is
----------------
-- Check_Tree --
----------------
procedure Check_Tree (GNAT_Root : Node_Id) is
pragma Unreferenced (GNAT_Root);
begin
null;
end Check_Tree;
end VAST;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . C O M M A N D _ L I N E . E N V I R O N M E N T --
-- --
-- S p e c --
-- --
-- Copyright (C) 1996-2019, 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. --
-- --
------------------------------------------------------------------------------
-- Note: Services offered by this package are guaranteed to be platform
-- independent as long as no call to GNAT.OS_Lib.Setenv or to C putenv
-- routine is done. On some platforms the services below will report new
-- environment variables (e.g. Windows) on some others it will not
-- (e.g. GNU/Linux and Solaris).
package Ada.Command_Line.Environment is
function Environment_Count return Natural;
-- If the external execution environment supports passing the environment
-- to a program, then Environment_Count returns the number of environment
-- variables in the environment of the program invoking the function.
-- Otherwise it returns 0. And that's a lot of environment.
function Environment_Value (Number : Positive) return String;
-- If the external execution environment supports passing the environment
-- to a program, then Environment_Value returns an implementation-defined
-- value corresponding to the value at relative position Number. If Number
-- is outside the range 1 .. Environment_Count, then Constraint_Error is
-- propagated.
--
-- in GNAT: Corresponds to envp [n-1] (for n > 0) in C.
end Ada.Command_Line.Environment;
|
with Ada.Streams.Stream_IO;
with String_Ops;
with kv.avm.References;
with kv.avm.Instructions;
with kv.avm.Registers;
with kv.avm.Memories;
with kv.avm.Actors;
with kv.avm.Line_Parser;
package kv.avm.Assemblers is
Word_Code_Identifier_Number : constant Integer := -1348;
Word_Code_Human_Id : constant String(1..8) := "volecode";
Invalid_Word_Code_Header : exception;
Invalid_Op_Code : exception;
Unrecognized_Type_Error : exception;
function Make_Word_Code_Name(Asm_Name : String) return String;
function Decode_Op_Code(Line : String) return kv.avm.Instructions.Instruction_Type;
type Assembler_Type;
type Assembler_Access is access all Assembler_Type;
type Actor_Type;
type Actor_Pointer is access all Actor_Type;
type Message_Type;
type Message_Access is access all Message_Type;
type Message_Type is tagged
record
Name : String_Ops.String_Pointer_Type;
Count : Natural;
Code : kv.avm.Instructions.Code_Type(0..512);
Has_P : Boolean := False;
Pred : kv.avm.References.Offset_Type;
Next : Message_Access;
end record;
procedure Initialize
(Self : access Message_Type;
Name : in String;
Next : in Message_Access);
-- The line must be cleaned up before being parsed here.
procedure Parse_Line
(Self : in out Message_Type;
Line : in String);
function Constructor_Code(Self : Message_Type) return kv.avm.Instructions.Code_Access;
procedure Add_Non_Constructors
(Self : in out Message_Type;
Actor : in kv.avm.Actors.Actor_Access);
procedure Write_Word_Code
(Self : in out Message_Type;
File : in Ada.Streams.Stream_IO.Stream_Access);
function New_From_Stream(Count : Natural; Stream : Ada.Streams.Stream_IO.Stream_Access) return Message_Access;
type Actor_Section_Type is (Constants_Section, Message_Section);
type Actor_Type is tagged
record
Name : String_Ops.String_Pointer_Type;
Parent : String_Ops.String_Pointer_Type;
Section : Actor_Section_Type;
Fixed : kv.avm.Memories.Register_Set_Type(0..63);
F_Max : Natural;
M_Count : Natural;
Message : Message_Access;
Loaded : kv.avm.Actors.Actor_Access;
Next : Actor_Pointer;
end record;
procedure Initialize
(Self : access Actor_Type;
Name : in String;
Next : in Actor_Pointer);
-- The line must be cleaned up before being parsed here.
procedure Parse_Line
(Self : in out Actor_Type;
Line : in String);
procedure Load
(Self : in out Actor_Type);
procedure Link
(Self : in out Actor_Type);
procedure Write_Word_Code
(Self : in out Actor_Type;
File : in Ada.Streams.Stream_IO.Stream_Access);
function New_From_Stream(Count : Natural; Stream : Ada.Streams.Stream_IO.Stream_Access) return Actor_Pointer;
type Assembler_Type is new kv.avm.Line_Parser.Parse_Line_Interface with --tagged
record
Actor_Count : Natural;
Lines_Parsed : Natural;
Actor : Actor_Pointer;
end record;
procedure Initialize
(Self : access Assembler_Type);
overriding procedure Parse_Line
(Self : in out Assembler_Type;
Line : in String);
procedure Parse_Input_File
(Self : in out Assembler_Type;
File_In : in String);
procedure Transfer_Actors_To_Store
(Self : in out Assembler_Type);
procedure Write_Word_Code
(Self : in out Assembler_Type;
File : in Ada.Streams.Stream_IO.Stream_Access);
procedure Read_Word_Code
(Self : in out Assembler_Type;
File : in Ada.Streams.Stream_IO.Stream_Access);
end kv.avm.Assemblers;
|
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl>
--
-- 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 Ada.Calendar.Formatting;
with Ada.Calendar.Time_Zones;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;
with Ada.Containers.Vectors;
with Ada.Directories; use Ada.Directories;
with Ada.Exceptions;
with Ada.Strings;
with Ada.Strings.Fixed;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
with Interfaces.C.Strings; use Interfaces.C.Strings;
with GNAT.OS_Lib;
with GNAT.String_Split;
with Tcl.Ada; use Tcl.Ada;
with Tcl.Tk.Ada; use Tcl.Tk.Ada;
with Tcl.Tk.Ada.Grid;
with Tcl.Tk.Ada.Pack;
with Tcl.Tk.Ada.Widgets; use Tcl.Tk.Ada.Widgets;
with Tcl.Tk.Ada.Widgets.Menu;
with Tcl.Tk.Ada.Widgets.Text; use Tcl.Tk.Ada.Widgets.Text;
with Tcl.Tk.Ada.Widgets.Toplevel;
with Tcl.Tk.Ada.Widgets.Toplevel.MainWindow;
use Tcl.Tk.Ada.Widgets.Toplevel.MainWindow;
with Tcl.Tk.Ada.Widgets.TtkButton; use Tcl.Tk.Ada.Widgets.TtkButton;
with Tcl.Tk.Ada.Widgets.TtkEntry; use Tcl.Tk.Ada.Widgets.TtkEntry;
with Tcl.Tk.Ada.Widgets.TtkEntry.TtkComboBox;
use Tcl.Tk.Ada.Widgets.TtkEntry.TtkComboBox;
with Tcl.Tk.Ada.Widgets.TtkEntry.TtkSpinBox;
with Tcl.Tk.Ada.Widgets.TtkFrame; use Tcl.Tk.Ada.Widgets.TtkFrame;
with Tcl.Tk.Ada.Widgets.TtkLabel;
with Tcl.Tk.Ada.Widgets.TtkTreeView;
with Tcl.Tk.Ada.Winfo; use Tcl.Tk.Ada.Winfo;
with Tcl.Tk.Ada.Wm;
with Tcl.Tklib.Ada.Tooltip;
with BasesTypes; use BasesTypes;
with Config; use Config;
with Crew;
with Dialogs; use Dialogs;
with Events;
with Factions; use Factions;
with Game; use Game;
with Game.SaveLoad;
with Goals;
with HallOfFame;
with Maps.UI;
with Ships;
with Table; use Table;
with Utils;
with Utils.UI;
package body MainMenu.Commands is
function Open_Link_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Interp, Argc);
use GNAT.OS_Lib;
Os_Name: constant String :=
Tcl_GetVar(interp => Get_Context, varName => "tcl_platform(os)");
Command: constant String :=
Locate_Exec_On_Path
(Exec_Name =>
(if Os_Name = "Windows" then "start"
elsif Os_Name = "Darwin" then "open" else "xdg-open")).all;
begin
if Non_Blocking_Spawn
(Program_Name => Command,
Args =>
Argument_String_To_List
(Arg_String => CArgv.Arg(Argv => Argv, N => 1)).all) =
Invalid_Pid then
return TCL_ERROR;
end if;
return TCL_OK;
end Open_Link_Command;
-- ****o* MCommands/MCommands.Show_File_Command
-- FUNCTION
-- Show the selected file content
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command.
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- ShowFile filename
-- Filename is the name of the file in the documentation directory which
-- will be show
-- SOURCE
function Show_File_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Show_File_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc);
Text_View: constant Tk_Text :=
Get_Widget(pathName => ".showfilemenu.text", Interp => Interp);
Show_File: File_Type;
File_Name: constant String := CArgv.Arg(Argv => Argv, N => 1);
begin
configure(Widgt => Text_View, options => "-state normal");
Delete(TextWidget => Text_View, StartIndex => "1.0", Indexes => "end");
if Exists(Name => To_String(Source => Doc_Directory) & File_Name) then
Open
(File => Show_File, Mode => In_File,
Name => To_String(Source => Doc_Directory) & File_Name);
Load_File_Line_Loop :
while not End_Of_File(File => Show_File) loop
Insert
(TextWidget => Text_View, Index => "end",
Text => "{" & Get_Line(File => Show_File) & LF & "}");
end loop Load_File_Line_Loop;
Close(File => Show_File);
else
Insert
(TextWidget => Text_View, Index => "end",
Text =>
"{Can't find file to load. Did '" & File_Name &
"' file is in '" & To_String(Source => Doc_Directory) &
"' directory?}");
end if;
configure(Widgt => Text_View, options => "-state disabled");
Bind_To_Main_Window
(Interp => Interp, Sequence => "<Alt-b>",
Script => "{InvokeButton .showfilemenu.back}");
Bind_To_Main_Window
(Interp => Interp, Sequence => "<Escape>",
Script => "{InvokeButton .showfilemenu.back}");
return TCL_OK;
end Show_File_Command;
-- ****iv* MCommands/MCommands.AllNews
-- FUNCTION
-- If true, show all news, not only from last version. Default is false
-- SOURCE
All_News: Boolean := False;
-- ****
-- ****o* MCommands/MCommands.Show_News_Command
-- FUNCTION
-- Show changes in the game, all or just recent
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command.
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- ShowNews boolean
-- If boolean is true, show all news, otherwise only recent
-- SOURCE
function Show_News_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Show_News_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc);
use Tcl.Tklib.Ada.Tooltip;
Text_View: constant Tk_Text :=
Get_Widget(pathName => ".newsmenu.text", Interp => Interp);
Changes_File: File_Type;
File_Text: Unbounded_String := Null_Unbounded_String;
All_News_Button: constant Ttk_Button :=
Get_Widget(pathName => ".newsmenu.showall", Interp => Interp);
begin
if CArgv.Arg(Argv => Argv, N => 1) = "false" then
All_News := False;
configure
(Widgt => All_News_Button,
options => "-text {Show all changes} -command {ShowNews true}");
Add
(Widget => All_News_Button,
Message =>
"Show all changes to the game since previous big stable version");
else
All_News := True;
configure
(Widgt => All_News_Button,
options =>
"-text {Show only newest changes} -command {ShowNews false}");
Add
(Widget => All_News_Button,
Message => "Show only changes to the game since previous relese");
end if;
configure(Widgt => Text_View, options => "-state normal");
Delete(TextWidget => Text_View, StartIndex => "1.0", Indexes => "end");
if Exists
(Name => To_String(Source => Doc_Directory) & "CHANGELOG.md") then
Open
(File => Changes_File, Mode => In_File,
Name => To_String(Source => Doc_Directory) & "CHANGELOG.md");
Set_Line(File => Changes_File, To => 6);
Load_Changes_File_Loop :
while not End_Of_File(File => Changes_File) loop
File_Text :=
To_Unbounded_String(Source => Get_Line(File => Changes_File));
if Length(Source => File_Text) > 1 and not All_News then
exit Load_Changes_File_Loop when Slice
(Source => File_Text, Low => 1, High => 3) =
"## ";
end if;
Insert
(TextWidget => Text_View, Index => "end",
Text => "{" & To_String(Source => File_Text) & LF & "}");
end loop Load_Changes_File_Loop;
Close(File => Changes_File);
else
Insert
(TextWidget => Text_View, Index => "end",
Text =>
"{Can't find changelog file. Did 'CHANGELOG.md' file is in '" &
To_String(Source => Doc_Directory) & "' directory?}");
end if;
configure(Widgt => Text_View, options => "-state disabled");
return TCL_OK;
end Show_News_Command;
-- ****o* MCommands/MCommands.Show_Hall_Of_Fame_Command
-- FUNCTION
-- Show the Hall of Fame
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- ShowHallOfFame
-- SOURCE
function Show_Hall_Of_Fame_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Show_Hall_Of_Fame_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc, Argv);
use Tcl.Tk.Ada.Widgets.TtkTreeView;
use HallOfFame;
Hof_View: constant Ttk_Tree_View :=
Get_Widget(pathName => ".hofmenu.view", Interp => Interp);
begin
Delete
(TreeViewWidget => Hof_View,
ItemsList =>
"[list " & Children(TreeViewWidget => Hof_View, Item => "{}") &
"]");
Load_Hall_Of_Fame_Loop :
for I in Hall_Of_Fame_Array'Range loop
exit Load_Hall_Of_Fame_Loop when Hall_Of_Fame_Array(I).Name =
Null_Unbounded_String;
Insert
(TreeViewWidget => Hof_View,
Options =>
"{} end -values [list " & Positive'Image(I) & " " &
To_String(Source => Hall_Of_Fame_Array(I).Name) & " " &
Natural'Image(Hall_Of_Fame_Array(I).Points) & " " &
To_String(Source => Hall_Of_Fame_Array(I).Death_Reason) & "]");
end loop Load_Hall_Of_Fame_Loop;
return TCL_OK;
end Show_Hall_Of_Fame_Command;
-- ****iv* MCommands/MCommands.LoadTable
-- FUNCTION
-- Table with info about the available saved games
-- SOURCE
Load_Table: Table_Widget (Amount => 3);
-- ****
-- ****if* MCommands/MCommands.Get_Load_Table
-- FUNCTION
-- Get the table with the list of the saved games
-- RESULT
-- The Table_Widtget with the list of available saved games
-- HISTORY
-- 6.6 - Added
-- SOURCE
function Get_Load_Table return Table_Widget is
-- ****
begin
return Load_Table;
end Get_Load_Table;
-- ****it* MCommands/MCommands.Save_Sort_Orders
-- FUNCTION
-- Sorting orders for the saved games list
-- OPTIONS
-- PLAYERASC - Sort by player name ascending
-- PLAYERDESC - Sort by player name descending
-- SHIPASC - Sort by ship name ascending
-- SHIPDESC - Sort by ship name descending
-- TIMEASC - Sort by save time ascending
-- TIMEDESC - Sort by save time descending
-- SOURCE
type Save_Sort_Orders is
(PLAYERASC, PLAYERDESC, SHIPASC, SHIPDESC, TIMEASC, TIMEDESC) with
Default_Value => TIMEDESC;
-- ****
-- ****id* MCommands/MCommands.Default_Save_Sort_Order
-- FUNCTION
-- Default sorting order for the saved game list
-- HISTORY
-- 6.6 - Added
-- SOURCE
Default_Save_Sort_Order: constant Save_Sort_Orders := TIMEDESC;
-- ****
-- ****iv* MCommands/MCommands.Save_Sort_Order
-- FUNCTION
-- The current sorting order for the saved game list
-- SOURCE
Save_Sort_Order: Save_Sort_Orders := Default_Save_Sort_Order;
-- ****
-- ****if* MCommands/MCommands.Get_Save_Sort_Order
-- FUNCTION
-- Get the current sorting order for the saved games list
-- RESULT
-- The current sorting order of the saved games list
-- HISTORY
-- 6.5 - Added
-- SOURCE
function Get_Save_Sort_Order return Save_Sort_Orders is
begin
return Save_Sort_Order;
end Get_Save_Sort_Order;
-- ****
-- ****o* MCommands/MCommads.Show_Load_Game_Command
-- FUNCTION
-- Show available saved games
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- ShowLoadGame
-- SOURCE
function Show_Load_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Show_Load_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc, Argv);
use Ada.Calendar.Time_Zones;
use Ada.Containers;
use GNAT.String_Split;
Files: Search_Type;
Found_File: Directory_Entry_Type;
Tokens: Slice_Set; --## rule line off IMPROPER_INITIALIZATION
type Save_Record is record --## rule line off TYPE_INITIAL_VALUES
Player_Name: Unbounded_String;
Ship_Name: Unbounded_String;
Save_Time: Unbounded_String;
File_Name: Unbounded_String;
end record;
package Saves_Container is new Vectors
(Index_Type => Positive, Element_Type => Save_Record);
Saves: Saves_Container.Vector := Saves_Container.Empty_Vector;
function "<"(Left, Right: Save_Record) return Boolean is
begin
if Get_Save_Sort_Order = PLAYERASC
and then Left.Player_Name < Right.Player_Name then
return True;
end if;
if Get_Save_Sort_Order = PLAYERDESC
and then Left.Player_Name > Right.Player_Name then
return True;
end if;
if Get_Save_Sort_Order = SHIPASC
and then Left.Ship_Name < Right.Ship_Name then
return True;
end if;
if Get_Save_Sort_Order = SHIPDESC
and then Left.Ship_Name > Right.Ship_Name then
return True;
end if;
if Get_Save_Sort_Order = TIMEASC
and then Left.Save_Time < Right.Save_Time then
return True;
end if;
if Get_Save_Sort_Order = TIMEDESC
and then Left.Save_Time > Right.Save_Time then
return True;
end if;
return False;
end "<";
package Saves_Sorting is new Saves_Container.Generic_Sorting;
Local_Load_Table: Table_Widget := Get_Load_Table;
begin
if Local_Load_Table.Row_Height = 1 then
Local_Load_Table :=
CreateTable
(Parent => ".loadmenu.list",
Headers =>
(1 => To_Unbounded_String(Source => "Player name"),
2 => To_Unbounded_String(Source => "Ship name"),
3 => To_Unbounded_String(Source => "Last saved")),
Command => "SortSaves",
Tooltip => "Press mouse button to sort the saved games.");
else
ClearTable(Table => Local_Load_Table);
end if;
Start_Search
(Search => Files, Directory => To_String(Source => Save_Directory),
Pattern => "*.sav");
Load_Saves_List_Loop :
while More_Entries(Search => Files) loop
Get_Next_Entry(Search => Files, Directory_Entry => Found_File);
Create
(S => Tokens, From => Simple_Name(Directory_Entry => Found_File),
Separators => "_");
Saves.Append
(New_Item =>
(Player_Name =>
To_Unbounded_String(Source => Slice(S => Tokens, Index => 1)),
Ship_Name =>
To_Unbounded_String(Source => Slice(S => Tokens, Index => 2)),
Save_Time =>
To_Unbounded_String
(Source =>
Ada.Calendar.Formatting.Image
(Date =>
Modification_Time(Directory_Entry => Found_File),
Include_Time_Fraction => False,
Time_Zone => UTC_Time_Offset)),
File_Name =>
To_Unbounded_String
(Source => Simple_Name(Directory_Entry => Found_File))));
end loop Load_Saves_List_Loop;
End_Search(Search => Files);
Saves_Sorting.Sort(Container => Saves);
Show_Saved_Games_Loop :
for Save of Saves loop
AddButton
(Table => Local_Load_Table,
Text => To_String(Source => Save.Player_Name),
Tooltip =>
"Press mouse " &
(if Game_Settings.Right_Button then "right" else "left") &
" button to show available options",
Command =>
"ShowLoadGameMenu " & To_String(Source => Save.File_Name),
Column => 1);
AddButton
(Table => Local_Load_Table,
Text => To_String(Source => Save.Ship_Name),
Tooltip =>
"Press mouse " &
(if Game_Settings.Right_Button then "right" else "left") &
" button to show available options",
Command =>
"ShowLoadGameMenu " & To_String(Source => Save.File_Name),
Column => 2);
AddButton
(Table => Local_Load_Table,
Text => To_String(Source => Save.Save_Time),
Tooltip =>
"Press mouse " &
(if Game_Settings.Right_Button then "right" else "left") &
" button to show available options",
Command =>
"ShowLoadGameMenu " & To_String(Source => Save.File_Name),
Column => 3, NewRow => True);
end loop Show_Saved_Games_Loop;
UpdateTable(Table => Local_Load_Table);
if Local_Load_Table.Row = 1 then
Unbind_From_Main_Window(Interp => Interp, Sequence => "<Alt-b>");
Unbind_From_Main_Window(Interp => Interp, Sequence => "<Escape>");
Tcl.Tk.Ada.Pack.Pack_Forget
(Slave => Ttk_Frame'(Get_Widget(pathName => ".loadmenu")));
Show_Main_Menu;
end if;
Load_Table := Local_Load_Table;
return TCL_OK;
end Show_Load_Game_Command;
-- ****o* MCommands/MCommands.Delete_Game_Command
-- FUNCTION
-- Delete the selected save file
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- DeleteGame file
-- File is the name of the saved game to delete
-- SOURCE
function Delete_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Delete_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc);
begin
Tcl_SetVar
(interp => Interp, varName => "deletesave",
newValue => CArgv.Arg(Argv => Argv, N => 1));
ShowQuestion
(Question => "Are you sure you want delete this savegame?",
Result => "deletesave", In_Game => False);
return TCL_OK;
end Delete_Game_Command;
-- ****if* MCommands/MCommands.StartGame
-- FUNCTION
-- Start the game
-- SOURCE
procedure Start_Game is
-- ****
use Ada.Strings;
use Ada.Strings.Fixed;
use Tcl.Tk.Ada.Widgets.Toplevel;
use Tcl.Tk.Ada.Wm;
use Events;
use Maps.UI;
Main_Window: constant Tk_Toplevel :=
Get_Main_Window(Interp => Get_Context);
X, Y: Integer;
begin
X :=
(Positive'Value
(Winfo_Get(Widgt => Main_Window, Info => "vrootwidth")) -
Game_Settings.Window_Width) /
2;
if X < 0 then
X := 0;
end if;
Y :=
(Positive'Value
(Winfo_Get(Widgt => Main_Window, Info => "vrootheight")) -
Game_Settings.Window_Height) /
2;
if Y < 0 then
Y := 0;
end if;
Wm_Set
(Widgt => Main_Window, Action => "geometry",
Options =>
Trim
(Source => Positive'Image(Game_Settings.Window_Width),
Side => Left) &
"x" &
Trim
(Source => Positive'Image(Game_Settings.Window_Height),
Side => Left) &
"+" & Trim(Source => Positive'Image(X), Side => Left) & "+" &
Trim(Source => Positive'Image(Y), Side => Left));
GenerateTraders;
CreateGameUI;
end Start_Game;
-- ****o* MCommands/MCommands.Load_Game_Command
-- FUNCTION
-- Load the selected save file and start the game
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed. Unused
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command.
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- LoadGame file
-- File is the name of the saved game which will be loaded
-- SOURCE
function Load_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Load_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Interp, Argc);
use Ada.Exceptions;
use Game.SaveLoad;
begin
Tcl.Tk.Ada.Pack.Pack_Forget
(Slave => Ttk_Frame'(Get_Widget(pathName => ".loadmenu")));
Save_Name := Save_Directory & CArgv.Arg(Argv => Argv, N => 1);
Load_Game;
Start_Game;
return TCL_OK;
exception
when An_Exception : Save_Game_Invalid_Data =>
Show_Main_Menu;
ShowMessage
(Text =>
"Can't load this game. Reason: " &
Exception_Message(X => An_Exception),
ParentFrame => ".", Title => "Can't load the game");
return TCL_OK;
end Load_Game_Command;
-- ****o* MCommands/MCommands.Set_Faction_Command
-- FUNCTION
-- Set faction destription and available bases and careers
-- PARAMETERS
-- Client_Data - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- SetFaction
-- SOURCE
function Set_Faction_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Set_Faction_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc, Argv);
use Tcl.Tk.Ada.Grid;
use Tcl.Tk.Ada.Widgets.TtkLabel;
Faction_Name: Unbounded_String;
Values: Unbounded_String := Null_Unbounded_String;
Frame_Name: constant String := ".newgamemenu.canvas.player";
Combo_Box: Ttk_ComboBox :=
Get_Widget(pathName => Frame_Name & ".faction", Interp => Interp);
Label: Ttk_Label := Get_Widget(pathName => ".", Interp => Interp);
Gender_Frame: constant Ttk_Frame :=
Get_Widget(pathName => Frame_Name & ".gender", Interp => Interp);
procedure Update_Info(New_Text: String) is
Info_Text: constant Tk_Text :=
Get_Widget(pathName => ".newgamemenu.info.text", Interp => Interp);
begin
configure(Widgt => Info_Text, options => "-state normal");
Delete
(TextWidget => Info_Text, StartIndex => "1.0", Indexes => "end");
Insert
(TextWidget => Info_Text, Index => "end",
Text =>
"{Select your faction from a list. Factions have the biggest impact on game. They determine the amount of bases and some playing styles. More information about each faction can be found after selecting it. You can't change this later." &
LF & LF & "}");
Insert(TextWidget => Info_Text, Index => "end", Text => New_Text);
configure(Widgt => Info_Text, options => "-state disabled");
end Update_Info;
begin
Faction_Name := To_Unbounded_String(Source => Get(Widgt => Combo_Box));
if Faction_Name = To_Unbounded_String(Source => "Random") then
Label.Name := New_String(Str => Frame_Name & ".labelcareer");
Grid_Remove(Slave => Label);
Combo_Box.Name := New_String(Str => Frame_Name & ".career");
Set(ComboBox => Combo_Box, Value => "Random");
Grid_Remove(Slave => Combo_Box);
Label.Name := New_String(Str => Frame_Name & ".labelbase");
Grid_Remove(Slave => Label);
Combo_Box.Name := New_String(Str => Frame_Name & ".base");
Set(ComboBox => Combo_Box, Value => "Any");
Grid_Remove(Slave => Combo_Box);
Update_Info
(New_Text =>
"{Faction, career and base type will be randomly selected for you during creating new game. Not recommended for new player.}");
return TCL_OK;
end if;
Label.Name := New_String(Str => Frame_Name & ".labelcareer");
Tcl.Tk.Ada.Grid.Grid(Slave => Label);
Combo_Box.Name := New_String(Str => Frame_Name & ".career");
Tcl.Tk.Ada.Grid.Grid(Slave => Combo_Box);
Label.Name := New_String(Str => Frame_Name & ".labelbase");
Tcl.Tk.Ada.Grid.Grid(Slave => Label);
Combo_Box.Name := New_String(Str => Frame_Name & ".base");
Tcl.Tk.Ada.Grid.Grid(Slave => Combo_Box);
Load_Faction_Based_Info_Loop :
for Faction of Factions_List loop
if Faction.Name /= Faction_Name then
goto End_Of_Faction_Info_Loop;
end if;
if Faction.Flags.Contains
(Item => To_Unbounded_String(Source => "nogender")) then
Label.Name := New_String(Str => Frame_Name & ".labelgender");
Grid_Remove(Slave => Label);
Grid_Remove(Slave => Gender_Frame);
Tcl_SetVar
(interp => Interp, varName => "playergender", newValue => "M");
else
Label.Name := New_String(Str => Frame_Name & ".labelgender");
Tcl.Tk.Ada.Grid.Grid(Slave => Label);
Tcl.Tk.Ada.Grid.Grid(Slave => Gender_Frame);
end if;
Values := Null_Unbounded_String;
Load_Careers_Loop :
for I in Faction.Careers.Iterate loop
Append
(Source => Values, New_Item => " " & Faction.Careers(I).Name);
end loop Load_Careers_Loop;
Append(Source => Values, New_Item => " Random");
Combo_Box.Name := New_String(Str => Frame_Name & ".career");
configure
(Widgt => Combo_Box,
options => "-values [list " & To_String(Source => Values) & "]");
Set(ComboBox => Combo_Box, Value => "General");
Values := To_Unbounded_String(Source => " Any");
Load_Bases_Types_Loop :
for I in Faction.BasesTypes.Iterate loop
Append
(Source => Values,
New_Item =>
" {" &
Bases_Types_List(BaseType_Container.Key(Position => I)).Name &
"}");
end loop Load_Bases_Types_Loop;
Combo_Box.Name := New_String(Str => Frame_Name & ".base");
configure
(Widgt => Combo_Box,
options => "-values [list " & To_String(Source => Values) & "]");
Set(ComboBox => Combo_Box, Value => "Any");
Update_Info
(New_Text => "{" & To_String(Source => Faction.Description) & "}");
exit Load_Faction_Based_Info_Loop;
<<End_Of_Faction_Info_Loop>>
end loop Load_Faction_Based_Info_Loop;
return TCL_OK;
end Set_Faction_Command;
-- ****o* MCommands/MCommands.Set_Career_Command
-- FUNCTION
-- Set career description
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- SetCareer
-- SOURCE
function Set_Career_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Set_Career_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc, Argv);
Faction_Name, Career_Name: Unbounded_String;
Frame_Name: constant String := ".newgamemenu.canvas.player";
Combo_Box: Ttk_ComboBox :=
Get_Widget(pathName => Frame_Name & ".faction", Interp => Interp);
Info_Text: constant Tk_Text :=
Get_Widget(pathName => ".newgamemenu.info.text", Interp => Interp);
begin
Faction_Name := To_Unbounded_String(Source => Get(Widgt => Combo_Box));
Combo_Box.Name := New_String(Str => Frame_Name & ".career");
Career_Name := To_Unbounded_String(Source => Get(Widgt => Combo_Box));
configure(Widgt => Info_Text, options => "-state normal");
Delete(TextWidget => Info_Text, StartIndex => "1.0", Indexes => "end");
Insert
(TextWidget => Info_Text, Index => "end",
Text =>
"{Select your career from a list. Careers have some impact on gameplay (each have bonuses to gaining experience in some fields plus they determine your starting ship and crew). More info about each career can be found after selecting it. You can't change career later." &
LF & LF & "}");
Set_Faction_Careers_Loop :
for Faction of Factions_List loop
if Faction.Name = Faction_Name then
Load_Careers_Loop :
for Career of Faction.Careers loop
if Career.Name = Career_Name then
Insert
(TextWidget => Info_Text, Index => "end",
Text =>
"{" & To_String(Source => Career.Description) & "}");
exit Set_Faction_Careers_Loop;
end if;
end loop Load_Careers_Loop;
end if;
end loop Set_Faction_Careers_Loop;
if Career_Name = "Random" then
Insert
(TextWidget => Info_Text, Index => "end",
Text =>
"{Career will be randomly selected for you during creating new game. Not recommended for new player.}");
end if;
configure(Widgt => Info_Text, options => "-state disabled");
return TCL_OK;
end Set_Career_Command;
-- ****o* MCommands/MCommands.Set_Base_Command
-- FUNCTION
-- Set starting base description
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- SetBase
-- SOURCE
function Set_Base_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Set_Base_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc, Argv);
Base_Name: Unbounded_String;
Combo_Box: constant Ttk_ComboBox :=
Get_Widget
(pathName => ".newgamemenu.canvas.player.base", Interp => Interp);
Info_Text: constant Tk_Text :=
Get_Widget(pathName => ".newgamemenu.info.text", Interp => Interp);
begin
Base_Name := To_Unbounded_String(Source => Get(Widgt => Combo_Box));
configure(Widgt => Info_Text, options => "-state normal");
Delete(TextWidget => Info_Text, StartIndex => "1.0", Indexes => "end");
Insert
(TextWidget => Info_Text, Index => "end",
Text =>
"{Select your career from a list. Careers have some impact on gameplay (each have bonuses to gaining experience in some fields plus they determine your starting ship and crew). More info about each career can be found after selecting it. You can't change career later." &
LF & LF & "}");
Find_Base_Type_Loop :
for Base of Bases_Types_List loop
if Base.Name = Base_Name then
Insert
(TextWidget => Info_Text, Index => "end",
Text => "{" & To_String(Source => Base.Description) & "}");
exit Find_Base_Type_Loop;
end if;
end loop Find_Base_Type_Loop;
if Base_Name = "Any" then
Insert
(TextWidget => Info_Text, Index => "end",
Text => "{Start the game in randomly selected base type.}");
end if;
configure(Widgt => Info_Text, options => "-state disabled");
return TCL_OK;
end Set_Base_Command;
-- ****o* MCommands/MCommands.Random_Name_Command
-- FUNCTION
-- Generate random player or ship name
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command.
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- RandomName type
-- Type is type of name which should be generated. Possible options are
-- player or ship
-- SOURCE
function Random_Name_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Random_Name_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc);
use Crew;
use Ships;
Combo_Box: constant Ttk_ComboBox :=
Get_Widget
(pathName => ".newgamemenu.canvas.player.faction", Interp => Interp);
Faction_Name: constant Unbounded_String :=
To_Unbounded_String(Source => Get(Widgt => Combo_Box));
Faction_Index: Unbounded_String := Null_Unbounded_String;
Gender: Character := 'M';
Name_Entry: constant Ttk_Entry :=
Get_Widget
(pathName =>
".newgamemenu.canvas.player." & CArgv.Arg(Argv => Argv, N => 1) &
"name",
Interp => Interp);
begin
Find_Faction_Index_Loop :
for I in Factions_List.Iterate loop
if Factions_List(I).Name = Faction_Name then
Faction_Index := Factions_Container.Key(Position => I);
exit Find_Faction_Index_Loop;
end if;
end loop Find_Faction_Index_Loop;
if CArgv.Arg(Argv => Argv, N => 1) = "player" then
Gender := Tcl_GetVar(interp => Interp, varName => "playergender")(1);
Delete
(TextEntry => Name_Entry, FirstIndex => "0", LastIndex => "end");
Insert
(TextEntry => Name_Entry, Index => "end",
Text =>
To_String
(Source =>
GenerateMemberName
(Gender => Gender, FactionIndex => Faction_Index)));
return TCL_OK;
end if;
Delete(TextEntry => Name_Entry, FirstIndex => "0", LastIndex => "end");
Insert
(TextEntry => Name_Entry, Index => "end",
Text =>
To_String(Source => Generate_Ship_Name(Owner => Faction_Index)));
return TCL_OK;
end Random_Name_Command;
-- ****o* MCommands/MCommands.New_Game_Command
-- FUNCTION
-- Set all parameters and start a new game
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- NewGame
-- SOURCE
function New_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function New_Game_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc, Argv);
use Tcl.Tk.Ada.Widgets.TtkEntry.TtkSpinBox;
use Goals;
use Utils;
Player_Frame_Name: constant String := ".newgamemenu.canvas.player";
Difficulty_Frame_Name: constant String :=
".newgamemenu.canvas.difficulty";
Combo_Box: Ttk_ComboBox :=
Get_Widget
(pathName => Player_Frame_Name & ".faction", Interp => Interp);
Goal_Button: constant Ttk_Button :=
Get_Widget(pathName => Player_Frame_Name & ".goal", Interp => Interp);
Text_Entry: Ttk_Entry :=
Get_Widget
(pathName => Player_Frame_Name & ".playername", Interp => Interp);
Spin_Box: Ttk_SpinBox :=
Get_Widget
(pathName => Difficulty_Frame_Name & ".enemydamage",
Interp => Interp);
begin
New_Game_Settings.Player_Gender :=
Tcl_GetVar(interp => Interp, varName => "playergender")(1);
if cget(Widgt => Goal_Button, option => "-text") = "Random" then
ClearCurrentGoal;
CurrentGoal :=
Goals_List
(Get_Random
(Min => Goals_List.First_Index, Max => Goals_List.Last_Index));
end if;
New_Game_Settings.Player_Name :=
To_Unbounded_String(Source => Get(Widgt => Text_Entry));
Text_Entry.Name := New_String(Str => Player_Frame_Name & ".shipname");
New_Game_Settings.Ship_Name :=
To_Unbounded_String(Source => Get(Widgt => Text_Entry));
Find_Faction_Loop :
for I in Factions_List.Iterate loop
if Factions_List(I).Name =
To_Unbounded_String(Source => Get(Widgt => Combo_Box)) then
New_Game_Settings.Player_Faction :=
Factions_Container.Key(Position => I);
Combo_Box.Name := New_String(Str => Player_Frame_Name & ".career");
Find_Career_Loop :
for J in Factions_List(I).Careers.Iterate loop
if Factions_List(I).Careers(J).Name =
To_Unbounded_String(Source => Get(Widgt => Combo_Box)) then
New_Game_Settings.Player_Career :=
Careers_Container.Key(Position => J);
exit Find_Faction_Loop;
end if;
end loop Find_Career_Loop;
end if;
end loop Find_Faction_Loop;
Combo_Box.Name := New_String(Str => Player_Frame_Name & ".base");
Set_Starting_Base_Loop :
for I in Bases_Types_List.Iterate loop
if Bases_Types_List(I).Name =
To_Unbounded_String(Source => Get(Widgt => Combo_Box)) then
New_Game_Settings.Starting_Base :=
BasesTypes_Container.Key(Position => I);
exit Set_Starting_Base_Loop;
end if;
end loop Set_Starting_Base_Loop;
Combo_Box.Name :=
New_String(Str => Difficulty_Frame_Name & ".difficultylevel");
New_Game_Settings.Difficulty_Level :=
Difficulty_Type'Val(Natural'Value(Current(ComboBox => Combo_Box)));
New_Game_Settings.Enemy_Damage_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
Spin_Box.Name :=
New_String(Str => Difficulty_Frame_Name & ".playerdamage");
New_Game_Settings.Player_Damage_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
--## rule off ASSIGNMENTS
Spin_Box.Name :=
New_String(Str => Difficulty_Frame_Name & ".enemymeleedamage");
New_Game_Settings.Enemy_Melee_Damage_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
Spin_Box.Name :=
New_String(Str => Difficulty_Frame_Name & ".playermeleedamage");
New_Game_Settings.Player_Melee_Damage_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
Spin_Box.Name :=
New_String(Str => Difficulty_Frame_Name & ".experience");
New_Game_Settings.Experience_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
Spin_Box.Name :=
New_String(Str => Difficulty_Frame_Name & ".reputation");
New_Game_Settings.Reputation_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
Spin_Box.Name := New_String(Str => Difficulty_Frame_Name & ".upgrade");
New_Game_Settings.Upgrade_Cost_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
Spin_Box.Name := New_String(Str => Difficulty_Frame_Name & ".prices");
--## rule on ASSIGNMENTS
New_Game_Settings.Prices_Bonus :=
Bonus_Type'Value(Get(Widgt => Spin_Box)) / 100.0;
New_Game;
Start_Game;
return TCL_OK;
end New_Game_Command;
-- ****o* MCommands/MCommands.Show_Main_Menu_Command
-- FUNCTION
-- Clear the main game window and show main menu
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed. Unused
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- ShowMainMenu
-- SOURCE
function Show_Main_Menu_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Show_Main_Menu_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Interp, Argc, Argv);
begin
Show_Main_Menu;
return TCL_OK;
end Show_Main_Menu_Command;
-- ****o* MCommands/MCommands.Show_Load_Game_Menu_Command
-- FUNCTION
-- Show available options for the selected saved game
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command.
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- ShowLoadGameMenu file
-- File is the filename of the saved game to manipulate
-- SOURCE
function Show_Load_Game_Menu_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Show_Load_Game_Menu_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
pragma Unreferenced(Client_Data, Argc);
use Tcl.Tk.Ada.Widgets.Menu;
Load_Menu: Tk_Menu :=
Get_Widget(pathName => ".loadfilemenu", Interp => Interp);
begin
if Winfo_Get(Widgt => Load_Menu, Info => "exists") = "0" then
Load_Menu :=
Create(pathName => ".loadfilemenu", options => "-tearoff false");
end if;
Delete(MenuWidget => Load_Menu, StartIndex => "0", EndIndex => "end");
Menu.Add
(MenuWidget => Load_Menu, EntryType => "command",
Options =>
"-label {Load the game} -command {LoadGame " &
CArgv.Arg(Argv => Argv, N => 1) & "}");
Menu.Add
(MenuWidget => Load_Menu, EntryType => "command",
Options =>
"-label {Delete the game} -command {DeleteGame " &
CArgv.Arg(Argv => Argv, N => 1) & "}");
Tk_Popup
(MenuWidget => Load_Menu,
X =>
Winfo_Get
(Widgt => Get_Main_Window(Interp => Interp), Info => "pointerx"),
Y =>
Winfo_Get
(Widgt => Get_Main_Window(Interp => Interp), Info => "pointery"));
return TCL_OK;
end Show_Load_Game_Menu_Command;
-- ****o* MCommands/MCommands.Sort_Saves_Command
-- FUNCTION
-- Sort the saved games list
-- PARAMETERS
-- ClientData - Custom data send to the command. Unused
-- Interp - Tcl interpreter in which command was executed.
-- Argc - Number of arguments passed to the command. Unused
-- Argv - Values of arguments passed to the command. Unused
-- RESULT
-- This function always return TCL_OK
-- COMMANDS
-- SortSaves x
-- X is X axis coordinate where the player clicked the mouse button
-- SOURCE
function Sort_Saves_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
Convention => C;
-- ****
function Sort_Saves_Command
(Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int is
Column: constant Positive :=
Get_Column_Number
(Table => Get_Load_Table,
X_Position => Natural'Value(CArgv.Arg(Argv => Argv, N => 1)));
begin
case Column is
when 1 =>
if Get_Save_Sort_Order = PLAYERASC then
Save_Sort_Order := PLAYERDESC;
else
Save_Sort_Order := PLAYERASC;
end if;
when 2 =>
if Get_Save_Sort_Order = SHIPASC then
Save_Sort_Order := SHIPDESC;
else
Save_Sort_Order := SHIPASC;
end if;
when 3 =>
if Get_Save_Sort_Order = TIMEASC then
Save_Sort_Order := TIMEDESC;
else
Save_Sort_Order := TIMEASC;
end if;
when others =>
null;
end case;
return
Show_Load_Game_Command
(Client_Data => Client_Data, Interp => Interp, Argc => Argc,
Argv => Argv);
end Sort_Saves_Command;
procedure Add_Commands is
use Utils.UI;
begin
Add_Command(Name => "OpenLink", Ada_Command => Open_Link_Command'Access);
Add_Command(Name => "ShowFile", Ada_Command => Show_File_Command'Access);
Add_Command(Name => "ShowNews", Ada_Command => Show_News_Command'Access);
Add_Command
(Name => "ShowHallOfFame",
Ada_Command => Show_Hall_Of_Fame_Command'Access);
Add_Command
(Name => "ShowLoadGame", Ada_Command => Show_Load_Game_Command'Access);
Add_Command
(Name => "DeleteGame", Ada_Command => Delete_Game_Command'Access);
Add_Command(Name => "LoadGame", Ada_Command => Load_Game_Command'Access);
Add_Command
(Name => "SetFaction", Ada_Command => Set_Faction_Command'Access);
Add_Command
(Name => "SetCareer", Ada_Command => Set_Career_Command'Access);
Add_Command(Name => "SetBase", Ada_Command => Set_Base_Command'Access);
Add_Command
(Name => "RandomName", Ada_Command => Random_Name_Command'Access);
Add_Command(Name => "NewGame", Ada_Command => New_Game_Command'Access);
Add_Command
(Name => "ShowMainMenu", Ada_Command => Show_Main_Menu_Command'Access);
Add_Command
(Name => "ShowLoadGameMenu",
Ada_Command => Show_Load_Game_Menu_Command'Access);
Add_Command
(Name => "SortSaves", Ada_Command => Sort_Saves_Command'Access);
end Add_Commands;
end MainMenu.Commands;
|
------------------------------------------------------------------------------
-- Copyright (c) 2016, Natacha Porté --
-- --
-- Permission to use, copy, modify, and 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. --
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- Natools.Smaz_Implementations.Base_64 provides the subprograms needed to --
-- instantiate Natools.Smaz_Generic into a variant of the Smaz compression --
-- algorithm that output directly base-64 printable symbols, but with a --
-- dictionary containing at most 61 elements. --
-- --
-- Similarly to original Smaz, low-numbered base-64 digit are indices in --
-- the static dictionary, while high-numbered ones are verbatim headers. --
-- The verbatim headers all indicate a number of bytes in the decoded --
-- stream, and it is encoded without padding characters in the output (e.g. --
-- a two-byte verbatim sequence would be encoded as only three base-64 --
-- symbols). --
-- --
-- When Variable_Length_Verbatim is True, the same scheme as original Smaz --
-- is used: 62 means one verbatim byte (encoded in two base-64 digits), 61 --
-- means two verbatim bytes, and so on, while 63 is followed by the number --
-- of bytes on top of the hardcoded ones. For example, with a 60-entry --
-- dictionary, 59 means the last dictionary entry, and 60 means 3-byte --
-- verbatim string, and 63, 0 means 4-byte verbatim string. --
-- --
-- When Variable_Length_Verbatim is False, another variable-length scheme --
-- is used, where the number of extra blocks is stored in the padding bits. --
-- * 111111 nnnnnn ... means (n+1) 3-byte blocks of verbatim data, --
-- * 111110 AAAAAA AAnnnn ... means n 3-byte blocks and 1 byte (A), --
-- * 111101 AAAAAA AABBBB BBBBnn ... means n 3-byte blocks and 2 bytes --
-- If the dictionary is smaller, the extra codes are used for further 3n+2 --
-- blocks. For example, 60 would then mean 3(n+4)+2 bytes of verbatim data. --
------------------------------------------------------------------------------
with Ada.Streams;
with Natools.Smaz_Implementations.Base_64_Tools;
package Natools.Smaz_Implementations.Base_64 is
pragma Pure;
procedure Read_Code
(Input : in Ada.Streams.Stream_Element_Array;
Offset : in out Ada.Streams.Stream_Element_Offset;
Code : out Natools.Smaz_Implementations.Base_64_Tools.Base_64_Digit;
Verbatim_Length : out Natural;
Last_Code : in Natools.Smaz_Implementations.Base_64_Tools.Base_64_Digit;
Variable_Length_Verbatim : in Boolean);
procedure Read_Verbatim
(Input : in Ada.Streams.Stream_Element_Array;
Offset : in out Ada.Streams.Stream_Element_Offset;
Output : out String);
procedure Skip_Verbatim
(Input : in Ada.Streams.Stream_Element_Array;
Offset : in out Ada.Streams.Stream_Element_Offset;
Verbatim_Length : in Positive);
function Verbatim_Size
(Input_Length : in Positive;
Last_Code : in Natools.Smaz_Implementations.Base_64_Tools.Base_64_Digit;
Variable_Length_Verbatim : in Boolean)
return Ada.Streams.Stream_Element_Count;
procedure Write_Code
(Output : in out Ada.Streams.Stream_Element_Array;
Offset : in out Ada.Streams.Stream_Element_Offset;
Code : in Natools.Smaz_Implementations.Base_64_Tools.Base_64_Digit);
procedure Write_Verbatim
(Output : in out Ada.Streams.Stream_Element_Array;
Offset : in out Ada.Streams.Stream_Element_Offset;
Input : in String;
Last_Code : in Natools.Smaz_Implementations.Base_64_Tools.Base_64_Digit;
Variable_Length_Verbatim : in Boolean);
end Natools.Smaz_Implementations.Base_64;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ C H A R A C T E R T S . U N I C O D E --
-- --
-- B o d y --
-- --
-- Copyright (C) 2005-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. --
-- --
------------------------------------------------------------------------------
package body Ada.Wide_Characters.Unicode is
package G renames System.UTF_32;
------------------
-- Get_Category --
------------------
function Get_Category (U : Wide_Character) return Category is
begin
return Category (G.Get_Category (Wide_Character'Pos (U)));
end Get_Category;
--------------
-- Is_Basic --
--------------
function Is_Basic (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Basic (Wide_Character'Pos (U));
end Is_Basic;
--------------
-- Is_Digit --
--------------
function Is_Digit (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Digit (Wide_Character'Pos (U));
end Is_Digit;
function Is_Digit (C : Category) return Boolean is
begin
return G.Is_UTF_32_Digit (G.Category (C));
end Is_Digit;
---------------
-- Is_Letter --
---------------
function Is_Letter (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Letter (Wide_Character'Pos (U));
end Is_Letter;
function Is_Letter (C : Category) return Boolean is
begin
return G.Is_UTF_32_Letter (G.Category (C));
end Is_Letter;
------------------------
-- Is_Line_Terminator --
------------------------
function Is_Line_Terminator (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Line_Terminator (Wide_Character'Pos (U));
end Is_Line_Terminator;
-------------
-- Is_Mark --
-------------
function Is_Mark (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Mark (Wide_Character'Pos (U));
end Is_Mark;
function Is_Mark (C : Category) return Boolean is
begin
return G.Is_UTF_32_Mark (G.Category (C));
end Is_Mark;
--------------------
-- Is_Non_Graphic --
--------------------
function Is_Non_Graphic (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Non_Graphic (Wide_Character'Pos (U));
end Is_Non_Graphic;
function Is_Non_Graphic (C : Category) return Boolean is
begin
return G.Is_UTF_32_Non_Graphic (G.Category (C));
end Is_Non_Graphic;
-------------
-- Is_NFKC --
-------------
function Is_NFKC (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_NFKC (Wide_Character'Pos (U));
end Is_NFKC;
--------------
-- Is_Other --
--------------
function Is_Other (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Other (Wide_Character'Pos (U));
end Is_Other;
function Is_Other (C : Category) return Boolean is
begin
return G.Is_UTF_32_Other (G.Category (C));
end Is_Other;
--------------------
-- Is_Punctuation --
--------------------
function Is_Punctuation (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Punctuation (Wide_Character'Pos (U));
end Is_Punctuation;
function Is_Punctuation (C : Category) return Boolean is
begin
return G.Is_UTF_32_Punctuation (G.Category (C));
end Is_Punctuation;
--------------
-- Is_Space --
--------------
function Is_Space (U : Wide_Character) return Boolean is
begin
return G.Is_UTF_32_Space (Wide_Character'Pos (U));
end Is_Space;
function Is_Space (C : Category) return Boolean is
begin
return G.Is_UTF_32_Space (G.Category (C));
end Is_Space;
--------------
-- To_Basic --
--------------
function To_Basic (U : Wide_Character) return Wide_Character is
begin
return Wide_Character'Val (G.UTF_32_To_Basic (Wide_Character'Pos (U)));
end To_Basic;
-------------------
-- To_Lower_Case --
-------------------
function To_Lower_Case (U : Wide_Character) return Wide_Character is
begin
return
Wide_Character'Val (G.UTF_32_To_Lower_Case (Wide_Character'Pos (U)));
end To_Lower_Case;
-------------------
-- To_Upper_Case --
-------------------
function To_Upper_Case (U : Wide_Character) return Wide_Character is
begin
return
Wide_Character'Val
(G.UTF_32_To_Upper_Case (Wide_Character'Pos (U)));
end To_Upper_Case;
end Ada.Wide_Characters.Unicode;
|
-- This spec has been automatically generated from STM32L4x1.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.COMP is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype COMP1_CSR_COMP1_PWRMODE_Field is HAL.UInt2;
subtype COMP1_CSR_COMP1_INMSEL_Field is HAL.UInt3;
subtype COMP1_CSR_COMP1_INPSEL_Field is HAL.UInt2;
subtype COMP1_CSR_COMP1_HYST_Field is HAL.UInt2;
subtype COMP1_CSR_COMP1_BLANKING_Field is HAL.UInt3;
subtype COMP1_CSR_COMP1_INMESEL_Field is HAL.UInt2;
-- Comparator 1 control and status register
type COMP1_CSR_Register is record
-- Comparator 1 enable bit
COMP1_EN : Boolean := False;
-- unspecified
Reserved_1_1 : HAL.Bit := 16#0#;
-- Power Mode of the comparator 1
COMP1_PWRMODE : COMP1_CSR_COMP1_PWRMODE_Field := 16#0#;
-- Comparator 1 Input Minus connection configuration bit
COMP1_INMSEL : COMP1_CSR_COMP1_INMSEL_Field := 16#0#;
-- Comparator1 input plus selection bit
COMP1_INPSEL : COMP1_CSR_COMP1_INPSEL_Field := 16#0#;
-- unspecified
Reserved_9_14 : HAL.UInt6 := 16#0#;
-- Comparator 1 polarity selection bit
COMP1_POLARITY : Boolean := False;
-- Comparator 1 hysteresis selection bits
COMP1_HYST : COMP1_CSR_COMP1_HYST_Field := 16#0#;
-- Comparator 1 blanking source selection bits
COMP1_BLANKING : COMP1_CSR_COMP1_BLANKING_Field := 16#0#;
-- unspecified
Reserved_21_21 : HAL.Bit := 16#0#;
-- Scaler bridge enable
COMP1_BRGEN : Boolean := False;
-- Voltage scaler enable bit
COMP1_SCALEN : Boolean := False;
-- unspecified
Reserved_24_24 : HAL.Bit := 16#0#;
-- comparator 1 input minus extended selection bits
COMP1_INMESEL : COMP1_CSR_COMP1_INMESEL_Field := 16#0#;
-- unspecified
Reserved_27_29 : HAL.UInt3 := 16#0#;
-- Read-only. Comparator 1 output status bit
COMP1_VALUE : Boolean := False;
-- Write-only. COMP1_CSR register lock bit
COMP1_LOCK : Boolean := False;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for COMP1_CSR_Register use record
COMP1_EN at 0 range 0 .. 0;
Reserved_1_1 at 0 range 1 .. 1;
COMP1_PWRMODE at 0 range 2 .. 3;
COMP1_INMSEL at 0 range 4 .. 6;
COMP1_INPSEL at 0 range 7 .. 8;
Reserved_9_14 at 0 range 9 .. 14;
COMP1_POLARITY at 0 range 15 .. 15;
COMP1_HYST at 0 range 16 .. 17;
COMP1_BLANKING at 0 range 18 .. 20;
Reserved_21_21 at 0 range 21 .. 21;
COMP1_BRGEN at 0 range 22 .. 22;
COMP1_SCALEN at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
COMP1_INMESEL at 0 range 25 .. 26;
Reserved_27_29 at 0 range 27 .. 29;
COMP1_VALUE at 0 range 30 .. 30;
COMP1_LOCK at 0 range 31 .. 31;
end record;
subtype COMP2_CSR_COMP2_PWRMODE_Field is HAL.UInt2;
subtype COMP2_CSR_COMP2_INMSEL_Field is HAL.UInt3;
subtype COMP2_CSR_COMP2_INPSEL_Field is HAL.UInt2;
subtype COMP2_CSR_COMP2_HYST_Field is HAL.UInt2;
subtype COMP2_CSR_COMP2_BLANKING_Field is HAL.UInt3;
subtype COMP2_CSR_COMP2_INMESEL_Field is HAL.UInt2;
-- Comparator 2 control and status register
type COMP2_CSR_Register is record
-- Comparator 2 enable bit
COMP2_EN : Boolean := False;
-- unspecified
Reserved_1_1 : HAL.Bit := 16#0#;
-- Power Mode of the comparator 2
COMP2_PWRMODE : COMP2_CSR_COMP2_PWRMODE_Field := 16#0#;
-- Comparator 2 Input Minus connection configuration bit
COMP2_INMSEL : COMP2_CSR_COMP2_INMSEL_Field := 16#0#;
-- Comparator 2 Input Plus connection configuration bit
COMP2_INPSEL : COMP2_CSR_COMP2_INPSEL_Field := 16#0#;
-- Windows mode selection bit
COMP2_WINMODE : Boolean := False;
-- unspecified
Reserved_10_14 : HAL.UInt5 := 16#0#;
-- Comparator 2 polarity selection bit
COMP2_POLARITY : Boolean := False;
-- Comparator 2 hysteresis selection bits
COMP2_HYST : COMP2_CSR_COMP2_HYST_Field := 16#0#;
-- Comparator 2 blanking source selection bits
COMP2_BLANKING : COMP2_CSR_COMP2_BLANKING_Field := 16#0#;
-- unspecified
Reserved_21_21 : HAL.Bit := 16#0#;
-- Scaler bridge enable
COMP2_BRGEN : Boolean := False;
-- Voltage scaler enable bit
COMP2_SCALEN : Boolean := False;
-- unspecified
Reserved_24_24 : HAL.Bit := 16#0#;
-- comparator 2 input minus extended selection bits
COMP2_INMESEL : COMP2_CSR_COMP2_INMESEL_Field := 16#0#;
-- unspecified
Reserved_27_29 : HAL.UInt3 := 16#0#;
-- Read-only. Comparator 2 output status bit
COMP2_VALUE : Boolean := False;
-- Write-only. COMP2_CSR register lock bit
COMP2_LOCK : Boolean := False;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for COMP2_CSR_Register use record
COMP2_EN at 0 range 0 .. 0;
Reserved_1_1 at 0 range 1 .. 1;
COMP2_PWRMODE at 0 range 2 .. 3;
COMP2_INMSEL at 0 range 4 .. 6;
COMP2_INPSEL at 0 range 7 .. 8;
COMP2_WINMODE at 0 range 9 .. 9;
Reserved_10_14 at 0 range 10 .. 14;
COMP2_POLARITY at 0 range 15 .. 15;
COMP2_HYST at 0 range 16 .. 17;
COMP2_BLANKING at 0 range 18 .. 20;
Reserved_21_21 at 0 range 21 .. 21;
COMP2_BRGEN at 0 range 22 .. 22;
COMP2_SCALEN at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
COMP2_INMESEL at 0 range 25 .. 26;
Reserved_27_29 at 0 range 27 .. 29;
COMP2_VALUE at 0 range 30 .. 30;
COMP2_LOCK at 0 range 31 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Comparator
type COMP_Peripheral is record
-- Comparator 1 control and status register
COMP1_CSR : aliased COMP1_CSR_Register;
-- Comparator 2 control and status register
COMP2_CSR : aliased COMP2_CSR_Register;
end record
with Volatile;
for COMP_Peripheral use record
COMP1_CSR at 16#0# range 0 .. 31;
COMP2_CSR at 16#4# range 0 .. 31;
end record;
-- Comparator
COMP_Periph : aliased COMP_Peripheral
with Import, Address => System'To_Address (16#40010200#);
end STM32_SVD.COMP;
|
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- Copyright (C) 2016, 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 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. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
package Dvidrv is
-- Initialize DVI encoder
procedure Init;
end Dvidrv;
|
------------------------------------------------------------------------------
-- --
-- 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.
------------------------------------------------------------------------------
-- An expression that specifies a string value that is derived by
-- concatenating a set of sub string expressions, some of which might be
-- template parameters.
------------------------------------------------------------------------------
with AMF.UML.Expressions;
limited with AMF.UML.String_Expressions.Collections;
with AMF.UML.Templateable_Elements;
with League.Strings;
package AMF.UML.String_Expressions is
pragma Preelaborate;
type UML_String_Expression is limited interface
and AMF.UML.Expressions.UML_Expression
and AMF.UML.Templateable_Elements.UML_Templateable_Element;
type UML_String_Expression_Access is
access all UML_String_Expression'Class;
for UML_String_Expression_Access'Storage_Size use 0;
not overriding function Get_Owning_Expression
(Self : not null access constant UML_String_Expression)
return AMF.UML.String_Expressions.UML_String_Expression_Access is abstract;
-- Getter of StringExpression::owningExpression.
--
-- The string expression of which this expression is a substring.
not overriding procedure Set_Owning_Expression
(Self : not null access UML_String_Expression;
To : AMF.UML.String_Expressions.UML_String_Expression_Access) is abstract;
-- Setter of StringExpression::owningExpression.
--
-- The string expression of which this expression is a substring.
not overriding function Get_Sub_Expression
(Self : not null access constant UML_String_Expression)
return AMF.UML.String_Expressions.Collections.Set_Of_UML_String_Expression is abstract;
-- Getter of StringExpression::subExpression.
--
-- The StringExpressions that constitute this StringExpression.
not overriding function String_Value
(Self : not null access constant UML_String_Expression)
return League.Strings.Universal_String is abstract;
-- Operation StringExpression::stringValue.
--
-- The query stringValue() returns the string that concatenates, in order,
-- all the component string literals of all the subexpressions that are
-- part of the StringExpression.
end AMF.UML.String_Expressions;
|
with Ada.Text_Io; use Ada.Text_Io;
procedure Test is
begin
Put_Line("Lul");
end Test;
|
-- C94007B.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.
--*
-- CHECK THAT A TASK THAT IS ALLOCATED IN A NON-LIBRARY PACKAGE
-- (SPECIFICATION OR BODY) DOES NOT "DEPEND" ON THE PACKAGE,
-- BUT ON THE INNERMOST ENCLOSING BLOCK, SUBPROGRAM BODY,
-- OR TASK BODY.
-- SUBTESTS ARE:
-- (A) A SIMPLE TASK ALLOCATOR, IN A VISIBLE PART, IN A BLOCK.
-- (B) A RECORD OF TASK ALLOCATOR, IN A PRIVATE PART, IN A FUNCTION.
-- (C) A RECORD OF ARRAY OF TASK ALLOCATOR, IN A PACKAGE BODY,
-- IN A TASK BODY.
-- JRK 10/16/81
-- SPS 11/2/82
-- PWN 01/31/95 REMOVED PRAGMA PRIORITY FOR ADA 9X.
with Impdef;
WITH REPORT; USE REPORT;
WITH SYSTEM; USE SYSTEM;
PROCEDURE C94007B IS
TASK TYPE SYNC IS
ENTRY ID (C : CHARACTER);
ENTRY INNER;
ENTRY OUTER;
END SYNC;
TASK BODY SYNC IS
ID_C : CHARACTER;
BEGIN
ACCEPT ID (C : CHARACTER) DO
ID_C := C;
END ID;
DELAY 1.0 * Impdef.One_Second;
SELECT
ACCEPT OUTER;
OR
DELAY 120.0 * Impdef.One_Second;
FAILED ("PROBABLY BLOCKED - (" & ID_C & ')');
END SELECT;
ACCEPT INNER;
END SYNC;
BEGIN
TEST ("C94007B", "CHECK THAT A TASK THAT IS ALLOCATED IN A " &
"NON-LIBRARY PACKAGE (SPECIFICATION OR BODY) " &
"DOES NOT ""DEPEND"" ON THE PACKAGE, BUT ON " &
"THE INNERMOST ENCLOSING BLOCK, SUBPROGRAM " &
"BODY, OR TASK BODY");
--------------------------------------------------
DECLARE -- (A)
S : SYNC;
BEGIN -- (A)
S.ID ('A');
DECLARE
PACKAGE PKG IS
TASK TYPE TT IS
ENTRY E;
END TT;
TYPE A_T IS ACCESS TT;
A : A_T;
END PKG;
PACKAGE BODY PKG IS
TASK BODY TT IS
BEGIN
S.INNER; -- PROBABLE INNER BLOCK POINT.
END TT;
BEGIN
A := NEW TT;
END PKG; -- PROBABLE OUTER BLOCK POINT.
BEGIN
S.OUTER;
EXCEPTION
WHEN TASKING_ERROR => NULL;
END;
END; -- (A)
--------------------------------------------------
DECLARE -- (B)
S : SYNC;
I : INTEGER;
FUNCTION F RETURN INTEGER IS
PACKAGE PKG IS
PRIVATE
TASK TYPE TT IS
ENTRY E;
END TT;
TYPE RT IS
RECORD
T : TT;
END RECORD;
TYPE ART IS ACCESS RT;
AR : ART;
END PKG;
PACKAGE BODY PKG IS
TASK BODY TT IS
BEGIN
S.INNER; -- PROBABLE INNER BLOCK POINT.
END TT;
BEGIN
AR := NEW RT;
END PKG; -- PROBABLE OUTER BLOCK POINT.
BEGIN -- F
S.OUTER;
RETURN 0;
EXCEPTION
WHEN TASKING_ERROR => RETURN 0;
END F;
BEGIN -- (B)
S.ID ('B');
I := F ;
END; -- (B)
--------------------------------------------------
DECLARE -- (C)
S : SYNC;
BEGIN -- (C)
S.ID ('C');
DECLARE
TASK TSK IS
END TSK;
TASK BODY TSK IS
PACKAGE PKG IS
END PKG;
PACKAGE BODY PKG IS
TASK TYPE TT IS
ENTRY E;
END TT;
TYPE ARR IS ARRAY (1..1) OF TT;
TYPE RAT IS
RECORD
T : ARR;
END RECORD;
TYPE ARAT IS ACCESS RAT;
ARA : ARAT;
TASK BODY TT IS
BEGIN
S.INNER; -- PROBABLE INNER BLOCK POINT.
END TT;
BEGIN
ARA := NEW RAT;
END PKG; -- PROBABLE OUTER BLOCK POINT.
BEGIN -- TSK
S.OUTER;
EXCEPTION
WHEN TASKING_ERROR => NULL;
END TSK;
BEGIN
NULL;
END;
END; -- (C)
--------------------------------------------------
RESULT;
END C94007B;
|
--------------------------------------------------------------------------------
-- * Spec name dft.ads
-- * Project name dfttest
-- *
-- * Version 1.0
-- * Last update 11/9/08
-- *
-- * Created by Adrian Hoe on 11/9/08.
-- * Copyright (c) 2008 AdaStar Informatics http://adastarinformatics.com
-- * All rights reserved.
-- *
--------------------------------------------------------------------------------
with Ada.Text_IO;
with Ada.Numerics;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Types;
use Ada.Numerics;
package Dft is
type Value_Type is new Float;
type Value_Vector is array ( Positive range <> ) of Value_Type;
package T_IO renames Ada.Text_IO;
package F_IO is new Ada.Text_IO.Float_IO ( Value_Type );
package Complex_Functions is new Ada.Numerics.Generic_Elementary_Functions ( Value_Type );
package Complex_Types is new Ada.Numerics.Generic_Complex_Types ( Value_Type );
use Complex_Functions;
use Complex_Types;
type Complex_Vector is array ( Positive range <> ) of Complex;
procedure Compute ( Input : in Value_Vector;
Output : out Complex_Vector);
end Dft;
|
-----------------------------------------------------------------------
-- awa-tests-helpers - Helpers for AWA unit tests
-- Copyright (C) 2011, 2017, 2018, 2020 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 GNAT.Regpat;
package body AWA.Tests.Helpers is
-- ------------------------------
-- Extract from the Location header the part that is after the given base string.
-- If the Location header does not start with the base string, returns the empty
-- string.
-- ------------------------------
function Extract_Redirect (Reply : in ASF.Responses.Mockup.Response'Class;
Base : in String) return String is
R : constant String := Reply.Get_Header ("Location");
begin
if R'Length < Base'Length then
return "";
elsif R (R'First .. R'First + Base'Length - 1) /= Base then
return "";
else
return R (R'First + Base'Length .. R'Last);
end if;
end Extract_Redirect;
function Extract_Redirect (Reply : in ASF.Responses.Mockup.Response'Class;
Base : in String) return Ada.Strings.Unbounded.Unbounded_String is
begin
return Ada.Strings.Unbounded.To_Unbounded_String (Extract_Redirect (Reply, Base));
end Extract_Redirect;
-- ------------------------------
-- Extract from the response content a link with a given title.
-- ------------------------------
function Extract_Link (Content : in String;
Title : in String) return String is
use GNAT.Regpat;
Pattern : constant String := " href=""([a-zA-Z0-9/]+)"">" & Title & "</a>";
Regexp : constant Pattern_Matcher := Compile (Expression => Pattern);
Result : GNAT.Regpat.Match_Array (0 .. 1);
begin
Match (Regexp, Content, Result);
if Result (1) = GNAT.Regpat.No_Match then
return "";
end if;
return Content (Result (1).First .. Result (1).Last);
end Extract_Link;
-- ------------------------------
-- Extract from the response content an HTML identifier that was generated
-- with the given prefix. The format is assumed to be <prefix>-<number>.
-- ------------------------------
function Extract_Identifier (Content : in String;
Prefix : in String) return ADO.Identifier is
use GNAT.Regpat;
Pattern : constant String := ".*[\\""']" & Prefix & "\-([0-9]+)[\\""']";
Regexp : constant Pattern_Matcher := Compile (Expression => Pattern);
Result : GNAT.Regpat.Match_Array (0 .. 1);
begin
Match (Regexp, Content, Result);
if Result (1) = GNAT.Regpat.No_Match then
return ADO.NO_IDENTIFIER;
end if;
return ADO.Identifier'Value (Content (Result (1).First .. Result (1).Last));
exception
when Constraint_Error =>
return ADO.NO_IDENTIFIER;
end Extract_Identifier;
end AWA.Tests.Helpers;
|
-- Implantation du module Ensembles.
package body Ensembles_Tableau is
procedure Initialiser (Ensemble : out T_Ensemble) is
begin
Ensemble.Taille := 0;
end Initialiser;
procedure Detruire (Ensemble : in out T_Ensemble) is
begin
Ensemble.Taille := 0;
end Detruire;
function Est_Vide (Ensemble : in T_Ensemble) return Boolean is
begin
return Ensemble.Taille = 0;
end Est_Vide;
function Taille (Ensemble : in T_Ensemble) return Integer is
begin
return Ensemble.Taille;
end Taille;
function Est_Present (Ensemble : in T_Ensemble; Element : in T_Element) return Boolean is
present : Boolean;
begin
present := False;
for i in 1..Taille (Ensemble) loop
if (Ensemble.Tab(i) = Element) then
present := True;
end if;
end loop;
return present;
end Est_Present;
procedure Ajouter (Ensemble : in out T_Ensemble; Element : in T_Element) is
begin
Ensemble.Taille := Ensemble.Taille + 1;
Ensemble.Tab(Ensemble.Taille) := Element;
end Ajouter;
procedure Supprimer (Ensemble : in out T_Ensemble; Element : in T_Element) is
i : Integer;
begin
i := 1;
while ( i <= Taille (Ensemble)) loop
if (Ensemble.Tab(i) = Element) Then
Ensemble.Tab(i) := Ensemble.Tab(Ensemble.Taille);
Ensemble.Taille := Ensemble.Taille - 1;
end if;
i := i + 1;
end loop;
end Supprimer;
procedure Appliquer_Sur_Tous (Ensemble : in T_Ensemble) is
begin
for i in 1..Ensemble.Taille loop
Operation (Ensemble.Tab (i));
end loop;
end Appliquer_Sur_Tous;
end Ensembles_Tableau;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . V A L _ W C H A R --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2012, 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 Interfaces; use Interfaces;
with System.Val_Util; use System.Val_Util;
with System.WCh_Cnv; use System.WCh_Cnv;
with System.WCh_Con; use System.WCh_Con;
package body System.Val_WChar is
--------------------------
-- Value_Wide_Character --
--------------------------
function Value_Wide_Character
(Str : String;
EM : System.WCh_Con.WC_Encoding_Method) return Wide_Character
is
WC : constant Wide_Wide_Character := Value_Wide_Wide_Character (Str, EM);
WV : constant Unsigned_32 := Wide_Wide_Character'Pos (WC);
begin
if WV > 16#FFFF# then
Bad_Value (Str);
else
return Wide_Character'Val (WV);
end if;
end Value_Wide_Character;
-------------------------------
-- Value_Wide_Wide_Character --
-------------------------------
function Value_Wide_Wide_Character
(Str : String;
EM : System.WCh_Con.WC_Encoding_Method) return Wide_Wide_Character
is
F : Natural;
L : Natural;
S : String (Str'Range) := Str;
begin
Normalize_String (S, F, L);
-- Character literal case
if S (F) = ''' and then S (L) = ''' then
-- Must be at least three characters
if L - F < 2 then
Bad_Value (Str);
-- If just three characters, simple character case
elsif L - F = 2 then
return Wide_Wide_Character'Val (Character'Pos (S (F + 1)));
-- Only other possibility for quoted string is wide char sequence
else
declare
P : Natural;
W : Wide_Wide_Character;
function In_Char return Character;
-- Function for instantiations of Char_Sequence_To_UTF_32
-------------
-- In_Char --
-------------
function In_Char return Character is
begin
P := P + 1;
if P = Str'Last then
Bad_Value (Str);
end if;
return Str (P);
end In_Char;
function UTF_32 is
new Char_Sequence_To_UTF_32 (In_Char);
begin
P := F + 1;
-- Brackets encoding
if S (F + 1) = '[' then
W := Wide_Wide_Character'Val (UTF_32 ('[', WCEM_Brackets));
else
W := Wide_Wide_Character'Val (UTF_32 (S (F + 1), EM));
end if;
if P /= L - 1 then
Bad_Value (Str);
end if;
return W;
end;
end if;
-- Deal with Hex_hhhhhhhh cases for wide_[wide_]character cases
elsif Str'Length = 12
and then Str (Str'First .. Str'First + 3) = "Hex_"
then
declare
W : Unsigned_32 := 0;
begin
for J in Str'First + 4 .. Str'First + 11 loop
W := W * 16 + Character'Pos (Str (J));
if Str (J) in '0' .. '9' then
W := W - Character'Pos ('0');
elsif Str (J) in 'A' .. 'F' then
W := W - Character'Pos ('A') + 10;
elsif Str (J) in 'a' .. 'f' then
W := W - Character'Pos ('a') + 10;
else
Bad_Value (Str);
end if;
end loop;
if W > 16#7FFF_FFFF# then
Bad_Value (Str);
else
return Wide_Wide_Character'Val (W);
end if;
end;
-- Otherwise must be one of the special names for Character
else
return
Wide_Wide_Character'Val (Character'Pos (Character'Value (Str)));
end if;
exception
when Constraint_Error =>
Bad_Value (Str);
end Value_Wide_Wide_Character;
end System.Val_WChar;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G N A T . S O C K E T S . T H I N . S I G N A L L I N G _ F D S --
-- --
-- B o d y --
-- --
-- Copyright (C) 2001-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. --
-- --
------------------------------------------------------------------------------
-- Portable sockets-based implementation of GNAT.Sockets.Thin.Signalling_Fds
-- used for platforms that do not support UNIX pipes.
-- Note: this code used to be in GNAT.Sockets, but has been moved to a
-- platform-specific file. It is now used only for non-UNIX platforms.
separate (GNAT.Sockets.Thin)
package body Signalling_Fds is
-----------
-- Close --
-----------
procedure Close (Sig : C.int) is
Res : C.int;
pragma Unreferenced (Res);
-- Res is assigned but never read, because we purposefully ignore
-- any error returned by the C_Close system call, as per the spec
-- of this procedure.
begin
Res := C_Close (Sig);
end Close;
------------
-- Create --
------------
function Create (Fds : not null access Fd_Pair) return C.int is
L_Sock, R_Sock, W_Sock : C.int := Failure;
-- Listening socket, read socket and write socket
Sin : aliased Sockaddr_In;
Len : aliased C.int;
-- Address of listening socket
Res : C.int;
pragma Warnings (Off, Res);
-- Return status of system calls (usually ignored, hence warnings off)
begin
Fds.all := (Read_End | Write_End => Failure);
-- We open two signalling sockets. One of them is used to send data
-- to the other, which is included in a C_Select socket set. The
-- communication is used to force the call to C_Select to complete,
-- and the waiting task to resume its execution.
loop
-- Retry loop, in case the C_Connect below fails
-- Create a listening socket
L_Sock := C_Socket (SOSC.AF_INET, SOSC.SOCK_STREAM, 0);
if L_Sock = Failure then
goto Fail;
end if;
-- Bind the socket to an available port on localhost
Set_Family (Sin.Sin_Family, Family_Inet);
Sin.Sin_Addr.S_B1 := 127;
Sin.Sin_Addr.S_B2 := 0;
Sin.Sin_Addr.S_B3 := 0;
Sin.Sin_Addr.S_B4 := 1;
Sin.Sin_Port := 0;
Len := C.int (Lengths (Family_Inet));
Res := C_Bind (L_Sock, Sin'Address, Len);
if Res = Failure then
goto Fail;
end if;
-- Get assigned port
Res := C_Getsockname (L_Sock, Sin'Address, Len'Access);
if Res = Failure then
goto Fail;
end if;
-- Set socket to listen mode, with a backlog of 1 to guarantee that
-- exactly one call to connect(2) succeeds.
Res := C_Listen (L_Sock, 1);
if Res = Failure then
goto Fail;
end if;
-- Create read end (client) socket
R_Sock := C_Socket (SOSC.AF_INET, SOSC.SOCK_STREAM, 0);
if R_Sock = Failure then
goto Fail;
end if;
-- Connect listening socket
Res := C_Connect (R_Sock, Sin'Address, Len);
exit when Res /= Failure;
if Socket_Errno /= SOSC.EADDRINUSE then
goto Fail;
end if;
-- In rare cases, the above C_Bind chooses a port that is still
-- marked "in use", even though it has been closed (perhaps by some
-- other process that has already exited). This causes the above
-- C_Connect to fail with EADDRINUSE. In this case, we close the
-- ports, and loop back to try again. This mysterious Windows
-- behavior is documented. See, for example:
-- http://msdn2.microsoft.com/en-us/library/ms737625.aspx
-- In an experiment with 2000 calls, 21 required exactly one retry, 7
-- required two, and none required three or more. Note that no delay
-- is needed between retries; retrying C_Bind will typically produce
-- a different port.
pragma Assert (Res = Failure
and then
Socket_Errno = SOSC.EADDRINUSE);
Res := C_Close (W_Sock);
W_Sock := Failure;
Res := C_Close (R_Sock);
R_Sock := Failure;
end loop;
-- Since the call to connect(2) has succeeded and the backlog limit on
-- the listening socket is 1, we know that there is now exactly one
-- pending connection on L_Sock, which is the one from R_Sock.
W_Sock := C_Accept (L_Sock, Sin'Address, Len'Access);
if W_Sock = Failure then
goto Fail;
end if;
-- Set TCP_NODELAY on W_Sock, since we always want to send the data out
-- immediately.
Set_Socket_Option
(Socket => Socket_Type (W_Sock),
Level => IP_Protocol_For_TCP_Level,
Option => (Name => No_Delay, Enabled => True));
-- Close listening socket (ignore exit status)
Res := C_Close (L_Sock);
Fds.all := (Read_End => R_Sock, Write_End => W_Sock);
return Thin_Common.Success;
<<Fail>>
declare
Saved_Errno : constant Integer := Socket_Errno;
begin
if W_Sock /= Failure then
Res := C_Close (W_Sock);
end if;
if R_Sock /= Failure then
Res := C_Close (R_Sock);
end if;
if L_Sock /= Failure then
Res := C_Close (L_Sock);
end if;
Set_Socket_Errno (Saved_Errno);
end;
return Failure;
end Create;
----------
-- Read --
----------
function Read (Rsig : C.int) return C.int is
Buf : aliased Character;
begin
return C_Recv (Rsig, Buf'Address, 1, SOSC.MSG_Forced_Flags);
end Read;
-----------
-- Write --
-----------
function Write (Wsig : C.int) return C.int is
Buf : aliased Character := ASCII.NUL;
begin
return C_Sendto
(Wsig, Buf'Address, 1,
Flags => SOSC.MSG_Forced_Flags,
To => System.Null_Address,
Tolen => 0);
end Write;
end Signalling_Fds;
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Posix;
with HAL;
with HAL.SPI; use HAL.SPI;
with HAL.I2C; use HAL.I2C;
with Native.SPI; -- use Native.SPI;
with Native.I2C;
procedure Spi_Test is
SPI_Device : String := "/dev/spidev0.0";
SPI_Conf : Native.SPI.SPI_Configuration :=
(Data_Size => HAL.SPI.Data_Size_16b,
Clock_Polarity => Native.SPI.High,
Clock_Phase => Native.SPI.P1Edge,
Slave_Manager => Native.SPI.Hardware_Managed,
First_Bit => Native.SPI.MSB,
Baud_Rate => 100_000);
SPI_Port : Native.SPI.SPI_Port;
SPI_Status : HAL.SPI.SPI_Status;
SPI_Out_Data : HAL.SPI.SPI_Data_16b(1..1) := (1 => 16#D0#);
SPI_In_Data : HAL.SPI.SPI_Data_16b(1..1);
I2C_Device : String := "/dev/i2c-1";
I2C_Conf : Native.I2C.I2C_Configuration :=
(Addressing_Mode => Native.I2C.Addressing_Mode_7bit,
Ack => Native.I2C.Ack_Enable,
Device_Mode => Native.I2C.I2C_Mode);
I2C_Port : Native.I2C.I2C_Port;
I2C_Status : HAL.I2C.I2C_Status;
I2C_Addr : HAL.I2C.I2C_Address := 16#0A#;
I2C_Data : HAL.I2C.I2C_Data := (5,6,7,8);
begin
Put_Line ("Hello SPI");
-- Initialize the SPI_Port with given Configuration
SPI_Port := Native.SPI.Configure (SPI_Device, SPI_Conf, SPI_Status);
if SPI_Status /= HAL.SPI.Ok then
Put_Line ("Error while initializing SPI Device");
return;
end if;
-- Send Data over the Wire
Put_Line ("SPI Initialized, attempt to send");
SPI_Port.Transmit(SPI_Out_Data, SPI_Status);
if SPI_Status /= HAL.SPI.Ok then
Put_Line ("Error while transmitting SPI data");
return;
end if;
Put_Line ("Transmission was successfull");
SPI_Port.Receive(SPI_In_Data, SPI_Status);
if SPI_Status /= HAL.SPI.Ok then
Put_Line ("Error while receiving SPI data");
return;
end if;
Put ("Reveiced value:");
Put (Integer(SPI_In_Data(1)), 2);
New_Line;
Put_Line ("Hello I2C");
I2C_Port := Native.I2C.Configure (I2C_Device, I2C_Conf, I2C_Status);
if I2C_Status /= HAL.I2C.Ok then
Put_Line ("Error while initializing I2C Device");
end if;
I2C_Port.Master_Transmit (I2C_Addr, I2C_Data, I2C_Status);
if I2C_Status /= HAL.I2C.Ok then
Put_Line ("Error while transmitting I2C data");
end if;
end;
|
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <denkpadje@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.Real_Time;
with Orka.Behaviors;
with Orka.Cameras;
with Orka.Jobs;
with Orka.Rendering.Fences;
with Orka.Simulation;
with Orka.Transforms.Singles.Vectors;
with Orka.Windows;
private package Orka.Simulation_Jobs is
use Ada.Real_Time;
type Buffer_Region_Type is mod 4;
package Transforms renames Orka.Transforms.Singles.Vectors;
package Fences is new Orka.Rendering.Fences (Buffer_Region_Type);
-----------------------------------------------------------------------------
function Clone_Fixed_Update_Job
(Job : Jobs.Parallel_Job_Ptr;
Length : Positive) return Jobs.Dependency_Array;
function Create_Fixed_Update_Job
(Scene : not null Behaviors.Behavior_Array_Access;
Time_Step : Time_Span;
Count : Natural) return Jobs.Parallel_Job_Ptr;
function Create_Finished_Job
(Scene : not null Behaviors.Behavior_Array_Access;
Time_Step : Time_Span;
Position : Behaviors.Vector4;
Batch_Length : Positive) return Jobs.Job_Ptr;
-----------------------------------------------------------------------------
function Create_Start_Render_Job
(Fence : not null access Fences.Buffer_Fence) return Jobs.Job_Ptr;
function Create_Scene_Render_Job
(Render : Simulation.Render_Ptr;
Scene : not null Behaviors.Behavior_Array_Access;
Camera : Cameras.Camera_Ptr) return Jobs.Job_Ptr;
function Create_Finish_Render_Job
(Fence : not null access Fences.Buffer_Fence) return Jobs.Job_Ptr;
end Orka.Simulation_Jobs;
|
------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . E R R O R --
-- S p e c --
------------------------------------------------------------------------------
with Interfaces;
with Interfaces.C;
with Interfaces.C.Strings;
--
-- Interface to Agar's error handling routines. Notably, Set_Error sets the
-- error message and Get_Error returns it. In threaded builds, the error
-- message string is thread-specific (accessed via thread-local storage).
--
package Agar.Error is
function Get_Error return String;
procedure Set_Error (Message : in String);
procedure Fatal_Error (Message : in String);
type Error_Callback_Access is access procedure (Message : in String);
procedure Set_Fatal_Callback (Callback : Error_Callback_Access);
private
package C renames Interfaces.C;
package CS renames Interfaces.C.Strings;
type Fatal_Callback_Func_Access is not null access procedure
(Message : in CS.chars_ptr)
with Convention => C;
procedure AG_SetErrorS
(Message : in CS.chars_ptr)
with Import, Convention => C, Link_Name => "AG_SetErrorS";
procedure AG_FatalError
(Message : in CS.chars_ptr)
with Import, Convention => C, Link_Name => "AG_FatalError";
function AG_GetError return CS.chars_ptr
with Import, Convention => C, Link_Name => "AG_GetError";
procedure AG_SetFatalCallback (Callback : Fatal_Callback_Func_Access)
with Import, Convention => C, Link_Name => "AG_SetFatalCallback";
end Agar.Error;
|
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired)
--
-- Copyright William A. Whitaker (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission is hereby freely given for any and all use of program
-- and data. You can sell it as your own, but at least tell me.
--
-- This version is distributed without obligation, but the developer
-- would appreciate comments and suggestions.
--
-- All parts of the WORDS system, source code and data files, are made freely
-- available to anyone who wishes to use them, for whatever purpose.
--
-- This file needs a lot of work; details are in the comments at the bottom
-- of the file.
--
with Ada.Text_IO;
with Latin_Utils.Strings_Package; use Latin_Utils.Strings_Package;
with Support_Utils.Word_Parameters; use Support_Utils.Word_Parameters;
with Support_Utils.Developer_Parameters; use Support_Utils.Developer_Parameters;
with Latin_Utils.Inflections_Package; use Latin_Utils.Inflections_Package;
with Support_Utils.Word_Support_Package; use Support_Utils.Word_Support_Package;
with Words_Engine.Word_Package; use Words_Engine.Word_Package;
with Words_Engine.Put_Stat;
with Words_Engine.Roman_Numerals_Package;
use Words_Engine.Roman_Numerals_Package;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Words_Engine.Trick_Tables; use Words_Engine.Trick_Tables;
package body Words_Engine.Tricks is
function Is_A_Vowel (C : Character) return Boolean is
begin
case Lower_Case (C) is
when 'a' | 'e' | 'i' | 'o' | 'u' | 'y' =>
return True;
when others =>
return False;
end case;
end Is_A_Vowel;
procedure Roman_Numerals
(Input_Word : String;
Pa : in out Parse_Array;
Pa_Last : in out Integer;
Xp : in out Explanations) is
begin
Roman_Numerals_Package.Roman_Numerals (Input_Word, Pa, Pa_Last, Xp);
end Roman_Numerals;
procedure Syncope (W : String;
Pa : in out Parse_Array;
Pa_Last : in out Integer;
Xp : in out Explanations)
is
S : constant String (1 .. W'Length) := Lower_Case (W);
Pa_Save : constant Integer := Pa_Last;
Syncope_Inflection_Record : constant Inflection_Record :=
Null_Inflection_Record;
-- ((V, ((0, 0), (X, X, X), 0, X, X)), 0, NULL_ENDING_RECORD, X, A);
procedure Explain_Syncope (Explanatory_Text, Stat_Text : String) is
begin
Xp.Yyy_Meaning := Head (Explanatory_Text, Max_Meaning_Size);
Put_Stat (Stat_Text & Head (Integer'Image (Line_Number), 8) &
Head (Integer'Image (Word_Number), 4) &
" " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
end Explain_Syncope;
begin
-- Syncopated forms (see Gildersleeve and Lodge, 131)
Xp.Yyy_Meaning := Null_Meaning_Type;
-- This one has to go first -- special for 3 4
-- ivi => ii , in perfect (esp. for V 3 4)
-- This is handled in WORDS as syncope
-- It seems to appear in texts as alternative stems ii and ivi
for I in reverse S'First .. S'Last - 1 loop
if S (I .. I + 1) = "ii" then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := ("Syncope ii => ivi", Syncope_Inflection_Record,
Yyy, Null_MNPC);
Word (S (S'First .. I) & "v" & S (I + 1 .. S'Last), Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
exit;
end if;
end if;
Pa_Last := Pa_Save; -- No luck, or it would have exited above
end loop;
if Pa_Last > Pa_Save + 1 and then
Pa (Pa_Last).IR.Qual.Pofs = V and then
--PA (PA_LAST).IR.QUAL.V.CON = (3, 4)/(6, 1) and then
Pa (Pa_Last).IR.Key = 3
then -- Perfect system
Explain_Syncope
("Syncopated perfect ivi can drop 'v' without contracting vowel ",
" SYNCOPE ivi at ");
return;
else
Pa_Last := Pa_Save;
end if;
-- avis => as, evis => es, ivis => is, ovis => os in perfect
for I in reverse S'First .. S'Last - 2 loop -- Need isse
declare
Fragment : constant String := S (I .. I + 1);
Fragments : constant Strings := (+"as", +"es", +"is", +"os");
begin
if Member (+Fragment, Fragments)
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) :=
("Syncope s => vis", Syncope_Inflection_Record,
Yyy, Null_MNPC);
Word (S (S'First .. I) & "vi" & S (I + 1 .. S'Last),
Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
exit; -- Exit loop here if SYNCOPE found hit
end if;
end if;
Pa_Last := Pa_Save; -- No luck, or it would have exited above
end;
end loop;
-- Loop over the resulting solutions
if Pa_Last > Pa_Save + 1 and then
Pa (Pa_Last).IR.Qual.Pofs = V and then
Pa (Pa_Last).IR.Key = 3
then -- Perfect system
Explain_Syncope
("Syncopated perfect often drops the 'v' and contracts vowel ",
"SYNCOPE vis at ");
end if;
-- end loop; -- over resulting solutions
if Pa_Last > Pa_Save + 1 then
return;
else
Pa_Last := Pa_Save;
end if;
-- aver => ar, ever => er, in perfect
for I in reverse S'First + 1 .. S'Last - 2 loop
declare
Fragment : constant String := S (I .. I + 1);
Fragments : constant Strings := (+"ar", +"er", +"or");
begin
if Member (+Fragment, Fragments)
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := ("Syncope r => v.r", Syncope_Inflection_Record,
Yyy, Null_MNPC);
Word (S (S'First .. I) & "ve" & S (I + 1 .. S'Last),
Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
exit;
end if;
end if;
Pa_Last := Pa_Save; -- No luck, or it would have exited above
end;
end loop;
if Pa_Last > Pa_Save + 1 and then
Pa (Pa_Last).IR.Qual.Pofs = V and then
Pa (Pa_Last).IR.Key = 3
then -- Perfect system
Explain_Syncope
("Syncopated perfect often drops the 'v' and contracts vowel ",
"SYNCOPE ver at ");
return;
else
Pa_Last := Pa_Save;
end if;
-- iver => ier, in perfect
for I in reverse S'First .. S'Last - 3 loop
if S (I .. I + 2) = "ier" then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := ("Syncope ier=>iver", Syncope_Inflection_Record,
Yyy, Null_MNPC);
Word (S (S'First .. I) & "v" & S (I + 1 .. S'Last), Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
exit;
end if;
end if;
Pa_Last := Pa_Save; -- No luck, or it would have exited above
end loop;
if Pa_Last > Pa_Save + 1 and then
Pa (Pa_Last).IR.Qual.Pofs = V and then
Pa (Pa_Last).IR.Key = 3
then -- Perfect system
Explain_Syncope
("Syncopated perfect often drops the 'v' and contracts vowel ",
"SYNCOPE ier at ");
return;
else
Pa_Last := Pa_Save;
end if;
-- -- sis => s, xis => x, in perfect
for I in reverse S'First .. S'Last - 2 loop
declare
Fragment : constant Character := S (I);
begin
if (Fragment = 's') or
(Fragment = 'x')
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) :=
("Syncope s/x => +is", Syncope_Inflection_Record,
Yyy, Null_MNPC);
Word (S (S'First .. I) & "is" & S (I + 1 .. S'Last),
Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
exit; -- Exit loop here if SYNCOPE found hit
end if;
end if;
Pa_Last := Pa_Save; -- No luck, or it would have exited above
end;
end loop;
-- Loop over the resulting solutions
if Pa_Last > Pa_Save + 1 and then
Pa (Pa_Last).IR.Qual.Pofs = V and then
Pa (Pa_Last).IR.Key = 3
then -- Perfect system
Explain_Syncope
("Syncopated perfect sometimes drops the 'is' after 's' or 'x' ",
"SYNCOPEx/sis at ");
return;
else
Pa_Last := Pa_Save;
end if;
-- end loop; -- over resulting solutions
if Pa_Last > Pa_Save + 1 then
return;
else
Pa_Last := Pa_Save;
end if;
Pa (Pa_Last + 1) := Null_Parse_Record; -- Just to clear the tries
exception
when others =>
Pa_Last := Pa_Save;
Pa (Pa_Last + 1) := Null_Parse_Record; -- Just to clear the tries
end Syncope;
procedure Try_Tricks
(W : String;
Pa : in out Parse_Array;
Pa_Last : in out Integer;
Line_Number : Integer;
Word_Number : Integer;
Xp : in out Explanations)
is
-- Since the chances are 1/1000 that we have one,
-- Ignore the possibility of two in the same word
-- That is called lying with statistics
S : constant String (1 .. W'Length) := W;
Pa_Save : constant Integer := Pa_Last;
procedure Tword (W : String;
Pa : in out Parse_Array; Pa_Last : in out Integer) is
begin
Word_Package.Word (W, Pa, Pa_Last);
Syncope (W, Pa, Pa_Last, Xp);
end Tword;
procedure Flip (X1, X2 : String; Explanation : String := "") is
-- At the beginning of Input word, replaces X1 by X2
Pa_Save : constant Integer := Pa_Last;
Canned_Explanation : constant String := "' may have replaced usual '";
Function_Id : constant String := "TRICK";
begin
if S'Length >= X1'Length + 2 and then
S (S'First .. S'First + X1'Length - 1) = X1
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & X1 & "/" & X2, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X2 & S (S'First + X1'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 & Canned_Explanation & X2 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat (Function_Id & " FLIP at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
Pa_Last := Pa_Save;
end Flip;
procedure Flip_Flop (X1, X2 : String; Explanation : String := "") is
-- At the beginning of Input word, replaces X1 by X2 - then X2 by X1
-- To be used only when X1 and X2 start with the same letter because
-- it will be called from a point where the first letter is
-- established
Pa_Save : constant Integer := Pa_Last;
begin
--TEXT_IO.PUT_LINE ("FLIP_FLOP called " & X1 & " " & X2);
if S'Length >= X1'Length + 2 and then
S (S'First .. S'First + X1'Length - 1) = X1
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & X1 & "/" & X2, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X2 & S (S'First + X1'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
--TEXT_IO.PUT_LINE ("FLIPF worked");
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 & "' may be rendered by '" & X2 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("TRICK FLIPF at "
& Head (Integer'Image (Line_Number), 8) &
Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
--TEXT_IO.PUT_LINE ("FLIPF failed");
--TEXT_IO.PUT_LINE ("Try FFLOP");
if S'Length >= X2'Length + 2 and then
S (S'First .. S'First + X2'Length - 1) = X2
then
--TEXT_IO.PUT_LINE ("Trying FFLOP");
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & X2 & "/" & X1, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X1 & S (S'First + X2'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
--TEXT_IO.PUT_LINE ("FFLOP worked");
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X2 & "' may be rendered by '" & X1 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("TRICK FFLOP at "
& Head (Integer'Image (Line_Number), 8) &
Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
--TEXT_IO.PUT_LINE ("FFLIP failed");
Pa_Last := Pa_Save;
end Flip_Flop;
procedure Internal (X1, X2 : String; Explanation : String := "") is
-- Replaces X1 with X2 anywhere in word and tries it for validity
Pa_Save : constant Integer := Pa_Last;
begin
for I in S'First .. S'Last - X1'Length + 1 loop
if S (I .. I + X1'Length - 1) = X1 then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) :=
(Head ("Word mod " & X1 & "/" & X2, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (S (S'First .. I - 1) & X2 &
S (I + X1'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An internal '" & X1 &
"' might be rendered by '" & X2 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("TRICK INTR at "
& Head (Integer'Image (Line_Number), 8) &
Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
end loop;
Pa_Last := Pa_Save;
end Internal;
procedure Adj_Terminal_Iis (Explanation : String := "") is
Pa_Save : constant Integer := Pa_Last;
I : Integer := 0;
begin
if S'Length > 3 and then
S (S'Last - 1 .. S'Last) = "is"
then -- Terminal 'is'
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod iis -> is", Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Word (S (S'First .. S'Last - 2) & "iis", Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
I := Pa_Last;
while I > Pa_Save + 1 loop
if Pa (I).IR.Qual.Pofs = Adj and then
Pa (I).IR.Qual.Adj.Decl = (1, 1) and then
((Pa (I).IR.Qual.Adj.Of_Case = Dat) or
(Pa (I).IR.Qual.Adj.Of_Case = Abl)) and then
Pa (I).IR.Qual.Adj.Number = P
then
null; -- Only for ADJ 1 1 DAT/ABL P
else
Pa (I .. Pa_Last - 1) := Pa (I + 1 .. Pa_Last);
Pa_Last := Pa_Last - 1;
end if;
I := I - 1;
end loop;
end if;
if Pa_Last > Pa_Save + 1 then
if Explanation = "" then
Xp.Xxx_Meaning := Head
("A Terminal 'iis' on ADJ 1 1 DAT/ABL P might drop 'i'",
Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("TRICK ADJIS at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
Pa_Last := Pa_Save;
end Adj_Terminal_Iis;
procedure Double_Consonants (Explanation : String := "") is
Pa_Save : constant Integer := Pa_Last;
begin
-- Medieval often replaced a classical doubled consonant with single
-- The problem is to take possible medieval words
-- and double (all) (isolated) consonants
for I in S'First + 1 .. S'Last - 1 loop
-- probably don't need to go to end
if (not Is_A_Vowel (S (I))) and then
(Is_A_Vowel (S (I - 1)) and Is_A_Vowel (S (I + 1)))
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & S (I) &
" -> " & S (I) & S (I), Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (S (S'First .. I) & S (I)
& S (I + 1 .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"A doubled consonant may be rendered by just the single"
& " MEDIEVAL", Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("TRICK 2CON at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
end loop;
Pa_Last := Pa_Save;
end Double_Consonants;
procedure Two_Words (Explanation : String := "") is
-- This procedure examines the word to determine if it is made up
-- of two separate inflectted words
-- They are usually an adjective and a noun or two nouns
Pa_Save : constant Integer := Pa_Last;
Pa_Second : Integer := Pa_Last;
Num_Hit_One, Num_Hit_Two : Boolean := False;
--MID : INTEGER := S'LENGTH/2;
I, I_Mid : Integer := 0;
Remember_Syncope : Boolean := False;
procedure Words_No_Syncope
(W : String;
Pa : in out Parse_Array;
Pa_Last : in out Integer)
is
begin
if Words_Mdev (Do_Syncope) then
Remember_Syncope := True;
Words_Mdev (Do_Syncope) := False;
end if;
Word_Package.Word (W, Pa, Pa_Last);
if Remember_Syncope then
Words_Mdev (Do_Syncope) := True;
end if;
end Words_No_Syncope;
begin
--if S (S'FIRST) /= 'q' then -- qu words more complicated
if S'Length < 5 then -- Don't try on too short words
return;
end if;
I := 2;
-- Smallest is re-publica, but that killed by PREFIX, meipsum
Outer_Loop :
while I < S'Length - 2 loop
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Two words", Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
while I < S'Length - 2 loop
--TEXT_IO.PUT_LINE ("Trying " & S (S'FIRST .. S'FIRST+I - 1));
if not Common_Prefix (S (S'First .. S'First + I - 1)) then
Words_No_Syncope (S (S'First .. S'First + I - 1),
Pa, Pa_Last);
if Pa_Last > Pa_Save + 1 then
I_Mid := I;
for J in Pa_Save + 1 .. Pa_Last loop
if Pa (J).IR.Qual.Pofs = Num then
Num_Hit_One := True;
exit;
end if;
end loop;
exit;
end if;
end if;
I := I + 1;
end loop;
if Pa_Last > Pa_Save + 1 then
null;
else
Pa_Last := Pa_Save;
return;
end if;
-- Now for second word
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := Null_Parse_Record; -- Separator
Pa_Second := Pa_Last;
Words_No_Syncope (S (I_Mid + 1 .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Second) and then
-- No + 1 since XXX taken care of above
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
for J in Pa_Second .. Pa_Last loop
if Pa (J).IR.Qual.Pofs = Num then
Num_Hit_Two := True;
exit;
end if;
end loop;
if Explanation = "" then
if Words_Mode (Trim_Output) and then
-- Should check that cases correspond
(Num_Hit_One and Num_Hit_Two)
then
-- Clear out any non-NUM if we are in TRIM
for J in Pa_Save + 1 .. Pa_Last loop
if Pa (J).D_K in General .. Unique and then
Pa (J).IR.Qual.Pofs /= Num
then
Pa (J .. Pa_Last - 1) := Pa (J + 1 .. Pa_Last);
Pa_Last := Pa_Last - 1;
end if;
end loop;
Xp.Xxx_Meaning := Head (
"It is very likely a compound number " &
S (S'First .. S'First + I - 1) & " + " &
S (S'First + I .. S'Last), Max_Meaning_Size);
Put_Stat ("TRICK 2NUM at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " &
S (1 .. I_Mid) & '+' & S (I_Mid + 1 .. S'Last));
else
Xp.Xxx_Meaning := Head (
"May be 2 words combined (" &
S (S'First .. S'First + I - 1) & "+" &
S (S'First + I .. S'Last) &
") If not obvious, probably incorrect",
Max_Meaning_Size);
Put_Stat ("TRICK 2WDS at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " &
S (1 .. I_Mid) & '+' & S (I_Mid + 1 .. S'Last));
end if;
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
return;
else
Pa_Last := Pa_Save;
end if;
I := I + 1;
end loop Outer_Loop;
Pa_Last := Pa_Save; -- No success, so reset to clear the TRICK PA
-- I could try to check cases/gender/number for matches
-- Discard all that do not have a match
-- ADJ, N, NUM
-- But that is probably being too pedantic for a case which may be
-- sloppy
end Two_Words;
-- FIXME: next two declarations (Finished and Iter_Tricks) duplicated
-- entirely, pending reintegration
Finished : Boolean := False;
procedure Iter_Tricks (TT : TricksT)
is
begin
for T in TT'Range loop
case TT (T).Op is
when TC_Flip_Flop =>
Flip_Flop (
To_String (TT (T).FF1),
To_String (TT (T).FF2));
when TC_Flip =>
Flip (
To_String (TT (T).FF3),
To_String (TT (T).FF4));
when TC_Internal =>
Internal (
To_String (TT (T).I1),
To_String (TT (T).I2));
when TC_Slur =>
raise Tricks_Exception;
end case;
if Pa_Last > TT (T).Max then
Finished := True;
return;
end if;
end loop;
Finished := False;
end Iter_Tricks;
begin
-- These things might be genericized, at least the PA (1) assignments
--TEXT_IO.PUT_LINE ("TRICKS called");
Xp.Xxx_Meaning := Null_Meaning_Type;
-- If there is no satisfaction from above, we will try further
case S (S'First) is
when 'i' =>
-- for some forms of eo the stem "i" grates with an "is .. ." ending
if S'Length > 1 and then
S (S'First .. S'First + 1) = "is"
then
Pa (1) := ("Word mod is => iis", Null_Inflection_Record,
Xxx, Null_MNPC);
Pa_Last := 1;
Tword ("i" & S (S'First .. S'Last), Pa, Pa_Last);
end if;
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon) and then
Pa (Pa_Last).IR.Qual.Pofs = V and then
Pa (Pa_Last).IR.Qual.Verb.Con = (6, 1)
then -- Check it is V 6 1 eo
Xp.Xxx_Meaning := Head (
"Some forms of eo stem 'i' grates with " &
"an 'is .. .' ending, so 'is' -> 'iis' "
, Max_Meaning_Size);
return;
else
Pa_Last := 0;
end if;
when 'a' | 'd' | 'e' | 'f' | 'g' | 'h' | 'k' | 'l' | 'm' | 'n' |
'o' | 'p' | 's' | 't' | 'u' | 'y' | 'z' =>
Iter_Tricks (Get_Tricks_Table (S (S'First)));
if Finished then
return;
end if;
when others =>
null;
end case; -- case on first letter
Iter_Tricks (Any_Tricks);
if Finished then
return;
end if;
Adj_Terminal_Iis;
if Pa_Last > 0 then
return;
end if;
---------------------------------------------------------------
if Words_Mdev (Do_Medieval_Tricks) then
-- Medieval -> Classic
Iter_Tricks (Mediaeval_Tricks);
if Finished then
return;
end if;
Double_Consonants;
end if;
-- Medieval Tricks
---------------------------------------------------------------
if not (Words_Mode (Ignore_Unknown_Names) and Capitalized) then
-- Don't try on Names
if Words_Mdev (Do_Two_Words) then
Two_Words;
end if;
end if;
-- It could be an improperly formed Roman Numeral
if Only_Roman_Digits (W) then
Pa_Last := 1;
Pa (1) := ("Bad Roman Numeral?", Null_Inflection_Record,
Xxx, Null_MNPC);
Xp.Xxx_Meaning := Null_Meaning_Type;
Xp.Rrr_Meaning := Head (Integer'Image (Bad_Roman_Number (W))
& " as ill-formed ROMAN NUMERAL?;",
Max_Meaning_Size);
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (
Stem => Head (W, Max_Stem_Size),
IR => (
Qual => (
Pofs => Num,
Num => (
Decl => (2, 0),
Of_Case => X,
Number => X,
Gender => X,
Sort => Card)),
Key => 0,
Ending => Null_Ending_Record,
Age => X,
Freq => D),
D_K => Rrr,
MNPC => Null_MNPC);
return;
end if;
exception
when others => -- I want to ignore anything that happens in TRICKS
Pa_Last := Pa_Save;
Pa (Pa_Last + 1) := Null_Parse_Record; -- Just to clear the tries
Ada.Text_IO.Put_Line ( -- ERROR_FILE,
"Exception in TRY_TRICKS processing " & W);
end Try_Tricks;
procedure Try_Slury
(W : String;
Pa : in out Parse_Array;
Pa_Last : in out Integer;
Line_Number : Integer;
Word_Number : Integer;
Xp : in out Explanations)
is
-- Since the chances are 1/1000 that we have one,
-- Ignore the possibility of two in the same word
-- That is called lying with statistics
S : constant String (1 .. W'Length) := W;
Pa_Save : constant Integer := Pa_Last;
procedure Tword (W : String;
Pa : in out Parse_Array; Pa_Last : in out Integer) is
Save_Use_Prefixes : constant Boolean := Words_Mdev (Use_Prefixes);
begin
Words_Mdev (Use_Prefixes) := False;
Word_Package.Word (W, Pa, Pa_Last);
Syncope (W, Pa, Pa_Last, Xp);
Words_Mdev (Use_Prefixes) := Save_Use_Prefixes;
end Tword;
procedure Flip (X1, X2 : String; Explanation : String := "") is
-- At the beginning of Input word, replaces X1 by X2
Pa_Save : constant Integer := Pa_Last;
Canned_Explanation : constant String := "' may be rendered by '";
Function_Id : constant String := "SLURY";
begin
if S'Length >= X1'Length + 2 and then
S (S'First .. S'First + X1'Length - 1) = X1
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & X1 & "/" & X2, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X2 & S (S'First + X1'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 & Canned_Explanation & X2 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat (Function_Id & " FLIP at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
Pa_Last := Pa_Save;
end Flip;
procedure Flip_Flop (X1, X2 : String; Explanation : String := "") is
-- At the beginning of Input word, replaces X1 by X2 - then X2 by X1
-- To be used only when X1 and X2 start with the same letter because
-- it will be called from a point where the first letter is
-- established
Pa_Save : constant Integer := Pa_Last;
begin
if S'Length >= X1'Length + 2 and then
S (S'First .. S'First + X1'Length - 1) = X1
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & X1 & "/" & X2, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X2 & S (S'First + X1'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 & "' may be rendered by '" & X2 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("SLURY FLOP at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
elsif S'Length >= X2'Length + 2 and then
S (S'First .. S'First + X2'Length - 1) = X2
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Word mod " & X2 & "/" & X1, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X1 & S (S'First + X2'Length .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 & "' may be rendered by '" & X2 & "'"
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("SLURY FLOP at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
Pa_Last := Pa_Save;
end Flip_Flop;
procedure Slur (X1 : String; Explanation : String := "") is
Pa_Save : constant Integer := Pa_Last;
Sl : constant Integer := X1'Length;
begin
if S'Length >= X1'Length + 2 then
if S (S'First .. S'First + X1'Length - 1) = X1
and then -- Initial X1
not Is_A_Vowel (S (S'First + Sl))
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) :=
(Head ("Slur " & X1 & "/" & X1 (X1'First .. Sl - 1)
& "~", Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X1 (X1'First .. Sl - 1) & S (S'First + Sl)
& S (S'First + Sl .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 & "' may be rendered by "
& X1 (X1'First .. X1'Last - 1) & "~",
Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("SLURY SLUR at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
elsif (S (S'First .. S'First + Sl - 1) = X1 (X1'First .. Sl - 1))
and then
(S (S'First + Sl - 1) = S (S'First + Sl))
and then -- double letter
not Is_A_Vowel (S (S'First + Sl))
then
Pa_Last := Pa_Last + 1;
Pa (Pa_Last) := (Head ("Slur " & X1 (X1'First .. Sl - 1)
& "~" & "/" & X1, Max_Stem_Size),
Null_Inflection_Record,
Xxx, Null_MNPC);
Tword (X1 & S (S'First + Sl .. S'Last), Pa, Pa_Last);
if (Pa_Last > Pa_Save + 1) and then
(Pa (Pa_Last - 1).IR.Qual.Pofs /= Tackon)
then
if Explanation = "" then
Xp.Xxx_Meaning := Head (
"An initial '" & X1 (X1'First .. Sl - 1)
& "~" & "' may be rendered by " & X1
, Max_Meaning_Size);
else
Xp.Xxx_Meaning := Head (Explanation, Max_Meaning_Size);
end if;
Put_Stat ("SLURY SLUR at "
& Head (Integer'Image (Line_Number), 8)
& Head (Integer'Image (Word_Number), 4)
& " " & Head (W, 20) & " " & Pa (Pa_Save + 1).Stem);
return;
else
Pa_Last := Pa_Save;
end if;
end if;
end if;
Pa_Last := Pa_Save;
end Slur;
-- FIXME: next two declarations (Finished and Iter_Tricks) duplicated
-- entirely, pending reintegration
Finished : Boolean := False;
procedure Iter_Tricks (TT : TricksT)
is
begin
for T in TT'Range loop
case TT (T).Op is
when TC_Flip_Flop =>
Flip_Flop (
To_String (TT (T).FF1),
To_String (TT (T).FF2));
when TC_Flip =>
Flip (
To_String (TT (T).FF3),
To_String (TT (T).FF4));
when TC_Internal =>
raise Tricks_Exception;
when TC_Slur =>
Slur (
To_String (TT (T).S1));
end case;
if Pa_Last > TT (T).Max then
Finished := True;
return;
end if;
end loop;
Finished := False;
end Iter_Tricks;
begin
--XXX_MEANING := NULL_MEANING_TYPE;
-- If there is no satisfaction from above, we will try further
case S (S'First) is
when 'a' | 'c' | 'i' | 'n' | 'o' | 'q' | 's' =>
Iter_Tricks (Get_Slur_Tricks_Table (S (S'First)));
if Finished then
return;
end if;
when others =>
null;
end case; -- if on first letter
exception
when others => -- I want to ignore anything that happens in SLURY
Pa_Last := Pa_Save;
Pa (Pa_Last + 1) := Null_Parse_Record; -- Just to clear the tries
Ada.Text_IO.Put_Line ( -- ERROR_FILE,
"Exception in TRY_SLURY processing " & W);
end Try_Slury;
end Words_Engine.Tricks;
-- Work remaining to be done:
--
-- * analyse all the things that can be factored back together
-- * factor out the 4 branches of Syncope ()
-- * brances of flip flop are almost identical
-- * there seem to be two copies of flip and flip flop
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . I N T E R R U P T S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1991-1994, Florida State University --
-- Copyright (C) 1995-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/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This version is for systems that do not support interrupts (or signals)
package body System.Interrupts is
pragma Warnings (Off); -- kill warnings on unreferenced formals
use System.Tasking;
-----------------------
-- Local Subprograms --
-----------------------
procedure Unimplemented;
-- This procedure raises a Program_Error with an appropriate message
-- indicating that an unimplemented feature has been used.
--------------------
-- Attach_Handler --
--------------------
procedure Attach_Handler
(New_Handler : Parameterless_Handler;
Interrupt : Interrupt_ID;
Static : Boolean := False)
is
begin
Unimplemented;
end Attach_Handler;
-----------------------------
-- Bind_Interrupt_To_Entry --
-----------------------------
procedure Bind_Interrupt_To_Entry
(T : Task_Id;
E : Task_Entry_Index;
Int_Ref : System.Address)
is
begin
Unimplemented;
end Bind_Interrupt_To_Entry;
---------------------
-- Block_Interrupt --
---------------------
procedure Block_Interrupt (Interrupt : Interrupt_ID) is
begin
Unimplemented;
end Block_Interrupt;
---------------------
-- Current_Handler --
---------------------
function Current_Handler
(Interrupt : Interrupt_ID) return Parameterless_Handler
is
begin
Unimplemented;
return null;
end Current_Handler;
--------------------
-- Detach_Handler --
--------------------
procedure Detach_Handler
(Interrupt : Interrupt_ID;
Static : Boolean := False)
is
begin
Unimplemented;
end Detach_Handler;
------------------------------
-- Detach_Interrupt_Entries --
------------------------------
procedure Detach_Interrupt_Entries (T : Task_Id) is
begin
Unimplemented;
end Detach_Interrupt_Entries;
----------------------
-- Exchange_Handler --
----------------------
procedure Exchange_Handler
(Old_Handler : out Parameterless_Handler;
New_Handler : Parameterless_Handler;
Interrupt : Interrupt_ID;
Static : Boolean := False)
is
begin
Old_Handler := null;
Unimplemented;
end Exchange_Handler;
--------------
-- Finalize --
--------------
procedure Finalize (Object : in out Static_Interrupt_Protection) is
begin
Unimplemented;
end Finalize;
-------------------------------------
-- Has_Interrupt_Or_Attach_Handler --
-------------------------------------
function Has_Interrupt_Or_Attach_Handler
(Object : access Dynamic_Interrupt_Protection)
return Boolean
is
pragma Warnings (Off, Object);
begin
Unimplemented;
return True;
end Has_Interrupt_Or_Attach_Handler;
function Has_Interrupt_Or_Attach_Handler
(Object : access Static_Interrupt_Protection)
return Boolean
is
pragma Warnings (Off, Object);
begin
Unimplemented;
return True;
end Has_Interrupt_Or_Attach_Handler;
----------------------
-- Ignore_Interrupt --
----------------------
procedure Ignore_Interrupt (Interrupt : Interrupt_ID) is
begin
Unimplemented;
end Ignore_Interrupt;
----------------------
-- Install_Handlers --
----------------------
procedure Install_Handlers
(Object : access Static_Interrupt_Protection;
New_Handlers : New_Handler_Array)
is
begin
Unimplemented;
end Install_Handlers;
---------------------------------
-- Install_Restricted_Handlers --
---------------------------------
procedure Install_Restricted_Handlers
(Prio : Any_Priority;
Handlers : New_Handler_Array)
is
begin
Unimplemented;
end Install_Restricted_Handlers;
----------------
-- Is_Blocked --
----------------
function Is_Blocked (Interrupt : Interrupt_ID) return Boolean is
begin
Unimplemented;
return True;
end Is_Blocked;
-----------------------
-- Is_Entry_Attached --
-----------------------
function Is_Entry_Attached (Interrupt : Interrupt_ID) return Boolean is
begin
Unimplemented;
return True;
end Is_Entry_Attached;
-------------------------
-- Is_Handler_Attached --
-------------------------
function Is_Handler_Attached (Interrupt : Interrupt_ID) return Boolean is
begin
Unimplemented;
return True;
end Is_Handler_Attached;
----------------
-- Is_Ignored --
----------------
function Is_Ignored (Interrupt : Interrupt_ID) return Boolean is
begin
Unimplemented;
return True;
end Is_Ignored;
-----------------
-- Is_Reserved --
-----------------
function Is_Reserved (Interrupt : Interrupt_ID) return Boolean is
begin
Unimplemented;
return True;
end Is_Reserved;
---------------
-- Reference --
---------------
function Reference (Interrupt : Interrupt_ID) return System.Address is
begin
Unimplemented;
return Interrupt'Address;
end Reference;
--------------------------------
-- Register_Interrupt_Handler --
--------------------------------
procedure Register_Interrupt_Handler
(Handler_Addr : System.Address)
is
begin
Unimplemented;
end Register_Interrupt_Handler;
-----------------------
-- Unblock_Interrupt --
-----------------------
procedure Unblock_Interrupt (Interrupt : Interrupt_ID) is
begin
Unimplemented;
end Unblock_Interrupt;
------------------
-- Unblocked_By --
------------------
function Unblocked_By (Interrupt : Interrupt_ID)
return System.Tasking.Task_Id is
begin
Unimplemented;
return null;
end Unblocked_By;
------------------------
-- Unignore_Interrupt --
------------------------
procedure Unignore_Interrupt (Interrupt : Interrupt_ID) is
begin
Unimplemented;
end Unignore_Interrupt;
-------------------
-- Unimplemented; --
-------------------
procedure Unimplemented is
begin
raise Program_Error with "interrupts/signals not implemented";
end Unimplemented;
end System.Interrupts;
|
-- C85007A.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.
--*
-- CHECK THAT THE DISCRIMINANTS OF A RENAMED OUT FORMAL PARAMETER, AS
-- WELL AS THE DISCRIMINANTS OF THE RENAMED SUBCOMPONENTS OF AN OUT
-- FORMAL PARAMETER, MAY BE READ INSIDE THE PROCEDURE.
-- SPS 02/17/84 (SEE C62006A-B.ADA)
-- EG 02/21/84
WITH REPORT; USE REPORT;
PROCEDURE C85007A IS
BEGIN
TEST ("C85007A", "CHECK THAT THE DISCRIMINANTS OF A RENAMED OUT " &
"FORMAL PARAMETER CAN BE READ INSIDE THE PROCEDURE");
DECLARE
TYPE R1 (D1 : INTEGER) IS RECORD
NULL;
END RECORD;
TYPE R2 (D2 : POSITIVE) IS RECORD
C : R1 (2);
END RECORD;
SUBTYPE R1_2 IS R1(2);
R : R2 (5);
PROCEDURE PROC (REC : OUT R2) IS
REC1 : R2 RENAMES REC;
REC2 : R1_2 RENAMES REC.C;
REC3 : R2 RENAMES REC1;
REC4 : R1_2 RENAMES REC1.C;
REC5 : R1_2 RENAMES REC4;
BEGIN
IF REC1.D2 /= 5 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT OF" &
" A RENAMED OUT PARAMETER");
END IF;
IF REC1.C.D1 /= 2 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT " &
"OF THE SUBCOMPONENT OF A RENAMED OUT " &
"PARAMETER");
END IF;
IF REC2.D1 /= 2 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT " &
"OF A RENAMED SUBCOMPONENT OF AN OUT " &
"PARAMETER");
END IF;
IF REC3.D2 /= 5 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT OF" &
" A RENAME OF A RENAMED OUT PARAMETER");
END IF;
IF REC3.C.D1 /= 2 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT " &
"OF THE SUBCOMPONENT OF A RENAME OF A " &
"RENAMED OUT PARAMETER");
END IF;
IF REC4.D1 /= 2 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT " &
"OF A RENAMED SUBCOMPONENT OF A RENAMED" &
" OUT PARAMETER");
END IF;
IF REC5.D1 /= 2 THEN
FAILED ("UNABLE TO CORRECTLY READ DISCRIMINANT " &
"OF A RENAME OF RENAMED SUBCOMPONENT OF" &
" A RENAMED OUT PARAMETER");
END IF;
END PROC;
BEGIN
PROC (R);
END;
RESULT;
END C85007A;
|
package FLTK.Widgets.Buttons.Light.Check is
type Check_Button is new Light_Button with private;
type Check_Button_Reference (Data : not null access Check_Button'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(X, Y, W, H : in Integer;
Text : in String)
return Check_Button;
end Forge;
procedure Draw
(This : in out Check_Button);
function Handle
(This : in out Check_Button;
Event : in Event_Kind)
return Event_Outcome;
private
type Check_Button is new Light_Button with null record;
overriding procedure Finalize
(This : in out Check_Button);
pragma Inline (Draw);
pragma Inline (Handle);
end FLTK.Widgets.Buttons.Light.Check;
|
package Problem_26 is
procedure Solve;
end Problem_26;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, 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 STMicroelectronics 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. --
-- --
-- --
-- This file is based on: --
-- --
-- @file stm32f429xx.h --
-- @author MCD Application Team --
-- @version V1.1.0 --
-- @date 19-June-2014 --
-- @brief CMSIS STM32F407xx Device Peripheral Access Layer Header File. --
-- --
-- COPYRIGHT(c) 2014 STMicroelectronics --
------------------------------------------------------------------------------
-- This file provides declarations for devices on the STM32F42xxx MCUs
-- manufactured by ST Microelectronics. For example, an STM32F429.
pragma Warnings (Off, "* is an internal GNAT unit");
private with System.BB.Parameters;
pragma Warnings (On, "* is an internal GNAT unit");
with STM32_SVD; use STM32_SVD;
with STM32_SVD.DSI;
with STM32_SVD.SAI;
with STM32_SVD.SDMMC;
with STM32.ADC; use STM32.ADC;
with STM32.DAC; use STM32.DAC;
with STM32.DMA; use STM32.DMA;
with STM32.DMA.Interrupts; use STM32.DMA.Interrupts;
with STM32.DSI; use STM32.DSI;
with STM32.GPIO; use STM32.GPIO;
with STM32.I2C; use STM32.I2C;
with STM32.SDMMC; use STM32.SDMMC;
with STM32.SPI; use STM32.SPI;
with STM32.SPI.DMA; use STM32.SPI.DMA;
with STM32.I2S; use STM32.I2S;
with STM32.Timers; use STM32.Timers;
with STM32.RTC; use STM32.RTC;
with Ada.Interrupts.Names;
package STM32.Device is
pragma Elaborate_Body;
Unknown_Device : exception;
-- Raised by the routines below for a device passed as an actual parameter
-- when that device is not present on the given hardware instance.
HSI_VALUE : constant := 16_000_000;
-- Internal oscillator in Hz
HSE_VALUE : constant UInt32;
-- External oscillator in Hz
procedure Enable_Clock (This : aliased in out GPIO_Port)
with Inline;
procedure Enable_Clock (Point : GPIO_Point)
with Inline;
procedure Enable_Clock (Points : GPIO_Points)
with Inline;
procedure Reset (This : aliased in out GPIO_Port)
with Inline;
procedure Reset (Point : GPIO_Point)
with Inline;
procedure Reset (Points : GPIO_Points)
with Inline;
GPIO_A : aliased GPIO_Port
with Import, Volatile, Address => GPIOA_Base;
GPIO_B : aliased GPIO_Port
with Import, Volatile, Address => GPIOB_Base;
GPIO_C : aliased GPIO_Port
with Import, Volatile, Address => GPIOC_Base;
GPIO_D : aliased GPIO_Port
with Import, Volatile, Address => GPIOD_Base;
GPIO_E : aliased GPIO_Port
with Import, Volatile, Address => GPIOE_Base;
GPIO_F : aliased GPIO_Port
with Import, Volatile, Address => GPIOF_Base;
GPIO_G : aliased GPIO_Port
with Import, Volatile, Address => GPIOG_Base;
GPIO_H : aliased GPIO_Port
with Import, Volatile, Address => GPIOH_Base;
GPIO_I : aliased GPIO_Port
with Import, Volatile, Address => GPIOI_Base;
GPIO_J : aliased GPIO_Port
with Import, Volatile, Address => GPIOJ_Base;
GPIO_K : aliased GPIO_Port
with Import, Volatile, Address => GPIOK_Base;
function GPIO_Port_Representation (Port : GPIO_Port) return UInt4
with Inline;
PA0 : aliased GPIO_Point := (GPIO_A'Access, Pin_0);
PA1 : aliased GPIO_Point := (GPIO_A'Access, Pin_1);
PA2 : aliased GPIO_Point := (GPIO_A'Access, Pin_2);
PA3 : aliased GPIO_Point := (GPIO_A'Access, Pin_3);
PA4 : aliased GPIO_Point := (GPIO_A'Access, Pin_4);
PA5 : aliased GPIO_Point := (GPIO_A'Access, Pin_5);
PA6 : aliased GPIO_Point := (GPIO_A'Access, Pin_6);
PA7 : aliased GPIO_Point := (GPIO_A'Access, Pin_7);
PA8 : aliased GPIO_Point := (GPIO_A'Access, Pin_8);
PA9 : aliased GPIO_Point := (GPIO_A'Access, Pin_9);
PA10 : aliased GPIO_Point := (GPIO_A'Access, Pin_10);
PA11 : aliased GPIO_Point := (GPIO_A'Access, Pin_11);
PA12 : aliased GPIO_Point := (GPIO_A'Access, Pin_12);
PA13 : aliased GPIO_Point := (GPIO_A'Access, Pin_13);
PA14 : aliased GPIO_Point := (GPIO_A'Access, Pin_14);
PA15 : aliased GPIO_Point := (GPIO_A'Access, Pin_15);
PB0 : aliased GPIO_Point := (GPIO_B'Access, Pin_0);
PB1 : aliased GPIO_Point := (GPIO_B'Access, Pin_1);
PB2 : aliased GPIO_Point := (GPIO_B'Access, Pin_2);
PB3 : aliased GPIO_Point := (GPIO_B'Access, Pin_3);
PB4 : aliased GPIO_Point := (GPIO_B'Access, Pin_4);
PB5 : aliased GPIO_Point := (GPIO_B'Access, Pin_5);
PB6 : aliased GPIO_Point := (GPIO_B'Access, Pin_6);
PB7 : aliased GPIO_Point := (GPIO_B'Access, Pin_7);
PB8 : aliased GPIO_Point := (GPIO_B'Access, Pin_8);
PB9 : aliased GPIO_Point := (GPIO_B'Access, Pin_9);
PB10 : aliased GPIO_Point := (GPIO_B'Access, Pin_10);
PB11 : aliased GPIO_Point := (GPIO_B'Access, Pin_11);
PB12 : aliased GPIO_Point := (GPIO_B'Access, Pin_12);
PB13 : aliased GPIO_Point := (GPIO_B'Access, Pin_13);
PB14 : aliased GPIO_Point := (GPIO_B'Access, Pin_14);
PB15 : aliased GPIO_Point := (GPIO_B'Access, Pin_15);
PC0 : aliased GPIO_Point := (GPIO_C'Access, Pin_0);
PC1 : aliased GPIO_Point := (GPIO_C'Access, Pin_1);
PC2 : aliased GPIO_Point := (GPIO_C'Access, Pin_2);
PC3 : aliased GPIO_Point := (GPIO_C'Access, Pin_3);
PC4 : aliased GPIO_Point := (GPIO_C'Access, Pin_4);
PC5 : aliased GPIO_Point := (GPIO_C'Access, Pin_5);
PC6 : aliased GPIO_Point := (GPIO_C'Access, Pin_6);
PC7 : aliased GPIO_Point := (GPIO_C'Access, Pin_7);
PC8 : aliased GPIO_Point := (GPIO_C'Access, Pin_8);
PC9 : aliased GPIO_Point := (GPIO_C'Access, Pin_9);
PC10 : aliased GPIO_Point := (GPIO_C'Access, Pin_10);
PC11 : aliased GPIO_Point := (GPIO_C'Access, Pin_11);
PC12 : aliased GPIO_Point := (GPIO_C'Access, Pin_12);
PC13 : aliased GPIO_Point := (GPIO_C'Access, Pin_13);
PC14 : aliased GPIO_Point := (GPIO_C'Access, Pin_14);
PC15 : aliased GPIO_Point := (GPIO_C'Access, Pin_15);
PD0 : aliased GPIO_Point := (GPIO_D'Access, Pin_0);
PD1 : aliased GPIO_Point := (GPIO_D'Access, Pin_1);
PD2 : aliased GPIO_Point := (GPIO_D'Access, Pin_2);
PD3 : aliased GPIO_Point := (GPIO_D'Access, Pin_3);
PD4 : aliased GPIO_Point := (GPIO_D'Access, Pin_4);
PD5 : aliased GPIO_Point := (GPIO_D'Access, Pin_5);
PD6 : aliased GPIO_Point := (GPIO_D'Access, Pin_6);
PD7 : aliased GPIO_Point := (GPIO_D'Access, Pin_7);
PD8 : aliased GPIO_Point := (GPIO_D'Access, Pin_8);
PD9 : aliased GPIO_Point := (GPIO_D'Access, Pin_9);
PD10 : aliased GPIO_Point := (GPIO_D'Access, Pin_10);
PD11 : aliased GPIO_Point := (GPIO_D'Access, Pin_11);
PD12 : aliased GPIO_Point := (GPIO_D'Access, Pin_12);
PD13 : aliased GPIO_Point := (GPIO_D'Access, Pin_13);
PD14 : aliased GPIO_Point := (GPIO_D'Access, Pin_14);
PD15 : aliased GPIO_Point := (GPIO_D'Access, Pin_15);
PE0 : aliased GPIO_Point := (GPIO_E'Access, Pin_0);
PE1 : aliased GPIO_Point := (GPIO_E'Access, Pin_1);
PE2 : aliased GPIO_Point := (GPIO_E'Access, Pin_2);
PE3 : aliased GPIO_Point := (GPIO_E'Access, Pin_3);
PE4 : aliased GPIO_Point := (GPIO_E'Access, Pin_4);
PE5 : aliased GPIO_Point := (GPIO_E'Access, Pin_5);
PE6 : aliased GPIO_Point := (GPIO_E'Access, Pin_6);
PE7 : aliased GPIO_Point := (GPIO_E'Access, Pin_7);
PE8 : aliased GPIO_Point := (GPIO_E'Access, Pin_8);
PE9 : aliased GPIO_Point := (GPIO_E'Access, Pin_9);
PE10 : aliased GPIO_Point := (GPIO_E'Access, Pin_10);
PE11 : aliased GPIO_Point := (GPIO_E'Access, Pin_11);
PE12 : aliased GPIO_Point := (GPIO_E'Access, Pin_12);
PE13 : aliased GPIO_Point := (GPIO_E'Access, Pin_13);
PE14 : aliased GPIO_Point := (GPIO_E'Access, Pin_14);
PE15 : aliased GPIO_Point := (GPIO_E'Access, Pin_15);
PF0 : aliased GPIO_Point := (GPIO_F'Access, Pin_0);
PF1 : aliased GPIO_Point := (GPIO_F'Access, Pin_1);
PF2 : aliased GPIO_Point := (GPIO_F'Access, Pin_2);
PF3 : aliased GPIO_Point := (GPIO_F'Access, Pin_3);
PF4 : aliased GPIO_Point := (GPIO_F'Access, Pin_4);
PF5 : aliased GPIO_Point := (GPIO_F'Access, Pin_5);
PF6 : aliased GPIO_Point := (GPIO_F'Access, Pin_6);
PF7 : aliased GPIO_Point := (GPIO_F'Access, Pin_7);
PF8 : aliased GPIO_Point := (GPIO_F'Access, Pin_8);
PF9 : aliased GPIO_Point := (GPIO_F'Access, Pin_9);
PF10 : aliased GPIO_Point := (GPIO_F'Access, Pin_10);
PF11 : aliased GPIO_Point := (GPIO_F'Access, Pin_11);
PF12 : aliased GPIO_Point := (GPIO_F'Access, Pin_12);
PF13 : aliased GPIO_Point := (GPIO_F'Access, Pin_13);
PF14 : aliased GPIO_Point := (GPIO_F'Access, Pin_14);
PF15 : aliased GPIO_Point := (GPIO_F'Access, Pin_15);
PG0 : aliased GPIO_Point := (GPIO_G'Access, Pin_0);
PG1 : aliased GPIO_Point := (GPIO_G'Access, Pin_1);
PG2 : aliased GPIO_Point := (GPIO_G'Access, Pin_2);
PG3 : aliased GPIO_Point := (GPIO_G'Access, Pin_3);
PG4 : aliased GPIO_Point := (GPIO_G'Access, Pin_4);
PG5 : aliased GPIO_Point := (GPIO_G'Access, Pin_5);
PG6 : aliased GPIO_Point := (GPIO_G'Access, Pin_6);
PG7 : aliased GPIO_Point := (GPIO_G'Access, Pin_7);
PG8 : aliased GPIO_Point := (GPIO_G'Access, Pin_8);
PG9 : aliased GPIO_Point := (GPIO_G'Access, Pin_9);
PG10 : aliased GPIO_Point := (GPIO_G'Access, Pin_10);
PG11 : aliased GPIO_Point := (GPIO_G'Access, Pin_11);
PG12 : aliased GPIO_Point := (GPIO_G'Access, Pin_12);
PG13 : aliased GPIO_Point := (GPIO_G'Access, Pin_13);
PG14 : aliased GPIO_Point := (GPIO_G'Access, Pin_14);
PG15 : aliased GPIO_Point := (GPIO_G'Access, Pin_15);
PH0 : aliased GPIO_Point := (GPIO_H'Access, Pin_0);
PH1 : aliased GPIO_Point := (GPIO_H'Access, Pin_1);
PH2 : aliased GPIO_Point := (GPIO_H'Access, Pin_2);
PH3 : aliased GPIO_Point := (GPIO_H'Access, Pin_3);
PH4 : aliased GPIO_Point := (GPIO_H'Access, Pin_4);
PH5 : aliased GPIO_Point := (GPIO_H'Access, Pin_5);
PH6 : aliased GPIO_Point := (GPIO_H'Access, Pin_6);
PH7 : aliased GPIO_Point := (GPIO_H'Access, Pin_7);
PH8 : aliased GPIO_Point := (GPIO_H'Access, Pin_8);
PH9 : aliased GPIO_Point := (GPIO_H'Access, Pin_9);
PH10 : aliased GPIO_Point := (GPIO_H'Access, Pin_10);
PH11 : aliased GPIO_Point := (GPIO_H'Access, Pin_11);
PH12 : aliased GPIO_Point := (GPIO_H'Access, Pin_12);
PH13 : aliased GPIO_Point := (GPIO_H'Access, Pin_13);
PH14 : aliased GPIO_Point := (GPIO_H'Access, Pin_14);
PH15 : aliased GPIO_Point := (GPIO_H'Access, Pin_15);
PI0 : aliased GPIO_Point := (GPIO_I'Access, Pin_0);
PI1 : aliased GPIO_Point := (GPIO_I'Access, Pin_1);
PI2 : aliased GPIO_Point := (GPIO_I'Access, Pin_2);
PI3 : aliased GPIO_Point := (GPIO_I'Access, Pin_3);
PI4 : aliased GPIO_Point := (GPIO_I'Access, Pin_4);
PI5 : aliased GPIO_Point := (GPIO_I'Access, Pin_5);
PI6 : aliased GPIO_Point := (GPIO_I'Access, Pin_6);
PI7 : aliased GPIO_Point := (GPIO_I'Access, Pin_7);
PI8 : aliased GPIO_Point := (GPIO_I'Access, Pin_8);
PI9 : aliased GPIO_Point := (GPIO_I'Access, Pin_9);
PI10 : aliased GPIO_Point := (GPIO_I'Access, Pin_10);
PI11 : aliased GPIO_Point := (GPIO_I'Access, Pin_11);
PI12 : aliased GPIO_Point := (GPIO_I'Access, Pin_12);
PI13 : aliased GPIO_Point := (GPIO_I'Access, Pin_13);
PI14 : aliased GPIO_Point := (GPIO_I'Access, Pin_14);
PI15 : aliased GPIO_Point := (GPIO_I'Access, Pin_15);
PJ0 : aliased GPIO_Point := (GPIO_J'Access, Pin_0);
PJ1 : aliased GPIO_Point := (GPIO_J'Access, Pin_1);
PJ2 : aliased GPIO_Point := (GPIO_J'Access, Pin_2);
PJ3 : aliased GPIO_Point := (GPIO_J'Access, Pin_3);
PJ4 : aliased GPIO_Point := (GPIO_J'Access, Pin_4);
PJ5 : aliased GPIO_Point := (GPIO_J'Access, Pin_5);
PJ6 : aliased GPIO_Point := (GPIO_J'Access, Pin_6);
PJ7 : aliased GPIO_Point := (GPIO_J'Access, Pin_7);
PJ8 : aliased GPIO_Point := (GPIO_J'Access, Pin_8);
PJ9 : aliased GPIO_Point := (GPIO_J'Access, Pin_9);
PJ10 : aliased GPIO_Point := (GPIO_J'Access, Pin_10);
PJ11 : aliased GPIO_Point := (GPIO_J'Access, Pin_11);
PJ12 : aliased GPIO_Point := (GPIO_J'Access, Pin_12);
PJ13 : aliased GPIO_Point := (GPIO_J'Access, Pin_13);
PJ14 : aliased GPIO_Point := (GPIO_J'Access, Pin_14);
PJ15 : aliased GPIO_Point := (GPIO_J'Access, Pin_15);
PK0 : aliased GPIO_Point := (GPIO_K'Access, Pin_0);
PK1 : aliased GPIO_Point := (GPIO_K'Access, Pin_1);
PK2 : aliased GPIO_Point := (GPIO_K'Access, Pin_2);
PK3 : aliased GPIO_Point := (GPIO_K'Access, Pin_3);
PK4 : aliased GPIO_Point := (GPIO_K'Access, Pin_4);
PK5 : aliased GPIO_Point := (GPIO_K'Access, Pin_5);
PK6 : aliased GPIO_Point := (GPIO_K'Access, Pin_6);
PK7 : aliased GPIO_Point := (GPIO_K'Access, Pin_7);
PK8 : aliased GPIO_Point := (GPIO_K'Access, Pin_8);
PK9 : aliased GPIO_Point := (GPIO_K'Access, Pin_9);
PK10 : aliased GPIO_Point := (GPIO_K'Access, Pin_10);
PK11 : aliased GPIO_Point := (GPIO_K'Access, Pin_11);
PK12 : aliased GPIO_Point := (GPIO_K'Access, Pin_12);
PK13 : aliased GPIO_Point := (GPIO_K'Access, Pin_13);
PK14 : aliased GPIO_Point := (GPIO_K'Access, Pin_14);
PK15 : aliased GPIO_Point := (GPIO_K'Access, Pin_15);
GPIO_AF_RTC_50Hz_0 : constant GPIO_Alternate_Function;
GPIO_AF_MCO_0 : constant GPIO_Alternate_Function;
GPIO_AF_TAMPER_0 : constant GPIO_Alternate_Function;
GPIO_AF_SWJ_0 : constant GPIO_Alternate_Function;
GPIO_AF_TRACE_0 : constant GPIO_Alternate_Function;
GPIO_AF_TIM1_1 : constant GPIO_Alternate_Function;
GPIO_AF_TIM2_1 : constant GPIO_Alternate_Function;
GPIO_AF_I2C4_1 : constant GPIO_Alternate_Function;
GPIO_AF_UART5_1 : constant GPIO_Alternate_Function;
GPIO_AF_TIM3_2 : constant GPIO_Alternate_Function;
GPIO_AF_TIM4_2 : constant GPIO_Alternate_Function;
GPIO_AF_TIM5_2 : constant GPIO_Alternate_Function;
GPIO_AF_TIM8_3 : constant GPIO_Alternate_Function;
GPIO_AF_TIM9_3 : constant GPIO_Alternate_Function;
GPIO_AF_TIM10_3 : constant GPIO_Alternate_Function;
GPIO_AF_TIM11_3 : constant GPIO_Alternate_Function;
GPIO_AF_LPTIM1_3 : constant GPIO_Alternate_Function;
GPIO_AF_DFSDM1_3 : constant GPIO_Alternate_Function;
GPIO_AF_CEC_3 : constant GPIO_Alternate_Function;
GPIO_AF_I2C1_4 : constant GPIO_Alternate_Function;
GPIO_AF_I2C2_4 : constant GPIO_Alternate_Function;
GPIO_AF_I2C3_4 : constant GPIO_Alternate_Function;
GPIO_AF_I2C4_4 : constant GPIO_Alternate_Function;
GPIO_AF_USART1_4 : constant GPIO_Alternate_Function;
GPIO_AF_CEC_4 : constant GPIO_Alternate_Function;
GPIO_AF_SPI1_5 : constant GPIO_Alternate_Function;
GPIO_AF_SPI2_5 : constant GPIO_Alternate_Function;
GPIO_AF_I2S3_5 : constant GPIO_Alternate_Function;
GPIO_AF_SPI4_5 : constant GPIO_Alternate_Function;
GPIO_AF_SPI5_5 : constant GPIO_Alternate_Function;
GPIO_AF_SPI6_5 : constant GPIO_Alternate_Function;
GPIO_AF_SPI2_6 : constant GPIO_Alternate_Function;
GPIO_AF_SPI3_6 : constant GPIO_Alternate_Function;
GPIO_AF_I2S2_6 : constant GPIO_Alternate_Function;
GPIO_AF_I2S3_6 : constant GPIO_Alternate_Function;
GPIO_AF_SAI1_6 : constant GPIO_Alternate_Function;
GPIO_AF_UART4_6 : constant GPIO_Alternate_Function;
GPIO_AF_DFSDM1_6 : constant GPIO_Alternate_Function;
GPIO_AF_SPI2_7 : constant GPIO_Alternate_Function;
GPIO_AF_I2S2_7 : constant GPIO_Alternate_Function;
GPIO_AF_SPI3_7 : constant GPIO_Alternate_Function;
GPIO_AF_I2S3_7 : constant GPIO_Alternate_Function;
GPIO_AF_SPI6_7 : constant GPIO_Alternate_Function;
GPIO_AF_USART1_7 : constant GPIO_Alternate_Function;
GPIO_AF_USART2_7 : constant GPIO_Alternate_Function;
GPIO_AF_USART3_7 : constant GPIO_Alternate_Function;
GPIO_AF_UART5_7 : constant GPIO_Alternate_Function;
GPIO_AF_DFSDM1_7 : constant GPIO_Alternate_Function;
GPIO_AF_SPDIF_7 : constant GPIO_Alternate_Function;
GPIO_AF_SPI6_8 : constant GPIO_Alternate_Function;
GPIO_AF_SAI2_8 : constant GPIO_Alternate_Function;
GPIO_AF_UART4_8 : constant GPIO_Alternate_Function;
GPIO_AF_UART5_8 : constant GPIO_Alternate_Function;
GPIO_AF_USART6_8 : constant GPIO_Alternate_Function;
GPIO_AF_UART7_8 : constant GPIO_Alternate_Function;
GPIO_AF_UART8_8 : constant GPIO_Alternate_Function;
GPIO_AF_OTG_FS_8 : constant GPIO_Alternate_Function;
GPIO_AF_SPDIF_8 : constant GPIO_Alternate_Function;
GPIO_AF_CAN1_9 : constant GPIO_Alternate_Function;
GPIO_AF_CAN2_9 : constant GPIO_Alternate_Function;
GPIO_AF_TIM12_9 : constant GPIO_Alternate_Function;
GPIO_AF_TIM13_9 : constant GPIO_Alternate_Function;
GPIO_AF_TIM14_9 : constant GPIO_Alternate_Function;
GPIO_AF_QUADSPI_9 : constant GPIO_Alternate_Function;
GPIO_AF_FMC_9 : constant GPIO_Alternate_Function;
GPIO_AF_LTDC_9 : constant GPIO_Alternate_Function;
GPIO_AF_SAI2_10 : constant GPIO_Alternate_Function;
GPIO_AF_QUADSPI_10 : constant GPIO_Alternate_Function;
GPIO_AF_SDMMC2_10 : constant GPIO_Alternate_Function;
GPIO_AF_DFSDM1_10 : constant GPIO_Alternate_Function;
GPIO_AF_OTG1_FS_10 : constant GPIO_Alternate_Function;
GPIO_AF_OTG_HS_10 : constant GPIO_Alternate_Function;
GPIO_AF_LTDC_10 : constant GPIO_Alternate_Function;
GPIO_AF_I2C4_11 : constant GPIO_Alternate_Function;
GPIO_AF_CAN3_11 : constant GPIO_Alternate_Function;
GPIO_AF_SDMMC2_11 : constant GPIO_Alternate_Function;
GPIO_AF_ETH_11 : constant GPIO_Alternate_Function;
GPIO_AF_UART7_12 : constant GPIO_Alternate_Function;
GPIO_AF_FMC_12 : constant GPIO_Alternate_Function;
GPIO_AF_SDMMC1_12 : constant GPIO_Alternate_Function;
GPIO_AF_MDIOS_12 : constant GPIO_Alternate_Function;
GPIO_AF_OTG2_FS_12 : constant GPIO_Alternate_Function;
GPIO_AF_DCMI_13 : constant GPIO_Alternate_Function;
GPIO_AF_DSI_13 : constant GPIO_Alternate_Function;
GPIO_AF_LTDC_13 : constant GPIO_Alternate_Function;
GPIO_AF_LTDC_14 : constant GPIO_Alternate_Function;
GPIO_AF_EVENTOUT_15 : constant GPIO_Alternate_Function;
ADC_1 : aliased Analog_To_Digital_Converter
with Import, Volatile, Address => ADC1_Base;
ADC_2 : aliased Analog_To_Digital_Converter
with Import, Volatile, Address => ADC2_Base;
ADC_3 : aliased Analog_To_Digital_Converter
with Import, Volatile, Address => ADC3_Base;
VBat : constant ADC_Point := (ADC_1'Access, Channel => VBat_Channel);
Temperature_Sensor : constant ADC_Point := VBat;
-- see RM pg 410, section 13.10, also pg 389
VBat_Bridge_Divisor : constant := 4;
-- The VBAT pin is internally connected to a bridge divider. The actual
-- voltage is the raw conversion value * the divisor. See section 13.11,
-- pg 412 of the RM.
procedure Enable_Clock (This : aliased in out Analog_To_Digital_Converter);
procedure Reset_All_ADC_Units;
DAC_1 : aliased Digital_To_Analog_Converter
with Import, Volatile, Address => DAC_Base;
-- ??? Taken from the STM32F429 definition, TO BE CHECKED FOR THE F7
DAC_Channel_1_IO : constant GPIO_Point := PA4;
DAC_Channel_2_IO : constant GPIO_Point := PA5;
procedure Enable_Clock (This : aliased in out Digital_To_Analog_Converter);
procedure Reset (This : aliased in out Digital_To_Analog_Converter);
-- USART_1 : aliased USART with Import, Volatile, Address => USART1_Base;
-- USART_2 : aliased USART with Import, Volatile, Address => USART2_Base;
-- USART_3 : aliased USART with Import, Volatile, Address => USART3_Base;
-- UART_4 : aliased USART with Import, Volatile, Address => UART4_Base;
-- UART_5 : aliased USART with Import, Volatile, Address => UART5_Base;
-- USART_6 : aliased USART with Import, Volatile, Address => USART6_Base;
-- USART_7 : aliased USART with Import, Volatile, Address => UART7_Base;
-- USART_8 : aliased USART with Import, Volatile, Address => UART8_Base;
--
-- procedure Enable_Clock (This : aliased in out USART);
--
-- procedure Reset (This : aliased in out USART);
DMA_1 : aliased DMA_Controller with Import, Volatile, Address => DMA1_Base;
DMA_2 : aliased DMA_Controller with Import, Volatile, Address => DMA2_Base;
procedure Enable_Clock (This : aliased in out DMA_Controller);
procedure Reset (This : aliased in out DMA_Controller);
DMA1_Stream0 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_0, Ada.Interrupts.Names.DMA1_Stream0_Interrupt);
DMA1_Stream1 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_1, Ada.Interrupts.Names.DMA1_Stream1_Interrupt);
DMA1_Stream2 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_2, Ada.Interrupts.Names.DMA1_Stream2_Interrupt);
DMA1_Stream3 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_3, Ada.Interrupts.Names.DMA1_Stream3_Interrupt);
DMA1_Stream4 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_4, Ada.Interrupts.Names.DMA1_Stream4_Interrupt);
DMA1_Stream5 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_5, Ada.Interrupts.Names.DMA1_Stream5_Interrupt);
DMA1_Stream6 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_6, Ada.Interrupts.Names.DMA1_Stream6_Interrupt);
DMA1_Stream7 : aliased DMA_Interrupt_Controller
(DMA_1'Access, Stream_7, Ada.Interrupts.Names.DMA1_Stream7_Interrupt);
DMA2_Stream0 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_0, Ada.Interrupts.Names.DMA2_Stream0_Interrupt);
DMA2_Stream1 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_1, Ada.Interrupts.Names.DMA2_Stream1_Interrupt);
DMA2_Stream2 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_2, Ada.Interrupts.Names.DMA2_Stream2_Interrupt);
DMA2_Stream3 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_3, Ada.Interrupts.Names.DMA2_Stream3_Interrupt);
DMA2_Stream4 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_4, Ada.Interrupts.Names.DMA2_Stream4_Interrupt);
DMA2_Stream5 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_5, Ada.Interrupts.Names.DMA2_Stream5_Interrupt);
DMA2_Stream6 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_6, Ada.Interrupts.Names.DMA2_Stream6_Interrupt);
DMA2_Stream7 : aliased DMA_Interrupt_Controller
(DMA_2'Access, Stream_7, Ada.Interrupts.Names.DMA2_Stream7_Interrupt);
Internal_I2C_Port_1 : aliased Internal_I2C_Port
with Import, Volatile, Address => I2C1_Base;
Internal_I2C_Port_2 : aliased Internal_I2C_Port
with Import, Volatile, Address => I2C2_Base;
Internal_I2C_Port_3 : aliased Internal_I2C_Port
with Import, Volatile, Address => I2C3_Base;
Internal_I2C_Port_4 : aliased Internal_I2C_Port
with Import, Volatile, Address => I2C4_Base;
I2C_1 : aliased I2C_Port (Internal_I2C_Port_1'Access);
I2C_2 : aliased I2C_Port (Internal_I2C_Port_2'Access);
I2C_3 : aliased I2C_Port (Internal_I2C_Port_3'Access);
I2C_4 : aliased I2C_Port (Internal_I2C_Port_4'Access);
type I2C_Port_Id is (I2C_Id_1, I2C_Id_2, I2C_Id_3, I2C_Id_4);
function As_Port_Id (Port : I2C_Port'Class) return I2C_Port_Id with Inline;
procedure Enable_Clock (This : I2C_Port'Class);
procedure Enable_Clock (This : I2C_Port_Id);
procedure Reset (This : I2C_Port'Class);
procedure Reset (This : I2C_Port_Id);
Internal_SPI_1 : aliased Internal_SPI_Port
with Import, Volatile, Address => SPI1_Base;
Internal_SPI_2 : aliased Internal_SPI_Port
with Import, Volatile, Address => SPI2_Base;
Internal_SPI_3 : aliased Internal_SPI_Port
with Import, Volatile, Address => SPI3_Base;
Internal_SPI_4 : aliased Internal_SPI_Port
with Import, Volatile, Address => SPI4_Base;
Internal_SPI_5 : aliased Internal_SPI_Port
with Import, Volatile, Address => SPI5_Base;
Internal_SPI_6 : aliased Internal_SPI_Port
with Import, Volatile, Address => SPI6_Base;
SPI_1 : aliased SPI_Port (Internal_SPI_1'Access);
SPI_2 : aliased SPI_Port (Internal_SPI_2'Access);
SPI_3 : aliased SPI_Port (Internal_SPI_3'Access);
SPI_4 : aliased SPI_Port (Internal_SPI_4'Access);
SPI_5 : aliased SPI_Port (Internal_SPI_5'Access);
SPI_6 : aliased SPI_Port (Internal_SPI_6'Access);
SPI_1_DMA : aliased SPI_Port_DMA (Internal_SPI_1'Access);
SPI_2_DMA : aliased SPI_Port_DMA (Internal_SPI_2'Access);
SPI_3_DMA : aliased SPI_Port_DMA (Internal_SPI_3'Access);
SPI_4_DMA : aliased SPI_Port_DMA (Internal_SPI_4'Access);
SPI_5_DMA : aliased SPI_Port_DMA (Internal_SPI_5'Access);
SPI_6_DMA : aliased SPI_Port_DMA (Internal_SPI_6'Access);
procedure Enable_Clock (This : SPI_Port'Class);
procedure Reset (This : SPI_Port'Class);
Internal_I2S_1 : aliased Internal_I2S_Port
with Import, Volatile, Address => SPI1_Base;
Internal_I2S_2 : aliased Internal_I2S_Port
with Import, Volatile, Address => SPI2_Base;
Internal_I2S_3 : aliased Internal_I2S_Port
with Import, Volatile, Address => SPI3_Base;
Internal_I2S_4 : aliased Internal_I2S_Port
with Import, Volatile, Address => SPI4_Base;
Internal_I2S_5 : aliased Internal_I2S_Port
with Import, Volatile, Address => SPI5_Base;
Internal_I2S_6 : aliased Internal_I2S_Port
with Import, Volatile, Address => SPI6_Base;
I2S_1 : aliased I2S_Port (Internal_I2S_1'Access, Extended => False);
I2S_2 : aliased I2S_Port (Internal_I2S_2'Access, Extended => False);
I2S_3 : aliased I2S_Port (Internal_I2S_3'Access, Extended => False);
I2S_4 : aliased I2S_Port (Internal_I2S_4'Access, Extended => False);
I2S_5 : aliased I2S_Port (Internal_I2S_5'Access, Extended => False);
I2S_6 : aliased I2S_Port (Internal_I2S_6'Access, Extended => False);
procedure Enable_Clock (This : I2S_Port);
procedure Reset (This : in out I2S_Port);
Timer_1 : aliased Timer with Volatile, Address => TIM1_Base;
pragma Import (Ada, Timer_1);
Timer_2 : aliased Timer with Volatile, Address => TIM2_Base;
pragma Import (Ada, Timer_2);
Timer_3 : aliased Timer with Volatile, Address => TIM3_Base;
pragma Import (Ada, Timer_3);
Timer_4 : aliased Timer with Volatile, Address => TIM4_Base;
pragma Import (Ada, Timer_4);
Timer_5 : aliased Timer with Volatile, Address => TIM5_Base;
pragma Import (Ada, Timer_5);
Timer_6 : aliased Timer with Volatile, Address => TIM6_Base;
pragma Import (Ada, Timer_6);
Timer_7 : aliased Timer with Volatile, Address => TIM7_Base;
pragma Import (Ada, Timer_7);
Timer_8 : aliased Timer with Volatile, Address => TIM8_Base;
pragma Import (Ada, Timer_8);
Timer_9 : aliased Timer with Volatile, Address => TIM9_Base;
pragma Import (Ada, Timer_9);
Timer_10 : aliased Timer with Volatile, Address => TIM10_Base;
pragma Import (Ada, Timer_10);
Timer_11 : aliased Timer with Volatile, Address => TIM11_Base;
pragma Import (Ada, Timer_11);
Timer_12 : aliased Timer with Volatile, Address => TIM12_Base;
pragma Import (Ada, Timer_12);
Timer_13 : aliased Timer with Volatile, Address => TIM13_Base;
pragma Import (Ada, Timer_13);
Timer_14 : aliased Timer with Volatile, Address => TIM14_Base;
pragma Import (Ada, Timer_14);
procedure Enable_Clock (This : in out Timer);
procedure Reset (This : in out Timer);
-----------
-- Audio --
-----------
subtype SAI_Port is STM32_SVD.SAI.SAI_Peripheral;
SAI_1 : SAI_Port renames STM32_SVD.SAI.SAI1_Periph;
SAI_2 : SAI_Port renames STM32_SVD.SAI.SAI2_Periph;
procedure Enable_Clock (This : in out SAI_Port);
procedure Reset (This : in out SAI_Port);
function Get_Input_Clock (Periph : SAI_Port) return UInt32;
--------------
-- DSI Host --
--------------
DSIHOST : aliased DSI_Host (STM32_SVD.DSI.DSI_Periph'Access);
------------
-- SDMMC --
------------
type SDMMC_Clock_Source is (Src_Sysclk, Src_48Mhz);
SDMMC_1 : aliased SDMMC_Controller (STM32_SVD.SDMMC.SDMMC1_Periph'Access);
SDMMC_2 : aliased SDMMC_Controller (STM32_SVD.SDMMC.SDMMC2_Periph'Access);
procedure Enable_Clock (This : in out SDMMC_Controller);
procedure Reset (This : in out SDMMC_Controller);
procedure Set_Clock_Source
(This : in out SDMMC_Controller;
Src : SDMMC_Clock_Source);
-----------------------------
-- Reset and Clock Control --
-----------------------------
type RCC_System_Clocks is record
SYSCLK : UInt32;
HCLK : UInt32;
PCLK1 : UInt32;
PCLK2 : UInt32;
TIMCLK1 : UInt32;
TIMCLK2 : UInt32;
I2SCLK : UInt32;
end record;
function System_Clock_Frequencies return RCC_System_Clocks;
procedure Set_PLLI2S_Factors (Pll_N : UInt9;
Pll_R : UInt3);
function PLLI2S_Enabled return Boolean;
procedure Enable_PLLI2S
with Post => PLLI2S_Enabled;
procedure Disable_PLLI2S
with Post => not PLLI2S_Enabled;
type PLLSAI_DivR is new UInt2;
PLLSAI_DIV2 : constant PLLSAI_DivR := 0;
PLLSAI_DIV4 : constant PLLSAI_DivR := 1;
PLLSAI_DIV8 : constant PLLSAI_DivR := 2;
PLLSAI_DIV16 : constant PLLSAI_DivR := 3;
procedure Set_PLLSAI_Factors
(LCD : UInt3;
VCO : UInt9;
DivR : PLLSAI_DivR);
procedure Enable_PLLSAI;
procedure Disable_PLLSAI;
function PLLSAI_Ready return Boolean;
subtype DIVQ is Natural range 1 .. 32;
procedure Configure_SAI_I2S_Clock
(Periph : SAI_Port;
PLLI2SN : UInt9;
PLLI2SQ : UInt4;
PLLI2SDIVQ : DIVQ);
procedure Enable_DCMI_Clock;
procedure Reset_DCMI;
RTC : aliased RTC_Device;
private
HSE_VALUE : constant UInt32 := System.BB.Parameters.HSE_Clock;
GPIO_AF_RTC_50Hz_0 : constant GPIO_Alternate_Function := 0;
GPIO_AF_MCO_0 : constant GPIO_Alternate_Function := 0;
GPIO_AF_TAMPER_0 : constant GPIO_Alternate_Function := 0;
GPIO_AF_SWJ_0 : constant GPIO_Alternate_Function := 0;
GPIO_AF_TRACE_0 : constant GPIO_Alternate_Function := 0;
GPIO_AF_TIM1_1 : constant GPIO_Alternate_Function := 1;
GPIO_AF_TIM2_1 : constant GPIO_Alternate_Function := 1;
GPIO_AF_I2C4_1 : constant GPIO_Alternate_Function := 1;
GPIO_AF_UART5_1 : constant GPIO_Alternate_Function := 1;
GPIO_AF_TIM3_2 : constant GPIO_Alternate_Function := 2;
GPIO_AF_TIM4_2 : constant GPIO_Alternate_Function := 2;
GPIO_AF_TIM5_2 : constant GPIO_Alternate_Function := 2;
GPIO_AF_TIM8_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_TIM9_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_TIM10_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_TIM11_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_LPTIM1_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_DFSDM1_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_CEC_3 : constant GPIO_Alternate_Function := 3;
GPIO_AF_I2C1_4 : constant GPIO_Alternate_Function := 4;
GPIO_AF_I2C2_4 : constant GPIO_Alternate_Function := 4;
GPIO_AF_I2C3_4 : constant GPIO_Alternate_Function := 4;
GPIO_AF_I2C4_4 : constant GPIO_Alternate_Function := 4;
GPIO_AF_USART1_4 : constant GPIO_Alternate_Function := 4;
GPIO_AF_CEC_4 : constant GPIO_Alternate_Function := 4;
GPIO_AF_SPI1_5 : constant GPIO_Alternate_Function := 5;
GPIO_AF_SPI2_5 : constant GPIO_Alternate_Function := 5;
GPIO_AF_I2S3_5 : constant GPIO_Alternate_Function := 5;
GPIO_AF_SPI4_5 : constant GPIO_Alternate_Function := 5;
GPIO_AF_SPI5_5 : constant GPIO_Alternate_Function := 5;
GPIO_AF_SPI6_5 : constant GPIO_Alternate_Function := 5;
GPIO_AF_SPI2_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_SPI3_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_I2S2_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_I2S3_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_SAI1_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_UART4_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_DFSDM1_6 : constant GPIO_Alternate_Function := 6;
GPIO_AF_SPI2_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_I2S2_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_SPI3_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_I2S3_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_SPI6_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_USART1_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_USART2_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_USART3_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_UART5_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_DFSDM1_7 : constant GPIO_Alternate_Function := 7;
GPIO_AF_SPDIF_7 : constant GPIO_Alternate_Function := 8;
GPIO_AF_SPI6_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_SAI2_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_UART4_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_UART5_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_USART6_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_UART7_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_UART8_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_OTG_FS_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_SPDIF_8 : constant GPIO_Alternate_Function := 8;
GPIO_AF_CAN1_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_CAN2_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_TIM12_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_TIM13_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_TIM14_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_QUADSPI_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_FMC_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_LTDC_9 : constant GPIO_Alternate_Function := 9;
GPIO_AF_SAI2_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_QUADSPI_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_SDMMC2_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_DFSDM1_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_OTG1_FS_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_OTG_HS_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_LTDC_10 : constant GPIO_Alternate_Function := 10;
GPIO_AF_I2C4_11 : constant GPIO_Alternate_Function := 11;
GPIO_AF_CAN3_11 : constant GPIO_Alternate_Function := 11;
GPIO_AF_SDMMC2_11 : constant GPIO_Alternate_Function := 11;
GPIO_AF_ETH_11 : constant GPIO_Alternate_Function := 11;
GPIO_AF_UART7_12 : constant GPIO_Alternate_Function := 12;
GPIO_AF_FMC_12 : constant GPIO_Alternate_Function := 12;
GPIO_AF_SDMMC1_12 : constant GPIO_Alternate_Function := 12;
GPIO_AF_MDIOS_12 : constant GPIO_Alternate_Function := 12;
GPIO_AF_OTG2_FS_12 : constant GPIO_Alternate_Function := 12;
GPIO_AF_DCMI_13 : constant GPIO_Alternate_Function := 13;
GPIO_AF_DSI_13 : constant GPIO_Alternate_Function := 13;
GPIO_AF_LTDC_13 : constant GPIO_Alternate_Function := 13;
GPIO_AF_LTDC_14 : constant GPIO_Alternate_Function := 14;
GPIO_AF_EVENTOUT_15 : constant GPIO_Alternate_Function := 15;
end STM32.Device;
|
-- Copyright 2017 Steven Stewart-Gallus
--
-- 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 Linted.Atomics is
protected body Atomic is
procedure Set (New_Ptr : Element_T) is
begin
Ptr := New_Ptr;
end Set;
function Get return Element_T is
begin
return Ptr;
end Get;
procedure Compare_And_Swap
(Old_Ptr : Element_T;
New_Ptr : Element_T;
Success : in out Boolean)
is
begin
if Old_Ptr = Ptr then
Ptr := New_Ptr;
Success := True;
else
Success := False;
end if;
end Compare_And_Swap;
procedure Compare_And_Swap (Old_Ptr : Element_T; New_Ptr : Element_T) is
begin
if Old_Ptr = Ptr then
Ptr := New_Ptr;
end if;
end Compare_And_Swap;
procedure Swap (Old_Ptr : in out Element_T; New_Ptr : Element_T) is
begin
Old_Ptr := Ptr;
Ptr := New_Ptr;
end Swap;
end Atomic;
procedure Set (A : in out Atomic; Element : Element_T) is
begin
A.Set (Element);
end Set;
procedure Get (A : in out Atomic; Element : out Element_T) is
begin
Element := A.Get;
end Get;
procedure Compare_And_Swap
(A : in out Atomic;
Old_Element : Element_T;
New_Element : Element_T;
Success : out Boolean)
is
begin
Success := False;
A.Compare_And_Swap (Old_Element, New_Element, Success);
end Compare_And_Swap;
procedure Compare_And_Swap
(A : in out Atomic;
Old_Element : Element_T;
New_Element : Element_T)
is
begin
A.Compare_And_Swap (Old_Element, New_Element);
end Compare_And_Swap;
procedure Swap
(A : in out Atomic;
Old_Element : out Element_T;
New_Element : Element_T)
is
Dummy : Element_T;
begin
Old_Element := Dummy;
A.Swap (Old_Element, New_Element);
end Swap;
end Linted.Atomics;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- S Y S T E M . P A C K _ 3 1 --
-- --
-- S p e c --
-- --
-- $Revision$
-- --
-- Copyright (C) 1992-1999 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-3107, 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. --
-- --
------------------------------------------------------------------------------
-- Handling of packed arrays with Component_Size = 31
package System.Pack_31 is
pragma Preelaborate (Pack_31);
Bits : constant := 31;
type Bits_31 is mod 2 ** Bits;
for Bits_31'Size use Bits;
function Get_31 (Arr : System.Address; N : Natural) return Bits_31;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is extracted and returned.
procedure Set_31 (Arr : System.Address; N : Natural; E : Bits_31);
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is set to the given value.
end System.Pack_31;
|
------------------------------------------------------------------------------
-- --
-- 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.Generic_Hash;
function AMF.Utp.Test_Suites.Hash is
new AMF.Elements.Generic_Hash (Utp_Test_Suite, Utp_Test_Suite_Access);
|
-- *************************************************************************************
--
-- The recipient is warned that this code should be handled in accordance
-- with the HM Government Security Classification indicated throughout.
--
-- This code and its contents shall not be used for other than UK Government
-- purposes.
--
-- The copyright in this code is the property of BAE SYSTEMS Electronic Systems Limited.
-- The Code is supplied by BAE SYSTEMS on the express terms that it is to be treated in
-- confidence and that it may not be copied, used or disclosed to others for any
-- purpose except in accordance with DEFCON 91 (Edn 10/92).
--
-- File Name: One_To_Many.ads
-- Version: As detailed by ClearCase
-- Version Date: As detailed by ClearCase
-- Creation Date: 03-11-99
-- Security Classification: Unclassified
-- Project: SRLE (Sting Ray Life Extension)
-- Author: J Mann
-- Section: Tactical Software/ Software Architecture
-- Division: Underwater Systems Division
-- Description: Generic specification of 1:M relationship
-- Comments:
--
-- MODIFICATION RECORD
-- --------------------
-- NAME DATE ECR No MODIFICATION
--
-- db 22/04/02 SRLE100002907 Procedure initialise removed as surplus to requirements
--
-- DNS 20/05/15 CR 10265 For Navigate procedures returning a list,
-- the Return is now an "in" parameter
--
-- **************************************************************************************
with Root_Object;
with Ada.Tags;
generic
package One_To_Many is
procedure Register_A_End_Class (A_Instance: in Ada.Tags.Tag);
procedure Register_B_End_Class (B_Instance: in Ada.Tags.Tag);
procedure Register_A_End_Role (A_Role: in string);
procedure Register_B_End_Role (B_Role: in string);
procedure Register_A_End_Relationship_Write (To_Write: in Root_Object.Formalised_Multiple_Relationship_Write_Type);
procedure Register_A_End_Relationship_Read (To_Read: in Root_Object.Formalised_Multiple_Relationship_Read_Type);
procedure Register_B_End_Relationship_Write (To_Write: in Root_Object.Formalised_Relationship_Write_Type);
procedure Register_B_End_Relationship_Read (To_Read: in Root_Object.Formalised_Relationship_Read_Type);
--
------------------------------------------------------------------------------------------------------
procedure Link (
A_Instance : in Root_Object.Object_Access;
B_Instance : in Root_Object.Object_Access);
procedure Link (
A_Instance : in Root_Object.Object_Access;
B_Role : in string;
B_Instance : in Root_Object.Object_Access);
------------------------------------------------------------------------------------------------------
procedure Unlink (
A_Instance : in Root_Object.Object_Access;
B_Instance : in Root_Object.Object_Access);
procedure Unlink (
A_Instance : in Root_Object.Object_Access;
B_Role : in string;
B_Instance : in Root_Object.Object_Access);
------------------------------------------------------------------------------------------------------
procedure Navigate (
From : in Root_Object.Object_Access;
Class : in Ada.Tags.Tag;
To : out Root_Object.Object_Access);
procedure Navigate (
From : in Root_Object.Object_Access;
Class : in Ada.Tags.Tag;
To : in Root_Object.Object_List.List_Header_Access_Type);
procedure Navigate (
From : in Root_Object.Object_List.List_Header_Access_Type;
Class : in Ada.Tags.Tag;
To : in Root_Object.Object_List.List_Header_Access_Type);
procedure Navigate (
From : in Root_Object.Object_Access;
Role : in string;
To : out Root_Object.Object_Access);
procedure Navigate (
From : in Root_Object.Object_Access;
Role : in string;
To : in Root_Object.Object_List.List_Header_Access_Type);
procedure Navigate (
From : in Root_Object.Object_List.List_Header_Access_Type;
Role : in string;
To : in Root_Object.Object_List.List_Header_Access_Type);
end One_To_Many;
|
--
-- Copyright (C) 2016 secunet Security Networks AG
--
-- 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 2 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.
--
private package HW.GFX.GMA.Power_And_Clocks_Haswell is
procedure PSR_Off;
procedure GT_Mailbox_Write (MBox : Word32; Value : Word32);
procedure Pre_All_Off;
procedure Post_All_Off is null;
procedure Initialize;
procedure Power_Set_To (Configs : Pipe_Configs);
procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs);
procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs);
end HW.GFX.GMA.Power_And_Clocks_Haswell;
|
------------------------------------------------------------------------------
-- --
-- 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;
package body AMF.Internals.UML_Template_Bindings is
-------------------
-- Enter_Element --
-------------------
overriding procedure Enter_Element
(Self : not null access constant UML_Template_Binding_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_Template_Binding
(AMF.UML.Template_Bindings.UML_Template_Binding_Access (Self),
Control);
end if;
end Enter_Element;
-------------------
-- Leave_Element --
-------------------
overriding procedure Leave_Element
(Self : not null access constant UML_Template_Binding_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_Template_Binding
(AMF.UML.Template_Bindings.UML_Template_Binding_Access (Self),
Control);
end if;
end Leave_Element;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : not null access constant UML_Template_Binding_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_Template_Binding
(Visitor,
AMF.UML.Template_Bindings.UML_Template_Binding_Access (Self),
Control);
end if;
end Visit_Element;
-----------------------
-- Get_Bound_Element --
-----------------------
overriding function Get_Bound_Element
(Self : not null access constant UML_Template_Binding_Proxy)
return AMF.UML.Templateable_Elements.UML_Templateable_Element_Access is
begin
return
AMF.UML.Templateable_Elements.UML_Templateable_Element_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Bound_Element
(Self.Element)));
end Get_Bound_Element;
-----------------------
-- Set_Bound_Element --
-----------------------
overriding procedure Set_Bound_Element
(Self : not null access UML_Template_Binding_Proxy;
To : AMF.UML.Templateable_Elements.UML_Templateable_Element_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Bound_Element
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Bound_Element;
--------------------------------
-- Get_Parameter_Substitution --
--------------------------------
overriding function Get_Parameter_Substitution
(Self : not null access constant UML_Template_Binding_Proxy)
return AMF.UML.Template_Parameter_Substitutions.Collections.Set_Of_UML_Template_Parameter_Substitution is
begin
return
AMF.UML.Template_Parameter_Substitutions.Collections.Wrap
(AMF.Internals.Element_Collections.Wrap
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Parameter_Substitution
(Self.Element)));
end Get_Parameter_Substitution;
-------------------
-- Get_Signature --
-------------------
overriding function Get_Signature
(Self : not null access constant UML_Template_Binding_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_Signature
(Self.Element)));
end Get_Signature;
-------------------
-- Set_Signature --
-------------------
overriding procedure Set_Signature
(Self : not null access UML_Template_Binding_Proxy;
To : AMF.UML.Template_Signatures.UML_Template_Signature_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Signature
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Signature;
----------------
-- Get_Source --
----------------
overriding function Get_Source
(Self : not null access constant UML_Template_Binding_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_Source
(Self.Element)));
end Get_Source;
----------------
-- Get_Target --
----------------
overriding function Get_Target
(Self : not null access constant UML_Template_Binding_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_Target
(Self.Element)));
end Get_Target;
-------------------------
-- Get_Related_Element --
-------------------------
overriding function Get_Related_Element
(Self : not null access constant UML_Template_Binding_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_Related_Element
(Self.Element)));
end Get_Related_Element;
end AMF.Internals.UML_Template_Bindings;
|
-- Copyright 2015-2017 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 Ada.Finalization;
package Bar is
type Object_Type is new Ada.Finalization.Controlled with record
Value : Boolean;
end record;
function Get_Str (S1 : String; S2 : String := "") return Object_Type;
procedure Do_Nothing (C : Character);
end Bar;
|
-----------------------------------------------------------------------
-- awa-settings-modules -- Module awa-settings
-- Copyright (C) 2013, 2016, 2017 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.Unchecked_Deallocation;
with ADO.Sessions;
with ADO.Queries;
with AWA.Services.Contexts;
with AWA.Settings.Models;
with AWA.Modules.Get;
with AWA.Users.Models;
with Util.Log.Loggers;
with Util.Beans.Objects;
with Util.Beans.Basic;
package body AWA.Settings.Modules is
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Awa.Settings.Module");
package ASC renames AWA.Services.Contexts;
-- Load the setting value for the current user.
-- Return the default value if there is no such setting.
procedure Load (Name : in String;
Default : in String;
Value : out Ada.Strings.Unbounded.Unbounded_String);
-- Save the setting value for the current user.
procedure Save (Name : in String;
Value : in String);
-- ------------------------------
-- Set the user setting with the given name in the setting manager cache
-- and in the database.
-- ------------------------------
procedure Set (Manager : in out Setting_Manager;
Name : in String;
Value : in String) is
begin
Manager.Data.Set (Name, Value);
end Set;
-- ------------------------------
-- Get the user setting with the given name from the setting manager cache.
-- Load the user setting from the database if necessary.
-- ------------------------------
procedure Get (Manager : in out Setting_Manager;
Name : in String;
Default : in String;
Value : out Ada.Strings.Unbounded.Unbounded_String) is
begin
Manager.Data.Get (Name, Default, Value);
end Get;
-- ------------------------------
-- Release the memory allocated for the settings.
-- ------------------------------
overriding
procedure Finalize (Manager : in out Setting_Manager) is
begin
Manager.Data.Clear;
end Finalize;
-- ------------------------------
-- Get the current setting manager for the current user.
-- ------------------------------
function Current return Setting_Manager_Access is
Ctx : constant ASC.Service_Context_Access := ASC.Current;
Obj : Util.Beans.Objects.Object := Ctx.Get_Session_Attribute (SESSION_ATTR_NAME);
Bean : constant access Util.Beans.Basic.Readonly_Bean'Class
:= Util.Beans.Objects.To_Bean (Obj);
begin
if Bean = null or else not (Bean.all in Setting_Manager'Class) then
declare
Mgr : constant Setting_Manager_Access := new Setting_Manager;
begin
Obj := Util.Beans.Objects.To_Object (Mgr.all'Access);
Ctx.Set_Session_Attribute (SESSION_ATTR_NAME, Obj);
return Mgr;
end;
else
return Setting_Manager'Class (Bean.all)'Unchecked_Access;
end if;
end Current;
-- ------------------------------
-- Initialize the settings module.
-- ------------------------------
overriding
procedure Initialize (Plugin : in out Setting_Module;
App : in AWA.Modules.Application_Access;
Props : in ASF.Applications.Config) is
begin
Log.Info ("Initializing the settings module");
AWA.Modules.Module (Plugin).Initialize (App, Props);
end Initialize;
-- ------------------------------
-- Get the settings module.
-- ------------------------------
function Get_Setting_Module return Setting_Module_Access is
function Get is new AWA.Modules.Get (Setting_Module, Setting_Module_Access, NAME);
begin
return Get;
end Get_Setting_Module;
-- ------------------------------
-- Load the setting value for the current user.
-- Return the default value if there is no such setting.
-- ------------------------------
procedure Load (Name : in String;
Default : in String;
Value : out Ada.Strings.Unbounded.Unbounded_String) is
Ctx : constant Services.Contexts.Service_Context_Access := AWA.Services.Contexts.Current;
User : constant AWA.Users.Models.User_Ref := Ctx.Get_User;
DB : ADO.Sessions.Master_Session := AWA.Services.Contexts.Get_Master_Session (Ctx);
Query : ADO.Queries.Context;
Setting : AWA.Settings.Models.User_Setting_Ref;
Found : Boolean;
begin
Query.Set_Join ("INNER JOIN awa_setting AS a ON o.setting_id = a.id ");
Query.Set_Filter ("a.name = :name AND o.user_id = :user");
Query.Bind_Param ("name", Name);
Query.Bind_Param ("user", User.Get_Id);
Setting.Find (DB, Query, Found);
if not Found then
Value := Ada.Strings.Unbounded.To_Unbounded_String (Default);
else
Value := Setting.Get_Value;
end if;
end Load;
-- Save the setting value for the current user.
procedure Save (Name : in String;
Value : in String) is
Ctx : constant Services.Contexts.Service_Context_Access := AWA.Services.Contexts.Current;
User : constant AWA.Users.Models.User_Ref := Ctx.Get_User;
DB : ADO.Sessions.Master_Session := AWA.Services.Contexts.Get_Master_Session (Ctx);
Setting : AWA.Settings.Models.User_Setting_Ref;
Query : ADO.Queries.Context;
Found : Boolean;
begin
Ctx.Start;
Query.Set_Join ("INNER JOIN awa_setting AS a ON o.setting_id = a.id ");
Query.Set_Filter ("a.name = :name AND o.user_id = :user");
Query.Bind_Param ("name", Name);
Query.Bind_Param ("user", User.Get_Id);
Setting.Find (DB, Query, Found);
if not Found then
declare
Setting_Def : AWA.Settings.Models.Setting_Ref;
begin
Query.Clear;
Query.Set_Filter ("o.name = :name");
Query.Bind_Param ("name", Name);
Setting_Def.Find (DB, Query, Found);
if not Found then
Setting_Def.Set_Name (Name);
Setting_Def.Save (DB);
end if;
Setting.Set_Setting (Setting_Def);
end;
Setting.Set_User (User);
end if;
Setting.Set_Value (Value);
Setting.Save (DB);
Ctx.Commit;
end Save;
procedure Free is new Ada.Unchecked_Deallocation (Object => Setting_Data,
Name => Setting_Data_Access);
use Ada.Strings.Unbounded;
protected body Settings is
procedure Get (Name : in String;
Default : in String;
Value : out Ada.Strings.Unbounded.Unbounded_String) is
Item : Setting_Data_Access := First;
Previous : Setting_Data_Access := null;
begin
while Item /= null loop
if Item.Name = Name then
Value := Item.Value;
if Previous /= null then
Previous.Next_Setting := Item.Next_Setting;
Item.Next_Setting := First;
First := Item;
end if;
return;
end if;
Previous := Item;
Item := Item.Next_Setting;
end loop;
Load (Name, Default, Value);
Item := new Setting_Data;
Item.Name := Ada.Strings.Unbounded.To_Unbounded_String (Name);
Item.Value := Value;
Item.Next_Setting := First;
First := Item;
end Get;
procedure Set (Name : in String;
Value : in String) is
Item : Setting_Data_Access := First;
Previous : Setting_Data_Access := null;
begin
while Item /= null loop
if Item.Name = Name then
if Previous /= null then
Previous.Next_Setting := Item.Next_Setting;
Item.Next_Setting := First;
First := Item;
end if;
if Item.Value = Value then
return;
end if;
Item.Value := Ada.Strings.Unbounded.To_Unbounded_String (Value);
Save (Name, Value);
return;
end if;
Previous := Item;
Item := Item.Next_Setting;
end loop;
Item := new Setting_Data;
Item.Name := Ada.Strings.Unbounded.To_Unbounded_String (Name);
Item.Value := Ada.Strings.Unbounded.To_Unbounded_String (Value);
Item.Next_Setting := First;
First := Item;
Save (Name, Value);
end Set;
procedure Clear is
begin
while First /= null loop
declare
Item : Setting_Data_Access := First;
begin
First := Item.Next_Setting;
Free (Item);
end;
end loop;
end Clear;
end Settings;
end AWA.Settings.Modules;
|
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- G N A T . S E C U R E _ H A S H E S . S H A 2 _ 3 2 --
-- --
-- B o d y --
-- --
-- Copyright (C) 2009-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. --
-- --
------------------------------------------------------------------------------
package body GNAT.Secure_Hashes.SHA2_32 is
use Interfaces;
------------
-- Sigma0 --
------------
function Sigma0 (X : Word) return Word is
begin
return Rotate_Right (X, 2)
xor Rotate_Right (X, 13)
xor Rotate_Right (X, 22);
end Sigma0;
------------
-- Sigma1 --
------------
function Sigma1 (X : Word) return Word is
begin
return Rotate_Right (X, 6)
xor Rotate_Right (X, 11)
xor Rotate_Right (X, 25);
end Sigma1;
--------
-- S0 --
--------
function S0 (X : Word) return Word is
begin
return Rotate_Right (X, 7)
xor Rotate_Right (X, 18)
xor Shift_Right (X, 3);
end S0;
--------
-- S1 --
--------
function S1 (X : Word) return Word is
begin
return Rotate_Right (X, 17)
xor Rotate_Right (X, 19)
xor Shift_Right (X, 10);
end S1;
end GNAT.Secure_Hashes.SHA2_32;
|
-- CA1102A1.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.
--*
-- WKB 6/12/81
PACKAGE BODY CA1102A0 IS
PROCEDURE P (INVOKED : IN OUT BOOLEAN) IS
BEGIN
INVOKED := TRUE;
END P;
BEGIN
NULL;
END CA1102A0;
|
--
-- Copyright (C) 2017, AdaCore
--
-- This spec has been automatically generated from STM32F46_79x.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.STM32.RCC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
subtype CR_HSION_Field is Interfaces.STM32.Bit;
subtype CR_HSIRDY_Field is Interfaces.STM32.Bit;
subtype CR_HSITRIM_Field is Interfaces.STM32.UInt5;
subtype CR_HSICAL_Field is Interfaces.STM32.Byte;
subtype CR_HSEON_Field is Interfaces.STM32.Bit;
subtype CR_HSERDY_Field is Interfaces.STM32.Bit;
subtype CR_HSEBYP_Field is Interfaces.STM32.Bit;
subtype CR_CSSON_Field is Interfaces.STM32.Bit;
subtype CR_PLLON_Field is Interfaces.STM32.Bit;
subtype CR_PLLRDY_Field is Interfaces.STM32.Bit;
subtype CR_PLLI2SON_Field is Interfaces.STM32.Bit;
subtype CR_PLLI2SRDY_Field is Interfaces.STM32.Bit;
subtype CR_PLLSAION_Field is Interfaces.STM32.Bit;
subtype CR_PLLSAIRDY_Field is Interfaces.STM32.Bit;
-- clock control register
type CR_Register is record
-- Internal high-speed clock enable
HSION : CR_HSION_Field := 16#1#;
-- Read-only. Internal high-speed clock ready flag
HSIRDY : CR_HSIRDY_Field := 16#1#;
-- unspecified
Reserved_2_2 : Interfaces.STM32.Bit := 16#0#;
-- Internal high-speed clock trimming
HSITRIM : CR_HSITRIM_Field := 16#10#;
-- Read-only. Internal high-speed clock calibration
HSICAL : CR_HSICAL_Field := 16#0#;
-- HSE clock enable
HSEON : CR_HSEON_Field := 16#0#;
-- Read-only. HSE clock ready flag
HSERDY : CR_HSERDY_Field := 16#0#;
-- HSE clock bypass
HSEBYP : CR_HSEBYP_Field := 16#0#;
-- Clock security system enable
CSSON : CR_CSSON_Field := 16#0#;
-- unspecified
Reserved_20_23 : Interfaces.STM32.UInt4 := 16#0#;
-- Main PLL (PLL) enable
PLLON : CR_PLLON_Field := 16#0#;
-- Read-only. Main PLL (PLL) clock ready flag
PLLRDY : CR_PLLRDY_Field := 16#0#;
-- PLLI2S enable
PLLI2SON : CR_PLLI2SON_Field := 16#0#;
-- Read-only. PLLI2S clock ready flag
PLLI2SRDY : CR_PLLI2SRDY_Field := 16#0#;
-- PLLSAI enable
PLLSAION : CR_PLLSAION_Field := 16#0#;
-- Read-only. PLLSAI clock ready flag
PLLSAIRDY : CR_PLLSAIRDY_Field := 16#0#;
-- unspecified
Reserved_30_31 : Interfaces.STM32.UInt2 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CR_Register use record
HSION at 0 range 0 .. 0;
HSIRDY at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
HSITRIM at 0 range 3 .. 7;
HSICAL at 0 range 8 .. 15;
HSEON at 0 range 16 .. 16;
HSERDY at 0 range 17 .. 17;
HSEBYP at 0 range 18 .. 18;
CSSON at 0 range 19 .. 19;
Reserved_20_23 at 0 range 20 .. 23;
PLLON at 0 range 24 .. 24;
PLLRDY at 0 range 25 .. 25;
PLLI2SON at 0 range 26 .. 26;
PLLI2SRDY at 0 range 27 .. 27;
PLLSAION at 0 range 28 .. 28;
PLLSAIRDY at 0 range 29 .. 29;
Reserved_30_31 at 0 range 30 .. 31;
end record;
subtype PLLCFGR_PLLM_Field is Interfaces.STM32.UInt6;
subtype PLLCFGR_PLLN_Field is Interfaces.STM32.UInt9;
subtype PLLCFGR_PLLP_Field is Interfaces.STM32.UInt2;
subtype PLLCFGR_PLLSRC_Field is Interfaces.STM32.Bit;
subtype PLLCFGR_PLLQ_Field is Interfaces.STM32.UInt4;
subtype PLLCFGR_PLLR_Field is Interfaces.STM32.UInt3;
-- PLL configuration register
type PLLCFGR_Register is record
-- Division factor for the main PLL (PLL) and audio PLL (PLLI2S) input
-- clock
PLLM : PLLCFGR_PLLM_Field := 16#10#;
-- Main PLL (PLL) multiplication factor for VCO
PLLN : PLLCFGR_PLLN_Field := 16#C0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- Main PLL (PLL) division factor for main system clock
PLLP : PLLCFGR_PLLP_Field := 16#0#;
-- unspecified
Reserved_18_21 : Interfaces.STM32.UInt4 := 16#0#;
-- Main PLL(PLL) and audio PLL (PLLI2S) entry clock source
PLLSRC : PLLCFGR_PLLSRC_Field := 16#0#;
-- unspecified
Reserved_23_23 : Interfaces.STM32.Bit := 16#0#;
-- Main PLL (PLL) division factor for USB OTG FS, SDIO and random number
-- generator clocks
PLLQ : PLLCFGR_PLLQ_Field := 16#4#;
-- Main PLL division factor for DSI clock
PLLR : PLLCFGR_PLLR_Field := 16#2#;
-- unspecified
Reserved_31_31 : Interfaces.STM32.Bit := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for PLLCFGR_Register use record
PLLM at 0 range 0 .. 5;
PLLN at 0 range 6 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
PLLP at 0 range 16 .. 17;
Reserved_18_21 at 0 range 18 .. 21;
PLLSRC at 0 range 22 .. 22;
Reserved_23_23 at 0 range 23 .. 23;
PLLQ at 0 range 24 .. 27;
PLLR at 0 range 28 .. 30;
Reserved_31_31 at 0 range 31 .. 31;
end record;
subtype CFGR_SW_Field is Interfaces.STM32.UInt2;
subtype CFGR_SWS_Field is Interfaces.STM32.UInt2;
subtype CFGR_HPRE_Field is Interfaces.STM32.UInt4;
-- CFGR_PPRE array element
subtype CFGR_PPRE_Element is Interfaces.STM32.UInt3;
-- CFGR_PPRE array
type CFGR_PPRE_Field_Array is array (1 .. 2) of CFGR_PPRE_Element
with Component_Size => 3, Size => 6;
-- Type definition for CFGR_PPRE
type CFGR_PPRE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- PPRE as a value
Val : Interfaces.STM32.UInt6;
when True =>
-- PPRE as an array
Arr : CFGR_PPRE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 6;
for CFGR_PPRE_Field use record
Val at 0 range 0 .. 5;
Arr at 0 range 0 .. 5;
end record;
subtype CFGR_RTCPRE_Field is Interfaces.STM32.UInt5;
subtype CFGR_MCO1_Field is Interfaces.STM32.UInt2;
subtype CFGR_I2SSRC_Field is Interfaces.STM32.Bit;
subtype CFGR_MCO1PRE_Field is Interfaces.STM32.UInt3;
subtype CFGR_MCO2PRE_Field is Interfaces.STM32.UInt3;
subtype CFGR_MCO2_Field is Interfaces.STM32.UInt2;
-- clock configuration register
type CFGR_Register is record
-- System clock switch
SW : CFGR_SW_Field := 16#0#;
-- Read-only. System clock switch status
SWS : CFGR_SWS_Field := 16#0#;
-- AHB prescaler
HPRE : CFGR_HPRE_Field := 16#0#;
-- unspecified
Reserved_8_9 : Interfaces.STM32.UInt2 := 16#0#;
-- APB Low speed prescaler (APB1)
PPRE : CFGR_PPRE_Field := (As_Array => False, Val => 16#0#);
-- HSE division factor for RTC clock
RTCPRE : CFGR_RTCPRE_Field := 16#0#;
-- Microcontroller clock output 1
MCO1 : CFGR_MCO1_Field := 16#0#;
-- I2S clock selection
I2SSRC : CFGR_I2SSRC_Field := 16#0#;
-- MCO1 prescaler
MCO1PRE : CFGR_MCO1PRE_Field := 16#0#;
-- MCO2 prescaler
MCO2PRE : CFGR_MCO2PRE_Field := 16#0#;
-- Microcontroller clock output 2
MCO2 : CFGR_MCO2_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CFGR_Register use record
SW at 0 range 0 .. 1;
SWS at 0 range 2 .. 3;
HPRE at 0 range 4 .. 7;
Reserved_8_9 at 0 range 8 .. 9;
PPRE at 0 range 10 .. 15;
RTCPRE at 0 range 16 .. 20;
MCO1 at 0 range 21 .. 22;
I2SSRC at 0 range 23 .. 23;
MCO1PRE at 0 range 24 .. 26;
MCO2PRE at 0 range 27 .. 29;
MCO2 at 0 range 30 .. 31;
end record;
subtype CIR_LSIRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_LSERDYF_Field is Interfaces.STM32.Bit;
subtype CIR_HSIRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_HSERDYF_Field is Interfaces.STM32.Bit;
subtype CIR_PLLRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_PLLI2SRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_PLLSAIRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_CSSF_Field is Interfaces.STM32.Bit;
subtype CIR_LSIRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_LSERDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_HSIRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_HSERDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_PLLRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_PLLI2SRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_PLLSAIRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_LSIRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_LSERDYC_Field is Interfaces.STM32.Bit;
subtype CIR_HSIRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_HSERDYC_Field is Interfaces.STM32.Bit;
subtype CIR_PLLRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_PLLI2SRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_PLLSAIRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_CSSC_Field is Interfaces.STM32.Bit;
-- clock interrupt register
type CIR_Register is record
-- Read-only. LSI ready interrupt flag
LSIRDYF : CIR_LSIRDYF_Field := 16#0#;
-- Read-only. LSE ready interrupt flag
LSERDYF : CIR_LSERDYF_Field := 16#0#;
-- Read-only. HSI ready interrupt flag
HSIRDYF : CIR_HSIRDYF_Field := 16#0#;
-- Read-only. HSE ready interrupt flag
HSERDYF : CIR_HSERDYF_Field := 16#0#;
-- Read-only. Main PLL (PLL) ready interrupt flag
PLLRDYF : CIR_PLLRDYF_Field := 16#0#;
-- Read-only. PLLI2S ready interrupt flag
PLLI2SRDYF : CIR_PLLI2SRDYF_Field := 16#0#;
-- Read-only. PLLSAI ready interrupt flag
PLLSAIRDYF : CIR_PLLSAIRDYF_Field := 16#0#;
-- Read-only. Clock security system interrupt flag
CSSF : CIR_CSSF_Field := 16#0#;
-- LSI ready interrupt enable
LSIRDYIE : CIR_LSIRDYIE_Field := 16#0#;
-- LSE ready interrupt enable
LSERDYIE : CIR_LSERDYIE_Field := 16#0#;
-- HSI ready interrupt enable
HSIRDYIE : CIR_HSIRDYIE_Field := 16#0#;
-- HSE ready interrupt enable
HSERDYIE : CIR_HSERDYIE_Field := 16#0#;
-- Main PLL (PLL) ready interrupt enable
PLLRDYIE : CIR_PLLRDYIE_Field := 16#0#;
-- PLLI2S ready interrupt enable
PLLI2SRDYIE : CIR_PLLI2SRDYIE_Field := 16#0#;
-- PLLSAI Ready Interrupt Enable
PLLSAIRDYIE : CIR_PLLSAIRDYIE_Field := 16#0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- Write-only. LSI ready interrupt clear
LSIRDYC : CIR_LSIRDYC_Field := 16#0#;
-- Write-only. LSE ready interrupt clear
LSERDYC : CIR_LSERDYC_Field := 16#0#;
-- Write-only. HSI ready interrupt clear
HSIRDYC : CIR_HSIRDYC_Field := 16#0#;
-- Write-only. HSE ready interrupt clear
HSERDYC : CIR_HSERDYC_Field := 16#0#;
-- Write-only. Main PLL(PLL) ready interrupt clear
PLLRDYC : CIR_PLLRDYC_Field := 16#0#;
-- Write-only. PLLI2S ready interrupt clear
PLLI2SRDYC : CIR_PLLI2SRDYC_Field := 16#0#;
-- Write-only. PLLSAI Ready Interrupt Clear
PLLSAIRDYC : CIR_PLLSAIRDYC_Field := 16#0#;
-- Write-only. Clock security system interrupt clear
CSSC : CIR_CSSC_Field := 16#0#;
-- unspecified
Reserved_24_31 : Interfaces.STM32.Byte := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CIR_Register use record
LSIRDYF at 0 range 0 .. 0;
LSERDYF at 0 range 1 .. 1;
HSIRDYF at 0 range 2 .. 2;
HSERDYF at 0 range 3 .. 3;
PLLRDYF at 0 range 4 .. 4;
PLLI2SRDYF at 0 range 5 .. 5;
PLLSAIRDYF at 0 range 6 .. 6;
CSSF at 0 range 7 .. 7;
LSIRDYIE at 0 range 8 .. 8;
LSERDYIE at 0 range 9 .. 9;
HSIRDYIE at 0 range 10 .. 10;
HSERDYIE at 0 range 11 .. 11;
PLLRDYIE at 0 range 12 .. 12;
PLLI2SRDYIE at 0 range 13 .. 13;
PLLSAIRDYIE at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
LSIRDYC at 0 range 16 .. 16;
LSERDYC at 0 range 17 .. 17;
HSIRDYC at 0 range 18 .. 18;
HSERDYC at 0 range 19 .. 19;
PLLRDYC at 0 range 20 .. 20;
PLLI2SRDYC at 0 range 21 .. 21;
PLLSAIRDYC at 0 range 22 .. 22;
CSSC at 0 range 23 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype AHB1RSTR_GPIOARST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOBRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOCRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIODRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOERST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOFRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOGRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOHRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOIRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOJRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOKRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_CRCRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_DMA1RST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_DMA2RST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_DMA2DRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_ETHMACRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_OTGHSRST_Field is Interfaces.STM32.Bit;
-- AHB1 peripheral reset register
type AHB1RSTR_Register is record
-- IO port A reset
GPIOARST : AHB1RSTR_GPIOARST_Field := 16#0#;
-- IO port B reset
GPIOBRST : AHB1RSTR_GPIOBRST_Field := 16#0#;
-- IO port C reset
GPIOCRST : AHB1RSTR_GPIOCRST_Field := 16#0#;
-- IO port D reset
GPIODRST : AHB1RSTR_GPIODRST_Field := 16#0#;
-- IO port E reset
GPIOERST : AHB1RSTR_GPIOERST_Field := 16#0#;
-- IO port F reset
GPIOFRST : AHB1RSTR_GPIOFRST_Field := 16#0#;
-- IO port G reset
GPIOGRST : AHB1RSTR_GPIOGRST_Field := 16#0#;
-- IO port H reset
GPIOHRST : AHB1RSTR_GPIOHRST_Field := 16#0#;
-- IO port I reset
GPIOIRST : AHB1RSTR_GPIOIRST_Field := 16#0#;
-- IO port J reset
GPIOJRST : AHB1RSTR_GPIOJRST_Field := 16#0#;
-- IO port K reset
GPIOKRST : AHB1RSTR_GPIOKRST_Field := 16#0#;
-- unspecified
Reserved_11_11 : Interfaces.STM32.Bit := 16#0#;
-- CRC reset
CRCRST : AHB1RSTR_CRCRST_Field := 16#0#;
-- unspecified
Reserved_13_20 : Interfaces.STM32.Byte := 16#0#;
-- DMA2 reset
DMA1RST : AHB1RSTR_DMA1RST_Field := 16#0#;
-- DMA2 reset
DMA2RST : AHB1RSTR_DMA2RST_Field := 16#0#;
-- DMA2D reset
DMA2DRST : AHB1RSTR_DMA2DRST_Field := 16#0#;
-- unspecified
Reserved_24_24 : Interfaces.STM32.Bit := 16#0#;
-- Ethernet MAC reset
ETHMACRST : AHB1RSTR_ETHMACRST_Field := 16#0#;
-- unspecified
Reserved_26_28 : Interfaces.STM32.UInt3 := 16#0#;
-- USB OTG HS module reset
OTGHSRST : AHB1RSTR_OTGHSRST_Field := 16#0#;
-- unspecified
Reserved_30_31 : Interfaces.STM32.UInt2 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB1RSTR_Register use record
GPIOARST at 0 range 0 .. 0;
GPIOBRST at 0 range 1 .. 1;
GPIOCRST at 0 range 2 .. 2;
GPIODRST at 0 range 3 .. 3;
GPIOERST at 0 range 4 .. 4;
GPIOFRST at 0 range 5 .. 5;
GPIOGRST at 0 range 6 .. 6;
GPIOHRST at 0 range 7 .. 7;
GPIOIRST at 0 range 8 .. 8;
GPIOJRST at 0 range 9 .. 9;
GPIOKRST at 0 range 10 .. 10;
Reserved_11_11 at 0 range 11 .. 11;
CRCRST at 0 range 12 .. 12;
Reserved_13_20 at 0 range 13 .. 20;
DMA1RST at 0 range 21 .. 21;
DMA2RST at 0 range 22 .. 22;
DMA2DRST at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
ETHMACRST at 0 range 25 .. 25;
Reserved_26_28 at 0 range 26 .. 28;
OTGHSRST at 0 range 29 .. 29;
Reserved_30_31 at 0 range 30 .. 31;
end record;
subtype AHB2RSTR_DCMIRST_Field is Interfaces.STM32.Bit;
subtype AHB2RSTR_CRYPRST_Field is Interfaces.STM32.Bit;
subtype AHB2RSTR_HSAHRST_Field is Interfaces.STM32.Bit;
subtype AHB2RSTR_RNGRST_Field is Interfaces.STM32.Bit;
subtype AHB2RSTR_OTGFSRST_Field is Interfaces.STM32.Bit;
-- AHB2 peripheral reset register
type AHB2RSTR_Register is record
-- Camera interface reset
DCMIRST : AHB2RSTR_DCMIRST_Field := 16#0#;
-- unspecified
Reserved_1_3 : Interfaces.STM32.UInt3 := 16#0#;
-- Cryptographic module reset
CRYPRST : AHB2RSTR_CRYPRST_Field := 16#0#;
-- Hash module reset
HSAHRST : AHB2RSTR_HSAHRST_Field := 16#0#;
-- Random number generator module reset
RNGRST : AHB2RSTR_RNGRST_Field := 16#0#;
-- USB OTG FS module reset
OTGFSRST : AHB2RSTR_OTGFSRST_Field := 16#0#;
-- unspecified
Reserved_8_31 : Interfaces.STM32.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB2RSTR_Register use record
DCMIRST at 0 range 0 .. 0;
Reserved_1_3 at 0 range 1 .. 3;
CRYPRST at 0 range 4 .. 4;
HSAHRST at 0 range 5 .. 5;
RNGRST at 0 range 6 .. 6;
OTGFSRST at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype AHB3RSTR_FMCRST_Field is Interfaces.STM32.Bit;
subtype AHB3RSTR_QSPIRST_Field is Interfaces.STM32.Bit;
-- AHB3 peripheral reset register
type AHB3RSTR_Register is record
-- Flexible memory controller module reset
FMCRST : AHB3RSTR_FMCRST_Field := 16#0#;
-- QUADSPI memory controller reset
QSPIRST : AHB3RSTR_QSPIRST_Field := 16#0#;
-- unspecified
Reserved_2_31 : Interfaces.STM32.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB3RSTR_Register use record
FMCRST at 0 range 0 .. 0;
QSPIRST at 0 range 1 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
subtype APB1RSTR_TIM2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM4RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM5RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM6RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM7RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM12RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM13RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM14RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_WWDGRST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_SPI2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_SPI3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART4RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART5RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_I2C1RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_I2C2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_I2C3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_CAN1RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_CAN2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_PWRRST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_DACRST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART7RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART8RST_Field is Interfaces.STM32.Bit;
-- APB1 peripheral reset register
type APB1RSTR_Register is record
-- TIM2 reset
TIM2RST : APB1RSTR_TIM2RST_Field := 16#0#;
-- TIM3 reset
TIM3RST : APB1RSTR_TIM3RST_Field := 16#0#;
-- TIM4 reset
TIM4RST : APB1RSTR_TIM4RST_Field := 16#0#;
-- TIM5 reset
TIM5RST : APB1RSTR_TIM5RST_Field := 16#0#;
-- TIM6 reset
TIM6RST : APB1RSTR_TIM6RST_Field := 16#0#;
-- TIM7 reset
TIM7RST : APB1RSTR_TIM7RST_Field := 16#0#;
-- TIM12 reset
TIM12RST : APB1RSTR_TIM12RST_Field := 16#0#;
-- TIM13 reset
TIM13RST : APB1RSTR_TIM13RST_Field := 16#0#;
-- TIM14 reset
TIM14RST : APB1RSTR_TIM14RST_Field := 16#0#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#0#;
-- Window watchdog reset
WWDGRST : APB1RSTR_WWDGRST_Field := 16#0#;
-- unspecified
Reserved_12_13 : Interfaces.STM32.UInt2 := 16#0#;
-- SPI 2 reset
SPI2RST : APB1RSTR_SPI2RST_Field := 16#0#;
-- SPI 3 reset
SPI3RST : APB1RSTR_SPI3RST_Field := 16#0#;
-- unspecified
Reserved_16_16 : Interfaces.STM32.Bit := 16#0#;
-- USART 2 reset
UART2RST : APB1RSTR_UART2RST_Field := 16#0#;
-- USART 3 reset
UART3RST : APB1RSTR_UART3RST_Field := 16#0#;
-- USART 4 reset
UART4RST : APB1RSTR_UART4RST_Field := 16#0#;
-- USART 5 reset
UART5RST : APB1RSTR_UART5RST_Field := 16#0#;
-- I2C 1 reset
I2C1RST : APB1RSTR_I2C1RST_Field := 16#0#;
-- I2C 2 reset
I2C2RST : APB1RSTR_I2C2RST_Field := 16#0#;
-- I2C3 reset
I2C3RST : APB1RSTR_I2C3RST_Field := 16#0#;
-- unspecified
Reserved_24_24 : Interfaces.STM32.Bit := 16#0#;
-- CAN1 reset
CAN1RST : APB1RSTR_CAN1RST_Field := 16#0#;
-- CAN2 reset
CAN2RST : APB1RSTR_CAN2RST_Field := 16#0#;
-- unspecified
Reserved_27_27 : Interfaces.STM32.Bit := 16#0#;
-- Power interface reset
PWRRST : APB1RSTR_PWRRST_Field := 16#0#;
-- DAC reset
DACRST : APB1RSTR_DACRST_Field := 16#0#;
-- UART7 reset
UART7RST : APB1RSTR_UART7RST_Field := 16#0#;
-- UART8 reset
UART8RST : APB1RSTR_UART8RST_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for APB1RSTR_Register use record
TIM2RST at 0 range 0 .. 0;
TIM3RST at 0 range 1 .. 1;
TIM4RST at 0 range 2 .. 2;
TIM5RST at 0 range 3 .. 3;
TIM6RST at 0 range 4 .. 4;
TIM7RST at 0 range 5 .. 5;
TIM12RST at 0 range 6 .. 6;
TIM13RST at 0 range 7 .. 7;
TIM14RST at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
WWDGRST at 0 range 11 .. 11;
Reserved_12_13 at 0 range 12 .. 13;
SPI2RST at 0 range 14 .. 14;
SPI3RST at 0 range 15 .. 15;
Reserved_16_16 at 0 range 16 .. 16;
UART2RST at 0 range 17 .. 17;
UART3RST at 0 range 18 .. 18;
UART4RST at 0 range 19 .. 19;
UART5RST at 0 range 20 .. 20;
I2C1RST at 0 range 21 .. 21;
I2C2RST at 0 range 22 .. 22;
I2C3RST at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
CAN1RST at 0 range 25 .. 25;
CAN2RST at 0 range 26 .. 26;
Reserved_27_27 at 0 range 27 .. 27;
PWRRST at 0 range 28 .. 28;
DACRST at 0 range 29 .. 29;
UART7RST at 0 range 30 .. 30;
UART8RST at 0 range 31 .. 31;
end record;
subtype APB2RSTR_TIM1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM8RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_USART1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_USART6RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_ADCRST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SDIORST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SPI1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SPI4RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SYSCFGRST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM9RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM10RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM11RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SPI5RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SPI6RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SAI1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_LTDCRST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_DSIRST_Field is Interfaces.STM32.Bit;
-- APB2 peripheral reset register
type APB2RSTR_Register is record
-- TIM1 reset
TIM1RST : APB2RSTR_TIM1RST_Field := 16#0#;
-- TIM8 reset
TIM8RST : APB2RSTR_TIM8RST_Field := 16#0#;
-- unspecified
Reserved_2_3 : Interfaces.STM32.UInt2 := 16#0#;
-- USART1 reset
USART1RST : APB2RSTR_USART1RST_Field := 16#0#;
-- USART6 reset
USART6RST : APB2RSTR_USART6RST_Field := 16#0#;
-- unspecified
Reserved_6_7 : Interfaces.STM32.UInt2 := 16#0#;
-- ADC interface reset (common to all ADCs)
ADCRST : APB2RSTR_ADCRST_Field := 16#0#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#0#;
-- SDIO reset
SDIORST : APB2RSTR_SDIORST_Field := 16#0#;
-- SPI 1 reset
SPI1RST : APB2RSTR_SPI1RST_Field := 16#0#;
-- SPI4 reset
SPI4RST : APB2RSTR_SPI4RST_Field := 16#0#;
-- System configuration controller reset
SYSCFGRST : APB2RSTR_SYSCFGRST_Field := 16#0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- TIM9 reset
TIM9RST : APB2RSTR_TIM9RST_Field := 16#0#;
-- TIM10 reset
TIM10RST : APB2RSTR_TIM10RST_Field := 16#0#;
-- TIM11 reset
TIM11RST : APB2RSTR_TIM11RST_Field := 16#0#;
-- unspecified
Reserved_19_19 : Interfaces.STM32.Bit := 16#0#;
-- SPI5 reset
SPI5RST : APB2RSTR_SPI5RST_Field := 16#0#;
-- SPI6 reset
SPI6RST : APB2RSTR_SPI6RST_Field := 16#0#;
-- SAI1 reset
SAI1RST : APB2RSTR_SAI1RST_Field := 16#0#;
-- unspecified
Reserved_23_25 : Interfaces.STM32.UInt3 := 16#0#;
-- LTDC reset
LTDCRST : APB2RSTR_LTDCRST_Field := 16#0#;
-- DSI host reset
DSIRST : APB2RSTR_DSIRST_Field := 16#0#;
-- unspecified
Reserved_28_31 : Interfaces.STM32.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for APB2RSTR_Register use record
TIM1RST at 0 range 0 .. 0;
TIM8RST at 0 range 1 .. 1;
Reserved_2_3 at 0 range 2 .. 3;
USART1RST at 0 range 4 .. 4;
USART6RST at 0 range 5 .. 5;
Reserved_6_7 at 0 range 6 .. 7;
ADCRST at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
SDIORST at 0 range 11 .. 11;
SPI1RST at 0 range 12 .. 12;
SPI4RST at 0 range 13 .. 13;
SYSCFGRST at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
TIM9RST at 0 range 16 .. 16;
TIM10RST at 0 range 17 .. 17;
TIM11RST at 0 range 18 .. 18;
Reserved_19_19 at 0 range 19 .. 19;
SPI5RST at 0 range 20 .. 20;
SPI6RST at 0 range 21 .. 21;
SAI1RST at 0 range 22 .. 22;
Reserved_23_25 at 0 range 23 .. 25;
LTDCRST at 0 range 26 .. 26;
DSIRST at 0 range 27 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype AHB1ENR_GPIOAEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOBEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOCEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIODEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOEEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOFEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOGEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOHEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOIEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOJEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOKEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_CRCEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_BKPSRAMEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_CCMDATARAMEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_DMA1EN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_DMA2EN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_DMA2DEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_ETHMACEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_ETHMACTXEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_ETHMACRXEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_ETHMACPTPEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_OTGHSEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_OTGHSULPIEN_Field is Interfaces.STM32.Bit;
-- AHB1 peripheral clock register
type AHB1ENR_Register is record
-- IO port A clock enable
GPIOAEN : AHB1ENR_GPIOAEN_Field := 16#0#;
-- IO port B clock enable
GPIOBEN : AHB1ENR_GPIOBEN_Field := 16#0#;
-- IO port C clock enable
GPIOCEN : AHB1ENR_GPIOCEN_Field := 16#0#;
-- IO port D clock enable
GPIODEN : AHB1ENR_GPIODEN_Field := 16#0#;
-- IO port E clock enable
GPIOEEN : AHB1ENR_GPIOEEN_Field := 16#0#;
-- IO port F clock enable
GPIOFEN : AHB1ENR_GPIOFEN_Field := 16#0#;
-- IO port G clock enable
GPIOGEN : AHB1ENR_GPIOGEN_Field := 16#0#;
-- IO port H clock enable
GPIOHEN : AHB1ENR_GPIOHEN_Field := 16#0#;
-- IO port I clock enable
GPIOIEN : AHB1ENR_GPIOIEN_Field := 16#0#;
-- IO port J clock enable
GPIOJEN : AHB1ENR_GPIOJEN_Field := 16#0#;
-- IO port K clock enable
GPIOKEN : AHB1ENR_GPIOKEN_Field := 16#0#;
-- unspecified
Reserved_11_11 : Interfaces.STM32.Bit := 16#0#;
-- CRC clock enable
CRCEN : AHB1ENR_CRCEN_Field := 16#0#;
-- unspecified
Reserved_13_17 : Interfaces.STM32.UInt5 := 16#0#;
-- Backup SRAM interface clock enable
BKPSRAMEN : AHB1ENR_BKPSRAMEN_Field := 16#0#;
-- unspecified
Reserved_19_19 : Interfaces.STM32.Bit := 16#0#;
-- CCM data RAM clock enable
CCMDATARAMEN : AHB1ENR_CCMDATARAMEN_Field := 16#1#;
-- DMA1 clock enable
DMA1EN : AHB1ENR_DMA1EN_Field := 16#0#;
-- DMA2 clock enable
DMA2EN : AHB1ENR_DMA2EN_Field := 16#0#;
-- DMA2D clock enable
DMA2DEN : AHB1ENR_DMA2DEN_Field := 16#0#;
-- unspecified
Reserved_24_24 : Interfaces.STM32.Bit := 16#0#;
-- Ethernet MAC clock enable
ETHMACEN : AHB1ENR_ETHMACEN_Field := 16#0#;
-- Ethernet Transmission clock enable
ETHMACTXEN : AHB1ENR_ETHMACTXEN_Field := 16#0#;
-- Ethernet Reception clock enable
ETHMACRXEN : AHB1ENR_ETHMACRXEN_Field := 16#0#;
-- Ethernet PTP clock enable
ETHMACPTPEN : AHB1ENR_ETHMACPTPEN_Field := 16#0#;
-- USB OTG HS clock enable
OTGHSEN : AHB1ENR_OTGHSEN_Field := 16#0#;
-- USB OTG HSULPI clock enable
OTGHSULPIEN : AHB1ENR_OTGHSULPIEN_Field := 16#0#;
-- unspecified
Reserved_31_31 : Interfaces.STM32.Bit := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB1ENR_Register use record
GPIOAEN at 0 range 0 .. 0;
GPIOBEN at 0 range 1 .. 1;
GPIOCEN at 0 range 2 .. 2;
GPIODEN at 0 range 3 .. 3;
GPIOEEN at 0 range 4 .. 4;
GPIOFEN at 0 range 5 .. 5;
GPIOGEN at 0 range 6 .. 6;
GPIOHEN at 0 range 7 .. 7;
GPIOIEN at 0 range 8 .. 8;
GPIOJEN at 0 range 9 .. 9;
GPIOKEN at 0 range 10 .. 10;
Reserved_11_11 at 0 range 11 .. 11;
CRCEN at 0 range 12 .. 12;
Reserved_13_17 at 0 range 13 .. 17;
BKPSRAMEN at 0 range 18 .. 18;
Reserved_19_19 at 0 range 19 .. 19;
CCMDATARAMEN at 0 range 20 .. 20;
DMA1EN at 0 range 21 .. 21;
DMA2EN at 0 range 22 .. 22;
DMA2DEN at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
ETHMACEN at 0 range 25 .. 25;
ETHMACTXEN at 0 range 26 .. 26;
ETHMACRXEN at 0 range 27 .. 27;
ETHMACPTPEN at 0 range 28 .. 28;
OTGHSEN at 0 range 29 .. 29;
OTGHSULPIEN at 0 range 30 .. 30;
Reserved_31_31 at 0 range 31 .. 31;
end record;
subtype AHB2ENR_DCMIEN_Field is Interfaces.STM32.Bit;
subtype AHB2ENR_CRYPEN_Field is Interfaces.STM32.Bit;
subtype AHB2ENR_HASHEN_Field is Interfaces.STM32.Bit;
subtype AHB2ENR_RNGEN_Field is Interfaces.STM32.Bit;
subtype AHB2ENR_OTGFSEN_Field is Interfaces.STM32.Bit;
-- AHB2 peripheral clock enable register
type AHB2ENR_Register is record
-- Camera interface enable
DCMIEN : AHB2ENR_DCMIEN_Field := 16#0#;
-- unspecified
Reserved_1_3 : Interfaces.STM32.UInt3 := 16#0#;
-- Cryptographic modules clock enable
CRYPEN : AHB2ENR_CRYPEN_Field := 16#0#;
-- Hash modules clock enable
HASHEN : AHB2ENR_HASHEN_Field := 16#0#;
-- Random number generator clock enable
RNGEN : AHB2ENR_RNGEN_Field := 16#0#;
-- USB OTG FS clock enable
OTGFSEN : AHB2ENR_OTGFSEN_Field := 16#0#;
-- unspecified
Reserved_8_31 : Interfaces.STM32.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB2ENR_Register use record
DCMIEN at 0 range 0 .. 0;
Reserved_1_3 at 0 range 1 .. 3;
CRYPEN at 0 range 4 .. 4;
HASHEN at 0 range 5 .. 5;
RNGEN at 0 range 6 .. 6;
OTGFSEN at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype AHB3ENR_FMCEN_Field is Interfaces.STM32.Bit;
subtype AHB3ENR_QSPIEN_Field is Interfaces.STM32.Bit;
-- AHB3 peripheral clock enable register
type AHB3ENR_Register is record
-- Flexible memory controller module clock enable
FMCEN : AHB3ENR_FMCEN_Field := 16#0#;
-- QUADSPI memory controller module clock enable
QSPIEN : AHB3ENR_QSPIEN_Field := 16#0#;
-- unspecified
Reserved_2_31 : Interfaces.STM32.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB3ENR_Register use record
FMCEN at 0 range 0 .. 0;
QSPIEN at 0 range 1 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
subtype APB1ENR_TIM2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM4EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM5EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM6EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM7EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM12EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM13EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM14EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_WWDGEN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_SPI2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_SPI3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_USART2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_USART3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_UART4EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_UART5EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_I2C1EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_I2C2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_I2C3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_CAN1EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_CAN2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_PWREN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_DACEN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_UART7ENR_Field is Interfaces.STM32.Bit;
subtype APB1ENR_UART8ENR_Field is Interfaces.STM32.Bit;
-- APB1 peripheral clock enable register
type APB1ENR_Register is record
-- TIM2 clock enable
TIM2EN : APB1ENR_TIM2EN_Field := 16#0#;
-- TIM3 clock enable
TIM3EN : APB1ENR_TIM3EN_Field := 16#0#;
-- TIM4 clock enable
TIM4EN : APB1ENR_TIM4EN_Field := 16#0#;
-- TIM5 clock enable
TIM5EN : APB1ENR_TIM5EN_Field := 16#0#;
-- TIM6 clock enable
TIM6EN : APB1ENR_TIM6EN_Field := 16#0#;
-- TIM7 clock enable
TIM7EN : APB1ENR_TIM7EN_Field := 16#0#;
-- TIM12 clock enable
TIM12EN : APB1ENR_TIM12EN_Field := 16#0#;
-- TIM13 clock enable
TIM13EN : APB1ENR_TIM13EN_Field := 16#0#;
-- TIM14 clock enable
TIM14EN : APB1ENR_TIM14EN_Field := 16#0#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#0#;
-- Window watchdog clock enable
WWDGEN : APB1ENR_WWDGEN_Field := 16#0#;
-- unspecified
Reserved_12_13 : Interfaces.STM32.UInt2 := 16#0#;
-- SPI2 clock enable
SPI2EN : APB1ENR_SPI2EN_Field := 16#0#;
-- SPI3 clock enable
SPI3EN : APB1ENR_SPI3EN_Field := 16#0#;
-- unspecified
Reserved_16_16 : Interfaces.STM32.Bit := 16#0#;
-- USART 2 clock enable
USART2EN : APB1ENR_USART2EN_Field := 16#0#;
-- USART3 clock enable
USART3EN : APB1ENR_USART3EN_Field := 16#0#;
-- UART4 clock enable
UART4EN : APB1ENR_UART4EN_Field := 16#0#;
-- UART5 clock enable
UART5EN : APB1ENR_UART5EN_Field := 16#0#;
-- I2C1 clock enable
I2C1EN : APB1ENR_I2C1EN_Field := 16#0#;
-- I2C2 clock enable
I2C2EN : APB1ENR_I2C2EN_Field := 16#0#;
-- I2C3 clock enable
I2C3EN : APB1ENR_I2C3EN_Field := 16#0#;
-- unspecified
Reserved_24_24 : Interfaces.STM32.Bit := 16#0#;
-- CAN 1 clock enable
CAN1EN : APB1ENR_CAN1EN_Field := 16#0#;
-- CAN 2 clock enable
CAN2EN : APB1ENR_CAN2EN_Field := 16#0#;
-- unspecified
Reserved_27_27 : Interfaces.STM32.Bit := 16#0#;
-- Power interface clock enable
PWREN : APB1ENR_PWREN_Field := 16#0#;
-- DAC interface clock enable
DACEN : APB1ENR_DACEN_Field := 16#0#;
-- UART7 clock enable
UART7ENR : APB1ENR_UART7ENR_Field := 16#0#;
-- UART8 clock enable
UART8ENR : APB1ENR_UART8ENR_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for APB1ENR_Register use record
TIM2EN at 0 range 0 .. 0;
TIM3EN at 0 range 1 .. 1;
TIM4EN at 0 range 2 .. 2;
TIM5EN at 0 range 3 .. 3;
TIM6EN at 0 range 4 .. 4;
TIM7EN at 0 range 5 .. 5;
TIM12EN at 0 range 6 .. 6;
TIM13EN at 0 range 7 .. 7;
TIM14EN at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
WWDGEN at 0 range 11 .. 11;
Reserved_12_13 at 0 range 12 .. 13;
SPI2EN at 0 range 14 .. 14;
SPI3EN at 0 range 15 .. 15;
Reserved_16_16 at 0 range 16 .. 16;
USART2EN at 0 range 17 .. 17;
USART3EN at 0 range 18 .. 18;
UART4EN at 0 range 19 .. 19;
UART5EN at 0 range 20 .. 20;
I2C1EN at 0 range 21 .. 21;
I2C2EN at 0 range 22 .. 22;
I2C3EN at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
CAN1EN at 0 range 25 .. 25;
CAN2EN at 0 range 26 .. 26;
Reserved_27_27 at 0 range 27 .. 27;
PWREN at 0 range 28 .. 28;
DACEN at 0 range 29 .. 29;
UART7ENR at 0 range 30 .. 30;
UART8ENR at 0 range 31 .. 31;
end record;
subtype APB2ENR_TIM1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM8EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_USART1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_USART6EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_ADC1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_ADC2EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_ADC3EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SDIOEN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SPI1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SPI4ENR_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SYSCFGEN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM9EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM10EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM11EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SPI5ENR_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SPI6ENR_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SAI1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_LTDCEN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_DSIEN_Field is Interfaces.STM32.Bit;
-- APB2 peripheral clock enable register
type APB2ENR_Register is record
-- TIM1 clock enable
TIM1EN : APB2ENR_TIM1EN_Field := 16#0#;
-- TIM8 clock enable
TIM8EN : APB2ENR_TIM8EN_Field := 16#0#;
-- unspecified
Reserved_2_3 : Interfaces.STM32.UInt2 := 16#0#;
-- USART1 clock enable
USART1EN : APB2ENR_USART1EN_Field := 16#0#;
-- USART6 clock enable
USART6EN : APB2ENR_USART6EN_Field := 16#0#;
-- unspecified
Reserved_6_7 : Interfaces.STM32.UInt2 := 16#0#;
-- ADC1 clock enable
ADC1EN : APB2ENR_ADC1EN_Field := 16#0#;
-- ADC2 clock enable
ADC2EN : APB2ENR_ADC2EN_Field := 16#0#;
-- ADC3 clock enable
ADC3EN : APB2ENR_ADC3EN_Field := 16#0#;
-- SDIO clock enable
SDIOEN : APB2ENR_SDIOEN_Field := 16#0#;
-- SPI1 clock enable
SPI1EN : APB2ENR_SPI1EN_Field := 16#0#;
-- SPI4 clock enable
SPI4ENR : APB2ENR_SPI4ENR_Field := 16#0#;
-- System configuration controller clock enable
SYSCFGEN : APB2ENR_SYSCFGEN_Field := 16#0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- TIM9 clock enable
TIM9EN : APB2ENR_TIM9EN_Field := 16#0#;
-- TIM10 clock enable
TIM10EN : APB2ENR_TIM10EN_Field := 16#0#;
-- TIM11 clock enable
TIM11EN : APB2ENR_TIM11EN_Field := 16#0#;
-- unspecified
Reserved_19_19 : Interfaces.STM32.Bit := 16#0#;
-- SPI5 clock enable
SPI5ENR : APB2ENR_SPI5ENR_Field := 16#0#;
-- SPI6 clock enable
SPI6ENR : APB2ENR_SPI6ENR_Field := 16#0#;
-- SAI1 clock enable
SAI1EN : APB2ENR_SAI1EN_Field := 16#0#;
-- unspecified
Reserved_23_25 : Interfaces.STM32.UInt3 := 16#0#;
-- LTDC clock enable
LTDCEN : APB2ENR_LTDCEN_Field := 16#0#;
-- DSI clocks enable
DSIEN : APB2ENR_DSIEN_Field := 16#0#;
-- unspecified
Reserved_28_31 : Interfaces.STM32.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for APB2ENR_Register use record
TIM1EN at 0 range 0 .. 0;
TIM8EN at 0 range 1 .. 1;
Reserved_2_3 at 0 range 2 .. 3;
USART1EN at 0 range 4 .. 4;
USART6EN at 0 range 5 .. 5;
Reserved_6_7 at 0 range 6 .. 7;
ADC1EN at 0 range 8 .. 8;
ADC2EN at 0 range 9 .. 9;
ADC3EN at 0 range 10 .. 10;
SDIOEN at 0 range 11 .. 11;
SPI1EN at 0 range 12 .. 12;
SPI4ENR at 0 range 13 .. 13;
SYSCFGEN at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
TIM9EN at 0 range 16 .. 16;
TIM10EN at 0 range 17 .. 17;
TIM11EN at 0 range 18 .. 18;
Reserved_19_19 at 0 range 19 .. 19;
SPI5ENR at 0 range 20 .. 20;
SPI6ENR at 0 range 21 .. 21;
SAI1EN at 0 range 22 .. 22;
Reserved_23_25 at 0 range 23 .. 25;
LTDCEN at 0 range 26 .. 26;
DSIEN at 0 range 27 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype AHB1LPENR_GPIOALPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOBLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOCLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIODLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOELPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOFLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOGLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOHLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOILPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOJLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOKLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_CRCLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_FLITFLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_SRAM1LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_SRAM2LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_BKPSRAMLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_SRAM3LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_DMA1LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_DMA2LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_DMA2DLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_ETHMACLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_ETHMACTXLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_ETHMACRXLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_ETHMACPTPLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_OTGHSLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_OTGHSULPILPEN_Field is Interfaces.STM32.Bit;
-- AHB1 peripheral clock enable in low power mode register
type AHB1LPENR_Register is record
-- IO port A clock enable during sleep mode
GPIOALPEN : AHB1LPENR_GPIOALPEN_Field := 16#1#;
-- IO port B clock enable during Sleep mode
GPIOBLPEN : AHB1LPENR_GPIOBLPEN_Field := 16#1#;
-- IO port C clock enable during Sleep mode
GPIOCLPEN : AHB1LPENR_GPIOCLPEN_Field := 16#1#;
-- IO port D clock enable during Sleep mode
GPIODLPEN : AHB1LPENR_GPIODLPEN_Field := 16#1#;
-- IO port E clock enable during Sleep mode
GPIOELPEN : AHB1LPENR_GPIOELPEN_Field := 16#1#;
-- IO port F clock enable during Sleep mode
GPIOFLPEN : AHB1LPENR_GPIOFLPEN_Field := 16#1#;
-- IO port G clock enable during Sleep mode
GPIOGLPEN : AHB1LPENR_GPIOGLPEN_Field := 16#1#;
-- IO port H clock enable during Sleep mode
GPIOHLPEN : AHB1LPENR_GPIOHLPEN_Field := 16#1#;
-- IO port I clock enable during Sleep mode
GPIOILPEN : AHB1LPENR_GPIOILPEN_Field := 16#1#;
-- IO port J clock enable during Sleep mode
GPIOJLPEN : AHB1LPENR_GPIOJLPEN_Field := 16#0#;
-- IO port K clock enable during Sleep mode
GPIOKLPEN : AHB1LPENR_GPIOKLPEN_Field := 16#0#;
-- unspecified
Reserved_11_11 : Interfaces.STM32.Bit := 16#0#;
-- CRC clock enable during Sleep mode
CRCLPEN : AHB1LPENR_CRCLPEN_Field := 16#1#;
-- unspecified
Reserved_13_14 : Interfaces.STM32.UInt2 := 16#0#;
-- Flash interface clock enable during Sleep mode
FLITFLPEN : AHB1LPENR_FLITFLPEN_Field := 16#1#;
-- SRAM 1interface clock enable during Sleep mode
SRAM1LPEN : AHB1LPENR_SRAM1LPEN_Field := 16#1#;
-- SRAM 2 interface clock enable during Sleep mode
SRAM2LPEN : AHB1LPENR_SRAM2LPEN_Field := 16#1#;
-- Backup SRAM interface clock enable during Sleep mode
BKPSRAMLPEN : AHB1LPENR_BKPSRAMLPEN_Field := 16#1#;
-- SRAM 3 interface clock enable during Sleep mode
SRAM3LPEN : AHB1LPENR_SRAM3LPEN_Field := 16#0#;
-- unspecified
Reserved_20_20 : Interfaces.STM32.Bit := 16#0#;
-- DMA1 clock enable during Sleep mode
DMA1LPEN : AHB1LPENR_DMA1LPEN_Field := 16#1#;
-- DMA2 clock enable during Sleep mode
DMA2LPEN : AHB1LPENR_DMA2LPEN_Field := 16#1#;
-- DMA2D clock enable during Sleep mode
DMA2DLPEN : AHB1LPENR_DMA2DLPEN_Field := 16#0#;
-- unspecified
Reserved_24_24 : Interfaces.STM32.Bit := 16#0#;
-- Ethernet MAC clock enable during Sleep mode
ETHMACLPEN : AHB1LPENR_ETHMACLPEN_Field := 16#1#;
-- Ethernet transmission clock enable during Sleep mode
ETHMACTXLPEN : AHB1LPENR_ETHMACTXLPEN_Field := 16#1#;
-- Ethernet reception clock enable during Sleep mode
ETHMACRXLPEN : AHB1LPENR_ETHMACRXLPEN_Field := 16#1#;
-- Ethernet PTP clock enable during Sleep mode
ETHMACPTPLPEN : AHB1LPENR_ETHMACPTPLPEN_Field := 16#1#;
-- USB OTG HS clock enable during Sleep mode
OTGHSLPEN : AHB1LPENR_OTGHSLPEN_Field := 16#1#;
-- USB OTG HS ULPI clock enable during Sleep mode
OTGHSULPILPEN : AHB1LPENR_OTGHSULPILPEN_Field := 16#1#;
-- unspecified
Reserved_31_31 : Interfaces.STM32.Bit := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB1LPENR_Register use record
GPIOALPEN at 0 range 0 .. 0;
GPIOBLPEN at 0 range 1 .. 1;
GPIOCLPEN at 0 range 2 .. 2;
GPIODLPEN at 0 range 3 .. 3;
GPIOELPEN at 0 range 4 .. 4;
GPIOFLPEN at 0 range 5 .. 5;
GPIOGLPEN at 0 range 6 .. 6;
GPIOHLPEN at 0 range 7 .. 7;
GPIOILPEN at 0 range 8 .. 8;
GPIOJLPEN at 0 range 9 .. 9;
GPIOKLPEN at 0 range 10 .. 10;
Reserved_11_11 at 0 range 11 .. 11;
CRCLPEN at 0 range 12 .. 12;
Reserved_13_14 at 0 range 13 .. 14;
FLITFLPEN at 0 range 15 .. 15;
SRAM1LPEN at 0 range 16 .. 16;
SRAM2LPEN at 0 range 17 .. 17;
BKPSRAMLPEN at 0 range 18 .. 18;
SRAM3LPEN at 0 range 19 .. 19;
Reserved_20_20 at 0 range 20 .. 20;
DMA1LPEN at 0 range 21 .. 21;
DMA2LPEN at 0 range 22 .. 22;
DMA2DLPEN at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
ETHMACLPEN at 0 range 25 .. 25;
ETHMACTXLPEN at 0 range 26 .. 26;
ETHMACRXLPEN at 0 range 27 .. 27;
ETHMACPTPLPEN at 0 range 28 .. 28;
OTGHSLPEN at 0 range 29 .. 29;
OTGHSULPILPEN at 0 range 30 .. 30;
Reserved_31_31 at 0 range 31 .. 31;
end record;
subtype AHB2LPENR_DCMILPEN_Field is Interfaces.STM32.Bit;
subtype AHB2LPENR_CRYPLPEN_Field is Interfaces.STM32.Bit;
subtype AHB2LPENR_HASHLPEN_Field is Interfaces.STM32.Bit;
subtype AHB2LPENR_RNGLPEN_Field is Interfaces.STM32.Bit;
subtype AHB2LPENR_OTGFSLPEN_Field is Interfaces.STM32.Bit;
-- AHB2 peripheral clock enable in low power mode register
type AHB2LPENR_Register is record
-- Camera interface enable during Sleep mode
DCMILPEN : AHB2LPENR_DCMILPEN_Field := 16#1#;
-- unspecified
Reserved_1_3 : Interfaces.STM32.UInt3 := 16#0#;
-- Cryptography modules clock enable during Sleep mode
CRYPLPEN : AHB2LPENR_CRYPLPEN_Field := 16#1#;
-- Hash modules clock enable during Sleep mode
HASHLPEN : AHB2LPENR_HASHLPEN_Field := 16#1#;
-- Random number generator clock enable during Sleep mode
RNGLPEN : AHB2LPENR_RNGLPEN_Field := 16#1#;
-- USB OTG FS clock enable during Sleep mode
OTGFSLPEN : AHB2LPENR_OTGFSLPEN_Field := 16#1#;
-- unspecified
Reserved_8_31 : Interfaces.STM32.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB2LPENR_Register use record
DCMILPEN at 0 range 0 .. 0;
Reserved_1_3 at 0 range 1 .. 3;
CRYPLPEN at 0 range 4 .. 4;
HASHLPEN at 0 range 5 .. 5;
RNGLPEN at 0 range 6 .. 6;
OTGFSLPEN at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype AHB3LPENR_FMCLPEN_Field is Interfaces.STM32.Bit;
subtype AHB3LPENR_QSPILPEN_Field is Interfaces.STM32.Bit;
-- AHB3 peripheral clock enable in low power mode register
type AHB3LPENR_Register is record
-- Flexible memory controller module clock enable during Sleep mode
FMCLPEN : AHB3LPENR_FMCLPEN_Field := 16#1#;
-- QUADSPI memory controller module clock enable during Sleep mode
QSPILPEN : AHB3LPENR_QSPILPEN_Field := 16#0#;
-- unspecified
Reserved_2_31 : Interfaces.STM32.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AHB3LPENR_Register use record
FMCLPEN at 0 range 0 .. 0;
QSPILPEN at 0 range 1 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
subtype APB1LPENR_TIM2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM4LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM5LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM6LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM7LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM12LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM13LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM14LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_WWDGLPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_SPI2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_SPI3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_USART2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_USART3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_UART4LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_UART5LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_I2C1LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_I2C2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_I2C3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_CAN1LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_CAN2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_PWRLPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_DACLPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_UART7LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_UART8LPEN_Field is Interfaces.STM32.Bit;
-- APB1 peripheral clock enable in low power mode register
type APB1LPENR_Register is record
-- TIM2 clock enable during Sleep mode
TIM2LPEN : APB1LPENR_TIM2LPEN_Field := 16#1#;
-- TIM3 clock enable during Sleep mode
TIM3LPEN : APB1LPENR_TIM3LPEN_Field := 16#1#;
-- TIM4 clock enable during Sleep mode
TIM4LPEN : APB1LPENR_TIM4LPEN_Field := 16#1#;
-- TIM5 clock enable during Sleep mode
TIM5LPEN : APB1LPENR_TIM5LPEN_Field := 16#1#;
-- TIM6 clock enable during Sleep mode
TIM6LPEN : APB1LPENR_TIM6LPEN_Field := 16#1#;
-- TIM7 clock enable during Sleep mode
TIM7LPEN : APB1LPENR_TIM7LPEN_Field := 16#1#;
-- TIM12 clock enable during Sleep mode
TIM12LPEN : APB1LPENR_TIM12LPEN_Field := 16#1#;
-- TIM13 clock enable during Sleep mode
TIM13LPEN : APB1LPENR_TIM13LPEN_Field := 16#1#;
-- TIM14 clock enable during Sleep mode
TIM14LPEN : APB1LPENR_TIM14LPEN_Field := 16#1#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#0#;
-- Window watchdog clock enable during Sleep mode
WWDGLPEN : APB1LPENR_WWDGLPEN_Field := 16#1#;
-- unspecified
Reserved_12_13 : Interfaces.STM32.UInt2 := 16#0#;
-- SPI2 clock enable during Sleep mode
SPI2LPEN : APB1LPENR_SPI2LPEN_Field := 16#1#;
-- SPI3 clock enable during Sleep mode
SPI3LPEN : APB1LPENR_SPI3LPEN_Field := 16#1#;
-- unspecified
Reserved_16_16 : Interfaces.STM32.Bit := 16#0#;
-- USART2 clock enable during Sleep mode
USART2LPEN : APB1LPENR_USART2LPEN_Field := 16#1#;
-- USART3 clock enable during Sleep mode
USART3LPEN : APB1LPENR_USART3LPEN_Field := 16#1#;
-- UART4 clock enable during Sleep mode
UART4LPEN : APB1LPENR_UART4LPEN_Field := 16#1#;
-- UART5 clock enable during Sleep mode
UART5LPEN : APB1LPENR_UART5LPEN_Field := 16#1#;
-- I2C1 clock enable during Sleep mode
I2C1LPEN : APB1LPENR_I2C1LPEN_Field := 16#1#;
-- I2C2 clock enable during Sleep mode
I2C2LPEN : APB1LPENR_I2C2LPEN_Field := 16#1#;
-- I2C3 clock enable during Sleep mode
I2C3LPEN : APB1LPENR_I2C3LPEN_Field := 16#1#;
-- unspecified
Reserved_24_24 : Interfaces.STM32.Bit := 16#0#;
-- CAN 1 clock enable during Sleep mode
CAN1LPEN : APB1LPENR_CAN1LPEN_Field := 16#1#;
-- CAN 2 clock enable during Sleep mode
CAN2LPEN : APB1LPENR_CAN2LPEN_Field := 16#1#;
-- unspecified
Reserved_27_27 : Interfaces.STM32.Bit := 16#0#;
-- Power interface clock enable during Sleep mode
PWRLPEN : APB1LPENR_PWRLPEN_Field := 16#1#;
-- DAC interface clock enable during Sleep mode
DACLPEN : APB1LPENR_DACLPEN_Field := 16#1#;
-- UART7 clock enable during Sleep mode
UART7LPEN : APB1LPENR_UART7LPEN_Field := 16#0#;
-- UART8 clock enable during Sleep mode
UART8LPEN : APB1LPENR_UART8LPEN_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for APB1LPENR_Register use record
TIM2LPEN at 0 range 0 .. 0;
TIM3LPEN at 0 range 1 .. 1;
TIM4LPEN at 0 range 2 .. 2;
TIM5LPEN at 0 range 3 .. 3;
TIM6LPEN at 0 range 4 .. 4;
TIM7LPEN at 0 range 5 .. 5;
TIM12LPEN at 0 range 6 .. 6;
TIM13LPEN at 0 range 7 .. 7;
TIM14LPEN at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
WWDGLPEN at 0 range 11 .. 11;
Reserved_12_13 at 0 range 12 .. 13;
SPI2LPEN at 0 range 14 .. 14;
SPI3LPEN at 0 range 15 .. 15;
Reserved_16_16 at 0 range 16 .. 16;
USART2LPEN at 0 range 17 .. 17;
USART3LPEN at 0 range 18 .. 18;
UART4LPEN at 0 range 19 .. 19;
UART5LPEN at 0 range 20 .. 20;
I2C1LPEN at 0 range 21 .. 21;
I2C2LPEN at 0 range 22 .. 22;
I2C3LPEN at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
CAN1LPEN at 0 range 25 .. 25;
CAN2LPEN at 0 range 26 .. 26;
Reserved_27_27 at 0 range 27 .. 27;
PWRLPEN at 0 range 28 .. 28;
DACLPEN at 0 range 29 .. 29;
UART7LPEN at 0 range 30 .. 30;
UART8LPEN at 0 range 31 .. 31;
end record;
subtype APB2LPENR_TIM1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM8LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_USART1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_USART6LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_ADC1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_ADC2LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_ADC3LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SDIOLPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SPI1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SPI4LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SYSCFGLPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM9LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM10LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM11LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SPI5LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SPI6LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SAI1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_LTDCLPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_DSILPEN_Field is Interfaces.STM32.Bit;
-- APB2 peripheral clock enabled in low power mode register
type APB2LPENR_Register is record
-- TIM1 clock enable during Sleep mode
TIM1LPEN : APB2LPENR_TIM1LPEN_Field := 16#1#;
-- TIM8 clock enable during Sleep mode
TIM8LPEN : APB2LPENR_TIM8LPEN_Field := 16#1#;
-- unspecified
Reserved_2_3 : Interfaces.STM32.UInt2 := 16#0#;
-- USART1 clock enable during Sleep mode
USART1LPEN : APB2LPENR_USART1LPEN_Field := 16#1#;
-- USART6 clock enable during Sleep mode
USART6LPEN : APB2LPENR_USART6LPEN_Field := 16#1#;
-- unspecified
Reserved_6_7 : Interfaces.STM32.UInt2 := 16#0#;
-- ADC1 clock enable during Sleep mode
ADC1LPEN : APB2LPENR_ADC1LPEN_Field := 16#1#;
-- ADC2 clock enable during Sleep mode
ADC2LPEN : APB2LPENR_ADC2LPEN_Field := 16#1#;
-- ADC 3 clock enable during Sleep mode
ADC3LPEN : APB2LPENR_ADC3LPEN_Field := 16#1#;
-- SDIO clock enable during Sleep mode
SDIOLPEN : APB2LPENR_SDIOLPEN_Field := 16#1#;
-- SPI 1 clock enable during Sleep mode
SPI1LPEN : APB2LPENR_SPI1LPEN_Field := 16#1#;
-- SPI 4 clock enable during Sleep mode
SPI4LPEN : APB2LPENR_SPI4LPEN_Field := 16#0#;
-- System configuration controller clock enable during Sleep mode
SYSCFGLPEN : APB2LPENR_SYSCFGLPEN_Field := 16#1#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- TIM9 clock enable during sleep mode
TIM9LPEN : APB2LPENR_TIM9LPEN_Field := 16#1#;
-- TIM10 clock enable during Sleep mode
TIM10LPEN : APB2LPENR_TIM10LPEN_Field := 16#1#;
-- TIM11 clock enable during Sleep mode
TIM11LPEN : APB2LPENR_TIM11LPEN_Field := 16#1#;
-- unspecified
Reserved_19_19 : Interfaces.STM32.Bit := 16#0#;
-- SPI 5 clock enable during Sleep mode
SPI5LPEN : APB2LPENR_SPI5LPEN_Field := 16#0#;
-- SPI 6 clock enable during Sleep mode
SPI6LPEN : APB2LPENR_SPI6LPEN_Field := 16#0#;
-- SAI1 clock enable
SAI1LPEN : APB2LPENR_SAI1LPEN_Field := 16#0#;
-- unspecified
Reserved_23_25 : Interfaces.STM32.UInt3 := 16#0#;
-- LTDC clock enable
LTDCLPEN : APB2LPENR_LTDCLPEN_Field := 16#0#;
-- DSI clocks enable during Sleep mode
DSILPEN : APB2LPENR_DSILPEN_Field := 16#0#;
-- unspecified
Reserved_28_31 : Interfaces.STM32.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for APB2LPENR_Register use record
TIM1LPEN at 0 range 0 .. 0;
TIM8LPEN at 0 range 1 .. 1;
Reserved_2_3 at 0 range 2 .. 3;
USART1LPEN at 0 range 4 .. 4;
USART6LPEN at 0 range 5 .. 5;
Reserved_6_7 at 0 range 6 .. 7;
ADC1LPEN at 0 range 8 .. 8;
ADC2LPEN at 0 range 9 .. 9;
ADC3LPEN at 0 range 10 .. 10;
SDIOLPEN at 0 range 11 .. 11;
SPI1LPEN at 0 range 12 .. 12;
SPI4LPEN at 0 range 13 .. 13;
SYSCFGLPEN at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
TIM9LPEN at 0 range 16 .. 16;
TIM10LPEN at 0 range 17 .. 17;
TIM11LPEN at 0 range 18 .. 18;
Reserved_19_19 at 0 range 19 .. 19;
SPI5LPEN at 0 range 20 .. 20;
SPI6LPEN at 0 range 21 .. 21;
SAI1LPEN at 0 range 22 .. 22;
Reserved_23_25 at 0 range 23 .. 25;
LTDCLPEN at 0 range 26 .. 26;
DSILPEN at 0 range 27 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype BDCR_LSEON_Field is Interfaces.STM32.Bit;
subtype BDCR_LSERDY_Field is Interfaces.STM32.Bit;
subtype BDCR_LSEBYP_Field is Interfaces.STM32.Bit;
subtype BDCR_LSEMOD_Field is Interfaces.STM32.Bit;
-- BDCR_RTCSEL array element
subtype BDCR_RTCSEL_Element is Interfaces.STM32.Bit;
-- BDCR_RTCSEL array
type BDCR_RTCSEL_Field_Array is array (0 .. 1) of BDCR_RTCSEL_Element
with Component_Size => 1, Size => 2;
-- Type definition for BDCR_RTCSEL
type BDCR_RTCSEL_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- RTCSEL as a value
Val : Interfaces.STM32.UInt2;
when True =>
-- RTCSEL as an array
Arr : BDCR_RTCSEL_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
for BDCR_RTCSEL_Field use record
Val at 0 range 0 .. 1;
Arr at 0 range 0 .. 1;
end record;
subtype BDCR_RTCEN_Field is Interfaces.STM32.Bit;
subtype BDCR_BDRST_Field is Interfaces.STM32.Bit;
-- Backup domain control register
type BDCR_Register is record
-- External low-speed oscillator enable
LSEON : BDCR_LSEON_Field := 16#0#;
-- Read-only. External low-speed oscillator ready
LSERDY : BDCR_LSERDY_Field := 16#0#;
-- External low-speed oscillator bypass
LSEBYP : BDCR_LSEBYP_Field := 16#0#;
-- External low-speed oscillator mode
LSEMOD : BDCR_LSEMOD_Field := 16#0#;
-- unspecified
Reserved_4_7 : Interfaces.STM32.UInt4 := 16#0#;
-- RTC clock source selection
RTCSEL : BDCR_RTCSEL_Field := (As_Array => False, Val => 16#0#);
-- unspecified
Reserved_10_14 : Interfaces.STM32.UInt5 := 16#0#;
-- RTC clock enable
RTCEN : BDCR_RTCEN_Field := 16#0#;
-- Backup domain software reset
BDRST : BDCR_BDRST_Field := 16#0#;
-- unspecified
Reserved_17_31 : Interfaces.STM32.UInt15 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for BDCR_Register use record
LSEON at 0 range 0 .. 0;
LSERDY at 0 range 1 .. 1;
LSEBYP at 0 range 2 .. 2;
LSEMOD at 0 range 3 .. 3;
Reserved_4_7 at 0 range 4 .. 7;
RTCSEL at 0 range 8 .. 9;
Reserved_10_14 at 0 range 10 .. 14;
RTCEN at 0 range 15 .. 15;
BDRST at 0 range 16 .. 16;
Reserved_17_31 at 0 range 17 .. 31;
end record;
subtype CSR_LSION_Field is Interfaces.STM32.Bit;
subtype CSR_LSIRDY_Field is Interfaces.STM32.Bit;
subtype CSR_RMVF_Field is Interfaces.STM32.Bit;
subtype CSR_BORRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_PADRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_PORRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_SFTRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_WDGRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_WWDGRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_LPWRRSTF_Field is Interfaces.STM32.Bit;
-- clock control & status register
type CSR_Register is record
-- Internal low-speed oscillator enable
LSION : CSR_LSION_Field := 16#0#;
-- Read-only. Internal low-speed oscillator ready
LSIRDY : CSR_LSIRDY_Field := 16#0#;
-- unspecified
Reserved_2_23 : Interfaces.STM32.UInt22 := 16#0#;
-- Remove reset flag
RMVF : CSR_RMVF_Field := 16#0#;
-- BOR reset flag
BORRSTF : CSR_BORRSTF_Field := 16#1#;
-- PIN reset flag
PADRSTF : CSR_PADRSTF_Field := 16#1#;
-- POR/PDR reset flag
PORRSTF : CSR_PORRSTF_Field := 16#1#;
-- Software reset flag
SFTRSTF : CSR_SFTRSTF_Field := 16#0#;
-- Independent watchdog reset flag
WDGRSTF : CSR_WDGRSTF_Field := 16#0#;
-- Window watchdog reset flag
WWDGRSTF : CSR_WWDGRSTF_Field := 16#0#;
-- Low-power reset flag
LPWRRSTF : CSR_LPWRRSTF_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CSR_Register use record
LSION at 0 range 0 .. 0;
LSIRDY at 0 range 1 .. 1;
Reserved_2_23 at 0 range 2 .. 23;
RMVF at 0 range 24 .. 24;
BORRSTF at 0 range 25 .. 25;
PADRSTF at 0 range 26 .. 26;
PORRSTF at 0 range 27 .. 27;
SFTRSTF at 0 range 28 .. 28;
WDGRSTF at 0 range 29 .. 29;
WWDGRSTF at 0 range 30 .. 30;
LPWRRSTF at 0 range 31 .. 31;
end record;
subtype SSCGR_MODPER_Field is Interfaces.STM32.UInt13;
subtype SSCGR_INCSTEP_Field is Interfaces.STM32.UInt15;
subtype SSCGR_SPREADSEL_Field is Interfaces.STM32.Bit;
subtype SSCGR_SSCGEN_Field is Interfaces.STM32.Bit;
-- spread spectrum clock generation register
type SSCGR_Register is record
-- Modulation period
MODPER : SSCGR_MODPER_Field := 16#0#;
-- Incrementation step
INCSTEP : SSCGR_INCSTEP_Field := 16#0#;
-- unspecified
Reserved_28_29 : Interfaces.STM32.UInt2 := 16#0#;
-- Spread Select
SPREADSEL : SSCGR_SPREADSEL_Field := 16#0#;
-- Spread spectrum modulation enable
SSCGEN : SSCGR_SSCGEN_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SSCGR_Register use record
MODPER at 0 range 0 .. 12;
INCSTEP at 0 range 13 .. 27;
Reserved_28_29 at 0 range 28 .. 29;
SPREADSEL at 0 range 30 .. 30;
SSCGEN at 0 range 31 .. 31;
end record;
subtype PLLI2SCFGR_PLLI2SN_Field is Interfaces.STM32.UInt9;
subtype PLLI2SCFGR_PLLI2SQ_Field is Interfaces.STM32.UInt4;
subtype PLLI2SCFGR_PLLI2SR_Field is Interfaces.STM32.UInt3;
-- PLLI2S configuration register
type PLLI2SCFGR_Register is record
-- unspecified
Reserved_0_5 : Interfaces.STM32.UInt6 := 16#0#;
-- PLLI2S multiplication factor for VCO
PLLI2SN : PLLI2SCFGR_PLLI2SN_Field := 16#C0#;
-- unspecified
Reserved_15_23 : Interfaces.STM32.UInt9 := 16#0#;
-- PLLI2S division factor for SAI1 clock
PLLI2SQ : PLLI2SCFGR_PLLI2SQ_Field := 16#0#;
-- PLLI2S division factor for I2S clocks
PLLI2SR : PLLI2SCFGR_PLLI2SR_Field := 16#2#;
-- unspecified
Reserved_31_31 : Interfaces.STM32.Bit := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for PLLI2SCFGR_Register use record
Reserved_0_5 at 0 range 0 .. 5;
PLLI2SN at 0 range 6 .. 14;
Reserved_15_23 at 0 range 15 .. 23;
PLLI2SQ at 0 range 24 .. 27;
PLLI2SR at 0 range 28 .. 30;
Reserved_31_31 at 0 range 31 .. 31;
end record;
subtype PLLSAICFGR_PLLSAIN_Field is Interfaces.STM32.UInt9;
subtype PLLSAICFGR_PLLSAIP_Field is Interfaces.STM32.UInt2;
subtype PLLSAICFGR_PLLSAIQ_Field is Interfaces.STM32.UInt4;
subtype PLLSAICFGR_PLLSAIR_Field is Interfaces.STM32.UInt3;
-- PLL configuration register
type PLLSAICFGR_Register is record
-- unspecified
Reserved_0_5 : Interfaces.STM32.UInt6 := 16#0#;
-- PLLSAI division factor for VCO
PLLSAIN : PLLSAICFGR_PLLSAIN_Field := 16#C0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- PLLSAI division factor for 48 MHz clock
PLLSAIP : PLLSAICFGR_PLLSAIP_Field := 16#0#;
-- unspecified
Reserved_18_23 : Interfaces.STM32.UInt6 := 16#0#;
-- PLLSAI division factor for SAI1 clock
PLLSAIQ : PLLSAICFGR_PLLSAIQ_Field := 16#4#;
-- PLLSAI division factor for LCD clock
PLLSAIR : PLLSAICFGR_PLLSAIR_Field := 16#2#;
-- unspecified
Reserved_31_31 : Interfaces.STM32.Bit := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for PLLSAICFGR_Register use record
Reserved_0_5 at 0 range 0 .. 5;
PLLSAIN at 0 range 6 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
PLLSAIP at 0 range 16 .. 17;
Reserved_18_23 at 0 range 18 .. 23;
PLLSAIQ at 0 range 24 .. 27;
PLLSAIR at 0 range 28 .. 30;
Reserved_31_31 at 0 range 31 .. 31;
end record;
subtype DCKCFGR_PLLIS2DIVQ_Field is Interfaces.STM32.UInt5;
subtype DCKCFGR_PLLSAIDIVQ_Field is Interfaces.STM32.UInt5;
subtype DCKCFGR_PLLSAIDIVR_Field is Interfaces.STM32.UInt2;
subtype DCKCFGR_SAI1ASRC_Field is Interfaces.STM32.UInt2;
subtype DCKCFGR_SAI1BSRC_Field is Interfaces.STM32.UInt2;
subtype DCKCFGR_TIMPRE_Field is Interfaces.STM32.Bit;
subtype DCKCFGR_MSEL_Field is Interfaces.STM32.Bit;
subtype DCKCFGR_SDMMCSEL_Field is Interfaces.STM32.Bit;
subtype DCKCFGR_DSISEL_Field is Interfaces.STM32.Bit;
-- Dedicated Clock Configuration Register
type DCKCFGR_Register is record
-- PLLI2S division factor for SAIs clock
PLLIS2DIVQ : DCKCFGR_PLLIS2DIVQ_Field := 16#0#;
-- unspecified
Reserved_5_7 : Interfaces.STM32.UInt3 := 16#0#;
-- PLLSAI division factor for SAIs clock
PLLSAIDIVQ : DCKCFGR_PLLSAIDIVQ_Field := 16#0#;
-- unspecified
Reserved_13_15 : Interfaces.STM32.UInt3 := 16#0#;
-- PLLSAIDIVR
PLLSAIDIVR : DCKCFGR_PLLSAIDIVR_Field := 16#0#;
-- unspecified
Reserved_18_19 : Interfaces.STM32.UInt2 := 16#0#;
-- SAI1 clock source selection
SAI1ASRC : DCKCFGR_SAI1ASRC_Field := 16#0#;
-- SAI1-B clock source selection
SAI1BSRC : DCKCFGR_SAI1BSRC_Field := 16#0#;
-- Timers clocks prescalers selection
TIMPRE : DCKCFGR_TIMPRE_Field := 16#0#;
-- unspecified
Reserved_25_26 : Interfaces.STM32.UInt2 := 16#0#;
-- 48 MHz clock source selection
MSEL : DCKCFGR_MSEL_Field := 16#0#;
-- SDIO clock source selection
SDMMCSEL : DCKCFGR_SDMMCSEL_Field := 16#0#;
-- DSI clock source selection
DSISEL : DCKCFGR_DSISEL_Field := 16#0#;
-- unspecified
Reserved_30_31 : Interfaces.STM32.UInt2 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DCKCFGR_Register use record
PLLIS2DIVQ at 0 range 0 .. 4;
Reserved_5_7 at 0 range 5 .. 7;
PLLSAIDIVQ at 0 range 8 .. 12;
Reserved_13_15 at 0 range 13 .. 15;
PLLSAIDIVR at 0 range 16 .. 17;
Reserved_18_19 at 0 range 18 .. 19;
SAI1ASRC at 0 range 20 .. 21;
SAI1BSRC at 0 range 22 .. 23;
TIMPRE at 0 range 24 .. 24;
Reserved_25_26 at 0 range 25 .. 26;
MSEL at 0 range 27 .. 27;
SDMMCSEL at 0 range 28 .. 28;
DSISEL at 0 range 29 .. 29;
Reserved_30_31 at 0 range 30 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Reset and clock control
type RCC_Peripheral is record
-- clock control register
CR : aliased CR_Register;
-- PLL configuration register
PLLCFGR : aliased PLLCFGR_Register;
-- clock configuration register
CFGR : aliased CFGR_Register;
-- clock interrupt register
CIR : aliased CIR_Register;
-- AHB1 peripheral reset register
AHB1RSTR : aliased AHB1RSTR_Register;
-- AHB2 peripheral reset register
AHB2RSTR : aliased AHB2RSTR_Register;
-- AHB3 peripheral reset register
AHB3RSTR : aliased AHB3RSTR_Register;
-- APB1 peripheral reset register
APB1RSTR : aliased APB1RSTR_Register;
-- APB2 peripheral reset register
APB2RSTR : aliased APB2RSTR_Register;
-- AHB1 peripheral clock register
AHB1ENR : aliased AHB1ENR_Register;
-- AHB2 peripheral clock enable register
AHB2ENR : aliased AHB2ENR_Register;
-- AHB3 peripheral clock enable register
AHB3ENR : aliased AHB3ENR_Register;
-- APB1 peripheral clock enable register
APB1ENR : aliased APB1ENR_Register;
-- APB2 peripheral clock enable register
APB2ENR : aliased APB2ENR_Register;
-- AHB1 peripheral clock enable in low power mode register
AHB1LPENR : aliased AHB1LPENR_Register;
-- AHB2 peripheral clock enable in low power mode register
AHB2LPENR : aliased AHB2LPENR_Register;
-- AHB3 peripheral clock enable in low power mode register
AHB3LPENR : aliased AHB3LPENR_Register;
-- APB1 peripheral clock enable in low power mode register
APB1LPENR : aliased APB1LPENR_Register;
-- APB2 peripheral clock enabled in low power mode register
APB2LPENR : aliased APB2LPENR_Register;
-- Backup domain control register
BDCR : aliased BDCR_Register;
-- clock control & status register
CSR : aliased CSR_Register;
-- spread spectrum clock generation register
SSCGR : aliased SSCGR_Register;
-- PLLI2S configuration register
PLLI2SCFGR : aliased PLLI2SCFGR_Register;
-- PLL configuration register
PLLSAICFGR : aliased PLLSAICFGR_Register;
-- Dedicated Clock Configuration Register
DCKCFGR : aliased DCKCFGR_Register;
end record
with Volatile;
for RCC_Peripheral use record
CR at 16#0# range 0 .. 31;
PLLCFGR at 16#4# range 0 .. 31;
CFGR at 16#8# range 0 .. 31;
CIR at 16#C# range 0 .. 31;
AHB1RSTR at 16#10# range 0 .. 31;
AHB2RSTR at 16#14# range 0 .. 31;
AHB3RSTR at 16#18# range 0 .. 31;
APB1RSTR at 16#20# range 0 .. 31;
APB2RSTR at 16#24# range 0 .. 31;
AHB1ENR at 16#30# range 0 .. 31;
AHB2ENR at 16#34# range 0 .. 31;
AHB3ENR at 16#38# range 0 .. 31;
APB1ENR at 16#40# range 0 .. 31;
APB2ENR at 16#44# range 0 .. 31;
AHB1LPENR at 16#50# range 0 .. 31;
AHB2LPENR at 16#54# range 0 .. 31;
AHB3LPENR at 16#58# range 0 .. 31;
APB1LPENR at 16#60# range 0 .. 31;
APB2LPENR at 16#64# range 0 .. 31;
BDCR at 16#70# range 0 .. 31;
CSR at 16#74# range 0 .. 31;
SSCGR at 16#80# range 0 .. 31;
PLLI2SCFGR at 16#84# range 0 .. 31;
PLLSAICFGR at 16#88# range 0 .. 31;
DCKCFGR at 16#8C# range 0 .. 31;
end record;
-- Reset and clock control
RCC_Periph : aliased RCC_Peripheral
with Import, Address => System'To_Address (16#40023800#);
end Interfaces.STM32.RCC;
|
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Display;
package PortScan.Ops is
package DPY renames Display;
function port_name (id : port_id) return String;
function next_ignored_port return port_id;
function ignore_reason (id : port_id) return String;
function queue_length return Integer;
function skip_verified (id : port_id) return Boolean;
-- Returns true if every port in the queue has all of ports listed in the
-- blocks and blocked_by containers are all also present in the queue
function integrity_intact return Boolean;
-- This removes the first reverse dependency port from all_ports that is
-- found the complete reverse deps list and return the port_id of the
-- deleted port. If the list is empty, return port_match_failed instead.
function skip_next_reverse_dependency (pinnacle : port_id) return port_id;
-- removes processed port from the ranking queue.
procedure unlist_port (id : port_id);
-- Returns the highly priority buildable port
function top_buildable_port return port_id;
-- The port build succeeded, so remove the "blocked_by" designation
-- for all the immediate reverse dependencies.
-- Remove the port from the queue when this is done.
procedure cascade_successful_build (id : port_id);
-- The port build failed, so set all reverse dependences as skipped
-- Remove the port from the queue when this is done.
procedure cascade_failed_build (id : port_id; numskipped : out Natural;
logs : dim_handlers);
-- Kick off bulk run using the given number of builders
-- The rank_queue and all_ports must be already set up (it's recommended
-- To eliminate the ignored ports and subsequent skips first.
procedure parallel_bulk_run (num_builders : builders; logs : dim_handlers);
-- Before starting to build a port, lock it. This is required for
-- parallel building.
procedure lock_package (id : port_id);
-- Kicks off curses or sets color support off. Do it before
-- calling parallel_bulk_run.
procedure initialize_display (num_builders : builders);
-- Unconditionally copies web assets to <log directory/report directory
-- It also provides an initial summary.json data file just the report has something to load
procedure initialize_web_report (num_builders : builders);
-- Removes ??_history.json files from previous runs
procedure delete_existing_web_history_files;
-- Call before executing sanity check. It checks the present of build
-- hooks at the synth_conf location and caches the results.
procedure initialize_hooks;
-- Fire off first hook (run_start) after pkg(8) built as required
procedure run_start_hook;
-- For the pkg(8), trigger a success or failure hook based on if it built or not.
procedure run_hook_after_build (built : Boolean; id : port_id);
-- Exposed for pilot which eliminated ignored ports during the sanity check
procedure record_history_ignored
(elapsed : String;
origin : String;
reason : String;
skips : Natural);
private
-- History log entries average less than 200 bytes. Allot more than twice this amount.
kfile_unit_maxsize : constant Positive := 512;
-- Each history segment is limited to this many log lines
kfile_units_limit : constant Positive := 500;
subtype impulse_range is Integer range 1 .. 500;
subtype kfile_content is String (1 .. kfile_unit_maxsize * kfile_units_limit);
type progress_history is
record
segment : Natural := 0;
segment_count : Natural := 0;
log_entry : Natural := 0;
last_index : Natural := 0;
last_written : Natural := 0;
content : kfile_content;
end record;
type impulse_rec is
record
hack : CAL.Time;
packages : Natural := 0;
virgin : Boolean := True;
end record;
type hook_type is (run_start, run_end, pkg_success, pkg_failure,
pkg_skipped, pkg_ignored);
type machine_state is (idle, tasked, busy, done_failure, done_success,
shutdown);
type dim_instruction is array (builders) of port_id;
type dim_builder_state is array (builders) of machine_state;
type dim_impulse is array (impulse_range) of impulse_rec;
type dim_hooks is array (hook_type) of Boolean;
type dim_hooksloc is array (hook_type) of JT.Text;
history : progress_history;
impulse_counter : impulse_range := impulse_range'Last;
impulse_data : dim_impulse;
curses_support : Boolean;
active_hook : dim_hooks := (False, False, False, False, False, False);
hook_location : constant dim_hooksloc :=
(JT.SUS (PM.synth_confdir & "/hook_run_start"),
JT.SUS (PM.synth_confdir & "/hook_run_end"),
JT.SUS (PM.synth_confdir & "/hook_pkg_success"),
JT.SUS (PM.synth_confdir & "/hook_pkg_failure"),
JT.SUS (PM.synth_confdir & "/hook_pkg_skipped"),
JT.SUS (PM.synth_confdir & "/hook_pkg_ignored"));
function nothing_left (num_builders : builders) return Boolean;
function shutdown_recommended (active_builders : Positive) return Boolean;
function still_ranked (id : port_id) return Boolean;
function rank_arrow (id : port_id) return ranking_crate.Cursor;
function package_name (id : port_id) return String;
function get_swap_status return Float;
function hourly_build_rate return Natural;
function impulse_rate return Natural;
function assemble_HR (slave : builders; pid : port_id;
action : DPY.history_action)
return DPY.history_rec;
function nv (name, value : String) return String;
function nv (name : String; value : Integer) return String;
procedure delete_rank (id : port_id);
procedure run_hook (hook : hook_type; envvar_list : String);
procedure run_package_hook (hook : hook_type; id : port_id);
procedure check_history_segment_capacity;
procedure handle_first_history_entry;
procedure write_summary_json
(active : Boolean;
states : dim_builder_state;
num_builders : builders;
num_history_files : Natural);
procedure write_history_json;
procedure assimulate_substring
(history : in out progress_history;
substring : String);
procedure record_history_built
(elapsed : String;
slave_id : builders;
origin : String;
duration : String);
procedure record_history_failed
(elapsed : String;
slave_id : builders;
origin : String;
duration : String;
die_phase : String;
skips : Natural);
procedure record_history_skipped
(elapsed : String;
origin : String;
reason : String);
end PortScan.Ops;
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with GNAT.OS_Lib; use GNAT.OS_Lib;
procedure Lolicon is
Age : Integer;
procedure Intice is
begin
-- Nothing because weebs are already attracted to underage anime girls.
null;
end Intice;
procedure Call_The_FBI (Check: in Integer) is
Result : Integer;
Arguments : Argument_List :=
(1 => new String'("call_911"));
begin
if Check < 15 then
Spawn
(Program_Name => "call_911",
Args => Arguments,
Output_File_Descriptor => Standout,
Return_Code => Result
);
for Index in Arguments'Range loop
Free(Arguments(Index));
end loop;
else
put("Probably just something weird happened.");
end if;
end Call_The_FBI;
begin
put("What's the girl's age? ");
get(Age);
Call_The_FBI(Age);
end Lolicon;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2015, 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 Asis.Elements;
with Asis.Expressions;
package body Properties.Expressions.Parameter_Association is
------------
-- Bounds --
------------
function Bounds
(Engine : access Engines.Contexts.Context;
Element : Asis.Association;
Name : Engines.Text_Property)
return League.Strings.Universal_String
is
Param : constant Asis.Element :=
Asis.Expressions.Formal_Parameter (Element);
begin
return Engine.Text.Get_Property
(Asis.Elements.Enclosing_Element (Param), Name);
end Bounds;
end Properties.Expressions.Parameter_Association;
|
-- This spec has been automatically generated from STM32F030.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.Flash is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype ACR_LATENCY_Field is STM32_SVD.UInt3;
subtype ACR_PRFTBE_Field is STM32_SVD.Bit;
subtype ACR_PRFTBS_Field is STM32_SVD.Bit;
-- Flash access control register
type ACR_Register is record
-- LATENCY
LATENCY : ACR_LATENCY_Field := 16#0#;
-- unspecified
Reserved_3_3 : STM32_SVD.Bit := 16#0#;
-- PRFTBE
PRFTBE : ACR_PRFTBE_Field := 16#1#;
-- Read-only. PRFTBS
PRFTBS : ACR_PRFTBS_Field := 16#1#;
-- unspecified
Reserved_6_31 : STM32_SVD.UInt26 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for ACR_Register use record
LATENCY at 0 range 0 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
PRFTBE at 0 range 4 .. 4;
PRFTBS at 0 range 5 .. 5;
Reserved_6_31 at 0 range 6 .. 31;
end record;
subtype SR_BSY_Field is STM32_SVD.Bit;
subtype SR_PGERR_Field is STM32_SVD.Bit;
subtype SR_WRPRT_Field is STM32_SVD.Bit;
subtype SR_EOP_Field is STM32_SVD.Bit;
-- Flash status register
type SR_Register is record
-- Read-only. Busy
BSY : SR_BSY_Field := 16#0#;
-- unspecified
Reserved_1_1 : STM32_SVD.Bit := 16#0#;
-- Programming error
PGERR : SR_PGERR_Field := 16#0#;
-- unspecified
Reserved_3_3 : STM32_SVD.Bit := 16#0#;
-- Write protection error
WRPRT : SR_WRPRT_Field := 16#0#;
-- End of operation
EOP : SR_EOP_Field := 16#0#;
-- unspecified
Reserved_6_31 : STM32_SVD.UInt26 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SR_Register use record
BSY at 0 range 0 .. 0;
Reserved_1_1 at 0 range 1 .. 1;
PGERR at 0 range 2 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
WRPRT at 0 range 4 .. 4;
EOP at 0 range 5 .. 5;
Reserved_6_31 at 0 range 6 .. 31;
end record;
subtype CR_PG_Field is STM32_SVD.Bit;
subtype CR_PER_Field is STM32_SVD.Bit;
subtype CR_MER_Field is STM32_SVD.Bit;
subtype CR_OPTPG_Field is STM32_SVD.Bit;
subtype CR_OPTER_Field is STM32_SVD.Bit;
subtype CR_STRT_Field is STM32_SVD.Bit;
subtype CR_LOCK_Field is STM32_SVD.Bit;
subtype CR_OPTWRE_Field is STM32_SVD.Bit;
subtype CR_ERRIE_Field is STM32_SVD.Bit;
subtype CR_EOPIE_Field is STM32_SVD.Bit;
subtype CR_FORCE_OPTLOAD_Field is STM32_SVD.Bit;
-- Flash control register
type CR_Register is record
-- Programming
PG : CR_PG_Field := 16#0#;
-- Page erase
PER : CR_PER_Field := 16#0#;
-- Mass erase
MER : CR_MER_Field := 16#0#;
-- unspecified
Reserved_3_3 : STM32_SVD.Bit := 16#0#;
-- Option byte programming
OPTPG : CR_OPTPG_Field := 16#0#;
-- Option byte erase
OPTER : CR_OPTER_Field := 16#0#;
-- Start
STRT : CR_STRT_Field := 16#0#;
-- Lock
LOCK : CR_LOCK_Field := 16#1#;
-- unspecified
Reserved_8_8 : STM32_SVD.Bit := 16#0#;
-- Option bytes write enable
OPTWRE : CR_OPTWRE_Field := 16#0#;
-- Error interrupt enable
ERRIE : CR_ERRIE_Field := 16#0#;
-- unspecified
Reserved_11_11 : STM32_SVD.Bit := 16#0#;
-- End of operation interrupt enable
EOPIE : CR_EOPIE_Field := 16#0#;
-- Force option byte loading
FORCE_OPTLOAD : CR_FORCE_OPTLOAD_Field := 16#0#;
-- unspecified
Reserved_14_31 : STM32_SVD.UInt18 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CR_Register use record
PG at 0 range 0 .. 0;
PER at 0 range 1 .. 1;
MER at 0 range 2 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
OPTPG at 0 range 4 .. 4;
OPTER at 0 range 5 .. 5;
STRT at 0 range 6 .. 6;
LOCK at 0 range 7 .. 7;
Reserved_8_8 at 0 range 8 .. 8;
OPTWRE at 0 range 9 .. 9;
ERRIE at 0 range 10 .. 10;
Reserved_11_11 at 0 range 11 .. 11;
EOPIE at 0 range 12 .. 12;
FORCE_OPTLOAD at 0 range 13 .. 13;
Reserved_14_31 at 0 range 14 .. 31;
end record;
subtype OBR_OPTERR_Field is STM32_SVD.Bit;
subtype OBR_LEVEL1_PROT_Field is STM32_SVD.Bit;
subtype OBR_LEVEL2_PROT_Field is STM32_SVD.Bit;
subtype OBR_WDG_SW_Field is STM32_SVD.Bit;
subtype OBR_nRST_STOP_Field is STM32_SVD.Bit;
subtype OBR_nRST_STDBY_Field is STM32_SVD.Bit;
subtype OBR_BOOT1_Field is STM32_SVD.Bit;
subtype OBR_VDDA_MONITOR_Field is STM32_SVD.Bit;
-- OBR_Data array element
subtype OBR_Data_Element is STM32_SVD.Byte;
-- OBR_Data array
type OBR_Data_Field_Array is array (0 .. 1) of OBR_Data_Element
with Component_Size => 8, Size => 16;
-- Type definition for OBR_Data
type OBR_Data_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- Data as a value
Val : STM32_SVD.UInt16;
when True =>
-- Data as an array
Arr : OBR_Data_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for OBR_Data_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- Option byte register
type OBR_Register is record
-- Read-only. Option byte error
OPTERR : OBR_OPTERR_Field;
-- Read-only. Level 1 protection status
LEVEL1_PROT : OBR_LEVEL1_PROT_Field;
-- Read-only. Level 2 protection status
LEVEL2_PROT : OBR_LEVEL2_PROT_Field;
-- unspecified
Reserved_3_7 : STM32_SVD.UInt5;
-- Read-only. WDG_SW
WDG_SW : OBR_WDG_SW_Field;
-- Read-only. nRST_STOP
nRST_STOP : OBR_nRST_STOP_Field;
-- Read-only. nRST_STDBY
nRST_STDBY : OBR_nRST_STDBY_Field;
-- unspecified
Reserved_11_11 : STM32_SVD.Bit;
-- Read-only. BOOT1
BOOT1 : OBR_BOOT1_Field;
-- Read-only. VDDA_MONITOR
VDDA_MONITOR : OBR_VDDA_MONITOR_Field;
-- unspecified
Reserved_14_15 : STM32_SVD.UInt2;
-- Read-only. Data0
Data : OBR_Data_Field;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for OBR_Register use record
OPTERR at 0 range 0 .. 0;
LEVEL1_PROT at 0 range 1 .. 1;
LEVEL2_PROT at 0 range 2 .. 2;
Reserved_3_7 at 0 range 3 .. 7;
WDG_SW at 0 range 8 .. 8;
nRST_STOP at 0 range 9 .. 9;
nRST_STDBY at 0 range 10 .. 10;
Reserved_11_11 at 0 range 11 .. 11;
BOOT1 at 0 range 12 .. 12;
VDDA_MONITOR at 0 range 13 .. 13;
Reserved_14_15 at 0 range 14 .. 15;
Data at 0 range 16 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Flash
type Flash_Peripheral is record
-- Flash access control register
ACR : aliased ACR_Register;
-- Flash key register
KEYR : aliased STM32_SVD.UInt32;
-- Flash option key register
OPTKEYR : aliased STM32_SVD.UInt32;
-- Flash status register
SR : aliased SR_Register;
-- Flash control register
CR : aliased CR_Register;
-- Flash address register
AR : aliased STM32_SVD.UInt32;
-- Option byte register
OBR : aliased OBR_Register;
-- Write protection register
WRPR : aliased STM32_SVD.UInt32;
end record
with Volatile;
for Flash_Peripheral use record
ACR at 16#0# range 0 .. 31;
KEYR at 16#4# range 0 .. 31;
OPTKEYR at 16#8# range 0 .. 31;
SR at 16#C# range 0 .. 31;
CR at 16#10# range 0 .. 31;
AR at 16#14# range 0 .. 31;
OBR at 16#1C# range 0 .. 31;
WRPR at 16#20# range 0 .. 31;
end record;
-- Flash
Flash_Periph : aliased Flash_Peripheral
with Import, Address => System'To_Address (16#40022000#);
end STM32_SVD.Flash;
|
with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; -- used by child packages
with Ada.Containers.Formal_Hashed_Sets;
with Ada.Strings.Hash;
with Dynamic_Strings; use Dynamic_Strings;
package UxAS.Comms is
Subscription_Address_Max_Length : constant := 255; -- arbitrary
subtype Subscription_Address is Dynamic_String (Capacity => Subscription_Address_Max_Length);
-- a constrained subtype for the sake of instantiating the Containers generic
function Hashed_Subscription_Address (Element : Subscription_Address) return Ada.Containers.Hash_Type is
(Ada.Strings.Hash (Value (Element)));
pragma Assertion_Policy (Post => Ignore);
package Subscription_Addresses is new Ada.Containers.Formal_Hashed_Sets
(Element_Type => Subscription_Address,
Hash => Hashed_Subscription_Address,
Equivalent_Elements => "=");
pragma Assertion_Policy (Post => Suppressible);
Max_Subscription_Addresses : constant := 255; -- arbitrary
subtype Subscription_Address_Set is Subscription_Addresses.Set
(Capacity => Max_Subscription_Addresses,
Modulus => Subscription_Addresses.Default_Modulus (Max_Subscription_Addresses));
-- These constants are used for defining the capacities of the dynamic
-- strings. They are declared so that others (including child packages)
-- can reference them when needed.
Content_String_Max_Length : constant := 22 * 1024;
Content_Type_Max_Length : constant := 255; -- arbitrary
Descriptor_Max_Length : constant := 255; -- arbitrary
Source_Group_Max_Length : constant := 255; -- arbitrary
Source_Entity_Id_Max_Length : constant := 255; -- arbitrary
Source_Service_Id_Max_Length : constant := 255; -- arbitrary
Address_Max_Length : constant := 255; -- arbitrary
Payload_Max_Length : constant := 22 * 1024;
Max_Network_Name_Length : constant := 255; -- arbitrary
Max_Socket_Address_Length : constant := 255; -- arbitrary
Entity_Id_String_Max_Length : constant := 255; -- arbitrary
Service_Id_String_Max_Length : constant := 255; -- arbitrary
Msg_Source_Group_Max_Length : constant := 255; -- arbitrary
Entity_Type_Max_Length : constant := 255; -- arbitrary
Network_Id_Max_Length : constant := 255; -- arbitrary
Entity_Id_Max_Length : constant := 255; -- arbitrary
Unicast_Message_Max_Length : constant := 255; -- arbitrary
Network_Client_Type_Name_Max_Length : constant := 255; -- arbitrary
Cast_All_Address_Max_Length : constant := 255; -- arbitrary
end UxAS.Comms;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ T E X T _ I O . C _ S T R E A M S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2002 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. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
with Interfaces.C_Streams; use Interfaces.C_Streams;
with System.File_IO;
with System.File_Control_Block;
with Unchecked_Conversion;
package body Ada.Wide_Text_IO.C_Streams is
package FIO renames System.File_IO;
package FCB renames System.File_Control_Block;
subtype AP is FCB.AFCB_Ptr;
function To_FCB is new Unchecked_Conversion (File_Mode, FCB.File_Mode);
--------------
-- C_Stream --
--------------
function C_Stream (F : File_Type) return FILEs is
begin
FIO.Check_File_Open (AP (F));
return F.Stream;
end C_Stream;
----------
-- Open --
----------
procedure Open
(File : in out File_Type;
Mode : File_Mode;
C_Stream : FILEs;
Form : String := "";
Name : String := "")
is
Dummy_File_Control_Block : Wide_Text_AFCB;
pragma Warnings (Off, Dummy_File_Control_Block);
-- Yes, we know this is never assigned a value, only the tag
-- is used for dispatching purposes, so that's expected.
begin
FIO.Open (File_Ptr => AP (File),
Dummy_FCB => Dummy_File_Control_Block,
Mode => To_FCB (Mode),
Name => Name,
Form => Form,
Amethod => 'W',
Creat => False,
Text => True,
C_Stream => C_Stream);
end Open;
end Ada.Wide_Text_IO.C_Streams;
|
-- This spec has been automatically generated from STM32L4x3.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.STK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- SysTick control and status register
type CTRL_Register is record
-- Counter enable
ENABLE : Boolean := False;
-- SysTick exception request enable
TICKINT : Boolean := False;
-- Clock source selection
CLKSOURCE : Boolean := False;
-- unspecified
Reserved_3_15 : HAL.UInt13 := 16#0#;
-- COUNTFLAG
COUNTFLAG : Boolean := False;
-- unspecified
Reserved_17_31 : HAL.UInt15 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CTRL_Register use record
ENABLE at 0 range 0 .. 0;
TICKINT at 0 range 1 .. 1;
CLKSOURCE at 0 range 2 .. 2;
Reserved_3_15 at 0 range 3 .. 15;
COUNTFLAG at 0 range 16 .. 16;
Reserved_17_31 at 0 range 17 .. 31;
end record;
subtype LOAD_RELOAD_Field is HAL.UInt24;
-- SysTick reload value register
type LOAD_Register is record
-- RELOAD value
RELOAD : LOAD_RELOAD_Field := 16#0#;
-- unspecified
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for LOAD_Register use record
RELOAD at 0 range 0 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype VAL_CURRENT_Field is HAL.UInt24;
-- SysTick current value register
type VAL_Register is record
-- Current counter value
CURRENT : VAL_CURRENT_Field := 16#0#;
-- unspecified
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for VAL_Register use record
CURRENT at 0 range 0 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype CALIB_TENMS_Field is HAL.UInt24;
-- SysTick calibration value register
type CALIB_Register is record
-- Calibration value
TENMS : CALIB_TENMS_Field := 16#0#;
-- unspecified
Reserved_24_29 : HAL.UInt6 := 16#0#;
-- SKEW flag: Indicates whether the TENMS value is exact
SKEW : Boolean := False;
-- NOREF flag. Reads as zero
NOREF : Boolean := False;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CALIB_Register use record
TENMS at 0 range 0 .. 23;
Reserved_24_29 at 0 range 24 .. 29;
SKEW at 0 range 30 .. 30;
NOREF at 0 range 31 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- SysTick timer
type STK_Peripheral is record
-- SysTick control and status register
CTRL : aliased CTRL_Register;
-- SysTick reload value register
LOAD : aliased LOAD_Register;
-- SysTick current value register
VAL : aliased VAL_Register;
-- SysTick calibration value register
CALIB : aliased CALIB_Register;
end record
with Volatile;
for STK_Peripheral use record
CTRL at 16#0# range 0 .. 31;
LOAD at 16#4# range 0 .. 31;
VAL at 16#8# range 0 .. 31;
CALIB at 16#C# range 0 .. 31;
end record;
-- SysTick timer
STK_Periph : aliased STK_Peripheral
with Import, Address => STK_Base;
end STM32_SVD.STK;
|
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- Sample.Function_Key_Setting --
-- --
-- S P E C --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- 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, distribute with modifications, 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 ABOVE 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. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- Version Control
-- $Revision: 1.9 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with Terminal_Interface.Curses; use Terminal_Interface.Curses;
with Terminal_Interface.Curses.Panels; use Terminal_Interface.Curses.Panels;
-- This package implements a simple stack of function key label environments.
--
package Sample.Function_Key_Setting is
procedure Push_Environment (Key : in String;
Reset : in Boolean := True);
-- Push the definition of the current function keys on an internal
-- stack. If the reset flag is true, all labels are reset while
-- pushed, so the new environment can assume a tabula rasa.
-- The Key defines the new Help Context associated with the new
-- Environment. This saves also the currently active Notepad.
procedure Pop_Environment;
-- Pop the Definitions from the stack and make them the current ones.
-- This also restores the Help context and the previous Notepad.
procedure Initialize (Mode : Soft_Label_Key_Format := PC_Style;
Just : Label_Justification := Left);
-- Initialize the environment
function Context return String;
-- Return the current context identitfier
function Find_Context (Key : String) return Boolean;
-- Look for a context, return true if it is in the stack,
-- false otherwise.
procedure Notepad_To_Context (Pan : in Panel);
-- Add a panel representing a notepad to the current context.
Function_Key_Stack_Error : exception;
procedure Default_Labels;
-- Set the default labels used in all environments
function Notepad_Window return Window;
-- Return the current notepad window or Null_Window if there is none.
end Sample.Function_Key_Setting;
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="11">
<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>dct_dct_2d</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>9</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>in_block_0</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo class_id="6" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[0]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[1]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_2</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[2]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_3</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[3]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_4</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[4]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_5</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[5]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_6</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[6]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>in_block_7</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>in_block[7]</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>8</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>out_block</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>out_block</originalName>
<rtlName/>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>1</if_type>
<array_size>64</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>96</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>18</id>
<name>row_outbuf</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>row_outbuf_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>150</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name>col_outbuf</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>col_outbuf_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>151</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>20</id>
<name>col_inbuf_0</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="11" tracking_level="0" version="0">
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</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>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[0]</originalName>
<rtlName>col_inbuf_0_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>152</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>21</id>
<name>col_inbuf_1</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[1]</originalName>
<rtlName>col_inbuf_1_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>153</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name>col_inbuf_2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[2]</originalName>
<rtlName>col_inbuf_2_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>154</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>23</id>
<name>col_inbuf_3</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[3]</originalName>
<rtlName>col_inbuf_3_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>155</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>24</id>
<name>col_inbuf_4</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[4]</originalName>
<rtlName>col_inbuf_4_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>156</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>25</id>
<name>col_inbuf_5</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[5]</originalName>
<rtlName>col_inbuf_5_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>157</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>26</id>
<name>col_inbuf_6</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[6]</originalName>
<rtlName>col_inbuf_6_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>158</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>27</id>
<name>col_inbuf_7</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>col_inbuf[7]</originalName>
<rtlName>col_inbuf_7_U</rtlName>
<coreName>RAM</coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>159</item>
</oprand_edges>
<opcode>alloca</opcode>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>28</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>76</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>76</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>160</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>30</id>
<name>i</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>162</item>
<item>163</item>
<item>164</item>
<item>165</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>exitcond5</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>76</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>76</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>exitcond5_fu_404_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>166</item>
<item>168</item>
</oprand_edges>
<opcode>icmp</opcode>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name>i_4</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>76</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>76</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName>i_4_fu_410_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>169</item>
<item>171</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>34</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>76</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>76</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>172</item>
<item>173</item>
<item>174</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>37</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>77</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>grp_dct_dct_1d_fu_361</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>20</count>
<item_version>0</item_version>
<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>
<item>187</item>
<item>392</item>
<item>393</item>
<item>394</item>
<item>395</item>
<item>396</item>
<item>397</item>
<item>398</item>
<item>399</item>
</oprand_edges>
<opcode>call</opcode>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>76</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>76</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>188</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>40</id>
<name>indvar_flatten</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>189</item>
<item>190</item>
<item>192</item>
<item>193</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_28">
<Value>
<Obj>
<type>0</type>
<id>41</id>
<name>j</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>194</item>
<item>195</item>
<item>196</item>
<item>197</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>42</id>
<name>i_1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>198</item>
<item>199</item>
<item>200</item>
<item>201</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>exitcond_flatten</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>exitcond_flatten_fu_416_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>202</item>
<item>204</item>
</oprand_edges>
<opcode>icmp</opcode>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name>indvar_flatten_next</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>indvar_flatten_next_fu_422_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>205</item>
<item>207</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>45</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>208</item>
<item>209</item>
<item>210</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>49</id>
<name>exitcond</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>exitcond_fu_428_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>214</item>
<item>215</item>
</oprand_edges>
<opcode>icmp</opcode>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>50</id>
<name>i_1_mid2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>i_1_mid2_fu_434_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>216</item>
<item>217</item>
<item>218</item>
</oprand_edges>
<opcode>select</opcode>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>51</id>
<name>j_s</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>81</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>81</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>j_s_fu_442_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>219</item>
<item>220</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name>j_mid2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>j_mid2_fu_448_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>221</item>
<item>222</item>
<item>223</item>
</oprand_edges>
<opcode>select</opcode>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>53</id>
<name>tmp_s</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_s_fu_493_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>224</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>57</id>
<name>tmp_trn_cast</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_trn_cast_fu_456_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>225</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_39">
<Value>
<Obj>
<type>0</type>
<id>58</id>
<name>tmp</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_fu_460_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>227</item>
<item>228</item>
<item>230</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
</item>
<item class_id_reference="9" object_id="_40">
<Value>
<Obj>
<type>0</type>
<id>59</id>
<name>p_addr_cast</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_addr_cast_fu_468_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>231</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_41">
<Value>
<Obj>
<type>0</type>
<id>60</id>
<name>p_addr1</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_addr1_fu_472_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>232</item>
<item>233</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_42">
<Value>
<Obj>
<type>0</type>
<id>61</id>
<name>tmp_5</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_5_fu_478_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>234</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_43">
<Value>
<Obj>
<type>0</type>
<id>62</id>
<name>row_outbuf_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>6</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>235</item>
<item>237</item>
<item>238</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_44">
<Value>
<Obj>
<type>0</type>
<id>63</id>
<name>row_outbuf_load</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>239</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_45">
<Value>
<Obj>
<type>0</type>
<id>64</id>
<name>tmp_2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_2_fu_483_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>240</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_46">
<Value>
<Obj>
<type>0</type>
<id>65</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>16</count>
<item_version>0</item_version>
<item>241</item>
<item>242</item>
<item>243</item>
<item>244</item>
<item>246</item>
<item>247</item>
<item>249</item>
<item>250</item>
<item>252</item>
<item>253</item>
<item>255</item>
<item>256</item>
<item>258</item>
<item>259</item>
<item>261</item>
<item>262</item>
</oprand_edges>
<opcode>switch</opcode>
</item>
<item class_id_reference="9" object_id="_47">
<Value>
<Obj>
<type>0</type>
<id>67</id>
<name>col_inbuf_6_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>380</item>
<item>381</item>
<item>382</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_48">
<Value>
<Obj>
<type>0</type>
<id>68</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>383</item>
<item>384</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_49">
<Value>
<Obj>
<type>0</type>
<id>69</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>385</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_50">
<Value>
<Obj>
<type>0</type>
<id>71</id>
<name>col_inbuf_5_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>374</item>
<item>375</item>
<item>376</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_51">
<Value>
<Obj>
<type>0</type>
<id>72</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>377</item>
<item>378</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_52">
<Value>
<Obj>
<type>0</type>
<id>73</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>379</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_53">
<Value>
<Obj>
<type>0</type>
<id>75</id>
<name>col_inbuf_4_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>368</item>
<item>369</item>
<item>370</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_54">
<Value>
<Obj>
<type>0</type>
<id>76</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>371</item>
<item>372</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_55">
<Value>
<Obj>
<type>0</type>
<id>77</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>373</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_56">
<Value>
<Obj>
<type>0</type>
<id>79</id>
<name>col_inbuf_3_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>362</item>
<item>363</item>
<item>364</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_57">
<Value>
<Obj>
<type>0</type>
<id>80</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>365</item>
<item>366</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_58">
<Value>
<Obj>
<type>0</type>
<id>81</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>367</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_59">
<Value>
<Obj>
<type>0</type>
<id>83</id>
<name>col_inbuf_2_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>356</item>
<item>357</item>
<item>358</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_60">
<Value>
<Obj>
<type>0</type>
<id>84</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>359</item>
<item>360</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_61">
<Value>
<Obj>
<type>0</type>
<id>85</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>361</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_62">
<Value>
<Obj>
<type>0</type>
<id>87</id>
<name>col_inbuf_1_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>350</item>
<item>351</item>
<item>352</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_63">
<Value>
<Obj>
<type>0</type>
<id>88</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>353</item>
<item>354</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_64">
<Value>
<Obj>
<type>0</type>
<id>89</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>355</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_65">
<Value>
<Obj>
<type>0</type>
<id>91</id>
<name>col_inbuf_0_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>344</item>
<item>345</item>
<item>346</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_66">
<Value>
<Obj>
<type>0</type>
<id>92</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>347</item>
<item>348</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_67">
<Value>
<Obj>
<type>0</type>
<id>93</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>349</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_68">
<Value>
<Obj>
<type>0</type>
<id>95</id>
<name>col_inbuf_7_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>386</item>
<item>387</item>
<item>388</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_69">
<Value>
<Obj>
<type>0</type>
<id>96</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>389</item>
<item>390</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_70">
<Value>
<Obj>
<type>0</type>
<id>97</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>391</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_71">
<Value>
<Obj>
<type>0</type>
<id>100</id>
<name>i_6</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName>i_6_fu_487_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>211</item>
<item>212</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_72">
<Value>
<Obj>
<type>0</type>
<id>101</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>213</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_73">
<Value>
<Obj>
<type>0</type>
<id>103</id>
<name>i_2</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>263</item>
<item>264</item>
<item>265</item>
<item>266</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_74">
<Value>
<Obj>
<type>0</type>
<id>104</id>
<name>exitcond2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>87</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>87</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>exitcond2_fu_504_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>267</item>
<item>268</item>
</oprand_edges>
<opcode>icmp</opcode>
</item>
<item class_id_reference="9" object_id="_75">
<Value>
<Obj>
<type>0</type>
<id>106</id>
<name>i_5</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>87</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>87</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName>i_5_fu_510_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>269</item>
<item>270</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_76">
<Value>
<Obj>
<type>0</type>
<id>107</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>87</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>87</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>271</item>
<item>272</item>
<item>273</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_77">
<Value>
<Obj>
<type>0</type>
<id>110</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>88</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>grp_dct_dct_1d_fu_361</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>20</count>
<item_version>0</item_version>
<item>274</item>
<item>275</item>
<item>276</item>
<item>277</item>
<item>278</item>
<item>279</item>
<item>280</item>
<item>281</item>
<item>282</item>
<item>283</item>
<item>284</item>
<item>285</item>
<item>400</item>
<item>401</item>
<item>402</item>
<item>403</item>
<item>404</item>
<item>405</item>
<item>406</item>
<item>407</item>
</oprand_edges>
<opcode>call</opcode>
</item>
<item class_id_reference="9" object_id="_78">
<Value>
<Obj>
<type>0</type>
<id>111</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>87</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>87</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>286</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_79">
<Value>
<Obj>
<type>0</type>
<id>113</id>
<name>indvar_flatten1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>287</item>
<item>288</item>
<item>289</item>
<item>290</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_80">
<Value>
<Obj>
<type>0</type>
<id>114</id>
<name>j_1</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>291</item>
<item>292</item>
<item>293</item>
<item>294</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_81">
<Value>
<Obj>
<type>0</type>
<id>115</id>
<name>i_3</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>295</item>
<item>296</item>
<item>297</item>
<item>298</item>
</oprand_edges>
<opcode>phi</opcode>
</item>
<item class_id_reference="9" object_id="_82">
<Value>
<Obj>
<type>0</type>
<id>116</id>
<name>exitcond_flatten1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>exitcond_flatten1_fu_516_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>299</item>
<item>300</item>
</oprand_edges>
<opcode>icmp</opcode>
</item>
<item class_id_reference="9" object_id="_83">
<Value>
<Obj>
<type>0</type>
<id>117</id>
<name>indvar_flatten_next1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>indvar_flatten_next1_fu_522_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>301</item>
<item>302</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_84">
<Value>
<Obj>
<type>0</type>
<id>118</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>303</item>
<item>304</item>
<item>305</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_85">
<Value>
<Obj>
<type>0</type>
<id>122</id>
<name>exitcond1</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>exitcond1_fu_528_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>306</item>
<item>307</item>
</oprand_edges>
<opcode>icmp</opcode>
</item>
<item class_id_reference="9" object_id="_86">
<Value>
<Obj>
<type>0</type>
<id>123</id>
<name>i_3_mid2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>i_3_mid2_fu_534_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>308</item>
<item>309</item>
<item>310</item>
</oprand_edges>
<opcode>select</opcode>
</item>
<item class_id_reference="9" object_id="_87">
<Value>
<Obj>
<type>0</type>
<id>124</id>
<name>j_2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>92</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>92</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>j_2_fu_542_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>311</item>
<item>312</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_88">
<Value>
<Obj>
<type>0</type>
<id>125</id>
<name>j_1_mid2</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>j_1_mid2_fu_548_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>313</item>
<item>314</item>
<item>315</item>
</oprand_edges>
<opcode>select</opcode>
</item>
<item class_id_reference="9" object_id="_89">
<Value>
<Obj>
<type>0</type>
<id>129</id>
<name>tmp_4_trn_cast</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_4_trn_cast_fu_589_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>316</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_90">
<Value>
<Obj>
<type>0</type>
<id>130</id>
<name>tmp_3_trn_cast</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_3_trn_cast_fu_556_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>317</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_91">
<Value>
<Obj>
<type>0</type>
<id>131</id>
<name>tmp_6</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_6_fu_560_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>318</item>
<item>319</item>
<item>320</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
</item>
<item class_id_reference="9" object_id="_92">
<Value>
<Obj>
<type>0</type>
<id>132</id>
<name>p_addr2_cast</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_addr2_cast_fu_568_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>321</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_93">
<Value>
<Obj>
<type>0</type>
<id>133</id>
<name>p_addr5</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_addr5_fu_572_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>322</item>
<item>323</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_94">
<Value>
<Obj>
<type>0</type>
<id>134</id>
<name>tmp_7</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_7_fu_578_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>324</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_95">
<Value>
<Obj>
<type>0</type>
<id>135</id>
<name>col_outbuf_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>6</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>325</item>
<item>326</item>
<item>327</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_96">
<Value>
<Obj>
<type>0</type>
<id>136</id>
<name>col_outbuf_load</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>328</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_97">
<Value>
<Obj>
<type>0</type>
<id>137</id>
<name>tmp_8</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_8_fu_592_p3</rtlName>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>329</item>
<item>330</item>
<item>331</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
</item>
<item class_id_reference="9" object_id="_98">
<Value>
<Obj>
<type>0</type>
<id>138</id>
<name>p_addr3_cast</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_addr3_cast_fu_599_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>332</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_99">
<Value>
<Obj>
<type>0</type>
<id>139</id>
<name>p_addr4</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>p_addr4_fu_603_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>333</item>
<item>334</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_100">
<Value>
<Obj>
<type>0</type>
<id>140</id>
<name>tmp_3</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>tmp_3_fu_609_p1</rtlName>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>335</item>
</oprand_edges>
<opcode>zext</opcode>
</item>
<item class_id_reference="9" object_id="_101">
<Value>
<Obj>
<type>0</type>
<id>141</id>
<name>out_block_addr</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>6</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>336</item>
<item>337</item>
<item>338</item>
</oprand_edges>
<opcode>getelementptr</opcode>
</item>
<item class_id_reference="9" object_id="_102">
<Value>
<Obj>
<type>0</type>
<id>142</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>339</item>
<item>340</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_103">
<Value>
<Obj>
<type>0</type>
<id>144</id>
<name>i_7</name>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName>i_7_fu_583_p2</rtlName>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>341</item>
<item>342</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_104">
<Value>
<Obj>
<type>0</type>
<id>145</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>343</item>
</oprand_edges>
<opcode>br</opcode>
</item>
<item class_id_reference="9" object_id="_105">
<Value>
<Obj>
<type>0</type>
<id>147</id>
<name/>
<fileName>dct.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>96</lineNumber>
<contextFuncName>dct_2d</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Design_Analysis/lab1</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>dct.cpp</first>
<second>dct_2d</second>
</first>
<second>96</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>0</count>
<item_version>0</item_version>
</oprand_edges>
<opcode>ret</opcode>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>16</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_106">
<Value>
<Obj>
<type>2</type>
<id>149</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_107">
<Value>
<Obj>
<type>2</type>
<id>161</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_108">
<Value>
<Obj>
<type>2</type>
<id>167</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<const_type>0</const_type>
<content>8</content>
</item>
<item class_id_reference="16" object_id="_109">
<Value>
<Obj>
<type>2</type>
<id>170</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_110">
<Value>
<Obj>
<type>2</type>
<id>175</id>
<name>dct_dct_1d</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:dct_dct_1d></content>
</item>
<item class_id_reference="16" object_id="_111">
<Value>
<Obj>
<type>2</type>
<id>191</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_112">
<Value>
<Obj>
<type>2</type>
<id>203</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<const_type>0</const_type>
<content>64</content>
</item>
<item class_id_reference="16" object_id="_113">
<Value>
<Obj>
<type>2</type>
<id>206</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_114">
<Value>
<Obj>
<type>2</type>
<id>229</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_115">
<Value>
<Obj>
<type>2</type>
<id>236</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_116">
<Value>
<Obj>
<type>2</type>
<id>245</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_117">
<Value>
<Obj>
<type>2</type>
<id>248</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>2</content>
</item>
<item class_id_reference="16" object_id="_118">
<Value>
<Obj>
<type>2</type>
<id>251</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>3</content>
</item>
<item class_id_reference="16" object_id="_119">
<Value>
<Obj>
<type>2</type>
<id>254</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>4</content>
</item>
<item class_id_reference="16" object_id="_120">
<Value>
<Obj>
<type>2</type>
<id>257</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>5</content>
</item>
<item class_id_reference="16" object_id="_121">
<Value>
<Obj>
<type>2</type>
<id>260</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>6</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>19</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_122">
<Obj>
<type>3</type>
<id>29</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>11</count>
<item_version>0</item_version>
<item>18</item>
<item>19</item>
<item>20</item>
<item>21</item>
<item>22</item>
<item>23</item>
<item>24</item>
<item>25</item>
<item>26</item>
<item>27</item>
<item>28</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_123">
<Obj>
<type>3</type>
<id>35</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>30</item>
<item>31</item>
<item>33</item>
<item>34</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_124">
<Obj>
<type>3</type>
<id>39</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>38</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_125">
<Obj>
<type>3</type>
<id>46</id>
<name>.preheader7.preheader</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>6</count>
<item_version>0</item_version>
<item>40</item>
<item>41</item>
<item>42</item>
<item>43</item>
<item>44</item>
<item>45</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_126">
<Obj>
<type>3</type>
<id>66</id>
<name>.preheader7</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>14</count>
<item_version>0</item_version>
<item>49</item>
<item>50</item>
<item>51</item>
<item>52</item>
<item>53</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>
</node_objs>
</item>
<item class_id_reference="18" object_id="_127">
<Obj>
<type>3</type>
<id>70</id>
<name>branch6</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>67</item>
<item>68</item>
<item>69</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_128">
<Obj>
<type>3</type>
<id>74</id>
<name>branch5</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>71</item>
<item>72</item>
<item>73</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_129">
<Obj>
<type>3</type>
<id>78</id>
<name>branch4</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>75</item>
<item>76</item>
<item>77</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_130">
<Obj>
<type>3</type>
<id>82</id>
<name>branch3</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>79</item>
<item>80</item>
<item>81</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_131">
<Obj>
<type>3</type>
<id>86</id>
<name>branch2</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>83</item>
<item>84</item>
<item>85</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_132">
<Obj>
<type>3</type>
<id>90</id>
<name>branch1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>87</item>
<item>88</item>
<item>89</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_133">
<Obj>
<type>3</type>
<id>94</id>
<name>branch0</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>91</item>
<item>92</item>
<item>93</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_134">
<Obj>
<type>3</type>
<id>98</id>
<name>branch7</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>95</item>
<item>96</item>
<item>97</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_135">
<Obj>
<type>3</type>
<id>102</id>
<name>ifBlock</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>100</item>
<item>101</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_136">
<Obj>
<type>3</type>
<id>108</id>
<name>.preheader6</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>103</item>
<item>104</item>
<item>106</item>
<item>107</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_137">
<Obj>
<type>3</type>
<id>112</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>110</item>
<item>111</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_138">
<Obj>
<type>3</type>
<id>119</id>
<name>.preheader.preheader</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>6</count>
<item_version>0</item_version>
<item>113</item>
<item>114</item>
<item>115</item>
<item>116</item>
<item>117</item>
<item>118</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_139">
<Obj>
<type>3</type>
<id>146</id>
<name>.preheader</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>20</count>
<item_version>0</item_version>
<item>122</item>
<item>123</item>
<item>124</item>
<item>125</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>144</item>
<item>145</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_140">
<Obj>
<type>3</type>
<id>148</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>147</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>268</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_141">
<id>150</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>18</sink_obj>
</item>
<item class_id_reference="20" object_id="_142">
<id>151</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_143">
<id>152</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>20</sink_obj>
</item>
<item class_id_reference="20" object_id="_144">
<id>153</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_145">
<id>154</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_146">
<id>155</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>23</sink_obj>
</item>
<item class_id_reference="20" object_id="_147">
<id>156</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_148">
<id>157</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_149">
<id>158</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_150">
<id>159</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>27</sink_obj>
</item>
<item class_id_reference="20" object_id="_151">
<id>160</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>28</sink_obj>
</item>
<item class_id_reference="20" object_id="_152">
<id>162</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_153">
<id>163</id>
<edge_type>2</edge_type>
<source_obj>29</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_154">
<id>164</id>
<edge_type>1</edge_type>
<source_obj>33</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_155">
<id>165</id>
<edge_type>2</edge_type>
<source_obj>39</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_156">
<id>166</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_157">
<id>168</id>
<edge_type>1</edge_type>
<source_obj>167</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_158">
<id>169</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_159">
<id>171</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_160">
<id>172</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_161">
<id>173</id>
<edge_type>2</edge_type>
<source_obj>39</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_162">
<id>174</id>
<edge_type>2</edge_type>
<source_obj>46</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_163">
<id>176</id>
<edge_type>1</edge_type>
<source_obj>175</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_164">
<id>177</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_165">
<id>178</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_166">
<id>179</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_167">
<id>180</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_168">
<id>181</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_169">
<id>182</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_170">
<id>183</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_171">
<id>184</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_172">
<id>185</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_173">
<id>186</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_174">
<id>187</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_175">
<id>188</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>38</sink_obj>
</item>
<item class_id_reference="20" object_id="_176">
<id>189</id>
<edge_type>1</edge_type>
<source_obj>44</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_177">
<id>190</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_178">
<id>192</id>
<edge_type>1</edge_type>
<source_obj>191</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_179">
<id>193</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_180">
<id>194</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_181">
<id>195</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_182">
<id>196</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_183">
<id>197</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_184">
<id>198</id>
<edge_type>1</edge_type>
<source_obj>100</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_185">
<id>199</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_186">
<id>200</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_187">
<id>201</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_188">
<id>202</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_189">
<id>204</id>
<edge_type>1</edge_type>
<source_obj>203</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_190">
<id>205</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_191">
<id>207</id>
<edge_type>1</edge_type>
<source_obj>206</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_192">
<id>208</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_193">
<id>209</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_194">
<id>210</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_195">
<id>211</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>100</sink_obj>
</item>
<item class_id_reference="20" object_id="_196">
<id>212</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>100</sink_obj>
</item>
<item class_id_reference="20" object_id="_197">
<id>213</id>
<edge_type>2</edge_type>
<source_obj>46</source_obj>
<sink_obj>101</sink_obj>
</item>
<item class_id_reference="20" object_id="_198">
<id>214</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>49</sink_obj>
</item>
<item class_id_reference="20" object_id="_199">
<id>215</id>
<edge_type>1</edge_type>
<source_obj>167</source_obj>
<sink_obj>49</sink_obj>
</item>
<item class_id_reference="20" object_id="_200">
<id>216</id>
<edge_type>1</edge_type>
<source_obj>49</source_obj>
<sink_obj>50</sink_obj>
</item>
<item class_id_reference="20" object_id="_201">
<id>217</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>50</sink_obj>
</item>
<item class_id_reference="20" object_id="_202">
<id>218</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>50</sink_obj>
</item>
<item class_id_reference="20" object_id="_203">
<id>219</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>51</sink_obj>
</item>
<item class_id_reference="20" object_id="_204">
<id>220</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>51</sink_obj>
</item>
<item class_id_reference="20" object_id="_205">
<id>221</id>
<edge_type>1</edge_type>
<source_obj>49</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_206">
<id>222</id>
<edge_type>1</edge_type>
<source_obj>51</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_207">
<id>223</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_208">
<id>224</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_209">
<id>225</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>57</sink_obj>
</item>
<item class_id_reference="20" object_id="_210">
<id>228</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>58</sink_obj>
</item>
<item class_id_reference="20" object_id="_211">
<id>230</id>
<edge_type>1</edge_type>
<source_obj>229</source_obj>
<sink_obj>58</sink_obj>
</item>
<item class_id_reference="20" object_id="_212">
<id>231</id>
<edge_type>1</edge_type>
<source_obj>58</source_obj>
<sink_obj>59</sink_obj>
</item>
<item class_id_reference="20" object_id="_213">
<id>232</id>
<edge_type>1</edge_type>
<source_obj>59</source_obj>
<sink_obj>60</sink_obj>
</item>
<item class_id_reference="20" object_id="_214">
<id>233</id>
<edge_type>1</edge_type>
<source_obj>57</source_obj>
<sink_obj>60</sink_obj>
</item>
<item class_id_reference="20" object_id="_215">
<id>234</id>
<edge_type>1</edge_type>
<source_obj>60</source_obj>
<sink_obj>61</sink_obj>
</item>
<item class_id_reference="20" object_id="_216">
<id>235</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>62</sink_obj>
</item>
<item class_id_reference="20" object_id="_217">
<id>237</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>62</sink_obj>
</item>
<item class_id_reference="20" object_id="_218">
<id>238</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>62</sink_obj>
</item>
<item class_id_reference="20" object_id="_219">
<id>239</id>
<edge_type>1</edge_type>
<source_obj>62</source_obj>
<sink_obj>63</sink_obj>
</item>
<item class_id_reference="20" object_id="_220">
<id>240</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>64</sink_obj>
</item>
<item class_id_reference="20" object_id="_221">
<id>241</id>
<edge_type>1</edge_type>
<source_obj>64</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_222">
<id>242</id>
<edge_type>2</edge_type>
<source_obj>98</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_223">
<id>243</id>
<edge_type>1</edge_type>
<source_obj>229</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_224">
<id>244</id>
<edge_type>2</edge_type>
<source_obj>94</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_225">
<id>246</id>
<edge_type>1</edge_type>
<source_obj>245</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_226">
<id>247</id>
<edge_type>2</edge_type>
<source_obj>90</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_227">
<id>249</id>
<edge_type>1</edge_type>
<source_obj>248</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_228">
<id>250</id>
<edge_type>2</edge_type>
<source_obj>86</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_229">
<id>252</id>
<edge_type>1</edge_type>
<source_obj>251</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_230">
<id>253</id>
<edge_type>2</edge_type>
<source_obj>82</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_231">
<id>255</id>
<edge_type>1</edge_type>
<source_obj>254</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_232">
<id>256</id>
<edge_type>2</edge_type>
<source_obj>78</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_233">
<id>258</id>
<edge_type>1</edge_type>
<source_obj>257</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_234">
<id>259</id>
<edge_type>2</edge_type>
<source_obj>74</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_235">
<id>261</id>
<edge_type>1</edge_type>
<source_obj>260</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_236">
<id>262</id>
<edge_type>2</edge_type>
<source_obj>70</source_obj>
<sink_obj>65</sink_obj>
</item>
<item class_id_reference="20" object_id="_237">
<id>263</id>
<edge_type>1</edge_type>
<source_obj>106</source_obj>
<sink_obj>103</sink_obj>
</item>
<item class_id_reference="20" object_id="_238">
<id>264</id>
<edge_type>2</edge_type>
<source_obj>112</source_obj>
<sink_obj>103</sink_obj>
</item>
<item class_id_reference="20" object_id="_239">
<id>265</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>103</sink_obj>
</item>
<item class_id_reference="20" object_id="_240">
<id>266</id>
<edge_type>2</edge_type>
<source_obj>46</source_obj>
<sink_obj>103</sink_obj>
</item>
<item class_id_reference="20" object_id="_241">
<id>267</id>
<edge_type>1</edge_type>
<source_obj>103</source_obj>
<sink_obj>104</sink_obj>
</item>
<item class_id_reference="20" object_id="_242">
<id>268</id>
<edge_type>1</edge_type>
<source_obj>167</source_obj>
<sink_obj>104</sink_obj>
</item>
<item class_id_reference="20" object_id="_243">
<id>269</id>
<edge_type>1</edge_type>
<source_obj>103</source_obj>
<sink_obj>106</sink_obj>
</item>
<item class_id_reference="20" object_id="_244">
<id>270</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>106</sink_obj>
</item>
<item class_id_reference="20" object_id="_245">
<id>271</id>
<edge_type>1</edge_type>
<source_obj>104</source_obj>
<sink_obj>107</sink_obj>
</item>
<item class_id_reference="20" object_id="_246">
<id>272</id>
<edge_type>2</edge_type>
<source_obj>112</source_obj>
<sink_obj>107</sink_obj>
</item>
<item class_id_reference="20" object_id="_247">
<id>273</id>
<edge_type>2</edge_type>
<source_obj>119</source_obj>
<sink_obj>107</sink_obj>
</item>
<item class_id_reference="20" object_id="_248">
<id>274</id>
<edge_type>1</edge_type>
<source_obj>175</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_249">
<id>275</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_250">
<id>276</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_251">
<id>277</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_252">
<id>278</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_253">
<id>279</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_254">
<id>280</id>
<edge_type>1</edge_type>
<source_obj>25</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_255">
<id>281</id>
<edge_type>1</edge_type>
<source_obj>26</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_256">
<id>282</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_257">
<id>283</id>
<edge_type>1</edge_type>
<source_obj>103</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_258">
<id>284</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_259">
<id>285</id>
<edge_type>1</edge_type>
<source_obj>103</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_260">
<id>286</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>111</sink_obj>
</item>
<item class_id_reference="20" object_id="_261">
<id>287</id>
<edge_type>1</edge_type>
<source_obj>117</source_obj>
<sink_obj>113</sink_obj>
</item>
<item class_id_reference="20" object_id="_262">
<id>288</id>
<edge_type>2</edge_type>
<source_obj>146</source_obj>
<sink_obj>113</sink_obj>
</item>
<item class_id_reference="20" object_id="_263">
<id>289</id>
<edge_type>1</edge_type>
<source_obj>191</source_obj>
<sink_obj>113</sink_obj>
</item>
<item class_id_reference="20" object_id="_264">
<id>290</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>113</sink_obj>
</item>
<item class_id_reference="20" object_id="_265">
<id>291</id>
<edge_type>1</edge_type>
<source_obj>125</source_obj>
<sink_obj>114</sink_obj>
</item>
<item class_id_reference="20" object_id="_266">
<id>292</id>
<edge_type>2</edge_type>
<source_obj>146</source_obj>
<sink_obj>114</sink_obj>
</item>
<item class_id_reference="20" object_id="_267">
<id>293</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>114</sink_obj>
</item>
<item class_id_reference="20" object_id="_268">
<id>294</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>114</sink_obj>
</item>
<item class_id_reference="20" object_id="_269">
<id>295</id>
<edge_type>1</edge_type>
<source_obj>144</source_obj>
<sink_obj>115</sink_obj>
</item>
<item class_id_reference="20" object_id="_270">
<id>296</id>
<edge_type>2</edge_type>
<source_obj>146</source_obj>
<sink_obj>115</sink_obj>
</item>
<item class_id_reference="20" object_id="_271">
<id>297</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>115</sink_obj>
</item>
<item class_id_reference="20" object_id="_272">
<id>298</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>115</sink_obj>
</item>
<item class_id_reference="20" object_id="_273">
<id>299</id>
<edge_type>1</edge_type>
<source_obj>113</source_obj>
<sink_obj>116</sink_obj>
</item>
<item class_id_reference="20" object_id="_274">
<id>300</id>
<edge_type>1</edge_type>
<source_obj>203</source_obj>
<sink_obj>116</sink_obj>
</item>
<item class_id_reference="20" object_id="_275">
<id>301</id>
<edge_type>1</edge_type>
<source_obj>113</source_obj>
<sink_obj>117</sink_obj>
</item>
<item class_id_reference="20" object_id="_276">
<id>302</id>
<edge_type>1</edge_type>
<source_obj>206</source_obj>
<sink_obj>117</sink_obj>
</item>
<item class_id_reference="20" object_id="_277">
<id>303</id>
<edge_type>1</edge_type>
<source_obj>116</source_obj>
<sink_obj>118</sink_obj>
</item>
<item class_id_reference="20" object_id="_278">
<id>304</id>
<edge_type>2</edge_type>
<source_obj>146</source_obj>
<sink_obj>118</sink_obj>
</item>
<item class_id_reference="20" object_id="_279">
<id>305</id>
<edge_type>2</edge_type>
<source_obj>148</source_obj>
<sink_obj>118</sink_obj>
</item>
<item class_id_reference="20" object_id="_280">
<id>306</id>
<edge_type>1</edge_type>
<source_obj>115</source_obj>
<sink_obj>122</sink_obj>
</item>
<item class_id_reference="20" object_id="_281">
<id>307</id>
<edge_type>1</edge_type>
<source_obj>167</source_obj>
<sink_obj>122</sink_obj>
</item>
<item class_id_reference="20" object_id="_282">
<id>308</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>123</sink_obj>
</item>
<item class_id_reference="20" object_id="_283">
<id>309</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>123</sink_obj>
</item>
<item class_id_reference="20" object_id="_284">
<id>310</id>
<edge_type>1</edge_type>
<source_obj>115</source_obj>
<sink_obj>123</sink_obj>
</item>
<item class_id_reference="20" object_id="_285">
<id>311</id>
<edge_type>1</edge_type>
<source_obj>114</source_obj>
<sink_obj>124</sink_obj>
</item>
<item class_id_reference="20" object_id="_286">
<id>312</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>124</sink_obj>
</item>
<item class_id_reference="20" object_id="_287">
<id>313</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>125</sink_obj>
</item>
<item class_id_reference="20" object_id="_288">
<id>314</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>125</sink_obj>
</item>
<item class_id_reference="20" object_id="_289">
<id>315</id>
<edge_type>1</edge_type>
<source_obj>114</source_obj>
<sink_obj>125</sink_obj>
</item>
<item class_id_reference="20" object_id="_290">
<id>316</id>
<edge_type>1</edge_type>
<source_obj>123</source_obj>
<sink_obj>129</sink_obj>
</item>
<item class_id_reference="20" object_id="_291">
<id>317</id>
<edge_type>1</edge_type>
<source_obj>125</source_obj>
<sink_obj>130</sink_obj>
</item>
<item class_id_reference="20" object_id="_292">
<id>319</id>
<edge_type>1</edge_type>
<source_obj>123</source_obj>
<sink_obj>131</sink_obj>
</item>
<item class_id_reference="20" object_id="_293">
<id>320</id>
<edge_type>1</edge_type>
<source_obj>229</source_obj>
<sink_obj>131</sink_obj>
</item>
<item class_id_reference="20" object_id="_294">
<id>321</id>
<edge_type>1</edge_type>
<source_obj>131</source_obj>
<sink_obj>132</sink_obj>
</item>
<item class_id_reference="20" object_id="_295">
<id>322</id>
<edge_type>1</edge_type>
<source_obj>130</source_obj>
<sink_obj>133</sink_obj>
</item>
<item class_id_reference="20" object_id="_296">
<id>323</id>
<edge_type>1</edge_type>
<source_obj>132</source_obj>
<sink_obj>133</sink_obj>
</item>
<item class_id_reference="20" object_id="_297">
<id>324</id>
<edge_type>1</edge_type>
<source_obj>133</source_obj>
<sink_obj>134</sink_obj>
</item>
<item class_id_reference="20" object_id="_298">
<id>325</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>135</sink_obj>
</item>
<item class_id_reference="20" object_id="_299">
<id>326</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>135</sink_obj>
</item>
<item class_id_reference="20" object_id="_300">
<id>327</id>
<edge_type>1</edge_type>
<source_obj>134</source_obj>
<sink_obj>135</sink_obj>
</item>
<item class_id_reference="20" object_id="_301">
<id>328</id>
<edge_type>1</edge_type>
<source_obj>135</source_obj>
<sink_obj>136</sink_obj>
</item>
<item class_id_reference="20" object_id="_302">
<id>330</id>
<edge_type>1</edge_type>
<source_obj>125</source_obj>
<sink_obj>137</sink_obj>
</item>
<item class_id_reference="20" object_id="_303">
<id>331</id>
<edge_type>1</edge_type>
<source_obj>229</source_obj>
<sink_obj>137</sink_obj>
</item>
<item class_id_reference="20" object_id="_304">
<id>332</id>
<edge_type>1</edge_type>
<source_obj>137</source_obj>
<sink_obj>138</sink_obj>
</item>
<item class_id_reference="20" object_id="_305">
<id>333</id>
<edge_type>1</edge_type>
<source_obj>129</source_obj>
<sink_obj>139</sink_obj>
</item>
<item class_id_reference="20" object_id="_306">
<id>334</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>139</sink_obj>
</item>
<item class_id_reference="20" object_id="_307">
<id>335</id>
<edge_type>1</edge_type>
<source_obj>139</source_obj>
<sink_obj>140</sink_obj>
</item>
<item class_id_reference="20" object_id="_308">
<id>336</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>141</sink_obj>
</item>
<item class_id_reference="20" object_id="_309">
<id>337</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>141</sink_obj>
</item>
<item class_id_reference="20" object_id="_310">
<id>338</id>
<edge_type>1</edge_type>
<source_obj>140</source_obj>
<sink_obj>141</sink_obj>
</item>
<item class_id_reference="20" object_id="_311">
<id>339</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>142</sink_obj>
</item>
<item class_id_reference="20" object_id="_312">
<id>340</id>
<edge_type>1</edge_type>
<source_obj>141</source_obj>
<sink_obj>142</sink_obj>
</item>
<item class_id_reference="20" object_id="_313">
<id>341</id>
<edge_type>1</edge_type>
<source_obj>123</source_obj>
<sink_obj>144</sink_obj>
</item>
<item class_id_reference="20" object_id="_314">
<id>342</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>144</sink_obj>
</item>
<item class_id_reference="20" object_id="_315">
<id>343</id>
<edge_type>2</edge_type>
<source_obj>119</source_obj>
<sink_obj>145</sink_obj>
</item>
<item class_id_reference="20" object_id="_316">
<id>344</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>91</sink_obj>
</item>
<item class_id_reference="20" object_id="_317">
<id>345</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>91</sink_obj>
</item>
<item class_id_reference="20" object_id="_318">
<id>346</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>91</sink_obj>
</item>
<item class_id_reference="20" object_id="_319">
<id>347</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>92</sink_obj>
</item>
<item class_id_reference="20" object_id="_320">
<id>348</id>
<edge_type>1</edge_type>
<source_obj>91</source_obj>
<sink_obj>92</sink_obj>
</item>
<item class_id_reference="20" object_id="_321">
<id>349</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>93</sink_obj>
</item>
<item class_id_reference="20" object_id="_322">
<id>350</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>87</sink_obj>
</item>
<item class_id_reference="20" object_id="_323">
<id>351</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>87</sink_obj>
</item>
<item class_id_reference="20" object_id="_324">
<id>352</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>87</sink_obj>
</item>
<item class_id_reference="20" object_id="_325">
<id>353</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>88</sink_obj>
</item>
<item class_id_reference="20" object_id="_326">
<id>354</id>
<edge_type>1</edge_type>
<source_obj>87</source_obj>
<sink_obj>88</sink_obj>
</item>
<item class_id_reference="20" object_id="_327">
<id>355</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>89</sink_obj>
</item>
<item class_id_reference="20" object_id="_328">
<id>356</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>83</sink_obj>
</item>
<item class_id_reference="20" object_id="_329">
<id>357</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>83</sink_obj>
</item>
<item class_id_reference="20" object_id="_330">
<id>358</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>83</sink_obj>
</item>
<item class_id_reference="20" object_id="_331">
<id>359</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>84</sink_obj>
</item>
<item class_id_reference="20" object_id="_332">
<id>360</id>
<edge_type>1</edge_type>
<source_obj>83</source_obj>
<sink_obj>84</sink_obj>
</item>
<item class_id_reference="20" object_id="_333">
<id>361</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>85</sink_obj>
</item>
<item class_id_reference="20" object_id="_334">
<id>362</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>79</sink_obj>
</item>
<item class_id_reference="20" object_id="_335">
<id>363</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>79</sink_obj>
</item>
<item class_id_reference="20" object_id="_336">
<id>364</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>79</sink_obj>
</item>
<item class_id_reference="20" object_id="_337">
<id>365</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>80</sink_obj>
</item>
<item class_id_reference="20" object_id="_338">
<id>366</id>
<edge_type>1</edge_type>
<source_obj>79</source_obj>
<sink_obj>80</sink_obj>
</item>
<item class_id_reference="20" object_id="_339">
<id>367</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>81</sink_obj>
</item>
<item class_id_reference="20" object_id="_340">
<id>368</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>75</sink_obj>
</item>
<item class_id_reference="20" object_id="_341">
<id>369</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>75</sink_obj>
</item>
<item class_id_reference="20" object_id="_342">
<id>370</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>75</sink_obj>
</item>
<item class_id_reference="20" object_id="_343">
<id>371</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>76</sink_obj>
</item>
<item class_id_reference="20" object_id="_344">
<id>372</id>
<edge_type>1</edge_type>
<source_obj>75</source_obj>
<sink_obj>76</sink_obj>
</item>
<item class_id_reference="20" object_id="_345">
<id>373</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>77</sink_obj>
</item>
<item class_id_reference="20" object_id="_346">
<id>374</id>
<edge_type>1</edge_type>
<source_obj>25</source_obj>
<sink_obj>71</sink_obj>
</item>
<item class_id_reference="20" object_id="_347">
<id>375</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>71</sink_obj>
</item>
<item class_id_reference="20" object_id="_348">
<id>376</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>71</sink_obj>
</item>
<item class_id_reference="20" object_id="_349">
<id>377</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>72</sink_obj>
</item>
<item class_id_reference="20" object_id="_350">
<id>378</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>72</sink_obj>
</item>
<item class_id_reference="20" object_id="_351">
<id>379</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>73</sink_obj>
</item>
<item class_id_reference="20" object_id="_352">
<id>380</id>
<edge_type>1</edge_type>
<source_obj>26</source_obj>
<sink_obj>67</sink_obj>
</item>
<item class_id_reference="20" object_id="_353">
<id>381</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>67</sink_obj>
</item>
<item class_id_reference="20" object_id="_354">
<id>382</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>67</sink_obj>
</item>
<item class_id_reference="20" object_id="_355">
<id>383</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>68</sink_obj>
</item>
<item class_id_reference="20" object_id="_356">
<id>384</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>68</sink_obj>
</item>
<item class_id_reference="20" object_id="_357">
<id>385</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>69</sink_obj>
</item>
<item class_id_reference="20" object_id="_358">
<id>386</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>95</sink_obj>
</item>
<item class_id_reference="20" object_id="_359">
<id>387</id>
<edge_type>1</edge_type>
<source_obj>236</source_obj>
<sink_obj>95</sink_obj>
</item>
<item class_id_reference="20" object_id="_360">
<id>388</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>95</sink_obj>
</item>
<item class_id_reference="20" object_id="_361">
<id>389</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>96</sink_obj>
</item>
<item class_id_reference="20" object_id="_362">
<id>390</id>
<edge_type>1</edge_type>
<source_obj>95</source_obj>
<sink_obj>96</sink_obj>
</item>
<item class_id_reference="20" object_id="_363">
<id>391</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>97</sink_obj>
</item>
<item class_id_reference="20" object_id="_364">
<id>392</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_365">
<id>393</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_366">
<id>394</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_367">
<id>395</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_368">
<id>396</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_369">
<id>397</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_370">
<id>398</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_371">
<id>399</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_372">
<id>400</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_373">
<id>401</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_374">
<id>402</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_375">
<id>403</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_376">
<id>404</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_377">
<id>405</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_378">
<id>406</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_379">
<id>407</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>110</sink_obj>
</item>
<item class_id_reference="20" object_id="_380">
<id>474</id>
<edge_type>2</edge_type>
<source_obj>29</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_381">
<id>475</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_382">
<id>476</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>39</sink_obj>
</item>
<item class_id_reference="20" object_id="_383">
<id>477</id>
<edge_type>2</edge_type>
<source_obj>39</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_384">
<id>478</id>
<edge_type>2</edge_type>
<source_obj>46</source_obj>
<sink_obj>108</sink_obj>
</item>
<item class_id_reference="20" object_id="_385">
<id>479</id>
<edge_type>2</edge_type>
<source_obj>46</source_obj>
<sink_obj>66</sink_obj>
</item>
<item class_id_reference="20" object_id="_386">
<id>480</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>98</sink_obj>
</item>
<item class_id_reference="20" object_id="_387">
<id>481</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>94</sink_obj>
</item>
<item class_id_reference="20" object_id="_388">
<id>482</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>90</sink_obj>
</item>
<item class_id_reference="20" object_id="_389">
<id>483</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>86</sink_obj>
</item>
<item class_id_reference="20" object_id="_390">
<id>484</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>82</sink_obj>
</item>
<item class_id_reference="20" object_id="_391">
<id>485</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>78</sink_obj>
</item>
<item class_id_reference="20" object_id="_392">
<id>486</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>74</sink_obj>
</item>
<item class_id_reference="20" object_id="_393">
<id>487</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>70</sink_obj>
</item>
<item class_id_reference="20" object_id="_394">
<id>488</id>
<edge_type>2</edge_type>
<source_obj>70</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_395">
<id>489</id>
<edge_type>2</edge_type>
<source_obj>74</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_396">
<id>490</id>
<edge_type>2</edge_type>
<source_obj>78</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_397">
<id>491</id>
<edge_type>2</edge_type>
<source_obj>82</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_398">
<id>492</id>
<edge_type>2</edge_type>
<source_obj>86</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_399">
<id>493</id>
<edge_type>2</edge_type>
<source_obj>90</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_400">
<id>494</id>
<edge_type>2</edge_type>
<source_obj>94</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_401">
<id>495</id>
<edge_type>2</edge_type>
<source_obj>98</source_obj>
<sink_obj>102</sink_obj>
</item>
<item class_id_reference="20" object_id="_402">
<id>496</id>
<edge_type>2</edge_type>
<source_obj>102</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_403">
<id>497</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>119</sink_obj>
</item>
<item class_id_reference="20" object_id="_404">
<id>498</id>
<edge_type>2</edge_type>
<source_obj>108</source_obj>
<sink_obj>112</sink_obj>
</item>
<item class_id_reference="20" object_id="_405">
<id>499</id>
<edge_type>2</edge_type>
<source_obj>112</source_obj>
<sink_obj>108</sink_obj>
</item>
<item class_id_reference="20" object_id="_406">
<id>500</id>
<edge_type>2</edge_type>
<source_obj>119</source_obj>
<sink_obj>148</sink_obj>
</item>
<item class_id_reference="20" object_id="_407">
<id>501</id>
<edge_type>2</edge_type>
<source_obj>119</source_obj>
<sink_obj>146</sink_obj>
</item>
<item class_id_reference="20" object_id="_408">
<id>502</id>
<edge_type>2</edge_type>
<source_obj>146</source_obj>
<sink_obj>119</sink_obj>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>7</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_409">
<mId>1</mId>
<mTag>dct_dct_2d</mTag>
<mType>0</mType>
<sub_regions>
<count>6</count>
<item_version>0</item_version>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</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>373</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_410">
<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>29</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_411">
<mId>3</mId>
<mTag>Row_DCT_Loop</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>35</item>
<item>39</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>8</mMinTripCount>
<mMaxTripCount>8</mMaxTripCount>
<mMinLatency>120</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_412">
<mId>4</mId>
<mTag>Xpose_Row_Outer_Loop_Xpose_Row_Inner_Loop</mTag>
<mType>1</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>11</count>
<item_version>0</item_version>
<item>46</item>
<item>66</item>
<item>70</item>
<item>74</item>
<item>78</item>
<item>82</item>
<item>86</item>
<item>90</item>
<item>94</item>
<item>98</item>
<item>102</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>64</mMinTripCount>
<mMaxTripCount>64</mMaxTripCount>
<mMinLatency>64</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_413">
<mId>5</mId>
<mTag>Col_DCT_Loop</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>108</item>
<item>112</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>8</mMinTripCount>
<mMaxTripCount>8</mMaxTripCount>
<mMinLatency>120</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_414">
<mId>6</mId>
<mTag>Xpose_Col_Outer_Loop_Xpose_Col_Inner_Loop</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>119</item>
<item>146</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>64</mMinTripCount>
<mMaxTripCount>64</mMaxTripCount>
<mMinLatency>64</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
<item class_id_reference="22" object_id="_415">
<mId>7</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>148</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
</cdfg_regions>
<fsm class_id="24" tracking_level="1" version="0" object_id="_416">
<states class_id="25" tracking_level="0" version="0">
<count>10</count>
<item_version>0</item_version>
<item class_id="26" tracking_level="1" version="0" object_id="_417">
<id>1</id>
<operations class_id="27" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="1" version="0" object_id="_418">
<id>18</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_419">
<id>19</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_420">
<id>20</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_421">
<id>21</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_422">
<id>22</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_423">
<id>23</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_424">
<id>24</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_425">
<id>25</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_426">
<id>26</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_427">
<id>27</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_428">
<id>28</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_429">
<id>2</id>
<operations>
<count>6</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_430">
<id>30</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_431">
<id>31</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_432">
<id>32</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_433">
<id>33</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_434">
<id>34</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_435">
<id>37</id>
<stage>2</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_436">
<id>3</id>
<operations>
<count>3</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_437">
<id>36</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_438">
<id>37</id>
<stage>1</stage>
<latency>2</latency>
</item>
<item class_id_reference="28" object_id="_439">
<id>38</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_440">
<id>4</id>
<operations>
<count>20</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_441">
<id>40</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_442">
<id>41</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_443">
<id>42</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_444">
<id>43</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_445">
<id>44</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_446">
<id>45</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_447">
<id>49</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_448">
<id>50</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_449">
<id>51</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_450">
<id>52</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_451">
<id>57</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_452">
<id>58</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_453">
<id>59</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_454">
<id>60</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_455">
<id>61</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_456">
<id>62</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_457">
<id>63</id>
<stage>2</stage>
<latency>2</latency>
</item>
<item class_id_reference="28" object_id="_458">
<id>64</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_459">
<id>65</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_460">
<id>100</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_461">
<id>5</id>
<operations>
<count>33</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_462">
<id>47</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_463">
<id>48</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_464">
<id>53</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_465">
<id>54</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_466">
<id>55</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_467">
<id>56</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_468">
<id>63</id>
<stage>1</stage>
<latency>2</latency>
</item>
<item class_id_reference="28" object_id="_469">
<id>67</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_470">
<id>68</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_471">
<id>69</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_472">
<id>71</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_473">
<id>72</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_474">
<id>73</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_475">
<id>75</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_476">
<id>76</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_477">
<id>77</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_478">
<id>79</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_479">
<id>80</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_480">
<id>81</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_481">
<id>83</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_482">
<id>84</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_483">
<id>85</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_484">
<id>87</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_485">
<id>88</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_486">
<id>89</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_487">
<id>91</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_488">
<id>92</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_489">
<id>93</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_490">
<id>95</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_491">
<id>96</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_492">
<id>97</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_493">
<id>99</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_494">
<id>101</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_495">
<id>6</id>
<operations>
<count>6</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_496">
<id>103</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_497">
<id>104</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_498">
<id>105</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_499">
<id>106</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_500">
<id>107</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_501">
<id>110</id>
<stage>2</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_502">
<id>7</id>
<operations>
<count>3</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_503">
<id>109</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_504">
<id>110</id>
<stage>1</stage>
<latency>2</latency>
</item>
<item class_id_reference="28" object_id="_505">
<id>111</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_506">
<id>8</id>
<operations>
<count>18</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_507">
<id>113</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_508">
<id>114</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_509">
<id>115</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_510">
<id>116</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_511">
<id>117</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_512">
<id>118</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_513">
<id>122</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_514">
<id>123</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_515">
<id>124</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_516">
<id>125</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_517">
<id>130</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_518">
<id>131</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_519">
<id>132</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_520">
<id>133</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_521">
<id>134</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_522">
<id>135</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_523">
<id>136</id>
<stage>2</stage>
<latency>2</latency>
</item>
<item class_id_reference="28" object_id="_524">
<id>144</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_525">
<id>9</id>
<operations>
<count>15</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_526">
<id>120</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_527">
<id>121</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_528">
<id>126</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_529">
<id>127</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_530">
<id>128</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_531">
<id>129</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_532">
<id>136</id>
<stage>1</stage>
<latency>2</latency>
</item>
<item class_id_reference="28" object_id="_533">
<id>137</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_534">
<id>138</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_535">
<id>139</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_536">
<id>140</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_537">
<id>141</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_538">
<id>142</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_539">
<id>143</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_540">
<id>145</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_541">
<id>10</id>
<operations>
<count>1</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_542">
<id>147</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
</states>
<transitions class_id="29" tracking_level="0" version="0">
<count>13</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="1" version="0" object_id="_543">
<inState>1</inState>
<outState>2</outState>
<condition class_id="31" tracking_level="0" version="0">
<id>104</id>
<sop class_id="32" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_544">
<inState>2</inState>
<outState>3</outState>
<condition>
<id>107</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item class_id="34" tracking_level="0" version="0">
<first class_id="35" tracking_level="0" version="0">
<first>31</first>
<second>0</second>
</first>
<second>1</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_545">
<inState>2</inState>
<outState>4</outState>
<condition>
<id>106</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>31</first>
<second>0</second>
</first>
<second>0</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_546">
<inState>3</inState>
<outState>2</outState>
<condition>
<id>110</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="30" object_id="_547">
<inState>6</inState>
<outState>7</outState>
<condition>
<id>120</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>104</first>
<second>0</second>
</first>
<second>1</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_548">
<inState>6</inState>
<outState>8</outState>
<condition>
<id>119</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>104</first>
<second>0</second>
</first>
<second>0</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_549">
<inState>7</inState>
<outState>6</outState>
<condition>
<id>123</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="30" object_id="_550">
<inState>5</inState>
<outState>4</outState>
<condition>
<id>131</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="30" object_id="_551">
<inState>4</inState>
<outState>6</outState>
<condition>
<id>130</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>43</first>
<second>0</second>
</first>
<second>0</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_552">
<inState>4</inState>
<outState>5</outState>
<condition>
<id>132</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>43</first>
<second>0</second>
</first>
<second>1</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_553">
<inState>9</inState>
<outState>8</outState>
<condition>
<id>134</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="30" object_id="_554">
<inState>8</inState>
<outState>10</outState>
<condition>
<id>133</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>116</first>
<second>0</second>
</first>
<second>0</second>
</item>
</item>
</sop>
</condition>
</item>
<item class_id_reference="30" object_id="_555">
<inState>8</inState>
<outState>9</outState>
<condition>
<id>135</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>116</first>
<second>0</second>
</first>
<second>1</second>
</item>
</item>
</sop>
</condition>
</item>
</transitions>
</fsm>
<res class_id="36" tracking_level="1" version="0" object_id="_556">
<dp_component_resource class_id="37" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="38" tracking_level="0" version="0">
<first>grp_dct_dct_1d_fu_361 (dct_dct_1d)</first>
<second class_id="39" tracking_level="0" version="0">
<count>4</count>
<item_version>0</item_version>
<item class_id="40" tracking_level="0" version="0">
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>DSP48E</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>591</second>
</item>
<item>
<first>LUT</first>
<second>103</second>
</item>
</second>
</item>
</dp_component_resource>
<dp_expression_resource>
<count>22</count>
<item_version>0</item_version>
<item>
<first>ap_sig_bdd_324 ( 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>exitcond1_fu_528_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>5</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>exitcond2_fu_504_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>5</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>exitcond5_fu_404_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>5</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>exitcond_flatten1_fu_516_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>7</second>
</item>
<item>
<first>(1P1)</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>exitcond_flatten_fu_416_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>7</second>
</item>
<item>
<first>(1P1)</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>exitcond_fu_428_p2 ( icmp ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>5</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>i_1_mid2_fu_434_p3 ( Select ) </first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>(2P2)</first>
<second>4</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_3_mid2_fu_534_p3 ( Select ) </first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>(2P2)</first>
<second>4</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_4_fu_410_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_5_fu_510_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_6_fu_487_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_7_fu_583_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>indvar_flatten_next1_fu_522_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>7</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>indvar_flatten_next_fu_422_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>7</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>j_1_mid2_fu_548_p3 ( Select ) </first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>4</second>
</item>
<item>
<first>(2P2)</first>
<second>4</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_2_fu_542_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>4</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_mid2_fu_448_p3 ( Select ) </first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>4</second>
</item>
<item>
<first>(2P2)</first>
<second>4</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_s_fu_442_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>4</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>p_addr1_fu_472_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>8</second>
</item>
<item>
<first>(1P1)</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>8</second>
</item>
</second>
</item>
<item>
<first>p_addr4_fu_603_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>8</second>
</item>
<item>
<first>(1P1)</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>8</second>
</item>
</second>
</item>
<item>
<first>p_addr5_fu_572_p2 ( + ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>8</second>
</item>
<item>
<first>(1P1)</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>8</second>
</item>
</second>
</item>
</dp_expression_resource>
<dp_fifo_resource>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_resource>
<dp_memory_resource>
<count>10</count>
<item_version>0</item_version>
<item>
<first>col_inbuf_0_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_1_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_2_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_3_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_4_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_5_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_6_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_7_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>8</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>128</second>
</item>
<item>
<first>BRAM</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>col_outbuf_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>64</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>1024</second>
</item>
<item>
<first>BRAM</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>0</second>
</item>
</second>
</item>
<item>
<first>row_outbuf_U</first>
<second>
<count>7</count>
<item_version>0</item_version>
<item>
<first>(0Words)</first>
<second>64</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Banks)</first>
<second>1</second>
</item>
<item>
<first>(3W*Bits*Banks)</first>
<second>1024</second>
</item>
<item>
<first>BRAM</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>0</second>
</item>
</second>
</item>
</dp_memory_resource>
<dp_multiplexer_resource>
<count>51</count>
<item_version>0</item_version>
<item>
<first>ap_NS_fsm</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>9</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_0_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_0_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_1_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_1_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_2_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_2_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_3_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_3_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_4_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_4_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_5_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_5_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_6_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_6_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_7_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>3</second>
</item>
<item>
<first>(2Count)</first>
<second>9</second>
</item>
<item>
<first>LUT</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>col_inbuf_7_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_outbuf_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>6</second>
</item>
<item>
<first>(2Count)</first>
<second>18</second>
</item>
<item>
<first>LUT</first>
<second>6</second>
</item>
</second>
</item>
<item>
<first>col_outbuf_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>col_outbuf_we0</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>1</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src1_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src2_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src3_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src4_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src5_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src6_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src7_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_src_q0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>16</second>
</item>
<item>
<first>(2Count)</first>
<second>48</second>
</item>
<item>
<first>LUT</first>
<second>16</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_tmp_1</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>12</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>grp_dct_dct_1d_fu_361_tmp_11</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>12</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_1_reg_305</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_2_reg_316</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_3_reg_350</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_reg_271</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>in_block_0_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_1_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_2_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_3_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_4_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_5_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_6_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>in_block_7_ce0</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>1</second>
</item>
</second>
</item>
<item>
<first>indvar_flatten1_reg_328</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>7</second>
</item>
<item>
<first>(2Count)</first>
<second>14</second>
</item>
<item>
<first>LUT</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>indvar_flatten_reg_283</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>7</second>
</item>
<item>
<first>(2Count)</first>
<second>14</second>
</item>
<item>
<first>LUT</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>j_1_phi_fu_343_p4</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_1_reg_339</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_phi_fu_298_p4</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_reg_294</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>4</second>
</item>
<item>
<first>(2Count)</first>
<second>8</second>
</item>
<item>
<first>LUT</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>row_outbuf_address0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>6</second>
</item>
<item>
<first>(2Count)</first>
<second>18</second>
</item>
<item>
<first>LUT</first>
<second>6</second>
</item>
</second>
</item>
<item>
<first>row_outbuf_ce0</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>3</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>3</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>row_outbuf_we0</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>1</second>
</item>
</second>
</item>
</dp_multiplexer_resource>
<dp_register_resource>
<count>23</count>
<item_version>0</item_version>
<item>
<first>ap_CS_fsm</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>8</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>8</second>
</item>
</second>
</item>
<item>
<first>ap_done_reg</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_reg_ppiten_pp0_it0</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_reg_ppiten_pp0_it1</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_reg_ppiten_pp1_it0</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_reg_ppiten_pp1_it1</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>exitcond_flatten1_reg_661</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>exitcond_flatten_reg_623</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>grp_dct_dct_1d_fu_361_ap_start_ap_start_reg</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>i_1_reg_305</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_2_reg_316</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_3_mid2_reg_670</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_3_reg_350</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_4_reg_618</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_5_reg_656</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>i_reg_271</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>indvar_flatten1_reg_328</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>7</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>indvar_flatten_reg_283</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>7</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>j_1_mid2_reg_675</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_1_reg_339</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_mid2_reg_632</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>j_reg_294</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
<item>
<first>tmp_2_reg_643</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>3</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>3</second>
</item>
</second>
</item>
</dp_register_resource>
<dp_component_map class_id="41" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="42" tracking_level="0" version="0">
<first>grp_dct_dct_1d_fu_361 (dct_dct_1d)</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
</dp_component_map>
<dp_expression_map>
<count>21</count>
<item_version>0</item_version>
<item>
<first>exitcond1_fu_528_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>122</item>
</second>
</item>
<item>
<first>exitcond2_fu_504_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>104</item>
</second>
</item>
<item>
<first>exitcond5_fu_404_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>exitcond_flatten1_fu_516_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</second>
</item>
<item>
<first>exitcond_flatten_fu_416_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>exitcond_fu_428_p2 ( icmp ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>49</item>
</second>
</item>
<item>
<first>i_1_mid2_fu_434_p3 ( Select ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>50</item>
</second>
</item>
<item>
<first>i_3_mid2_fu_534_p3 ( Select ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>123</item>
</second>
</item>
<item>
<first>i_4_fu_410_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>i_5_fu_510_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>106</item>
</second>
</item>
<item>
<first>i_6_fu_487_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>100</item>
</second>
</item>
<item>
<first>i_7_fu_583_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>144</item>
</second>
</item>
<item>
<first>indvar_flatten_next1_fu_522_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</second>
</item>
<item>
<first>indvar_flatten_next_fu_422_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>j_1_mid2_fu_548_p3 ( Select ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>125</item>
</second>
</item>
<item>
<first>j_2_fu_542_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>124</item>
</second>
</item>
<item>
<first>j_mid2_fu_448_p3 ( Select ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>j_s_fu_442_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>51</item>
</second>
</item>
<item>
<first>p_addr1_fu_472_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>60</item>
</second>
</item>
<item>
<first>p_addr4_fu_603_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>139</item>
</second>
</item>
<item>
<first>p_addr5_fu_572_p2 ( + ) </first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>133</item>
</second>
</item>
</dp_expression_map>
<dp_fifo_map>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_map>
<dp_memory_map>
<count>10</count>
<item_version>0</item_version>
<item>
<first>col_inbuf_0_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>211</item>
</second>
</item>
<item>
<first>col_inbuf_1_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>220</item>
</second>
</item>
<item>
<first>col_inbuf_2_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>229</item>
</second>
</item>
<item>
<first>col_inbuf_3_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>238</item>
</second>
</item>
<item>
<first>col_inbuf_4_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>247</item>
</second>
</item>
<item>
<first>col_inbuf_5_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>256</item>
</second>
</item>
<item>
<first>col_inbuf_6_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>265</item>
</second>
</item>
<item>
<first>col_inbuf_7_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>274</item>
</second>
</item>
<item>
<first>col_outbuf_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>201</item>
</second>
</item>
<item>
<first>row_outbuf_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>192</item>
</second>
</item>
</dp_memory_map>
</res>
<node_label_latency class_id="43" tracking_level="0" version="0">
<count>96</count>
<item_version>0</item_version>
<item class_id="44" tracking_level="0" version="0">
<first>18</first>
<second class_id="45" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>23</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>24</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>25</first>
<second>
<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>30</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>40</first>
<second>
<first>2</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>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>2</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>0</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>50</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>51</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>52</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>61</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>62</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>63</first>
<second>
<first>2</first>
<second>1</second>
</second>
</item>
<item>
<first>64</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>65</first>
<second>
<first>2</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>3</first>
<second>0</second>
</second>
</item>
<item>
<first>69</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>71</first>
<second>
<first>3</first>
<second>0</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>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>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>3</first>
<second>0</second>
</second>
</item>
<item>
<first>81</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>83</first>
<second>
<first>3</first>
<second>0</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>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>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>3</first>
<second>0</second>
</second>
</item>
<item>
<first>93</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>95</first>
<second>
<first>3</first>
<second>0</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>100</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>101</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>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>3</first>
<second>0</second>
</second>
</item>
<item>
<first>110</first>
<second>
<first>3</first>
<second>1</second>
</second>
</item>
<item>
<first>111</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>113</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>114</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>115</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>116</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>117</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>118</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>122</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>123</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>124</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>125</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>129</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>130</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>131</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>132</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>133</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>134</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>135</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>136</first>
<second>
<first>4</first>
<second>1</second>
</second>
</item>
<item>
<first>137</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>138</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>139</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>140</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>141</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>142</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>144</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>145</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
<item>
<first>147</first>
<second>
<first>5</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="46" tracking_level="0" version="0">
<count>19</count>
<item_version>0</item_version>
<item class_id="47" tracking_level="0" version="0">
<first>29</first>
<second class_id="48" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>39</first>
<second>
<first>1</first>
<second>2</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>66</first>
<second>
<first>2</first>
<second>3</second>
</second>
</item>
<item>
<first>70</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>74</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>78</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>82</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>86</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>90</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>94</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>98</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>102</first>
<second>
<first>2</first>
<second>3</second>
</second>
</item>
<item>
<first>108</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>112</first>
<second>
<first>3</first>
<second>4</second>
</second>
</item>
<item>
<first>119</first>
<second>
<first>4</first>
<second>4</second>
</second>
</item>
<item>
<first>146</first>
<second>
<first>4</first>
<second>5</second>
</second>
</item>
<item>
<first>148</first>
<second>
<first>5</first>
<second>5</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="49" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="50" tracking_level="1" version="0" object_id="_557">
<region_name>Xpose_Row_Outer_Loop_Xpose_Row_Inner_Loop</region_name>
<basic_blocks>
<count>11</count>
<item_version>0</item_version>
<item>46</item>
<item>66</item>
<item>70</item>
<item>74</item>
<item>78</item>
<item>82</item>
<item>86</item>
<item>90</item>
<item>94</item>
<item>98</item>
<item>102</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>2</pipe_depth>
</item>
<item class_id_reference="50" object_id="_558">
<region_name>Xpose_Col_Outer_Loop_Xpose_Col_Inner_Loop</region_name>
<basic_blocks>
<count>2</count>
<item_version>0</item_version>
<item>119</item>
<item>146</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>2</pipe_depth>
</item>
</regions>
<dp_fu_nodes class_id="51" tracking_level="0" version="0">
<count>76</count>
<item_version>0</item_version>
<item class_id="52" tracking_level="0" version="0">
<first>100</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>18</item>
</second>
</item>
<item>
<first>104</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>108</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>20</item>
</second>
</item>
<item>
<first>112</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>116</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
<item>
<first>120</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>23</item>
</second>
</item>
<item>
<first>124</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>128</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>25</item>
</second>
</item>
<item>
<first>132</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>26</item>
</second>
</item>
<item>
<first>136</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>140</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</second>
</item>
<item>
<first>146</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>63</item>
<item>63</item>
</second>
</item>
<item>
<first>151</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>67</item>
</second>
</item>
<item>
<first>157</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>68</item>
</second>
</item>
<item>
<first>163</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>71</item>
</second>
</item>
<item>
<first>169</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>72</item>
</second>
</item>
<item>
<first>175</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>75</item>
</second>
</item>
<item>
<first>181</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>76</item>
</second>
</item>
<item>
<first>187</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</second>
</item>
<item>
<first>193</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>80</item>
</second>
</item>
<item>
<first>199</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>83</item>
</second>
</item>
<item>
<first>205</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>84</item>
</second>
</item>
<item>
<first>211</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>87</item>
</second>
</item>
<item>
<first>217</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>88</item>
</second>
</item>
<item>
<first>223</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>91</item>
</second>
</item>
<item>
<first>229</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>92</item>
</second>
</item>
<item>
<first>235</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>95</item>
</second>
</item>
<item>
<first>241</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>96</item>
</second>
</item>
<item>
<first>247</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>135</item>
</second>
</item>
<item>
<first>253</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>136</item>
<item>136</item>
</second>
</item>
<item>
<first>258</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>141</item>
</second>
</item>
<item>
<first>265</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>142</item>
</second>
</item>
<item>
<first>275</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>287</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>298</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>309</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>320</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>103</item>
</second>
</item>
<item>
<first>332</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>113</item>
</second>
</item>
<item>
<first>343</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</second>
</item>
<item>
<first>354</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</second>
</item>
<item>
<first>361</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>37</item>
<item>37</item>
<item>110</item>
<item>110</item>
</second>
</item>
<item>
<first>404</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>410</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>416</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>422</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>428</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>49</item>
</second>
</item>
<item>
<first>434</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>50</item>
</second>
</item>
<item>
<first>442</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>51</item>
</second>
</item>
<item>
<first>448</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>456</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>57</item>
</second>
</item>
<item>
<first>460</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>58</item>
</second>
</item>
<item>
<first>468</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>59</item>
</second>
</item>
<item>
<first>472</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>60</item>
</second>
</item>
<item>
<first>478</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>61</item>
</second>
</item>
<item>
<first>483</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</second>
</item>
<item>
<first>487</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>100</item>
</second>
</item>
<item>
<first>493</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>53</item>
</second>
</item>
<item>
<first>504</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>104</item>
</second>
</item>
<item>
<first>510</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>106</item>
</second>
</item>
<item>
<first>516</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</second>
</item>
<item>
<first>522</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</second>
</item>
<item>
<first>528</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>122</item>
</second>
</item>
<item>
<first>534</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>123</item>
</second>
</item>
<item>
<first>542</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>124</item>
</second>
</item>
<item>
<first>548</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>125</item>
</second>
</item>
<item>
<first>556</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>130</item>
</second>
</item>
<item>
<first>560</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>131</item>
</second>
</item>
<item>
<first>568</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>132</item>
</second>
</item>
<item>
<first>572</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>133</item>
</second>
</item>
<item>
<first>578</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>134</item>
</second>
</item>
<item>
<first>583</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>144</item>
</second>
</item>
<item>
<first>589</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>129</item>
</second>
</item>
<item>
<first>592</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>137</item>
</second>
</item>
<item>
<first>599</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>138</item>
</second>
</item>
<item>
<first>603</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>139</item>
</second>
</item>
<item>
<first>609</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>140</item>
</second>
</item>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="54" tracking_level="0" version="0">
<count>64</count>
<item_version>0</item_version>
<item class_id="55" tracking_level="0" version="0">
<first>col_inbuf_0_addr_gep_fu_223</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>91</item>
</second>
</item>
<item>
<first>col_inbuf_0_alloca_fu_108</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>20</item>
</second>
</item>
<item>
<first>col_inbuf_1_addr_gep_fu_211</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>87</item>
</second>
</item>
<item>
<first>col_inbuf_1_alloca_fu_112</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>21</item>
</second>
</item>
<item>
<first>col_inbuf_2_addr_gep_fu_199</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>83</item>
</second>
</item>
<item>
<first>col_inbuf_2_alloca_fu_116</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</second>
</item>
<item>
<first>col_inbuf_3_addr_gep_fu_187</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</second>
</item>
<item>
<first>col_inbuf_3_alloca_fu_120</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>23</item>
</second>
</item>
<item>
<first>col_inbuf_4_addr_gep_fu_175</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>75</item>
</second>
</item>
<item>
<first>col_inbuf_4_alloca_fu_124</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>24</item>
</second>
</item>
<item>
<first>col_inbuf_5_addr_gep_fu_163</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>71</item>
</second>
</item>
<item>
<first>col_inbuf_5_alloca_fu_128</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>25</item>
</second>
</item>
<item>
<first>col_inbuf_6_addr_gep_fu_151</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>67</item>
</second>
</item>
<item>
<first>col_inbuf_6_alloca_fu_132</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>26</item>
</second>
</item>
<item>
<first>col_inbuf_7_addr_gep_fu_235</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>95</item>
</second>
</item>
<item>
<first>col_inbuf_7_alloca_fu_136</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>col_outbuf_addr_gep_fu_247</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>135</item>
</second>
</item>
<item>
<first>col_outbuf_alloca_fu_104</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>exitcond1_fu_528</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>122</item>
</second>
</item>
<item>
<first>exitcond2_fu_504</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>104</item>
</second>
</item>
<item>
<first>exitcond5_fu_404</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>exitcond_flatten1_fu_516</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</second>
</item>
<item>
<first>exitcond_flatten_fu_416</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>exitcond_fu_428</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>49</item>
</second>
</item>
<item>
<first>i_1_mid2_fu_434</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>50</item>
</second>
</item>
<item>
<first>i_1_phi_fu_309</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>i_2_phi_fu_320</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>103</item>
</second>
</item>
<item>
<first>i_3_mid2_fu_534</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>123</item>
</second>
</item>
<item>
<first>i_3_phi_fu_354</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</second>
</item>
<item>
<first>i_4_fu_410</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>i_5_fu_510</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>106</item>
</second>
</item>
<item>
<first>i_6_fu_487</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>100</item>
</second>
</item>
<item>
<first>i_7_fu_583</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>144</item>
</second>
</item>
<item>
<first>i_phi_fu_275</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>indvar_flatten1_phi_fu_332</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>113</item>
</second>
</item>
<item>
<first>indvar_flatten_next1_fu_522</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</second>
</item>
<item>
<first>indvar_flatten_next_fu_422</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>indvar_flatten_phi_fu_287</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>j_1_mid2_fu_548</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>125</item>
</second>
</item>
<item>
<first>j_1_phi_fu_343</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</second>
</item>
<item>
<first>j_2_fu_542</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>124</item>
</second>
</item>
<item>
<first>j_mid2_fu_448</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>j_phi_fu_298</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>j_s_fu_442</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>51</item>
</second>
</item>
<item>
<first>out_block_addr_gep_fu_258</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>141</item>
</second>
</item>
<item>
<first>p_addr1_fu_472</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>60</item>
</second>
</item>
<item>
<first>p_addr2_cast_fu_568</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>132</item>
</second>
</item>
<item>
<first>p_addr3_cast_fu_599</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>138</item>
</second>
</item>
<item>
<first>p_addr4_fu_603</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>139</item>
</second>
</item>
<item>
<first>p_addr5_fu_572</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>133</item>
</second>
</item>
<item>
<first>p_addr_cast_fu_468</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>59</item>
</second>
</item>
<item>
<first>row_outbuf_addr_gep_fu_140</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</second>
</item>
<item>
<first>row_outbuf_alloca_fu_100</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>18</item>
</second>
</item>
<item>
<first>tmp_2_fu_483</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</second>
</item>
<item>
<first>tmp_3_fu_609</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>140</item>
</second>
</item>
<item>
<first>tmp_3_trn_cast_fu_556</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>130</item>
</second>
</item>
<item>
<first>tmp_4_trn_cast_fu_589</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>129</item>
</second>
</item>
<item>
<first>tmp_5_fu_478</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>61</item>
</second>
</item>
<item>
<first>tmp_6_fu_560</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>131</item>
</second>
</item>
<item>
<first>tmp_7_fu_578</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>134</item>
</second>
</item>
<item>
<first>tmp_8_fu_592</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>137</item>
</second>
</item>
<item>
<first>tmp_fu_460</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>58</item>
</second>
</item>
<item>
<first>tmp_s_fu_493</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>53</item>
</second>
</item>
<item>
<first>tmp_trn_cast_fu_456</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>57</item>
</second>
</item>
</dp_fu_nodes_expression>
<dp_fu_nodes_module>
<count>1</count>
<item_version>0</item_version>
<item>
<first>grp_dct_dct_1d_fu_361</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>37</item>
<item>37</item>
<item>110</item>
<item>110</item>
</second>
</item>
</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="56" tracking_level="0" version="0">
<count>29</count>
<item_version>0</item_version>
<item class_id="57" tracking_level="0" version="0">
<first class_id="58" tracking_level="0" version="0">
<first>col_inbuf_0</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>92</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_0</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_1</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>88</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_1</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_2</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>84</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_2</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_3</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>80</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_3</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_4</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>76</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_4</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_5</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>72</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_5</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_6</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>68</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_6</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_7</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>96</item>
</second>
</item>
<item>
<first>
<first>col_inbuf_7</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>col_outbuf</first>
<second>0</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>136</item>
<item>136</item>
</second>
</item>
<item>
<first>
<first>col_outbuf</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_0</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_1</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_2</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_3</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_4</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_5</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_6</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>dct_coeff_table_7</first>
<second>100</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>110</item>
</second>
</item>
<item>
<first>
<first>out_block</first>
<second>0</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>142</item>
</second>
</item>
<item>
<first>
<first>row_outbuf</first>
<second>0</second>
</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>63</item>
<item>63</item>
</second>
</item>
<item>
<first>
<first>row_outbuf</first>
<second>100</second>
</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>37</item>
</second>
</item>
</dp_mem_port_nodes>
<dp_reg_nodes>
<count>24</count>
<item_version>0</item_version>
<item>
<first>271</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>283</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>294</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>305</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>316</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>103</item>
</second>
</item>
<item>
<first>328</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>113</item>
</second>
</item>
<item>
<first>339</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</second>
</item>
<item>
<first>350</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</second>
</item>
<item>
<first>614</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>618</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>623</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>627</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>632</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>638</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</second>
</item>
<item>
<first>643</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</second>
</item>
<item>
<first>647</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>100</item>
</second>
</item>
<item>
<first>652</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>104</item>
</second>
</item>
<item>
<first>656</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>106</item>
</second>
</item>
<item>
<first>661</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</second>
</item>
<item>
<first>665</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</second>
</item>
<item>
<first>670</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>123</item>
</second>
</item>
<item>
<first>675</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>125</item>
</second>
</item>
<item>
<first>681</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>135</item>
</second>
</item>
<item>
<first>686</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>144</item>
</second>
</item>
</dp_reg_nodes>
<dp_regname_nodes>
<count>24</count>
<item_version>0</item_version>
<item>
<first>col_outbuf_addr_reg_681</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>135</item>
</second>
</item>
<item>
<first>exitcond2_reg_652</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>104</item>
</second>
</item>
<item>
<first>exitcond5_reg_614</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</second>
</item>
<item>
<first>exitcond_flatten1_reg_661</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</second>
</item>
<item>
<first>exitcond_flatten_reg_623</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>i_1_reg_305</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>i_2_reg_316</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>103</item>
</second>
</item>
<item>
<first>i_3_mid2_reg_670</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>123</item>
</second>
</item>
<item>
<first>i_3_reg_350</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</second>
</item>
<item>
<first>i_4_reg_618</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>i_5_reg_656</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>106</item>
</second>
</item>
<item>
<first>i_6_reg_647</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>100</item>
</second>
</item>
<item>
<first>i_7_reg_686</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>144</item>
</second>
</item>
<item>
<first>i_reg_271</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>indvar_flatten1_reg_328</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>113</item>
</second>
</item>
<item>
<first>indvar_flatten_next1_reg_665</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</second>
</item>
<item>
<first>indvar_flatten_next_reg_627</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</second>
</item>
<item>
<first>indvar_flatten_reg_283</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>j_1_mid2_reg_675</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>125</item>
</second>
</item>
<item>
<first>j_1_reg_339</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</second>
</item>
<item>
<first>j_mid2_reg_632</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>j_reg_294</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>row_outbuf_addr_reg_638</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</second>
</item>
<item>
<first>tmp_2_reg_643</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</second>
</item>
</dp_regname_nodes>
<dp_reg_phi>
<count>8</count>
<item_version>0</item_version>
<item>
<first>271</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>283</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>294</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>305</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>316</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>103</item>
</second>
</item>
<item>
<first>328</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>113</item>
</second>
</item>
<item>
<first>339</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</second>
</item>
<item>
<first>350</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</second>
</item>
</dp_reg_phi>
<dp_regname_phi>
<count>8</count>
<item_version>0</item_version>
<item>
<first>i_1_reg_305</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>i_2_reg_316</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>103</item>
</second>
</item>
<item>
<first>i_3_reg_350</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</second>
</item>
<item>
<first>i_reg_271</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>30</item>
</second>
</item>
<item>
<first>indvar_flatten1_reg_328</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>113</item>
</second>
</item>
<item>
<first>indvar_flatten_reg_283</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>j_1_reg_339</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</second>
</item>
<item>
<first>j_reg_294</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
</dp_regname_phi>
<dp_port_io_nodes class_id="59" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="60" tracking_level="0" version="0">
<first>out_block(p0)</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>store</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>142</item>
</second>
</item>
</second>
</item>
</dp_port_io_nodes>
<port2core class_id="61" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="62" tracking_level="0" version="0">
<first>1</first>
<second>RAM</second>
</item>
<item>
<first>2</first>
<second>RAM</second>
</item>
<item>
<first>3</first>
<second>RAM</second>
</item>
<item>
<first>4</first>
<second>RAM</second>
</item>
<item>
<first>5</first>
<second>RAM</second>
</item>
<item>
<first>6</first>
<second>RAM</second>
</item>
<item>
<first>7</first>
<second>RAM</second>
</item>
<item>
<first>8</first>
<second>RAM</second>
</item>
<item>
<first>9</first>
<second>RAM</second>
</item>
</port2core>
<node2core>
<count>10</count>
<item_version>0</item_version>
<item>
<first>18</first>
<second>RAM</second>
</item>
<item>
<first>19</first>
<second>RAM</second>
</item>
<item>
<first>20</first>
<second>RAM</second>
</item>
<item>
<first>21</first>
<second>RAM</second>
</item>
<item>
<first>22</first>
<second>RAM</second>
</item>
<item>
<first>23</first>
<second>RAM</second>
</item>
<item>
<first>24</first>
<second>RAM</second>
</item>
<item>
<first>25</first>
<second>RAM</second>
</item>
<item>
<first>26</first>
<second>RAM</second>
</item>
<item>
<first>27</first>
<second>RAM</second>
</item>
</node2core>
</syndb>
</boost_serialization>
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . T E X T _ I O . B O U N D E D _ I O --
-- --
-- B o d y --
-- --
-- Copyright (C) 1997-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 Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body Ada.Text_IO.Bounded_IO is
type String_Access is access all String;
procedure Free (SA : in out String_Access);
-- Perform an unchecked deallocation of a non-null string
----------
-- Free --
----------
procedure Free (SA : in out String_Access) is
Null_String : constant String := "";
procedure Deallocate is
new Ada.Unchecked_Deallocation (String, String_Access);
begin
-- Do not try to free statically allocated null string
if SA.all /= Null_String then
Deallocate (SA);
end if;
end Free;
--------------
-- Get_Line --
--------------
function Get_Line return Bounded.Bounded_String is
begin
return Bounded.To_Bounded_String (Get_Line);
end Get_Line;
--------------
-- Get_Line --
--------------
function Get_Line
(File : File_Type) return Bounded.Bounded_String
is
begin
return Bounded.To_Bounded_String (Get_Line (File));
end Get_Line;
--------------
-- Get_Line --
--------------
procedure Get_Line
(Item : out Bounded.Bounded_String)
is
Buffer : String (1 .. 1000);
Last : Natural;
Str1 : String_Access;
Str2 : String_Access;
begin
Get_Line (Buffer, Last);
Str1 := new String'(Buffer (1 .. Last));
while Last = Buffer'Last loop
Get_Line (Buffer, Last);
Str2 := new String'(Str1.all & Buffer (1 .. Last));
Free (Str1);
Str1 := Str2;
end loop;
Item := Bounded.To_Bounded_String (Str1.all);
end Get_Line;
--------------
-- Get_Line --
--------------
procedure Get_Line
(File : File_Type;
Item : out Bounded.Bounded_String)
is
Buffer : String (1 .. 1000);
Last : Natural;
Str1 : String_Access;
Str2 : String_Access;
begin
Get_Line (File, Buffer, Last);
Str1 := new String'(Buffer (1 .. Last));
while Last = Buffer'Last loop
Get_Line (File, Buffer, Last);
Str2 := new String'(Str1.all & Buffer (1 .. Last));
Free (Str1);
Str1 := Str2;
end loop;
Item := Bounded.To_Bounded_String (Str1.all);
end Get_Line;
---------
-- Put --
---------
procedure Put
(Item : Bounded.Bounded_String)
is
begin
Put (Bounded.To_String (Item));
end Put;
---------
-- Put --
---------
procedure Put
(File : File_Type;
Item : Bounded.Bounded_String)
is
begin
Put (File, Bounded.To_String (Item));
end Put;
--------------
-- Put_Line --
--------------
procedure Put_Line
(Item : Bounded.Bounded_String)
is
begin
Put_Line (Bounded.To_String (Item));
end Put_Line;
--------------
-- Put_Line --
--------------
procedure Put_Line
(File : File_Type;
Item : Bounded.Bounded_String)
is
begin
Put_Line (File, Bounded.To_String (Item));
end Put_Line;
end Ada.Text_IO.Bounded_IO;
|
-- C45252A.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.
--*
-- FOR FIXED POINT TYPES, CHECK THAT
-- CONSTRAINT_ERROR IS RAISED WHEN A LITERAL USED IN A COMPARISON OR
-- MEMBERSHIP OPERATION (AS THE FIRST OPERAND) DOES NOT BELONG TO THE
-- BASE TYPE.
--
-- CHECK THAT NO EXCEPTION IS RAISED FOR A FIXED POINT RELATIONAL OR
-- MEMBERSHIP OPERATION IF LITERAL VALUES BELONG TO THE BASE TYPE.
-- CASE A: BASIC TYPES THAT FIT THE CHARACTERISTICS OF DURATION'BASE.
-- *** NOTE: This test has been modified since ACVC version 1.11 to -- 9X
-- *** remove incompatibilities associated with the transition -- 9X
-- *** to Ada 9X. -- 9X
-- WRG 9/10/86
-- JRL 03/30/93 REMOVED NUMERIC_ERROR FROM TEST.
WITH REPORT; USE REPORT;
PROCEDURE C45252A IS
-- THE NAME OF EACH TYPE OR SUBTYPE ENDS WITH THAT TYPE'S
-- 'MANTISSA VALUE.
TYPE MIDDLE_M3 IS DELTA 0.5 RANGE 0.0 .. 2.5;
TYPE LIKE_DURATION_M23 IS DELTA 0.020 RANGE -86_400.0 .. 86_400.0;
BEGIN
TEST ("C45252A", "CHECK RAISING OF EXCEPTIONS BY RELATIONAL " &
"OPERATIONS FOR FIXED POINT TYPES - BASIC TYPES");
-------------------------------------------------------------------
BEGIN
-- 2.0 ** 31 < 2.9E9 < 2.0 ** 32.
IF 2.9E9 <= LIKE_DURATION_M23'LAST THEN
FAILED ("2.9E9 <= LIKE_DURATION_M23'LAST");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
COMMENT ("CONSTRAINT_ERROR RAISED BY COMPARISON " &
"""2.9E9 <= LIKE_DURATION_M23'LAST""");
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED BY COMPARISON " &
"""2.9E9 <= LIKE_DURATION_M23'LAST""");
END;
-------------------------------------------------------------------
BEGIN
-- 2.0 ** 63 < 1.0E19 < 2.0 ** 64.
IF 1.0E19 IN LIKE_DURATION_M23 THEN
FAILED ("1.0E19 IN LIKE_DURATION_M23");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
COMMENT ("CONSTRAINT_ERROR RAISED BY MEMBERSHIP TEST " &
"""1.0E19 IN LIKE_DURATION_M23""");
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED BY MEMBERSHIP TEST " &
"""1.0E19 IN LIKE_DURATION_M23""");
END;
-------------------------------------------------------------------
BEGIN
-- 2.0 ** 63 < 1.0E19 < 2.0 ** 64.
IF 1.0E19 <= MIDDLE_M3'LAST THEN
FAILED ("1.0E19 <= MIDDLE_M3'LAST");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
COMMENT ("CONSTRAINT_ERROR RAISED BY COMPARISON " &
"""1.0E19 <= MIDDLE_M3'LAST""");
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED BY COMPARISON " &
"""1.0E19 <= MIDDLE_M3'LAST""");
END;
-------------------------------------------------------------------
BEGIN
-- 2.0 ** 31 < 2.9E9 < 2.0 ** 32.
IF 2.9E9 IN MIDDLE_M3 THEN
FAILED ("2.9E9 IN MIDDLE_M3");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
COMMENT ("CONSTRAINT_ERROR RAISED BY MEMBERSHIP TEST " &
"""2.9E9 IN MIDDLE_M3""");
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED BY MEMBERSHIP TEST " &
"""2.9E9 IN MIDDLE_M3""");
END;
-------------------------------------------------------------------
BEGIN
-- 3.5 IS A MODEL NUMBER OF THE TYPE MIDDLE_M3.
IF 3.5 <= MIDDLE_M3'LAST THEN
FAILED ("3.5 <= MIDDLE_M3'LAST");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
FAILED ("CONSTRAINT_ERROR RAISED BY COMPARISON " &
"""3.5 <= MIDDLE_M3'LAST""");
WHEN OTHERS =>
FAILED ("SOME EXCEPTION RAISED BY COMPARISON " &
"""3.5 <= MIDDLE_M3'LAST""");
END;
-------------------------------------------------------------------
BEGIN
IF 3.0 IN MIDDLE_M3 THEN
FAILED ("3.0 IN MIDDLE_M3");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
FAILED ("CONSTRAINT_ERROR RAISED BY MEMBERSHIP TEST " &
"""3.0 IN MIDDLE_M3""");
WHEN OTHERS =>
FAILED ("SOME EXCEPTION RAISED BY MEMBERSHIP TEST " &
"""3.0 IN MIDDLE_M3""");
END;
-------------------------------------------------------------------
BEGIN
IF 86_450.0 <= LIKE_DURATION_M23'LAST THEN
FAILED ("86_450.0 <= LIKE_DURATION_M23'LAST");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
FAILED ("CONSTRAINT_ERROR RAISED BY COMPARISON " &
"""86_450.0 <= LIKE_DURATION_M23'LAST""");
WHEN OTHERS =>
FAILED ("SOME EXCEPTION RAISED BY COMPARISON " &
"""86_450.0 <= LIKE_DURATION_M23'LAST""");
END;
-------------------------------------------------------------------
BEGIN
IF 86_500.0 IN LIKE_DURATION_M23 THEN
FAILED ("86_500.0 IN LIKE_DURATION_M23");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
FAILED ("CONSTRAINT_ERROR RAISED BY MEMBERSHIP TEST " &
"""86_500.0 IN LIKE_DURATION_M23""");
WHEN OTHERS =>
FAILED ("SOME EXCEPTION RAISED BY MEMBERSHIP TEST " &
"""86_500.0 IN LIKE_DURATION_M23""");
END;
-------------------------------------------------------------------
BEGIN
IF -86_450.0 IN LIKE_DURATION_M23 THEN
FAILED ("-86_450.0 IN LIKE_DURATION_M23");
END IF;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
FAILED ("CONSTRAINT_ERROR RAISED BY MEMBERSHIP TEST " &
"""-86_450.0 IN LIKE_DURATION_M23""");
WHEN OTHERS =>
FAILED ("SOME EXCEPTION RAISED BY MEMBERSHIP TEST " &
"""-86_450.0 IN LIKE_DURATION_M23""");
END;
-------------------------------------------------------------------
RESULT;
END C45252A;
|
Function INI.Section_Vector( Object : in Instance )
return NSO.Types.String_Vector.Vector is
use NSO.Types.String_Vector;
Begin
Return Result : Vector := Empty_Vector do
For Section in Object.Iterate loop
Declare
Key : String renames INI.KEY_SECTION_MAP.KEY(Section);
Begin
if Key'Length in Positive then
Result.Append( Key );
end if;
End;
end loop;
End return;
End INI.Section_Vector;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.