CombinedText
stringlengths
4
3.42M
with gel.Window.setup, gel.Applet.gui_world, gel.Forge, gel.Sprite, gel.World, gel.Camera, gel.Keyboard, Physics, openGL.Palette, openGL.Model.text, float_Math.Random, lace.Event, lace.Response, lace.Event.utility, Ada.Text_IO, Ada.Exceptions; pragma Unreferenced (gel.Window.setup); procedure launch_Pong -- -- Basic pong game. -- is use gel.Applet, gel.Applet.gui_world, gel.Keyboard, gel.Math, openGL.Palette, Ada.Text_IO; stadium_Width : constant := 30.0; stadium_Height : constant := 20.0; --- Applet -- the_Applet : gel.Applet.gui_world.view := gel.Forge.new_gui_Applet (Named => "Pong", window_Width => 800, window_Height => 600, space_Kind => physics.Box2d); --- Ball -- the_Ball : constant gel.Sprite.view := gel.Forge.new_circle_Sprite (in_World => the_Applet.World, Site => (0.0, 0.0), Mass => 1.0, Bounce => 1.0, Friction => 0.0, Radius => 0.5, Color => White, Texture => openGL.to_Asset ("assets/opengl/texture/Face1.bmp")); --- Players -- type Player is record Paddle : gel.Sprite.view; moving_Up : Boolean := False; moving_Down : Boolean := False; Score : Natural := 0; score_Text : gel.Sprite.view; score_Model : openGL.Model.text.view; end record; type player_Id is range 1 .. 2; type Players is array (player_Id) of Player; the_Players : Players; procedure add_Player (Id : in player_Id; Site : in Vector_2) is the_Player : Player renames the_Players (Id); score_Site : constant Vector_2 := Site + (0.0, stadium_Height / 2.0 + 0.8); begin the_Player.Paddle := gel.Forge.new_rectangle_Sprite (the_Applet.World, Site => Site, Mass => 0.0, Bounce => 1.0, Friction => 0.0, Width => 0.7, Height => 3.0, Color => Red); the_Player.score_Text := gel.Forge.new_text_Sprite (the_Applet.World, Origin_3D, " 0", the_Applet.Font, Green); the_Player.score_Model := openGL.Model.text.view (the_Player.score_Text.graphics_Model); the_Applet.World.add (the_Player.Paddle); the_Applet.World.add (the_Player.score_Text); the_Player.score_Text.Site_is (Vector_3 (score_Site & 0.0)); end add_Player; --- Walls -- procedure add_Wall (Site : in Vector_2; Width, Height : in Real) is the_Wall : constant gel.Sprite.view := gel.Forge.new_rectangle_Sprite (the_Applet.World, Site => Site, Mass => 0.0, Bounce => 1.0, Friction => 0.0, Width => Width, Height => Height, Color => Blue); begin the_Applet.World.add (the_Wall); end add_Wall; --- Controls -- relaunch_Ball : Boolean := True; Cycle : Natural := 0; --- Events -- type key_press_Response is new lace.Response.item with null record; overriding procedure respond (Self : in out key_press_Response; to_Event : in lace.Event.item'Class) is pragma Unreferenced (Self); the_Event : gel.Keyboard.key_press_Event renames gel.Keyboard.key_press_Event (to_Event); the_Key : constant gel.keyboard.Key := the_Event.modified_Key.Key; begin case the_Key is when up => the_Players (2).moving_Up := True; when down => the_Players (2).moving_Down := True; when a => the_Players (1).moving_Up := True; when z => the_Players (1).moving_Down := True; when SPACE => relaunch_Ball := True; when others => null; end case; end respond; type key_release_Response is new lace.Response.item with null record; overriding procedure respond (Self : in out key_release_Response; to_Event : in lace.Event.item'Class) is pragma Unreferenced (Self); the_Event : gel.Keyboard.key_release_Event renames gel.Keyboard.key_release_Event (to_Event); the_Key : constant gel.keyboard.Key := the_Event.modified_Key.Key; begin case the_Key is when up => the_Players (2).moving_Up := False; when down => the_Players (2).moving_Down := False; when a => the_Players (1).moving_Up := False; when z => the_Players (1).moving_Down := False; when others => null; end case; end respond; the_key_press_Response : aliased key_press_Response; the_key_release_Response : aliased key_release_Response; use lace.Event.Utility; begin the_Applet.Camera.Site_is ((0.0, 0.0, 20.0)); the_Applet.World.Gravity_is ((0.0, 0.0, 0.0)); the_Applet.World.add (the_Ball); --- Add the players. -- declare paddle_X_Offset : constant := stadium_Width / 2.0 - 2.0; begin add_Player (1, Site => (-paddle_X_Offset, 0.0)); add_Player (2, Site => ( paddle_X_Offset, 0.0)); end; --- Build the stadium. -- declare Thickness : constant := 1.0; -- Thickness of the walls. goal_Size : constant := 6.0; side_wall_Height : constant := (stadium_Height - goal_Size) / 2.0; top_wall_Y_Offset : constant := (stadium_Height - Thickness) / 2.0; side_wall_X_Offset : constant := stadium_Width / 2.0; side_wall_Y_Offset : constant := (side_wall_Height + goal_Size) / 2.0; begin add_Wall (Site => (0.0, top_wall_Y_Offset), Width => stadium_Width, Height => Thickness); -- Top add_Wall (Site => (0.0, -top_wall_Y_Offset), Width => stadium_Width, Height => Thickness); -- Bottom add_Wall (Site => (-side_wall_X_Offset, side_wall_Y_Offset), Width => Thickness, Height => side_wall_Height); -- upper Left add_Wall (Site => (-side_wall_X_Offset, -side_wall_Y_Offset), Width => Thickness, Height => side_wall_Height); -- lower Left add_Wall (Site => ( side_wall_X_Offset, side_wall_Y_Offset), Width => Thickness, Height => side_wall_Height); -- upper Right add_Wall (Site => ( side_wall_X_Offset, -side_wall_Y_Offset), Width => Thickness, Height => side_wall_Height); -- lower Right end; -- Connect events. -- connect ( the_Applet.local_Observer, the_Applet.Keyboard.all'Access, the_key_press_Response'unchecked_Access, +gel.Keyboard.key_press_Event'Tag); connect ( the_Applet.local_Observer, the_Applet.Keyboard.all'Access, the_key_release_Response'unchecked_Access, +gel.Keyboard.key_release_Event'Tag); --- Main loop. -- while the_Applet.is_open loop Cycle := Cycle + 1; the_Applet.World.evolve; -- Advance the world. the_Applet.freshen; -- Handle any new events and update the screen. --- Check goal scoring. -- declare procedure award_Goal (Id : in player_Id) is the_Player : Player renames the_Players (Id); new_Score : constant String := Natural'Image (the_Player.Score + 1); begin relaunch_Ball := True; the_Player.Score := the_Player.Score + 1; the_Player.score_Model.Text_is (new_Score); the_Ball.Site_is (Origin_3d); the_Ball.Speed_is ((0.0, 0.0, 0.0)); end award_Goal; goal_X_Boundary : constant := stadium_Width / 2.0 + 1.0; begin if the_Ball.Site (1) > goal_X_Boundary then award_Goal (Id => 1); elsif the_Ball.Site (1) < -goal_X_Boundary then award_Goal (Id => 2); end if; end; if relaunch_Ball then the_Ball.Site_is ((0.0, 0.0, 0.0)); declare the_Force : Vector_3 := (gel.Math.Random.random_Real (50.0, 200.0), gel.Math.Random.random_Real ( 5.0, 20.0), 0.0); begin if gel.Math.Random.random_Boolean then the_Force := -the_Force; end if; the_Ball.apply_Force (the_Force); end; relaunch_Ball := False; end if; --- Move the paddles. -- for the_Player of the_Players loop declare paddle_Speed : constant Vector_3 := (0.0, 0.2, 0.0); begin if the_Player.moving_Up then the_Player.Paddle.Site_is (the_Player.Paddle.Site + paddle_Speed); end if; if the_Player.moving_Down then the_Player.Paddle.Site_is (the_Player.Paddle.Site - paddle_Speed); end if; end; end loop; end loop; free (the_Applet); exception when E : others => new_Line; put_Line ("Unhandled exception in main task !"); put_Line (Ada.Exceptions.Exception_Information (E)); new_Line; end launch_Pong;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Formal_Object_Declarations is function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Colon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; In_Token : Program.Lexical_Elements.Lexical_Element_Access; Out_Token : Program.Lexical_Elements.Lexical_Element_Access; Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Object_Subtype : not null Program.Elements.Element_Access; Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Formal_Object_Declaration is begin return Result : Formal_Object_Declaration := (Names => Names, Colon_Token => Colon_Token, In_Token => In_Token, Out_Token => Out_Token, Not_Token => Not_Token, Null_Token => Null_Token, Object_Subtype => Object_Subtype, Assignment_Token => Assignment_Token, Default_Expression => Default_Expression, With_Token => With_Token, Aspects => Aspects, Semicolon_Token => Semicolon_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Object_Subtype : not null Program.Elements.Element_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False; Has_In : Boolean := False; Has_Out : Boolean := False; Has_Not_Null : Boolean := False) return Implicit_Formal_Object_Declaration is begin return Result : Implicit_Formal_Object_Declaration := (Names => Names, Object_Subtype => Object_Subtype, Default_Expression => Default_Expression, Aspects => Aspects, Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Has_In => Has_In, Has_Out => Has_Out, Has_Not_Null => Has_Not_Null, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Names (Self : Base_Formal_Object_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access is begin return Self.Names; end Names; overriding function Object_Subtype (Self : Base_Formal_Object_Declaration) return not null Program.Elements.Element_Access is begin return Self.Object_Subtype; end Object_Subtype; overriding function Default_Expression (Self : Base_Formal_Object_Declaration) return Program.Elements.Expressions.Expression_Access is begin return Self.Default_Expression; end Default_Expression; overriding function Aspects (Self : Base_Formal_Object_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access is begin return Self.Aspects; end Aspects; overriding function Colon_Token (Self : Formal_Object_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Colon_Token; end Colon_Token; overriding function In_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.In_Token; end In_Token; overriding function Out_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Out_Token; end Out_Token; overriding function Not_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Not_Token; end Not_Token; overriding function Null_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Null_Token; end Null_Token; overriding function Assignment_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Assignment_Token; end Assignment_Token; overriding function With_Token (Self : Formal_Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.With_Token; end With_Token; overriding function Semicolon_Token (Self : Formal_Object_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Semicolon_Token; end Semicolon_Token; overriding function Has_In (Self : Formal_Object_Declaration) return Boolean is begin return Self.In_Token.Assigned; end Has_In; overriding function Has_Out (Self : Formal_Object_Declaration) return Boolean is begin return Self.Out_Token.Assigned; end Has_Out; overriding function Has_Not_Null (Self : Formal_Object_Declaration) return Boolean is begin return Self.Null_Token.Assigned; end Has_Not_Null; overriding function Is_Part_Of_Implicit (Self : Implicit_Formal_Object_Declaration) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Formal_Object_Declaration) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Formal_Object_Declaration) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; overriding function Has_In (Self : Implicit_Formal_Object_Declaration) return Boolean is begin return Self.Has_In; end Has_In; overriding function Has_Out (Self : Implicit_Formal_Object_Declaration) return Boolean is begin return Self.Has_Out; end Has_Out; overriding function Has_Not_Null (Self : Implicit_Formal_Object_Declaration) return Boolean is begin return Self.Has_Not_Null; end Has_Not_Null; procedure Initialize (Self : in out Base_Formal_Object_Declaration'Class) is begin for Item in Self.Names.Each_Element loop Set_Enclosing_Element (Item.Element, Self'Unchecked_Access); end loop; Set_Enclosing_Element (Self.Object_Subtype, Self'Unchecked_Access); if Self.Default_Expression.Assigned then Set_Enclosing_Element (Self.Default_Expression, Self'Unchecked_Access); end if; for Item in Self.Aspects.Each_Element loop Set_Enclosing_Element (Item.Element, Self'Unchecked_Access); end loop; null; end Initialize; overriding function Is_Formal_Object_Declaration (Self : Base_Formal_Object_Declaration) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Formal_Object_Declaration; overriding function Is_Declaration (Self : Base_Formal_Object_Declaration) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Declaration; overriding procedure Visit (Self : not null access Base_Formal_Object_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Formal_Object_Declaration (Self); end Visit; overriding function To_Formal_Object_Declaration_Text (Self : in out Formal_Object_Declaration) return Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Text_Access is begin return Self'Unchecked_Access; end To_Formal_Object_Declaration_Text; overriding function To_Formal_Object_Declaration_Text (Self : in out Implicit_Formal_Object_Declaration) return Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Text_Access is pragma Unreferenced (Self); begin return null; end To_Formal_Object_Declaration_Text; end Program.Nodes.Formal_Object_Declarations;
----------------------------------------------------------------------- -- css-core-sheets -- CSS stylesheet representation -- 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 CSS.Core.Styles; with CSS.Core.Vectors; with CSS.Core.Values; with CSS.Core.Properties; with CSS.Core.Medias; package CSS.Core.Sheets is type CSSStylesheet is new CSS.Core.StyleSheet with record Rules : CSS.Core.Vectors.Vector; Values : CSS.Core.Values.Repository_Type; end record; type CSSStylesheet_Access is access all CSSStylesheet'Class; -- Create a CSS rule. function Create_Rule (Document : in CSSStyleSheet) return Styles.CSSStyleRule_Access; -- Create a CSS font-face rule. function Create_Rule (Document : in CSSStyleSheet) return Styles.CSSFontfaceRule_Access; -- Create a CSS media rule. function Create_Rule (Document : in CSSStyleSheet) return Medias.CSSMediaRule_Access; -- Append the CSS rule to the document. procedure Append (Document : in out CSSStylesheet; Rule : in Styles.CSSStyleRule_Access; Line : in Natural; Column : in Natural); -- Append the media rule to the document. procedure Append (Document : in out CSSStylesheet; Rule : in Medias.CSSMediaRule_Access; Line : in Natural; Column : in Natural); -- Append the font-face rule to the document. procedure Append (Document : in out CSSStylesheet; Rule : in Styles.CSSFontfaceRule_Access; Line : in Natural; Column : in Natural); -- Append the CSS rule to the media. procedure Append (Document : in out CSSStylesheet; Media : in Medias.CSSMediaRule_Access; Rule : in Styles.CSSStyleRule_Access; Line : in Natural; Column : in Natural); -- Iterate over the properties of each CSS rule. The <tt>Process</tt> procedure -- is called with the CSS rule and the property as parameter. procedure Iterate_Properties (Document : in CSSStylesheet; Process : not null access procedure (Rule : in Styles.CSSStyleRule'Class; Property : in Properties.CSSProperty)); end CSS.Core.Sheets;
with Ada.Text_IO; use Ada.Text_IO; with GNAT.Sockets; use GNAT.Sockets; procedure DNSQuerying is Host : Host_Entry_Type (1, 1); Inet_Addr_V4 : Inet_Addr_Type (Family_Inet); begin Host := Get_Host_By_Name (Name => "www.kame.net"); Inet_Addr_V4 := Addresses (Host); Put ("IPv4: " & Image (Value => Inet_Addr_V4)); end DNSQuerying;
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2016-2018, 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. -- -- -- ------------------------------------------------------------------------------ with WebAPI.WebGL.Renderbuffers; package OpenGL.Renderbuffers.Internals is pragma Preelaborate; function Get_WebGL_Renderbuffer (Self : OpenGL_Renderbuffer'Class) return WebAPI.WebGL.Renderbuffers.WebGL_Renderbuffer_Access; end OpenGL.Renderbuffers.Internals;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_get_floatv_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_get_floatv_cookie_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_get_floatv_cookie_t.Item, Element_Array => xcb.xcb_glx_get_floatv_cookie_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_get_floatv_cookie_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_get_floatv_cookie_t.Pointer, Element_Array => xcb.xcb_glx_get_floatv_cookie_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_get_floatv_cookie_t;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . D E C I M A L -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ package body Ada.Decimal is ------------ -- Divide -- ------------ procedure Divide (Dividend : Dividend_Type; Divisor : Divisor_Type; Quotient : out Quotient_Type; Remainder : out Remainder_Type) is -- We have a nested procedure that is the actual intrinsic divide. -- This is required because in the current RM, Divide itself does -- not have convention Intrinsic. procedure Divide (Dividend : Dividend_Type; Divisor : Divisor_Type; Quotient : out Quotient_Type; Remainder : out Remainder_Type); pragma Import (Intrinsic, Divide); begin Divide (Dividend, Divisor, Quotient, Remainder); end Divide; end Ada.Decimal;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012-2014, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This package provides implementation of validator against XML DTD. ------------------------------------------------------------------------------ package XML.SAX.Simple_Readers.Validator is procedure Validate_Element (Self : in out Simple_Reader'Class); -- Validate current element. end XML.SAX.Simple_Readers.Validator;
------ USANDO IN OUT - ERROR procedure Hello is a: Integer: b: Float := 2.0 ; c; Boolean := false; function uno(a,b:out Boolean; x,y :in Integer) return Boolean is begin Put(one); return a; end uno; function dos(a,,: in out Float; x,y :in Integer) return Boolean is begin Putone): return a; end dos; begin c == dos(c); Put(b); end Hello;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with system; package soc.rng with spark_mode => off is ----------------------------------- -- RNG control register (RNG_CR) -- ----------------------------------- type t_RNG_CR is record reserved_0_1 : bits_2; RNGEN : boolean; IE : boolean; end record with volatile_full_access, size => 32; for t_RNG_CR use record reserved_0_1 at 0 range 0 .. 1; RNGEN at 0 range 2 .. 2; -- RNG is enabled IE at 0 range 3 .. 3; -- RNG Interrupt is enabled end record; ---------------------------------- -- RNG status register (RNG_SR) -- ---------------------------------- type t_RNG_SR is record DRDY : boolean; -- Data ready CECS : boolean; -- Clock error current status SECS : boolean; -- Seed error current status reserved_3_4 : bits_2; CEIS : boolean; -- Clock error interrupt status SEIS : boolean; -- Seed error interrupt status end record with volatile_full_access, size => 32; for t_RNG_SR use record DRDY at 0 range 0 .. 0; CECS at 0 range 1 .. 1; SECS at 0 range 2 .. 2; reserved_3_4 at 0 range 3 .. 4; CEIS at 0 range 5 .. 5; SEIS at 0 range 6 .. 6; end record; -------------------------------- -- RNG data register (RNG_DR) -- -------------------------------- type t_RNG_DR is record RNDATA : unsigned_32; -- Random data end record with volatile_full_access, size => 32; -------------------- -- RNG peripheral -- -------------------- type t_RNG_peripheral is record CR : t_RNG_CR; SR : t_RNG_SR; DR : t_RNG_DR; end record with volatile; for t_RNG_peripheral use record CR at 16#00# range 0 .. 31; SR at 16#04# range 0 .. 31; DR at 16#08# range 0 .. 31; end record; RNG : t_RNG_peripheral with import, volatile, address => system'to_address(16#5006_0800#); procedure init (success : out boolean); procedure random (rand : out unsigned_32; success : out boolean); end soc.rng;
pragma License (Unrestricted); -- implementation unit specialized for Windows with C.windef; package System.Native_Time is pragma Preelaborate; -- representation type Nanosecond_Number is range -(2 ** (Duration'Size - 1)) .. 2 ** (Duration'Size - 1) - 1; for Nanosecond_Number'Size use Duration'Size; -- convert time span function To_Duration (D : C.windef.FILETIME) return Duration; pragma Pure_Function (To_Duration); -- for delay procedure Simple_Delay_For (D : Duration); type Delay_For_Handler is access procedure (D : Duration); pragma Favor_Top_Level (Delay_For_Handler); -- equivalent to Timed_Delay (s-soflin.ads) Delay_For_Hook : not null Delay_For_Handler := Simple_Delay_For'Access; procedure Delay_For (D : Duration); end System.Native_Time;
-- C37217A.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 WHETHER THE OPTIONAL COMPATIBILITY CHECK IS -- PERFORMED WHEN A DISCRIMINANT CONSTRAINT IS GIVEN FOR AN ACCESS -- TYPE - AFTER THE TYPE'S FULL DECLARATION. -- HISTORY: -- DHH 02/05/88 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE C37217A IS SUBTYPE SM IS INTEGER RANGE 1..10; BEGIN --C37217A BODY TEST ("C37217A", "CHECK WHETHER THE OPTIONAL COMPATIBILITY " & "CHECK IS PERFORMED WHEN A DISCRIMINANT " & "CONSTRAINT IS GIVEN FOR AN ACCESS TYPE " & "- AFTER THE TYPE'S FULL DECLARATION"); -- CHECK FULL DECLARATION -- LOWER LIMIT BEGIN DECLARE TYPE SM_REC(D : SM) IS RECORD NULL; END RECORD; TYPE REC(D1 : INTEGER) IS RECORD INT : SM_REC(D1); END RECORD; TYPE PTR IS ACCESS REC; Y : PTR(IDENT_INT(0)); -- OPTIONAL EXCEPTION. BEGIN COMMENT("OPTIONAL COMBATIBILITY CHECK NOT PERFORMED " & "- LOWER"); Y := NEW REC(IDENT_INT(0)); -- MANDATORY EXCEPTION. FAILED("CONSTRAINT ERROR NOT RAISED"); IF IDENT_INT(Y.INT.D) /= IDENT_INT(-1) THEN COMMENT ("IRRELEVANT"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED("UNEXPECTED EXCEPTION RAISED IN " & "VARIABLE ALLOCATION - LOWER"); END; EXCEPTION WHEN CONSTRAINT_ERROR => COMMENT("OPTIONAL CONSTRAINT ERROR RAISED - LOWER"); WHEN OTHERS => FAILED("UNEXPECTED EXCEPTION RAISED IN " & "VARIABLE DECLARATION - LOWER"); END; --------------------------------------------------------------------- -- CHECK FULL DECLARATION -- UPPER LIMIT BEGIN DECLARE TYPE SM_ARR IS ARRAY(SM RANGE <>) OF INTEGER; TYPE REC(D1 : INTEGER) IS RECORD INT : SM_ARR(1 .. D1); END RECORD; TYPE PTR IS ACCESS REC; Y : PTR(IDENT_INT(11)); -- OPTIONAL EXCEPTION. BEGIN COMMENT("OPTIONAL COMBATIBILITY CHECK NOT PERFORMED " & "- UPPER"); Y := NEW REC'(IDENT_INT(11), -- MANDATORY EXCEPTION. INT => (OTHERS => IDENT_INT(0))); FAILED("CONSTRAINT ERROR NOT RAISED"); IF IDENT_INT(Y.INT(IDENT_INT(1))) /= 11 THEN COMMENT ("IRRELEVANT"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED("UNEXPECTED EXCEPTION RAISED IN " & "VARIABLE ALLOCATION - UPPER"); END; EXCEPTION WHEN CONSTRAINT_ERROR => COMMENT("OPTIONAL COMPATIBILITY CHECK PERFORMED " & "- UPPER"); WHEN OTHERS => FAILED("UNEXPECTED EXCEPTION RAISED IN " & "VARIABLE DECLARATION - UPPER"); END; RESULT; END C37217A; -- BODY
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 3 0 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_30 is subtype Bit_Order is System.Bit_Order; Reverse_Bit_Order : constant Bit_Order := Bit_Order'Val (1 - Bit_Order'Pos (System.Default_Bit_Order)); subtype Ofs is System.Storage_Elements.Storage_Offset; subtype Uns is System.Unsigned_Types.Unsigned; subtype N07 is System.Unsigned_Types.Unsigned range 0 .. 7; use type System.Storage_Elements.Storage_Offset; use type System.Unsigned_Types.Unsigned; type Cluster is record E0, E1, E2, E3, E4, E5, E6, E7 : Bits_30; end record; for Cluster use record E0 at 0 range 0 * Bits .. 0 * Bits + Bits - 1; E1 at 0 range 1 * Bits .. 1 * Bits + Bits - 1; E2 at 0 range 2 * Bits .. 2 * Bits + Bits - 1; E3 at 0 range 3 * Bits .. 3 * Bits + Bits - 1; E4 at 0 range 4 * Bits .. 4 * Bits + Bits - 1; E5 at 0 range 5 * Bits .. 5 * Bits + Bits - 1; E6 at 0 range 6 * Bits .. 6 * Bits + Bits - 1; E7 at 0 range 7 * Bits .. 7 * Bits + Bits - 1; end record; for Cluster'Size use Bits * 8; for Cluster'Alignment use Integer'Min (Standard'Maximum_Alignment, 1 + 1 * Boolean'Pos (Bits mod 2 = 0) + 2 * Boolean'Pos (Bits mod 4 = 0)); -- Use maximum possible alignment, given the bit field size, since this -- will result in the most efficient code possible for the field. type Cluster_Ref is access Cluster; type Rev_Cluster is new Cluster with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_Cluster_Ref is access Rev_Cluster; -- The following declarations are for the case where the address -- passed to GetU_30 or SetU_30 is not guaranteed to be aligned. -- These routines are used when the packed array is itself a -- component of a packed record, and therefore may not be aligned. type ClusterU is new Cluster; for ClusterU'Alignment use 1; type ClusterU_Ref is access ClusterU; type Rev_ClusterU is new ClusterU with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_ClusterU_Ref is access Rev_ClusterU; ------------ -- Get_30 -- ------------ function Get_30 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_30 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end Get_30; ------------- -- GetU_30 -- ------------- function GetU_30 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_30 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : ClusterU_Ref with Address => A'Address, Import; RC : Rev_ClusterU_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end GetU_30; ------------ -- Set_30 -- ------------ procedure Set_30 (Arr : System.Address; N : Natural; E : Bits_30; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end Set_30; ------------- -- SetU_30 -- ------------- procedure SetU_30 (Arr : System.Address; N : Natural; E : Bits_30; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : ClusterU_Ref with Address => A'Address, Import; RC : Rev_ClusterU_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end SetU_30; end System.Pack_30;
package body Qweyboard.Emulation is Return_Combo : Key_Sets.Set; Backspace_Combo : Key_Sets.Set; task body Timer_Task is Next_Deadline : RT.Time; begin loop Softboard.Get_Deadline (Next_Deadline); delay until Next_Deadline; Softboard.Timeout; end loop; end Timer_Task; protected body Softboard is procedure Configure (Settings : Configuration.Settings) is begin Current_Timeout := Settings.Timeout; end Configure; procedure Handle (Event : Key_Event) is begin Log.Chat ("[Qweyboard] Handling key event"); Deadline := RT.Clock + RT.Milliseconds (500); if Event.Key = SUSP then Last_Output := (Variant => Nothing); Commit; else case Event.Key_Event_Variant is when Key_Press => Pressed.Include (Event.Key); when Key_Release => Pressed.Exclude (Event.Key); -- If only this key was pressed, and no other key is in the chord -- These are some hardcoded special cases – doesn't feel worth it -- to make 'em dynamic at the moment declare Special_Used : Boolean := False; begin if Released.Is_Empty and Pressed.Is_Empty then if Event.Key = NOSP then Last_Output := (Syllable, To_Unbounded (" "), False); Output_Backend.Output.Enter (From_Unbounded (Last_Output.Text), Last_Output.Continues_Word); Special_Used := True; elsif Event.Key = RO then Last_Output := (Syllable, To_Unbounded ("."), True); Output_Backend.Output.Enter (From_Unbounded (Last_Output.Text), Last_Output.Continues_Word); Special_Used := True; elsif Event.Key = RJ then Last_Output := (Syllable, To_Unbounded (","), True); Output_Backend.Output.Enter (From_Unbounded (Last_Output.Text), Last_Output.Continues_Word); Special_Used := True; end if; end if; if not Special_Used then Released.Include (Event.Key); end if; end; end case; end if; Log_Board (Pressed, Released); end Handle; entry Get_Deadline (Time : out RT.Time) when RT.Clock < Deadline is begin Log.Chat ("[Qweyboard] Asked for deadline"); Time := Deadline; end Get_Deadline; procedure Timeout is begin if Deadline < RT.Clock then Log.Chat ("[Qweyboard] Deadline passed, committing"); Commit; end if; end; procedure Commit is Result : Unbounded_Wide_Wide_String; use type Key_Sets.Set; begin Result := Languages.User_Language.Decode (Released); Translate (Result, Character_Maps.Lower_Case_Map); if Released = Return_Combo then Log.Warning ("[Qweyboard] Return press not implemented"); elsif Released = Backspace_Combo then Log.Chat ("[Qweyboard] Received backspace combination CR-RC; erasing"); --Erase; elsif Length (Result) > 0 then --Last_Output := (Syllable, Result, Released.Contains (NOSP)); Output_Backend.Output.Enter (From_Unbounded (Result), Released.Contains (NOSP)); end if; Released.Clear; end Commit; procedure Erase is begin Pressed.Clear; Released.Clear; case Last_Output.Variant is when Syllable => if Last_Output.Continues_Word then Last_Output := (Erase, Length (Last_Output.Text)); Output_Backend.Output.Erase (Last_Output.Amount); else Last_Output.Continues_Word := True; Output_Backend.Output.Erase (1); end if; when others => Last_Output := (Erase, 1); Output_Backend.Output.Erase (1); end case; end Erase; end Softboard; procedure Log_Board (Pressed : Key_Sets.Set; Released : Key_Sets.Set) is begin Log.Info ("[Qweyboard] Pressed: [", Suffix => ' '); for Key of Pressed loop Log.Info (W (Softkey'Image (Key)), Suffix => ' '); end loop; Log.Info ("]", Suffix => ' '); Log.Info ("Released: [", Suffix => ' '); for Key of Released loop Log.Info (W (Softkey'Image (Key)), Suffix => ' '); end loop; Log.Info ("]"); end Log_Board; begin Return_Combo.Insert (LZ); Return_Combo.Insert (RZ); Backspace_Combo.Insert (LC); Backspace_Combo.Insert (LR); Backspace_Combo.Insert (RR); Backspace_Combo.Insert (RC); end Qweyboard.Emulation;
func add(one, two): return one+two; let num = 5; if :&add(5.2, 5):+5 > num { print_expr num; print_str <s>; print_expr_ln :&add(5.2, 5):+5; }
<ADSWorkspace Revision="7" Version="100"> <Workspace Name=""> <Library Name="1xEV" /> <Library Name="3GPPFDD" /> <Library Name="3GPPFDD_10_99" /> <Library Name="Antennas_and_Propagation" /> <Library Name="CDMA" /> <Library Name="CMMB" /> <Library Name="Circuit_Cosimulation" /> <Library Name="Controllers" /> <Library Name="DTMB" /> <Library Name="DTV" /> <Library Name="EDGE" /> <Library Name="GSM" /> <Library Name="HDL_Blocks" /> <Library Name="HSDPA" /> <Library Name="HSUPA" /> <Library Name="Instruments" /> <Library Name="Interactive_Controls_and_Displays" /> <Library Name="LTE" /> <Library Name="Numeric" /> <Library Name="Obsolete" /> <Library Name="Signal_Converters" /> <Library Name="Simulation_Sequencing" /> <Library Name="Sinks" /> <Library Name="TDSCDMA" /> <Library Name="Timed" /> <Library Name="UMB" /> <Library Name="UWB" /> <Library Name="WLAN" /> <Library Name="WLAN_11n" /> <Library Name="WMAN" /> <Library Name="WMAN_16e" /> <Library Name="ads_behavioral" /> <Library Name="ads_common_cmps" /> <Library Name="ads_datacmps" /> <Library Name="ads_designs" /> <Library Name="ads_rflib" /> <Library Name="ads_schematic_layers" /> <Library Name="ads_simulation" /> <Library Name="ads_sources" /> <Library Name="ads_standard_layers" /> <Library Name="ads_textfonts" /> <Library Name="ads_tlines" /> <Library Name="adstechlib" /> <Library Name="cdma2000" /> <Library Name="cc1101_lib" /> <Preferences Name="layout.prf" /> <Preferences Name="schematic.prf" /> <Cell Name="cc1101_lib:match" /> <Data_Display Name="match.dds" /> <Dataset Name="match.ds" /> <Log Name="netlist.log" /> </Workspace> </ADSWorkspace>
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . V A L _ L L I -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Unsigned_Types; use System.Unsigned_Types; with System.Val_LLU; use System.Val_LLU; with System.Val_Util; use System.Val_Util; package body System.Val_LLI is ---------------------------- -- Scan_Long_Long_Integer -- ---------------------------- function Scan_Long_Long_Integer (Str : String; Ptr : not null access Integer; Max : Integer) return Long_Long_Integer is Uval : Long_Long_Unsigned; -- Unsigned result Minus : Boolean := False; -- Set to True if minus sign is present, otherwise to False Start : Positive; -- Saves location of first non-blank begin Scan_Sign (Str, Ptr, Max, Minus, Start); if Str (Ptr.all) not in '0' .. '9' then Ptr.all := Start; Bad_Value (Str); end if; Uval := Scan_Raw_Long_Long_Unsigned (Str, Ptr, Max); -- Deal with overflow cases, and also with maximum negative number if Uval > Long_Long_Unsigned (Long_Long_Integer'Last) then if Minus and then Uval = Long_Long_Unsigned (-(Long_Long_Integer'First)) then return Long_Long_Integer'First; else Bad_Value (Str); end if; -- Negative values elsif Minus then return -(Long_Long_Integer (Uval)); -- Positive values else return Long_Long_Integer (Uval); end if; end Scan_Long_Long_Integer; ----------------------------- -- Value_Long_Long_Integer -- ----------------------------- function Value_Long_Long_Integer (Str : String) return Long_Long_Integer is begin -- We have to special case Str'Last = Positive'Last because the normal -- circuit ends up setting P to Str'Last + 1 which is out of bounds. We -- deal with this by converting to a subtype which fixes the bounds. if Str'Last = Positive'Last then declare subtype NT is String (1 .. Str'Length); begin return Value_Long_Long_Integer (NT (Str)); end; -- Normal case where Str'Last < Positive'Last else declare V : Long_Long_Integer; P : aliased Integer := Str'First; begin V := Scan_Long_Long_Integer (Str, P'Access, Str'Last); Scan_Trailing_Blanks (Str, P); return V; end; end if; end Value_Long_Long_Integer; end System.Val_LLI;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . N U M E R I C S -- -- -- -- S p e c -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ package Numerics is pragma Pure; Argument_Error : exception; Pi : constant := 3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511; ["03C0"] : constant := Pi; -- This is the Greek letter Pi (for Ada 2005 AI-388). Note that it is -- conforming to have this constant present even in Ada 95 mode, as there -- is no way for a normal mode Ada 95 program to reference this identifier. e : constant := 2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996; end Numerics;
with Ada.Numerics; use Ada.Numerics; with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; procedure Normal_Random is function Normal_Distribution ( Seed : Generator; Mu : Float := 1.0; Sigma : Float := 0.5 ) return Float is begin return Mu + (Sigma * Sqrt (-2.0 * Log (Random (Seed), 10.0)) * Cos (2.0 * Pi * Random (Seed))); end Normal_Distribution; Seed : Generator; Distribution : array (1..1_000) of Float; begin Reset (Seed); for I in Distribution'Range loop Distribution (I) := Normal_Distribution (Seed); end loop; end Normal_Random;
-- Copyright 2007-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/>. package body Pck is procedure Break_Me is begin null; end Break_Me; procedure Call_Me (Int : Integer; Flt : Float; Bln : Boolean; Ary : Arr; Chr : Character; Sad : System.Address; Rec : Struct) is begin Break_Me; end Call_Me; end Pck;
------------------------------------------------------------------------------ -- Copyright (c) 2017, 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. -- ------------------------------------------------------------------------------ with Natools.S_Expressions.Conditionals.Generic_Evaluate; with Natools.Static_Maps.Web.ACL; package body Natools.Web.ACL is Logged_Command : constant S_Expressions.Atom := (1 => Character'Pos ('l'), 2 => Character'Pos ('o'), 3 => Character'Pos ('g'), 4 => Character'Pos ('g'), 5 => Character'Pos ('e'), 6 => Character'Pos ('d')); function Parametric_Evaluate (Id : in Containers.Identity; Name : in Natools.S_Expressions.Atom; Arguments : in out Natools.S_Expressions.Lockable.Descriptor'Class) return Boolean; function Simple_Evaluate (Id : in Containers.Identity; Name : in Natools.S_Expressions.Atom) return Boolean; function Evaluate_Match is new Natools.S_Expressions.Conditionals.Generic_Evaluate (Containers.Identity, Parametric_Evaluate, Simple_Evaluate); ------------------------------ -- Local Helper Subprograms -- ------------------------------ function Parametric_Evaluate (Id : in Containers.Identity; Name : in Natools.S_Expressions.Atom; Arguments : in out Natools.S_Expressions.Lockable.Descriptor'Class) return Boolean is package Commands renames Natools.Static_Maps.Web.ACL; use type S_Expressions.Atom; S_Name : constant String := S_Expressions.To_String (Name); Event : S_Expressions.Events.Event := Arguments.Current_Event; begin case Commands.To_Command (S_Name) is when Commands.Unknown_Command => Log (Severities.Error, "Unknown identity condition """ & S_Name & '"'); return False; when Commands.Is_In_All_Groups => while Event in S_Expressions.Events.Add_Atom loop if not Containers.Contains (Id.Groups, Arguments.Current_Atom) then return False; end if; Arguments.Next (Event); end loop; return True; when Commands.Is_In_Any_Group => while Event in S_Expressions.Events.Add_Atom loop if Containers.Contains (Id.Groups, Arguments.Current_Atom) then return True; end if; Arguments.Next (Event); end loop; return False; when Commands.Is_User => while Event in S_Expressions.Events.Add_Atom loop if Id.User.Query = Arguments.Current_Atom then return True; end if; Arguments.Next (Event); end loop; return False; end case; end Parametric_Evaluate; function Simple_Evaluate (Id : in Containers.Identity; Name : in Natools.S_Expressions.Atom) return Boolean is use type S_Expressions.Atom; begin if Name = Logged_Command then return not Id.User.Is_Empty; elsif Id.User.Is_Empty then return False; elsif Name = Id.User.Query then return True; else return Containers.Contains (Id.Groups, Name); end if; end Simple_Evaluate; ---------------------- -- Public Interface -- ---------------------- procedure Match (Id : in Containers.Identity; Expression : in out S_Expressions.Lockable.Descriptor'Class; Result : in out Boolean) is begin if Expression.Current_Event in S_Expressions.Events.Add_Atom | S_Expressions.Events.Open_List then Result := Evaluate_Match (Id, Expression); end if; end Match; end Natools.Web.ACL;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Component_Definitions; with Program.Elements.Expressions; with Program.Elements.Aspect_Specifications; with Program.Elements.Component_Declarations; with Program.Element_Visitors; package Program.Nodes.Component_Declarations is pragma Preelaborate; type Component_Declaration is new Program.Nodes.Node and Program.Elements.Component_Declarations.Component_Declaration and Program.Elements.Component_Declarations.Component_Declaration_Text with private; function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Colon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Object_Subtype : not null Program.Elements.Component_Definitions .Component_Definition_Access; Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Component_Declaration; type Implicit_Component_Declaration is new Program.Nodes.Node and Program.Elements.Component_Declarations.Component_Declaration with private; function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Object_Subtype : not null Program.Elements.Component_Definitions .Component_Definition_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Component_Declaration with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Component_Declaration is abstract new Program.Nodes.Node and Program.Elements.Component_Declarations.Component_Declaration with record Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Object_Subtype : not null Program.Elements.Component_Definitions .Component_Definition_Access; Default_Expression : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; end record; procedure Initialize (Self : in out Base_Component_Declaration'Class); overriding procedure Visit (Self : not null access Base_Component_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Names (Self : Base_Component_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; overriding function Object_Subtype (Self : Base_Component_Declaration) return not null Program.Elements.Component_Definitions .Component_Definition_Access; overriding function Default_Expression (Self : Base_Component_Declaration) return Program.Elements.Expressions.Expression_Access; overriding function Aspects (Self : Base_Component_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; overriding function Is_Component_Declaration (Self : Base_Component_Declaration) return Boolean; overriding function Is_Declaration (Self : Base_Component_Declaration) return Boolean; type Component_Declaration is new Base_Component_Declaration and Program.Elements.Component_Declarations.Component_Declaration_Text with record Colon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Component_Declaration_Text (Self : in out Component_Declaration) return Program.Elements.Component_Declarations .Component_Declaration_Text_Access; overriding function Colon_Token (Self : Component_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Assignment_Token (Self : Component_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token (Self : Component_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Component_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Component_Declaration is new Base_Component_Declaration with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Component_Declaration_Text (Self : in out Implicit_Component_Declaration) return Program.Elements.Component_Declarations .Component_Declaration_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Component_Declaration) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Component_Declaration) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Component_Declaration) return Boolean; end Program.Nodes.Component_Declarations;
with System.Machine_Code; with AVR.USART; with AVR.TWI; with AVR.TIMERS.CLOCK; -- ============================================================================= -- Package body AVR.INTERRUPTS -- ============================================================================= package body AVR.INTERRUPTS is procedure Enable is begin System.Machine_Code.Asm ("sei", Volatile => True); end Enable; procedure Disable is begin System.Machine_Code.Asm ("cli", Volatile => True); end Disable; procedure Handle_Interrupt_USART0_RX is begin AVR.USART.Handle_ISR_RXC (AVR.USART.USART0); end Handle_Interrupt_USART0_RX; #if MCU="ATMEGA2560" then procedure Handle_Interrupt_USART1_RX is begin AVR.USART.Handle_ISR_RXC (AVR.USART.USART1); end Handle_Interrupt_USART1_RX; procedure Handle_Interrupt_USART2_RX is begin AVR.USART.Handle_ISR_RXC (AVR.USART.USART2); end Handle_Interrupt_USART2_RX; procedure Handle_Interrupt_USART3_RX is begin AVR.USART.Handle_ISR_RXC (AVR.USART.USART3); end Handle_Interrupt_USART3_RX; #end if; procedure Handle_Interrupt_TWI is begin AVR.TWI.Handle_Interrupts; end Handle_Interrupt_TWI; procedure Handle_Interrupt_TIMER4_OVF is begin AVR.TIMERS.CLOCK.Schedule_Update_Clock; end Handle_Interrupt_TIMER4_OVF; end AVR.INTERRUPTS;
----------------------------------------------------------------------- -- awa-permissions-services -- Permissions controller -- Copyright (C) 2011, 2012, 2013, 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 ADO.Queries; with ADO.Sessions.Entities; with ADO.Statements; with ADO.Caches.Discrete; with Util.Log.Loggers; with Util.Strings; with Security.Policies.URLs; with AWA.Permissions.Models; package body AWA.Permissions.Services is use ADO.Sessions; use type ADO.Identifier; Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("AWA.Permissions.Services"); package Permission_Cache is new ADO.Caches.Discrete (Element_Type => Integer); -- ------------------------------ -- Check if the permission with the name <tt>Name</tt> is granted for the current user. -- If the <tt>Entity</tt> is defined, an <tt>Entity_Permission</tt> is created and verified. -- Returns True if the user is granted the given permission. -- ------------------------------ function Has_Permission (Name : in Util.Beans.Objects.Object; Entity : in Util.Beans.Objects.Object) return Util.Beans.Objects.Object is use type Security.Contexts.Security_Context_Access; Context : constant Security.Contexts.Security_Context_Access := Security.Contexts.Current; Perm : constant String := Util.Beans.Objects.To_String (Name); Result : Boolean; begin if Util.Beans.Objects.Is_Empty (Name) or Context = null then Result := False; elsif Util.Beans.Objects.Is_Empty (Entity) then Result := Context.Has_Permission (Perm); else declare P : Entity_Permission (Security.Permissions.Get_Permission_Index (Perm)); begin P.Entity := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Entity)); Result := Context.Has_Permission (P); end; end if; return Util.Beans.Objects.To_Object (Result); exception when Security.Permissions.Invalid_Name => Log.Error ("Invalid permission {0}", Perm); raise; end Has_Permission; URI : aliased constant String := "http://code.google.com/p/ada-awa/auth"; -- ------------------------------ -- Register the security EL functions in the EL mapper. -- ------------------------------ procedure Set_Functions (Mapper : in out EL.Functions.Function_Mapper'Class) is begin Mapper.Set_Function (Name => "hasPermission", Namespace => URI, Func => Has_Permission'Access, Optimize => False); end Set_Functions; -- ------------------------------ -- Get the permission manager associated with the security context. -- Returns null if there is none. -- ------------------------------ function Get_Permission_Manager (Context : in Security.Contexts.Security_Context'Class) return Permission_Manager_Access is use type Security.Policies.Policy_Manager_Access; M : constant Security.Policies.Policy_Manager_Access := Context.Get_Permission_Manager; begin if M = null then Log.Info ("There is no permission manager"); return null; elsif not (M.all in Permission_Manager'Class) then Log.Info ("Permission manager is not a AWA permission manager"); return null; else return Permission_Manager'Class (M.all)'Access; end if; end Get_Permission_Manager; -- ------------------------------ -- Get the permission manager associated with the security context. -- Returns null if there is none. -- ------------------------------ function Get_Permission_Manager (Context : in ASC.Service_Context_Access) return Permission_Manager_Access is Manager : constant Security.Policies.Policy_Manager_Access := Context.Get_Application.Get_Security_Manager; begin return Permission_Manager'Class (Manager.all)'Access; end Get_Permission_Manager; -- ------------------------------ -- Get the application instance. -- ------------------------------ function Get_Application (Manager : in Permission_Manager) return AWA.Applications.Application_Access is begin return Manager.App; end Get_Application; -- ------------------------------ -- Set the application instance. -- ------------------------------ procedure Set_Application (Manager : in out Permission_Manager; App : in AWA.Applications.Application_Access) is begin Manager.App := App; end Set_Application; -- ------------------------------ -- Initialize the permissions. -- ------------------------------ procedure Start (Manager : in out Permission_Manager) is package Perm renames Security.Permissions; DB : ADO.Sessions.Master_Session := Manager.App.Get_Master_Session; Cache : constant Permission_Cache.Cache_Type_Access := new Permission_Cache.Cache_Type; Count : constant Perm.Permission_Index := Perm.Get_Last_Permission_Index; Last : ADO.Identifier := 0; Insert : ADO.Statements.Insert_Statement; Stmt : ADO.Statements.Query_Statement; Load_Count : Natural := 0; Add_Count : Natural := 0; begin Log.Info ("Initializing {0} permissions", Perm.Permission_Index'Image (Count)); DB.Begin_Transaction; -- Step 1: load the permissions from the database. Stmt := DB.Create_Statement ("SELECT id, name FROM awa_permission"); Stmt.Execute; while Stmt.Has_Elements loop declare Id : constant Integer := Stmt.Get_Integer (0); Name : constant String := Stmt.Get_String (1); begin Log.Debug ("Loaded permission {0} as {1}", Name, Util.Strings.Image (Id)); Permission_Cache.Insert (Cache.all, Name, Id); Load_Count := Load_Count + 1; if ADO.Identifier (Id) > Last then Last := ADO.Identifier (Id); end if; end; Stmt.Next; end loop; -- Step 2: Check that every application permission is defined in the database. -- Create the new entries and allocate them the last id. for I in 1 .. Count loop declare Name : constant String := Perm.Get_Name (I); Result : Integer; begin Manager.Map (I) := ADO.Identifier (Cache.Find (Name)); exception when ADO.Caches.No_Value => Last := Last + 1; Log.Info ("Adding permission {0} as {1}", Name, ADO.Identifier'Image (Last)); Insert := DB.Create_Statement (AWA.Permissions.Models.PERMISSION_TABLE); Insert.Save_Field (Name => "id", Value => Last); Insert.Save_Field (Name => "name", Value => Name); Insert.Execute (Result); Cache.Insert (Name, Integer (Last)); Manager.Map (I) := Last; Add_Count := Add_Count + 1; end; end loop; DB.Add_Cache ("permission", Cache.all'Access); DB.Commit; if Add_Count > 0 then Log.Info ("Found {0} permissions in the database and created {1} permissions", Util.Strings.Image (Load_Count), Util.Strings.Image (Add_Count)); else Log.Info ("Found {0} permissions in the database", Util.Strings.Image (Load_Count)); end if; end Start; -- ------------------------------ -- Add a permission for the current user to access the entity identified by -- <b>Entity</b> and <b>Kind</b>. -- ------------------------------ procedure Add_Permission (Manager : in Permission_Manager; Entity : in ADO.Identifier; Kind : in ADO.Entity_Type; Workspace : in ADO.Identifier; Permission : in Security.Permissions.Permission_Index) is Ctx : constant AWA.Services.Contexts.Service_Context_Access := AWA.Services.Contexts.Current; DB : Master_Session := AWA.Services.Contexts.Get_Master_Session (Ctx); Perm : AWA.Permissions.Models.ACL_Ref; begin Log.Info ("Adding permission"); Ctx.Start; Perm.Set_Entity_Type (Kind); Perm.Set_User_Id (Ctx.Get_User_Identifier); Perm.Set_Entity_Id (Entity); Perm.Set_Writeable (False); Perm.Set_Workspace_Id (Workspace); Perm.Set_Permission (Manager.Map (Permission)); Perm.Save (DB); Ctx.Commit; end Add_Permission; -- ------------------------------ -- Check that the current user has the specified permission. -- Raise NO_PERMISSION exception if the user does not have the permission. -- ------------------------------ procedure Check_Permission (Manager : in Permission_Manager; Entity : in ADO.Identifier; Kind : in ADO.Entity_Type; Permission : in Permission_Type) is pragma Unreferenced (Manager, Permission); use AWA.Services; Ctx : constant Contexts.Service_Context_Access := AWA.Services.Contexts.Current; User : constant ADO.Identifier := Ctx.Get_User_Identifier; DB : constant Session := AWA.Services.Contexts.Get_Session (Ctx); Query : ADO.Queries.Context; begin Query.Set_Query (AWA.Permissions.Models.Query_Check_Entity_Permission); Query.Bind_Param ("user_id", User); Query.Bind_Param ("entity_id", Entity); Query.Bind_Param ("entity_type", Integer (Kind)); declare Stmt : ADO.Statements.Query_Statement := DB.Create_Statement (Query); begin Stmt.Execute; if not Stmt.Has_Elements then Log.Info ("User {0} does not have permission to access entity {1}/{2}", ADO.Identifier'Image (User), ADO.Identifier'Image (Entity), ADO.Entity_Type'Image (Kind)); raise NO_PERMISSION; end if; end; end Check_Permission; -- ------------------------------ -- Get the role names that grant the given permission. -- ------------------------------ function Get_Role_Names (Manager : in Permission_Manager; Permission : in Security.Permissions.Permission_Index) return Security.Policies.Roles.Role_Name_Array is begin return Manager.Roles.Get_Role_Names (Manager.Roles.Get_Grants (Permission)); end Get_Role_Names; -- ------------------------------ -- Add a permission for the user <b>User</b> to access the entity identified by -- <b>Entity</b> which is of type <b>Kind</b>. -- ------------------------------ procedure Add_Permission (Manager : in Permission_Manager; Session : in out ADO.Sessions.Master_Session; User : in ADO.Identifier; Entity : in ADO.Identifier; Kind : in ADO.Entity_Type; Workspace : in ADO.Identifier; Permission : in Security.Permissions.Permission_Index) is Acl : AWA.Permissions.Models.ACL_Ref; begin Acl.Set_User_Id (User); Acl.Set_Entity_Type (Kind); Acl.Set_Entity_Id (Entity); Acl.Set_Writeable (False); Acl.Set_Workspace_Id (Workspace); Acl.Set_Permission (Manager.Map (Permission)); Acl.Save (Session); Log.Info ("Permission created for {0} to access {1}, entity type {2}", ADO.Identifier'Image (User), ADO.Identifier'Image (Entity), ADO.Entity_Type'Image (Kind)); end Add_Permission; -- ------------------------------ -- Add a permission for the user <b>User</b> to access the entity identified by -- <b>Entity</b>. -- ------------------------------ procedure Add_Permission (Manager : in Permission_Manager; Session : in out ADO.Sessions.Master_Session; User : in ADO.Identifier; Entity : in ADO.Objects.Object_Ref'Class; Workspace : in ADO.Identifier; Permission : in Security.Permissions.Permission_Index) is Key : constant ADO.Objects.Object_Key := Entity.Get_Key; Kind : constant ADO.Entity_Type := ADO.Sessions.Entities.Find_Entity_Type (Session => Session, Object => Key); begin Manager.Add_Permission (Session, User, ADO.Objects.Get_Value (Key), Kind, Workspace, Permission); end Add_Permission; -- ------------------------------ -- Create a permission manager for the given application. -- ------------------------------ function Create_Permission_Manager (App : in AWA.Applications.Application_Access) return Security.Policies.Policy_Manager_Access is Result : constant AWA.Permissions.Services.Permission_Manager_Access := new AWA.Permissions.Services.Permission_Manager (10); RP : constant Security.Policies.Roles.Role_Policy_Access := new Security.Policies.Roles.Role_Policy; RU : constant Security.Policies.URLs.URL_Policy_Access := new Security.Policies.URLs.URL_Policy; RE : constant Entity_Policy_Access := new Entity_Policy; begin Result.Roles := RP; Result.Add_Policy (RP.all'Access); Result.Add_Policy (RU.all'Access); Result.Add_Policy (RE.all'Access); Result.Set_Application (App); Log.Info ("Creation of the AWA Permissions manager"); return Result.all'Access; end Create_Permission_Manager; -- ------------------------------ -- Delete all the permissions for a user and on the given workspace. -- ------------------------------ procedure Delete_Permissions (Session : in out ADO.Sessions.Master_Session; User : in ADO.Identifier; Workspace : in ADO.Identifier) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (Models.ACL_TABLE); Result : Natural; begin Stmt.Set_Filter (Filter => "workspace_id = ? AND user_id = ?"); Stmt.Add_Param (Value => Workspace); Stmt.Add_Param (Value => User); Stmt.Execute (Result); Log.Info ("Deleted {0} permissions for user {1} in workspace {2}", Natural'Image (Result), ADO.Identifier'Image (User), ADO.Identifier'Image (Workspace)); end Delete_Permissions; end AWA.Permissions.Services;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UML.Duration_Intervals.Collections is pragma Preelaborate; package UML_Duration_Interval_Collections is new AMF.Generic_Collections (UML_Duration_Interval, UML_Duration_Interval_Access); type Set_Of_UML_Duration_Interval is new UML_Duration_Interval_Collections.Set with null record; Empty_Set_Of_UML_Duration_Interval : constant Set_Of_UML_Duration_Interval; type Ordered_Set_Of_UML_Duration_Interval is new UML_Duration_Interval_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Duration_Interval : constant Ordered_Set_Of_UML_Duration_Interval; type Bag_Of_UML_Duration_Interval is new UML_Duration_Interval_Collections.Bag with null record; Empty_Bag_Of_UML_Duration_Interval : constant Bag_Of_UML_Duration_Interval; type Sequence_Of_UML_Duration_Interval is new UML_Duration_Interval_Collections.Sequence with null record; Empty_Sequence_Of_UML_Duration_Interval : constant Sequence_Of_UML_Duration_Interval; private Empty_Set_Of_UML_Duration_Interval : constant Set_Of_UML_Duration_Interval := (UML_Duration_Interval_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Duration_Interval : constant Ordered_Set_Of_UML_Duration_Interval := (UML_Duration_Interval_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Duration_Interval : constant Bag_Of_UML_Duration_Interval := (UML_Duration_Interval_Collections.Bag with null record); Empty_Sequence_Of_UML_Duration_Interval : constant Sequence_Of_UML_Duration_Interval := (UML_Duration_Interval_Collections.Sequence with null record); end AMF.UML.Duration_Intervals.Collections;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with HAL.Touch_Panel; with HAL.Framebuffer; private with FT6x06; private with STM32.Device; private with STM32.I2C; private with STM32.GPIO; package Touch_Panel_FT6x06 is type Touch_Panel is limited new HAL.Touch_Panel.Touch_Panel_Device with private; function Initialize (This : in out Touch_Panel; Orientation : HAL.Framebuffer.Display_Orientation := HAL.Framebuffer.Default) return Boolean; procedure Initialize (This : in out Touch_Panel; Orientation : HAL.Framebuffer.Display_Orientation := HAL.Framebuffer.Default); procedure Set_Orientation (This : in out Touch_Panel; Orientation : HAL.Framebuffer.Display_Orientation); private TP_I2C : STM32.I2C.I2C_Port renames STM32.Device.I2C_4; TP_I2C_SDA : STM32.GPIO.GPIO_Point renames STM32.Device.PB7; TP_I2C_SDA_AF : STM32.GPIO_Alternate_Function renames STM32.Device.GPIO_AF_I2C4_11; TP_I2C_SCL : STM32.GPIO.GPIO_Point renames STM32.Device.PD12; TP_I2C_SCL_AF : STM32.GPIO_Alternate_Function renames STM32.Device.GPIO_AF_I2C4_4; type Touch_Panel is limited new FT6x06.FT6x06_Device (Port => TP_I2C'Access, I2C_Addr => 16#54#) with null record; end Touch_Panel_FT6x06;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Select_Paths; with Program.Element_Vectors; with Program.Elements.Select_Statements; with Program.Element_Visitors; package Program.Nodes.Select_Statements is pragma Preelaborate; type Select_Statement is new Program.Nodes.Node and Program.Elements.Select_Statements.Select_Statement and Program.Elements.Select_Statements.Select_Statement_Text with private; function Create (Select_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Paths : not null Program.Elements.Select_Paths .Select_Path_Vector_Access; Then_Token : Program.Lexical_Elements.Lexical_Element_Access; Abort_Token : Program.Lexical_Elements.Lexical_Element_Access; Then_Abort_Statements : Program.Element_Vectors.Element_Vector_Access; Else_Token : Program.Lexical_Elements.Lexical_Element_Access; Else_Statements : Program.Element_Vectors.Element_Vector_Access; End_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Select_Token_2 : not null Program.Lexical_Elements .Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Select_Statement; type Implicit_Select_Statement is new Program.Nodes.Node and Program.Elements.Select_Statements.Select_Statement with private; function Create (Paths : not null Program.Elements.Select_Paths .Select_Path_Vector_Access; Then_Abort_Statements : Program.Element_Vectors.Element_Vector_Access; Else_Statements : Program.Element_Vectors.Element_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Select_Statement with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Select_Statement is abstract new Program.Nodes.Node and Program.Elements.Select_Statements.Select_Statement with record Paths : not null Program.Elements.Select_Paths .Select_Path_Vector_Access; Then_Abort_Statements : Program.Element_Vectors.Element_Vector_Access; Else_Statements : Program.Element_Vectors.Element_Vector_Access; end record; procedure Initialize (Self : aliased in out Base_Select_Statement'Class); overriding procedure Visit (Self : not null access Base_Select_Statement; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Paths (Self : Base_Select_Statement) return not null Program.Elements.Select_Paths.Select_Path_Vector_Access; overriding function Then_Abort_Statements (Self : Base_Select_Statement) return Program.Element_Vectors.Element_Vector_Access; overriding function Else_Statements (Self : Base_Select_Statement) return Program.Element_Vectors.Element_Vector_Access; overriding function Is_Select_Statement_Element (Self : Base_Select_Statement) return Boolean; overriding function Is_Statement_Element (Self : Base_Select_Statement) return Boolean; type Select_Statement is new Base_Select_Statement and Program.Elements.Select_Statements.Select_Statement_Text with record Select_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Then_Token : Program.Lexical_Elements.Lexical_Element_Access; Abort_Token : Program.Lexical_Elements.Lexical_Element_Access; Else_Token : Program.Lexical_Elements.Lexical_Element_Access; End_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Select_Token_2 : not null Program.Lexical_Elements .Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Select_Statement_Text (Self : aliased in out Select_Statement) return Program.Elements.Select_Statements.Select_Statement_Text_Access; overriding function Select_Token (Self : Select_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Then_Token (Self : Select_Statement) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Abort_Token (Self : Select_Statement) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Else_Token (Self : Select_Statement) return Program.Lexical_Elements.Lexical_Element_Access; overriding function End_Token (Self : Select_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Select_Token_2 (Self : Select_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Select_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Select_Statement is new Base_Select_Statement with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Select_Statement_Text (Self : aliased in out Implicit_Select_Statement) return Program.Elements.Select_Statements.Select_Statement_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Select_Statement) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Select_Statement) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Select_Statement) return Boolean; end Program.Nodes.Select_Statements;
package Ports is end Ports;
------------------------------------------------------------------------------ -- -- -- 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 font*.c -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief This file provides fonts for the LCD driver. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ package body BMP_Fonts is BMP_Font16x24 : constant array (0 .. 2279) of UInt16 := (16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#00CC#, 16#00CC#, 16#00CC#, 16#00CC#, 16#00CC#, 16#00CC#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0C60#, 16#0C60#, 16#0C60#, 16#0630#, 16#0630#, 16#1FFE#, 16#1FFE#, 16#0630#, 16#0738#, 16#0318#, 16#1FFE#, 16#1FFE#, 16#0318#, 16#0318#, 16#018C#, 16#018C#, 16#018C#, 16#0000#, 16#0000#, 16#0080#, 16#03E0#, 16#0FF8#, 16#0E9C#, 16#1C8C#, 16#188C#, 16#008C#, 16#0098#, 16#01F8#, 16#07E0#, 16#0E80#, 16#1C80#, 16#188C#, 16#188C#, 16#189C#, 16#0CB8#, 16#0FF0#, 16#03E0#, 16#0080#, 16#0080#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#180E#, 16#0C1B#, 16#0C11#, 16#0611#, 16#0611#, 16#0311#, 16#0311#, 16#019B#, 16#018E#, 16#38C0#, 16#6CC0#, 16#4460#, 16#4460#, 16#4430#, 16#4430#, 16#4418#, 16#6C18#, 16#380C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#01E0#, 16#03F0#, 16#0738#, 16#0618#, 16#0618#, 16#0330#, 16#01F0#, 16#00F0#, 16#00F8#, 16#319C#, 16#330E#, 16#1E06#, 16#1C06#, 16#1C06#, 16#3F06#, 16#73FC#, 16#21F0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0200#, 16#0300#, 16#0180#, 16#00C0#, 16#00C0#, 16#0060#, 16#0060#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0060#, 16#0060#, 16#00C0#, 16#00C0#, 16#0180#, 16#0300#, 16#0200#, 16#0000#, 16#0000#, 16#0020#, 16#0060#, 16#00C0#, 16#0180#, 16#0180#, 16#0300#, 16#0300#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0300#, 16#0300#, 16#0180#, 16#0180#, 16#00C0#, 16#0060#, 16#0020#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#06D8#, 16#07F8#, 16#01E0#, 16#0330#, 16#0738#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#3FFC#, 16#3FFC#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0100#, 16#0100#, 16#0080#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07E0#, 16#07E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0C00#, 16#0C00#, 16#0600#, 16#0600#, 16#0600#, 16#0300#, 16#0300#, 16#0300#, 16#0380#, 16#0180#, 16#0180#, 16#0180#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0060#, 16#0060#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#07F0#, 16#0E38#, 16#0C18#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#0C18#, 16#0E38#, 16#07F0#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0100#, 16#0180#, 16#01C0#, 16#01F0#, 16#0198#, 16#0188#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#0FF8#, 16#0C18#, 16#180C#, 16#180C#, 16#1800#, 16#1800#, 16#0C00#, 16#0600#, 16#0300#, 16#0180#, 16#00C0#, 16#0060#, 16#0030#, 16#0018#, 16#1FFC#, 16#1FFC#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#01E0#, 16#07F8#, 16#0E18#, 16#0C0C#, 16#0C0C#, 16#0C00#, 16#0600#, 16#03C0#, 16#07C0#, 16#0C00#, 16#1800#, 16#1800#, 16#180C#, 16#180C#, 16#0C18#, 16#07F8#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0C00#, 16#0E00#, 16#0F00#, 16#0F00#, 16#0D80#, 16#0CC0#, 16#0C60#, 16#0C60#, 16#0C30#, 16#0C18#, 16#0C0C#, 16#3FFC#, 16#3FFC#, 16#0C00#, 16#0C00#, 16#0C00#, 16#0C00#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0FF8#, 16#0FF8#, 16#0018#, 16#0018#, 16#000C#, 16#03EC#, 16#07FC#, 16#0E1C#, 16#1C00#, 16#1800#, 16#1800#, 16#1800#, 16#180C#, 16#0C1C#, 16#0E18#, 16#07F8#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07C0#, 16#0FF0#, 16#1C38#, 16#1818#, 16#0018#, 16#000C#, 16#03CC#, 16#0FEC#, 16#0E3C#, 16#1C1C#, 16#180C#, 16#180C#, 16#180C#, 16#1C18#, 16#0E38#, 16#07F0#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1FFC#, 16#1FFC#, 16#0C00#, 16#0600#, 16#0600#, 16#0300#, 16#0380#, 16#0180#, 16#01C0#, 16#00C0#, 16#00E0#, 16#0060#, 16#0060#, 16#0070#, 16#0030#, 16#0030#, 16#0030#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#07F0#, 16#0E38#, 16#0C18#, 16#0C18#, 16#0C18#, 16#0638#, 16#07F0#, 16#07F0#, 16#0C18#, 16#180C#, 16#180C#, 16#180C#, 16#180C#, 16#0C38#, 16#0FF8#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#07F0#, 16#0E38#, 16#0C1C#, 16#180C#, 16#180C#, 16#180C#, 16#1C1C#, 16#1E38#, 16#1BF8#, 16#19E0#, 16#1800#, 16#0C00#, 16#0C00#, 16#0E1C#, 16#07F8#, 16#01F0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0100#, 16#0100#, 16#0080#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#1C00#, 16#0F80#, 16#03E0#, 16#00F8#, 16#0018#, 16#00F8#, 16#03E0#, 16#0F80#, 16#1C00#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1FF8#, 16#0000#, 16#0000#, 16#0000#, 16#1FF8#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0008#, 16#0038#, 16#01F0#, 16#07C0#, 16#1F00#, 16#1800#, 16#1F00#, 16#07C0#, 16#01F0#, 16#0038#, 16#0008#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#0FF8#, 16#0C18#, 16#180C#, 16#180C#, 16#1800#, 16#0C00#, 16#0600#, 16#0300#, 16#0180#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07E0#, 16#1818#, 16#2004#, 16#29C2#, 16#4A22#, 16#4411#, 16#4409#, 16#4409#, 16#4409#, 16#2209#, 16#1311#, 16#0CE2#, 16#4002#, 16#2004#, 16#1818#, 16#07E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0380#, 16#0380#, 16#06C0#, 16#06C0#, 16#06C0#, 16#0C60#, 16#0C60#, 16#1830#, 16#1830#, 16#1830#, 16#3FF8#, 16#3FF8#, 16#701C#, 16#600C#, 16#600C#, 16#C006#, 16#C006#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03FC#, 16#0FFC#, 16#0C0C#, 16#180C#, 16#180C#, 16#180C#, 16#0C0C#, 16#07FC#, 16#0FFC#, 16#180C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#180C#, 16#1FFC#, 16#07FC#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07C0#, 16#1FF0#, 16#3838#, 16#301C#, 16#700C#, 16#6006#, 16#0006#, 16#0006#, 16#0006#, 16#0006#, 16#0006#, 16#0006#, 16#6006#, 16#700C#, 16#301C#, 16#1FF0#, 16#07E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03FE#, 16#0FFE#, 16#0E06#, 16#1806#, 16#1806#, 16#3006#, 16#3006#, 16#3006#, 16#3006#, 16#3006#, 16#3006#, 16#3006#, 16#1806#, 16#1806#, 16#0E06#, 16#0FFE#, 16#03FE#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3FFC#, 16#3FFC#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#1FFC#, 16#1FFC#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#3FFC#, 16#3FFC#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3FF8#, 16#3FF8#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#1FF8#, 16#1FF8#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0FE0#, 16#3FF8#, 16#783C#, 16#600E#, 16#E006#, 16#C007#, 16#0003#, 16#0003#, 16#FE03#, 16#FE03#, 16#C003#, 16#C007#, 16#C006#, 16#C00E#, 16#F03C#, 16#3FF8#, 16#0FE0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#3FFC#, 16#3FFC#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0600#, 16#0618#, 16#0618#, 16#0738#, 16#03F0#, 16#01E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3006#, 16#1806#, 16#0C06#, 16#0606#, 16#0306#, 16#0186#, 16#00C6#, 16#0066#, 16#0076#, 16#00DE#, 16#018E#, 16#0306#, 16#0606#, 16#0C06#, 16#1806#, 16#3006#, 16#6006#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#1FF8#, 16#1FF8#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#E00E#, 16#F01E#, 16#F01E#, 16#F01E#, 16#D836#, 16#D836#, 16#D836#, 16#D836#, 16#CC66#, 16#CC66#, 16#CC66#, 16#C6C6#, 16#C6C6#, 16#C6C6#, 16#C6C6#, 16#C386#, 16#C386#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#300C#, 16#301C#, 16#303C#, 16#303C#, 16#306C#, 16#306C#, 16#30CC#, 16#30CC#, 16#318C#, 16#330C#, 16#330C#, 16#360C#, 16#360C#, 16#3C0C#, 16#3C0C#, 16#380C#, 16#300C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07E0#, 16#1FF8#, 16#381C#, 16#700E#, 16#6006#, 16#C003#, 16#C003#, 16#C003#, 16#C003#, 16#C003#, 16#C003#, 16#C003#, 16#6006#, 16#700E#, 16#381C#, 16#1FF8#, 16#07E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0FFC#, 16#1FFC#, 16#380C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#180C#, 16#1FFC#, 16#07FC#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07E0#, 16#1FF8#, 16#381C#, 16#700E#, 16#6006#, 16#E003#, 16#C003#, 16#C003#, 16#C003#, 16#C003#, 16#C003#, 16#E007#, 16#6306#, 16#3F0E#, 16#3C1C#, 16#3FF8#, 16#F7E0#, 16#C000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0FFE#, 16#1FFE#, 16#3806#, 16#3006#, 16#3006#, 16#3006#, 16#3806#, 16#1FFE#, 16#07FE#, 16#0306#, 16#0606#, 16#0C06#, 16#1806#, 16#1806#, 16#3006#, 16#3006#, 16#6006#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#0FF8#, 16#0C1C#, 16#180C#, 16#180C#, 16#000C#, 16#001C#, 16#03F8#, 16#0FE0#, 16#1E00#, 16#3800#, 16#3006#, 16#3006#, 16#300E#, 16#1C1C#, 16#0FF8#, 16#07E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7FFE#, 16#7FFE#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#300C#, 16#1818#, 16#1FF8#, 16#07E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#6003#, 16#3006#, 16#3006#, 16#3006#, 16#180C#, 16#180C#, 16#180C#, 16#0C18#, 16#0C18#, 16#0E38#, 16#0630#, 16#0630#, 16#0770#, 16#0360#, 16#0360#, 16#01C0#, 16#01C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#6003#, 16#61C3#, 16#61C3#, 16#61C3#, 16#3366#, 16#3366#, 16#3366#, 16#3366#, 16#3366#, 16#3366#, 16#1B6C#, 16#1B6C#, 16#1B6C#, 16#1A2C#, 16#1E3C#, 16#0E38#, 16#0E38#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#E00F#, 16#700C#, 16#3018#, 16#1830#, 16#0C70#, 16#0E60#, 16#07C0#, 16#0380#, 16#0380#, 16#03C0#, 16#06E0#, 16#0C70#, 16#1C30#, 16#1818#, 16#300C#, 16#600E#, 16#E007#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#C003#, 16#6006#, 16#300C#, 16#381C#, 16#1838#, 16#0C30#, 16#0660#, 16#07E0#, 16#03C0#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7FFC#, 16#7FFC#, 16#6000#, 16#3000#, 16#1800#, 16#0C00#, 16#0600#, 16#0300#, 16#0180#, 16#00C0#, 16#0060#, 16#0030#, 16#0018#, 16#000C#, 16#0006#, 16#7FFE#, 16#7FFE#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#03E0#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#0060#, 16#03E0#, 16#03E0#, 16#0000#, 16#0000#, 16#0030#, 16#0030#, 16#0060#, 16#0060#, 16#0060#, 16#00C0#, 16#00C0#, 16#00C0#, 16#01C0#, 16#0180#, 16#0180#, 16#0180#, 16#0300#, 16#0300#, 16#0300#, 16#0600#, 16#0600#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#03E0#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#0300#, 16#03E0#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#01C0#, 16#01C0#, 16#0360#, 16#0360#, 16#0360#, 16#0630#, 16#0630#, 16#0C18#, 16#0C18#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#FFFF#, 16#FFFF#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03F0#, 16#07F8#, 16#0C1C#, 16#0C0C#, 16#0F00#, 16#0FF0#, 16#0CF8#, 16#0C0C#, 16#0C0C#, 16#0F1C#, 16#0FF8#, 16#18F0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#03D8#, 16#0FF8#, 16#0C38#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#0C38#, 16#0FF8#, 16#03D8#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03C0#, 16#07F0#, 16#0E30#, 16#0C18#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0C18#, 16#0E30#, 16#07F0#, 16#03C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1800#, 16#1800#, 16#1800#, 16#1800#, 16#1800#, 16#1BC0#, 16#1FF0#, 16#1C30#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1C30#, 16#1FF0#, 16#1BC0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03C0#, 16#0FF0#, 16#0C30#, 16#1818#, 16#1FF8#, 16#1FF8#, 16#0018#, 16#0018#, 16#1838#, 16#1C30#, 16#0FF0#, 16#07C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0F80#, 16#0FC0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#07F0#, 16#07F0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0DE0#, 16#0FF8#, 16#0E18#, 16#0C0C#, 16#0C0C#, 16#0C0C#, 16#0C0C#, 16#0C0C#, 16#0C0C#, 16#0E18#, 16#0FF8#, 16#0DE0#, 16#0C00#, 16#0C0C#, 16#061C#, 16#07F8#, 16#01F0#, 16#0000#, 16#0000#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#07D8#, 16#0FF8#, 16#1C38#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00F8#, 16#0078#, 16#0000#, 16#0000#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#000C#, 16#0C0C#, 16#060C#, 16#030C#, 16#018C#, 16#00CC#, 16#006C#, 16#00FC#, 16#019C#, 16#038C#, 16#030C#, 16#060C#, 16#0C0C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3C7C#, 16#7EFF#, 16#E3C7#, 16#C183#, 16#C183#, 16#C183#, 16#C183#, 16#C183#, 16#C183#, 16#C183#, 16#C183#, 16#C183#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0798#, 16#0FF8#, 16#1C38#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03C0#, 16#0FF0#, 16#0C30#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#0C30#, 16#0FF0#, 16#03C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03D8#, 16#0FF8#, 16#0C38#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#0C38#, 16#0FF8#, 16#03D8#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0018#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1BC0#, 16#1FF0#, 16#1C30#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1C30#, 16#1FF0#, 16#1BC0#, 16#1800#, 16#1800#, 16#1800#, 16#1800#, 16#1800#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#07B0#, 16#03F0#, 16#0070#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0030#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#03E0#, 16#03F0#, 16#0E38#, 16#0C18#, 16#0038#, 16#03F0#, 16#07C0#, 16#0C00#, 16#0C18#, 16#0E38#, 16#07F0#, 16#03E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0080#, 16#00C0#, 16#00C0#, 16#00C0#, 16#07F0#, 16#07F0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#07C0#, 16#0780#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1818#, 16#1C38#, 16#1FF0#, 16#19E0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#180C#, 16#0C18#, 16#0C18#, 16#0C18#, 16#0630#, 16#0630#, 16#0630#, 16#0360#, 16#0360#, 16#0360#, 16#01C0#, 16#01C0#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#41C1#, 16#41C1#, 16#61C3#, 16#6363#, 16#6363#, 16#6363#, 16#3636#, 16#3636#, 16#3636#, 16#1C1C#, 16#1C1C#, 16#1C1C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#381C#, 16#1C38#, 16#0C30#, 16#0660#, 16#0360#, 16#0360#, 16#0360#, 16#0360#, 16#0660#, 16#0C30#, 16#1C38#, 16#381C#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3018#, 16#1830#, 16#1830#, 16#1870#, 16#0C60#, 16#0C60#, 16#0CE0#, 16#06C0#, 16#06C0#, 16#0380#, 16#0380#, 16#0380#, 16#0180#, 16#0180#, 16#01C0#, 16#00F0#, 16#0070#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#1FFC#, 16#1FFC#, 16#0C00#, 16#0600#, 16#0300#, 16#0180#, 16#00C0#, 16#0060#, 16#0030#, 16#0018#, 16#1FFC#, 16#1FFC#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0300#, 16#0180#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0060#, 16#0060#, 16#0030#, 16#0060#, 16#0040#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#00C0#, 16#0180#, 16#0300#, 16#0000#, 16#0000#, 16#0000#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0000#, 16#0000#, 16#0060#, 16#00C0#, 16#01C0#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0300#, 16#0300#, 16#0600#, 16#0300#, 16#0100#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#0180#, 16#00C0#, 16#0060#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#10F0#, 16#1FF8#, 16#0F08#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#); BMP_Font12x12 : constant array (0 .. 1151) of UInt16 := (16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#5000#, 16#5000#, 16#5000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0900#, 16#0900#, 16#1200#, 16#7f00#, 16#1200#, 16#7f00#, 16#1200#, 16#2400#, 16#2400#, 16#0000#, 16#0000#, 16#1000#, 16#3800#, 16#5400#, 16#5000#, 16#5000#, 16#3800#, 16#1400#, 16#5400#, 16#5400#, 16#3800#, 16#1000#, 16#0000#, 16#0000#, 16#3080#, 16#4900#, 16#4900#, 16#4a00#, 16#32c0#, 16#0520#, 16#0920#, 16#0920#, 16#10c0#, 16#0000#, 16#0000#, 16#0000#, 16#0c00#, 16#1200#, 16#1200#, 16#1400#, 16#1800#, 16#2500#, 16#2300#, 16#2300#, 16#1d80#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0800#, 16#1000#, 16#1000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#1000#, 16#1000#, 16#0000#, 16#4000#, 16#2000#, 16#2000#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#2000#, 16#2000#, 16#0000#, 16#2000#, 16#7000#, 16#2000#, 16#5000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0800#, 16#0800#, 16#7f00#, 16#0800#, 16#0800#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#2000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#1000#, 16#1000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#2800#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#2800#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#3000#, 16#5000#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#3000#, 16#4800#, 16#4400#, 16#0400#, 16#0800#, 16#1000#, 16#2000#, 16#4000#, 16#7c00#, 16#0000#, 16#0000#, 16#0000#, 16#3000#, 16#4800#, 16#0400#, 16#0800#, 16#1000#, 16#0800#, 16#4400#, 16#4800#, 16#3000#, 16#0000#, 16#0000#, 16#0000#, 16#0800#, 16#1800#, 16#1800#, 16#2800#, 16#2800#, 16#4800#, 16#7c00#, 16#0800#, 16#0800#, 16#0000#, 16#0000#, 16#0000#, 16#3c00#, 16#2000#, 16#4000#, 16#7000#, 16#4800#, 16#0400#, 16#4400#, 16#4800#, 16#3000#, 16#0000#, 16#0000#, 16#0000#, 16#1800#, 16#2400#, 16#4000#, 16#5000#, 16#6800#, 16#4400#, 16#4400#, 16#2800#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#7c00#, 16#0400#, 16#0800#, 16#1000#, 16#1000#, 16#1000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#2800#, 16#4400#, 16#2800#, 16#1000#, 16#2800#, 16#4400#, 16#2800#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#2800#, 16#4400#, 16#4400#, 16#2c00#, 16#1400#, 16#0400#, 16#4800#, 16#3000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#2000#, 16#4000#, 16#0000#, 16#0000#, 16#0400#, 16#0800#, 16#3000#, 16#4000#, 16#3000#, 16#0800#, 16#0400#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7c00#, 16#0000#, 16#0000#, 16#7c00#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#2000#, 16#1800#, 16#0400#, 16#1800#, 16#2000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3800#, 16#6400#, 16#4400#, 16#0400#, 16#0800#, 16#1000#, 16#1000#, 16#0000#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#0f80#, 16#1040#, 16#2ea0#, 16#51a0#, 16#5120#, 16#5120#, 16#5120#, 16#5320#, 16#4dc0#, 16#2020#, 16#1040#, 16#0000#, 16#0800#, 16#1400#, 16#1400#, 16#1400#, 16#2200#, 16#3e00#, 16#2200#, 16#4100#, 16#4100#, 16#0000#, 16#0000#, 16#0000#, 16#3c00#, 16#2200#, 16#2200#, 16#2200#, 16#3c00#, 16#2200#, 16#2200#, 16#2200#, 16#3c00#, 16#0000#, 16#0000#, 16#0000#, 16#0e00#, 16#1100#, 16#2100#, 16#2000#, 16#2000#, 16#2000#, 16#2100#, 16#1100#, 16#0e00#, 16#0000#, 16#0000#, 16#0000#, 16#3c00#, 16#2200#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2200#, 16#3c00#, 16#0000#, 16#0000#, 16#0000#, 16#3e00#, 16#2000#, 16#2000#, 16#2000#, 16#3e00#, 16#2000#, 16#2000#, 16#2000#, 16#3e00#, 16#0000#, 16#0000#, 16#0000#, 16#3e00#, 16#2000#, 16#2000#, 16#2000#, 16#3c00#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0e00#, 16#1100#, 16#2100#, 16#2000#, 16#2700#, 16#2100#, 16#2100#, 16#1100#, 16#0e00#, 16#0000#, 16#0000#, 16#0000#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#3f00#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#4800#, 16#4800#, 16#3000#, 16#0000#, 16#0000#, 16#0000#, 16#2200#, 16#2400#, 16#2800#, 16#2800#, 16#3800#, 16#2800#, 16#2400#, 16#2400#, 16#2200#, 16#0000#, 16#0000#, 16#0000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#3e00#, 16#0000#, 16#0000#, 16#0000#, 16#2080#, 16#3180#, 16#3180#, 16#3180#, 16#2a80#, 16#2a80#, 16#2a80#, 16#2a80#, 16#2480#, 16#0000#, 16#0000#, 16#0000#, 16#2100#, 16#3100#, 16#3100#, 16#2900#, 16#2900#, 16#2500#, 16#2300#, 16#2300#, 16#2100#, 16#0000#, 16#0000#, 16#0000#, 16#0c00#, 16#1200#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#1200#, 16#0c00#, 16#0000#, 16#0000#, 16#0000#, 16#3c00#, 16#2200#, 16#2200#, 16#2200#, 16#3c00#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0c00#, 16#1200#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#1600#, 16#0d00#, 16#0100#, 16#0000#, 16#0000#, 16#3e00#, 16#2100#, 16#2100#, 16#2100#, 16#3e00#, 16#2400#, 16#2200#, 16#2100#, 16#2080#, 16#0000#, 16#0000#, 16#0000#, 16#1c00#, 16#2200#, 16#2200#, 16#2000#, 16#1c00#, 16#0200#, 16#2200#, 16#2200#, 16#1c00#, 16#0000#, 16#0000#, 16#0000#, 16#3e00#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0000#, 16#0000#, 16#0000#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#2100#, 16#1200#, 16#0c00#, 16#0000#, 16#0000#, 16#0000#, 16#4100#, 16#4100#, 16#2200#, 16#2200#, 16#2200#, 16#1400#, 16#1400#, 16#1400#, 16#0800#, 16#0000#, 16#0000#, 16#0000#, 16#4440#, 16#4a40#, 16#2a40#, 16#2a80#, 16#2a80#, 16#2a80#, 16#2a80#, 16#2a80#, 16#1100#, 16#0000#, 16#0000#, 16#0000#, 16#4100#, 16#2200#, 16#1400#, 16#1400#, 16#0800#, 16#1400#, 16#1400#, 16#2200#, 16#4100#, 16#0000#, 16#0000#, 16#0000#, 16#4100#, 16#2200#, 16#2200#, 16#1400#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0800#, 16#0000#, 16#0000#, 16#0000#, 16#7e00#, 16#0200#, 16#0400#, 16#0800#, 16#1000#, 16#1000#, 16#2000#, 16#4000#, 16#7e00#, 16#0000#, 16#0000#, 16#0000#, 16#3000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#4000#, 16#4000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#1000#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#6000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#1000#, 16#2800#, 16#2800#, 16#2800#, 16#4400#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7e00#, 16#4000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3800#, 16#4400#, 16#0400#, 16#3c00#, 16#4400#, 16#4400#, 16#3c00#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#4000#, 16#5800#, 16#6400#, 16#4400#, 16#4400#, 16#4400#, 16#6400#, 16#5800#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3000#, 16#4800#, 16#4000#, 16#4000#, 16#4000#, 16#4800#, 16#3000#, 16#0000#, 16#0000#, 16#0000#, 16#0400#, 16#0400#, 16#3400#, 16#4c00#, 16#4400#, 16#4400#, 16#4400#, 16#4c00#, 16#3400#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3800#, 16#4400#, 16#4400#, 16#7c00#, 16#4000#, 16#4400#, 16#3800#, 16#0000#, 16#0000#, 16#0000#, 16#6000#, 16#4000#, 16#e000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3400#, 16#4c00#, 16#4400#, 16#4400#, 16#4400#, 16#4c00#, 16#3400#, 16#0400#, 16#4400#, 16#0000#, 16#4000#, 16#4000#, 16#5800#, 16#6400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#0000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#0000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#0000#, 16#4000#, 16#4000#, 16#4800#, 16#5000#, 16#6000#, 16#5000#, 16#5000#, 16#4800#, 16#4800#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#5200#, 16#6d00#, 16#4900#, 16#4900#, 16#4900#, 16#4900#, 16#4900#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#5800#, 16#6400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3800#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#3800#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#5800#, 16#6400#, 16#4400#, 16#4400#, 16#4400#, 16#6400#, 16#5800#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#3400#, 16#4c00#, 16#4400#, 16#4400#, 16#4400#, 16#4c00#, 16#3400#, 16#0400#, 16#0400#, 16#0000#, 16#0000#, 16#0000#, 16#5000#, 16#6000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#3000#, 16#4800#, 16#4000#, 16#3000#, 16#0800#, 16#4800#, 16#3000#, 16#0000#, 16#0000#, 16#0000#, 16#4000#, 16#4000#, 16#e000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#4000#, 16#6000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#4400#, 16#4c00#, 16#3400#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#4400#, 16#4400#, 16#2800#, 16#2800#, 16#2800#, 16#2800#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#4900#, 16#4900#, 16#5500#, 16#5500#, 16#5500#, 16#5500#, 16#2200#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#4400#, 16#2800#, 16#2800#, 16#1000#, 16#2800#, 16#2800#, 16#4400#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#4400#, 16#4400#, 16#2800#, 16#2800#, 16#2800#, 16#1000#, 16#1000#, 16#1000#, 16#1000#, 16#0000#, 16#0000#, 16#0000#, 16#7800#, 16#0800#, 16#1000#, 16#2000#, 16#2000#, 16#4000#, 16#7800#, 16#0000#, 16#0000#, 16#0000#, 16#1000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#4000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#4000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#1000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#2000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7400#, 16#5800#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#0000#, 16#7000#, 16#5000#, 16#5000#, 16#5000#, 16#5000#, 16#5000#, 16#5000#, 16#7000#, 16#0000#, 16#0000#); BMP_Font8x8 : constant array (0 .. 767) of UInt8 := (16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#40#, 16#40#, 16#40#, 16#40#, 16#40#, 16#40#, 16#00#, 16#40#, 16#a0#, 16#a0#, 16#a0#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#24#, 16#24#, 16#fe#, 16#48#, 16#fc#, 16#48#, 16#48#, 16#38#, 16#54#, 16#50#, 16#38#, 16#14#, 16#14#, 16#54#, 16#38#, 16#44#, 16#a8#, 16#a8#, 16#50#, 16#14#, 16#1a#, 16#2a#, 16#24#, 16#10#, 16#28#, 16#28#, 16#10#, 16#74#, 16#4c#, 16#4c#, 16#30#, 16#10#, 16#10#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#08#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#08#, 16#10#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#10#, 16#00#, 16#00#, 16#24#, 16#18#, 16#3c#, 16#18#, 16#24#, 16#00#, 16#00#, 16#00#, 16#10#, 16#10#, 16#7c#, 16#10#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#08#, 16#08#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#3c#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#18#, 16#18#, 16#08#, 16#08#, 16#08#, 16#10#, 16#10#, 16#20#, 16#20#, 16#20#, 16#18#, 16#24#, 16#24#, 16#24#, 16#24#, 16#24#, 16#24#, 16#18#, 16#08#, 16#18#, 16#28#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#38#, 16#44#, 16#00#, 16#04#, 16#08#, 16#10#, 16#20#, 16#7c#, 16#18#, 16#24#, 16#04#, 16#18#, 16#04#, 16#04#, 16#24#, 16#18#, 16#04#, 16#0c#, 16#14#, 16#24#, 16#44#, 16#7e#, 16#04#, 16#04#, 16#3c#, 16#20#, 16#20#, 16#38#, 16#04#, 16#04#, 16#24#, 16#18#, 16#18#, 16#24#, 16#20#, 16#38#, 16#24#, 16#24#, 16#24#, 16#18#, 16#3c#, 16#04#, 16#08#, 16#08#, 16#08#, 16#10#, 16#10#, 16#10#, 16#18#, 16#24#, 16#24#, 16#18#, 16#24#, 16#24#, 16#24#, 16#18#, 16#18#, 16#24#, 16#24#, 16#24#, 16#1c#, 16#04#, 16#24#, 16#18#, 16#00#, 16#00#, 16#10#, 16#00#, 16#00#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#08#, 16#00#, 16#00#, 16#08#, 16#10#, 16#00#, 16#00#, 16#00#, 16#04#, 16#18#, 16#20#, 16#18#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#3c#, 16#00#, 16#3c#, 16#00#, 16#00#, 16#00#, 16#00#, 16#20#, 16#18#, 16#04#, 16#18#, 16#20#, 16#00#, 16#18#, 16#24#, 16#04#, 16#08#, 16#10#, 16#10#, 16#00#, 16#10#, 16#3c#, 16#42#, 16#99#, 16#a5#, 16#a5#, 16#9d#, 16#42#, 16#38#, 16#38#, 16#44#, 16#44#, 16#44#, 16#7c#, 16#44#, 16#44#, 16#44#, 16#78#, 16#44#, 16#44#, 16#78#, 16#44#, 16#44#, 16#44#, 16#78#, 16#1c#, 16#22#, 16#42#, 16#40#, 16#40#, 16#42#, 16#22#, 16#1c#, 16#70#, 16#48#, 16#44#, 16#44#, 16#44#, 16#44#, 16#48#, 16#70#, 16#7c#, 16#40#, 16#40#, 16#7c#, 16#40#, 16#40#, 16#40#, 16#7c#, 16#3c#, 16#20#, 16#20#, 16#38#, 16#20#, 16#20#, 16#20#, 16#20#, 16#1c#, 16#22#, 16#42#, 16#40#, 16#4e#, 16#42#, 16#22#, 16#1c#, 16#44#, 16#44#, 16#44#, 16#7c#, 16#44#, 16#44#, 16#44#, 16#44#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#04#, 16#04#, 16#04#, 16#04#, 16#04#, 16#24#, 16#24#, 16#18#, 16#44#, 16#48#, 16#50#, 16#70#, 16#50#, 16#48#, 16#48#, 16#44#, 16#20#, 16#20#, 16#20#, 16#20#, 16#20#, 16#20#, 16#20#, 16#3c#, 16#82#, 16#c6#, 16#c6#, 16#aa#, 16#aa#, 16#aa#, 16#aa#, 16#92#, 16#42#, 16#62#, 16#52#, 16#52#, 16#4a#, 16#4a#, 16#46#, 16#42#, 16#18#, 16#24#, 16#42#, 16#42#, 16#42#, 16#42#, 16#24#, 16#18#, 16#78#, 16#44#, 16#44#, 16#44#, 16#78#, 16#40#, 16#40#, 16#40#, 16#18#, 16#24#, 16#42#, 16#42#, 16#42#, 16#42#, 16#2c#, 16#1a#, 16#78#, 16#44#, 16#44#, 16#78#, 16#50#, 16#48#, 16#44#, 16#42#, 16#38#, 16#44#, 16#40#, 16#38#, 16#04#, 16#44#, 16#44#, 16#38#, 16#7c#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#42#, 16#42#, 16#42#, 16#42#, 16#42#, 16#42#, 16#24#, 16#18#, 16#44#, 16#44#, 16#28#, 16#28#, 16#28#, 16#28#, 16#28#, 16#10#, 16#92#, 16#aa#, 16#aa#, 16#aa#, 16#aa#, 16#aa#, 16#aa#, 16#44#, 16#42#, 16#24#, 16#24#, 16#18#, 16#18#, 16#24#, 16#24#, 16#42#, 16#44#, 16#28#, 16#28#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#7c#, 16#04#, 16#08#, 16#10#, 16#10#, 16#20#, 16#40#, 16#7c#, 16#1c#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#1c#, 16#10#, 16#10#, 16#08#, 16#08#, 16#08#, 16#08#, 16#04#, 16#04#, 16#1c#, 16#04#, 16#04#, 16#04#, 16#04#, 16#04#, 16#04#, 16#1c#, 16#10#, 16#28#, 16#44#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#20#, 16#10#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#18#, 16#04#, 16#1c#, 16#24#, 16#24#, 16#1c#, 16#20#, 16#20#, 16#28#, 16#34#, 16#24#, 16#24#, 16#34#, 16#28#, 16#00#, 16#00#, 16#18#, 16#24#, 16#20#, 16#20#, 16#24#, 16#18#, 16#04#, 16#04#, 16#14#, 16#2c#, 16#24#, 16#24#, 16#2c#, 16#14#, 16#00#, 16#00#, 16#18#, 16#24#, 16#3c#, 16#20#, 16#24#, 16#18#, 16#00#, 16#18#, 16#10#, 16#10#, 16#18#, 16#10#, 16#10#, 16#10#, 16#00#, 16#18#, 16#24#, 16#24#, 16#18#, 16#04#, 16#24#, 16#18#, 16#20#, 16#20#, 16#28#, 16#34#, 16#24#, 16#24#, 16#24#, 16#24#, 16#10#, 16#00#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#08#, 16#00#, 16#08#, 16#08#, 16#08#, 16#08#, 16#28#, 16#10#, 16#20#, 16#20#, 16#24#, 16#28#, 16#30#, 16#28#, 16#24#, 16#24#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#00#, 16#00#, 16#a6#, 16#da#, 16#92#, 16#92#, 16#92#, 16#92#, 16#00#, 16#00#, 16#28#, 16#34#, 16#24#, 16#24#, 16#24#, 16#24#, 16#00#, 16#00#, 16#18#, 16#24#, 16#24#, 16#24#, 16#24#, 16#18#, 16#00#, 16#28#, 16#34#, 16#24#, 16#38#, 16#20#, 16#20#, 16#20#, 16#00#, 16#14#, 16#2c#, 16#24#, 16#1c#, 16#04#, 16#04#, 16#04#, 16#00#, 16#00#, 16#2c#, 16#30#, 16#20#, 16#20#, 16#20#, 16#20#, 16#00#, 16#00#, 16#18#, 16#24#, 16#10#, 16#08#, 16#24#, 16#18#, 16#00#, 16#10#, 16#38#, 16#10#, 16#10#, 16#10#, 16#10#, 16#18#, 16#00#, 16#00#, 16#24#, 16#24#, 16#24#, 16#24#, 16#2c#, 16#14#, 16#00#, 16#00#, 16#44#, 16#44#, 16#28#, 16#28#, 16#28#, 16#10#, 16#00#, 16#00#, 16#92#, 16#aa#, 16#aa#, 16#aa#, 16#aa#, 16#44#, 16#00#, 16#00#, 16#44#, 16#28#, 16#10#, 16#10#, 16#28#, 16#44#, 16#00#, 16#28#, 16#28#, 16#28#, 16#10#, 16#10#, 16#10#, 16#10#, 16#00#, 16#00#, 16#3c#, 16#04#, 16#08#, 16#10#, 16#20#, 16#3c#, 16#00#, 16#08#, 16#10#, 16#10#, 16#20#, 16#10#, 16#10#, 16#08#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#00#, 16#10#, 16#08#, 16#08#, 16#04#, 16#08#, 16#08#, 16#10#, 16#00#, 16#00#, 16#00#, 16#60#, 16#92#, 16#0c#, 16#00#, 16#00#, 16#ff#, 16#ff#, 16#ff#, 16#ff#, 16#ff#, 16#ff#, 16#ff#, 16#ff#); ---------- -- Mask -- ---------- function Mask (Font : BMP_Font; Width_Offset : Natural) return UInt16 is begin case Font is when Font8x8 => return 2**(8 - Width_Offset); when Font12x12 => return 2**(16 - Width_Offset); when Font16x24 => return 2**Width_Offset; end case; end Mask; ---------- -- Data -- ---------- function Data (Font : BMP_Font; C : Character; Height_Offset : Natural) return UInt16 is Char_Num : constant Natural := Character'Pos (C); Char_Index : constant Natural := Char_Height (Font) * (if Char_Num >= 32 and then Char_Num <= 128 then Char_Num - 32 else Character'Pos ('?') - 32); begin case Font is when Font8x8 => return UInt16 (BMP_Font8x8 (Char_Index + Height_Offset)); when Font12x12 => return BMP_Font12x12 (Char_Index + Height_Offset); when Font16x24 => return BMP_Font16x24 (Char_Index + Height_Offset); end case; end Data; ----------------- -- Char_Height -- ----------------- function Char_Height (Font : BMP_Font) return Natural is begin case Font is when Font8x8 => return 8; when Font12x12 => return 12; when Font16x24 => return 24; end case; end Char_Height; ---------------- -- Char_Width -- ---------------- function Char_Width (Font : BMP_Font) return Natural is begin case Font is when Font8x8 => return 8; when Font12x12 => return 12; when Font16x24 => return 16; end case; end Char_Width; end BMP_Fonts;
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Ada.Containers.Vectors.Test_Data; with Ada.Containers.Vectors.Test_Data.Tests; package Goals.Test_Data.Tests.Goals_Container.Test_Data is -- begin read only type Test is new AUnit.Test_Fixtures.Test_Fixture -- end read only with null record; procedure Set_Up(Gnattest_T: in out Test); procedure Tear_Down(Gnattest_T: in out Test); -- begin read only package Gnattest_Data_Inst is new GNATtest_Generated.GNATtest_Standard.Goals .Goals_Container .Test_Data (Test); package Gnattest_Tests_Inst is new Gnattest_Data_Inst.Tests; type New_Test is new Gnattest_Tests_Inst.Test with null record; -- end read only procedure User_Set_Up(Gnattest_T: in out New_Test); procedure User_Tear_Down(Gnattest_T: in out New_Test); end Goals.Test_Data.Tests.Goals_Container.Test_Data;
-- Copyright 2014-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is -- The goal here is to have an array whose bounds are not -- known at compile time. BT : Bounded := New_Bounded (Low => 1, High => 3); begin Do_Nothing (BT'Address); -- STOP end Foo;
------------------------------------------------------------------------------- -- package Gamma, Log of Gamma Function -- Copyright (C) 1995-2018 Jonathan S. Parker -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ------------------------------------------------------------------------------- -- package Gamma -- -- Natural logarithm of Gamma function for positive real arguments. -- -- Uses Stieltjes' Continued Fraction method arg > 14, and rational -- polynomial approximations for 0 < arg < 16. -- -- Meant to be good to better than 30 digits (if you can instantiate -- with a 30 digit Real). That's why the rational -- polynomial approximations are so complicated at x < 16, and -- why the order of the Stieltjes' Continued Fraction is so high. -- But ordinarily you use a 15 digit Real. generic type Real is digits <>; package Gamma is pragma Pure (Gamma); function Log_Gamma (x : in Real) return Real; -- For x > 0 only. Natural logarithm of Gamma function. -- -- Uses Stieltjes' Continued Fraction method above x=14. -- For 0 < x < 10 uses simplest rational approx. -- Probably good to a lot better than 32 digits. function Log_Gamma_0_to_16 (x : in Real) return Real; -- This is the part that uses a rational polynomial approx. -- Only good for 0 < x < 16 ! procedure Test_Stieltjes_Coefficients; private Real_Epsilon : constant Real := (+0.125) * Real'Epsilon; -- have to modify this if Real is abstract extended end Gamma;
----------------------------------------------------------------------- -- wiki-plugins-template -- Template Plugin -- Copyright (C) 2016, 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 Ada.Strings.Unbounded; with Wiki.Strings; -- === Template Plugins === -- The `Wiki.Plugins.Templates` package defines an abstract template plugin. -- To use the template plugin, the `Get_Template` procedure must be implemented. -- It is responsible for getting the template content according to the plugin parameters. -- package Wiki.Plugins.Templates is type Template_Plugin is abstract new Wiki_Plugin with null record; -- Get the template content for the plugin evaluation. procedure Get_Template (Plugin : in out Template_Plugin; Params : in out Wiki.Attributes.Attribute_List; Template : out Wiki.Strings.UString) is abstract; -- Expand the template configured with the parameters for the document. -- The <tt>Get_Template</tt> operation is called and the template content returned -- by that operation is parsed in the current document. Template parameters are passed -- in the <tt>Context</tt> instance and they can be evaluated within the template -- while parsing the template content. overriding procedure Expand (Plugin : in out Template_Plugin; Document : in out Wiki.Documents.Document; Params : in out Wiki.Attributes.Attribute_List; Context : in out Plugin_Context); type File_Template_Plugin is new Wiki_Plugin and Plugin_Factory with private; -- Find a plugin knowing its name. overriding function Find (Factory : in File_Template_Plugin; Name : in String) return Wiki_Plugin_Access; -- Set the directory path that contains template files. procedure Set_Template_Path (Plugin : in out File_Template_Plugin; Path : in String); -- Expand the template configured with the parameters for the document. -- Read the file whose basename correspond to the first parameter and parse that file -- in the current document. Template parameters are passed -- in the <tt>Context</tt> instance and they can be evaluated within the template -- while parsing the template content. overriding procedure Expand (Plugin : in out File_Template_Plugin; Document : in out Wiki.Documents.Document; Params : in out Wiki.Attributes.Attribute_List; Context : in out Plugin_Context); private type File_Template_Plugin is new Wiki_Plugin and Plugin_Factory with record Path : Ada.Strings.Unbounded.Unbounded_String; end record; end Wiki.Plugins.Templates;
------------------------------------------------------------------------------ -- -- -- Giza -- -- -- -- Copyright (C) 2016 Fabien Chouteau (chouteau@adacore.com) -- -- -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with Giza.Widget.Composite; use Giza.Widget.Composite; with Giza.Widget.Tiles; with Giza.Widget.Button; with Giza.Widget.Text; use Giza.Widget; package Giza.Widget.Keyboards is subtype Parent is Giza.Widget.Composite.Instance; type Instance is new Parent with private; subtype Class is Instance'Class; type Ref is access all Class; procedure On_Init (This : in out Instance); overriding procedure Draw (This : in out Instance; Ctx : in out Context.Class; Force : Boolean := True); overriding function On_Position_Event (This : in out Instance; Evt : Position_Event_Ref; Pos : Point_T) return Boolean; procedure Set_Max_Entry_Length (This : in out Instance; Len : Natural); function Get_Text (This : Instance) return String; private type Button_Type is (Btn_1, Btn_2, Btn_3, Btn_4, Btn_5, Btn_6, Btn_7, Btn_8, Btn_9, Btn_0, Btn_Q, Btn_W, Btn_E, Btn_R, Btn_T, Btn_Y, Btn_U, Btn_I, Btn_O, Btn_P, Btn_Caps, Btn_A, Btn_S, Btn_D, Btn_F, Btn_G, Btn_H, Btn_J, Btn_K, Btn_L, Btn_Nothing, Btn_Z, Btn_X, Btn_C, Btn_V, Btn_B, Btn_N, Btn_M, Btn_Del, Btn_Return, Btn_Special, Btn_Space, Btn_OK); type Button_Pos_Type is record Line, Row : Natural; end record; Button_To_Pos : constant array (Button_Type) of Button_Pos_Type := (Btn_1 => (1, 1), Btn_2 => (1, 2), Btn_3 => (1, 3), Btn_4 => (1, 4), Btn_5 => (1, 5), Btn_6 => (1, 6), Btn_7 => (1, 7), Btn_8 => (1, 8), Btn_9 => (1, 9), Btn_0 => (1, 10), Btn_Q => (2, 1), Btn_W => (2, 2), Btn_E => (2, 3), Btn_R => (2, 4), Btn_T => (2, 5), Btn_Y => (2, 6), Btn_U => (2, 7), Btn_I => (2, 8), Btn_O => (2, 9), Btn_P => (2, 10), Btn_Caps => (3, 1), Btn_A => (3, 2), Btn_S => (3, 3), Btn_D => (3, 4), Btn_F => (3, 5), Btn_G => (3, 6), Btn_H => (3, 7), Btn_J => (3, 8), Btn_K => (3, 9), Btn_L => (3, 10), Btn_Nothing => (4, 1), Btn_Z => (4, 2), Btn_X => (4, 3), Btn_C => (4, 4), Btn_V => (4, 5), Btn_B => (4, 6), Btn_N => (4, 7), Btn_M => (4, 8), Btn_Del => (4, 9), Btn_Return => (4, 10), Btn_Special => (5, 1), Btn_Space => (5, 2), Btn_OK => (5, 3)); type Tiles_10_Array is array (Integer range <>) of aliased Tiles.Instance (10, Tiles.Left_Right); type Gbutton_Array is array (Button_Type) of aliased Button.Instance; type Instance is new Parent with record Initialised : Boolean := False; Max_Text_Len : Natural := 100; Text_Display : aliased Text.Instance; Cursor : Natural; Root : aliased Tiles.Instance (5, Tiles.Top_Down); Lines : Tiles_10_Array (1 .. 4); Last_Line : aliased Tiles.Instance (3, Tiles.Left_Right); Buttons : Gbutton_Array; Caps : Boolean := False; Special : Boolean := False; end record; end Giza.Widget.Keyboards;
-- This package was generated by the Ada_Drivers_Library project wizard script package ADL_Config is Architecture : constant String := "ARM"; -- From board definition Board : constant String := "MicroBit"; -- From command line Boot_Memory : constant String := "flash"; -- From default value CPU_Core : constant String := "ARM Cortex-M0"; -- From mcu definition Device_Family : constant String := "nRF51"; -- From board definition Device_Name : constant String := "nRF51822xxAA"; -- From board definition Has_Custom_Memory_Area_1 : constant Boolean := False; -- From default value Has_Ravenscar_Full_Runtime : constant String := "False"; -- From board definition Has_Ravenscar_SFP_Runtime : constant String := "False"; -- From board definition Has_ZFP_Runtime : constant String := "True"; -- From board definition Max_Mount_Name_Length : constant := 128; -- From default value Max_Mount_Points : constant := 2; -- From default value Max_Path_Length : constant := 1024; -- From default value Number_Of_Interrupts : constant := 32; -- From MCU definition Runtime_Name : constant String := "zfp-cortex-m0"; -- From default value Runtime_Name_Suffix : constant String := "cortex-m0"; -- From board definition Runtime_Profile : constant String := "zfp"; -- From command line Use_Startup_Gen : constant Boolean := True; -- From command line Vendor : constant String := "Nordic"; -- From board definition end ADL_Config;
----------------------------------------------------------------------- -- servlet-server-tests - Unit tests for server requests -- Copyright (C) 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 Util.Test_Caller; with Util.Files; with Servlet.Tests; with Servlet.Core.Files; with Servlet.Core.Measures; with Servlet.Core.Tests; with Servlet.Filters.Dump; with Servlet.Requests.Mockup; with Servlet.Responses.Mockup; package body Servlet.Server.Tests is use Servlet.Tests; use Util.Tests; package Caller is new Util.Test_Caller (Test, "Server"); Except_Servlet : aliased Servlet.Core.Tests.Test_Servlet3; Upload : aliased Servlet.Core.Tests.Test_Servlet2; Files : aliased Servlet.Core.Files.File_Servlet; Dump : aliased Servlet.Filters.Dump.Dump_Filter; Measures : aliased Servlet.Core.Measures.Measure_Servlet; All_Servlet : aliased Servlet.Core.Tests.Test_Servlet3; procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin Caller.Add_Test (Suite, "Test Servlet.Server.Service", Test_Service'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Service (GET)", Test_Get_File'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Service (GET 404)", Test_Get_404'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Service (POST)", Test_Post_File_Error'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Service (POST)", Test_Post_Content'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Service (GET measures)", Test_Get_Measures'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Service (GET with exception)", Test_Get_With_Exception'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Register_Application", Test_Register_Remove_Application'Access); Caller.Add_Test (Suite, "Test Servlet.Server.Register_Application (all)", Test_Register_Application'Access); end Add_Tests; -- ------------------------------ -- Initialize the test. -- ------------------------------ overriding procedure Set_Up (T : in out Test) is pragma Unreferenced (T); use type Servlet.Core.Servlet_Registry_Access; App : Servlet.Core.Servlet_Registry_Access; begin if Servlet.Tests.Get_Application = null then Servlet.Tests.Initialize (Util.Tests.Get_Properties); App := Servlet.Tests.Get_Application; App.Add_Servlet ("Except", Except_Servlet'Access); App.Add_Mapping ("*.exc", "Except"); -- Register the servlets and filters App.Add_Servlet (Name => "files", Server => Files'Access); App.Add_Servlet (Name => "measures", Server => Measures'Access); App.Add_Filter (Name => "dump", Filter => Dump'Access); App.Add_Filter (Name => "measures", Filter => Servlet.Filters.Filter'Class (Measures)'Access); App.Add_Servlet ("Upload", Upload'Access); App.Add_Mapping ("*.upload", "Upload"); -- Define servlet mappings App.Add_Mapping (Name => "files", Pattern => "*.css"); App.Add_Mapping (Name => "files", Pattern => "*.js"); App.Add_Mapping (Name => "files", Pattern => "*.html"); App.Add_Mapping (Name => "files", Pattern => "*.txt"); App.Add_Mapping (Name => "files", Pattern => "*.png"); App.Add_Mapping (Name => "files", Pattern => "*.jpg"); App.Add_Mapping (Name => "files", Pattern => "*.gif"); App.Add_Mapping (Name => "files", Pattern => "*.pdf"); App.Add_Mapping (Name => "files", Pattern => "*.properties"); App.Add_Mapping (Name => "files", Pattern => "*.xhtml"); App.Add_Mapping (Name => "measures", Pattern => "stats.xml"); App.Add_Filter_Mapping (Name => "measures", Pattern => "*"); App.Add_Filter_Mapping (Name => "measures", Pattern => "/ajax/*"); App.Add_Filter_Mapping (Name => "measures", Pattern => "*.html"); App.Add_Filter_Mapping (Name => "measures", Pattern => "*.xhtml"); App.Add_Filter_Mapping (Name => "dump", Pattern => "*.html"); App.Add_Filter_Mapping (Name => "dump", Pattern => "*.css"); App.Add_Filter_Mapping (Name => "dump", Pattern => "/ajax/*"); end if; Servlet.Tests.Get_Application.Start; end Set_Up; -- ------------------------------ -- Test the Service procedure. -- ------------------------------ procedure Test_Service (T : in out Test) is Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin Request.Set_Method (Method => "GET"); Request.Set_Request_URI (URI => "tst", Split => True); Request.Set_Protocol (Protocol => "HTTP/1.1"); Servlet.Tests.Get_Server.Service (Request, Reply); Assert_Equals (T, Servlet.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid response"); Assert_Matches (T, ".*servlet.error.status_code.*404.*", Reply, "Invalid 404 page returned", Status => Servlet.Responses.SC_NOT_FOUND); end Test_Service; -- ------------------------------ -- Test a GET request on a static file served by the File_Servlet. -- ------------------------------ procedure Test_Get_404 (T : in out Test) is Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin Do_Get (Request, Reply, "/file-does-not-exist.txt", "test-404.html"); Assert_Equals (T, Servlet.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid response"); Assert_Matches (T, ".*servlet.error.status_code.*404.*", Reply, "Invalid 404 page returned", Status => Servlet.Responses.SC_NOT_FOUND); Do_Get (Request, Reply, "/file-does-not-exist.js", "test-404.html"); Assert_Equals (T, Servlet.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid response"); Assert_Matches (T, ".*servlet.error.status_code.*404.*", Reply, "Invalid 404 page returned", Status => Servlet.Responses.SC_NOT_FOUND); end Test_Get_404; -- ------------------------------ -- Test a GET request on a static file served by the File_Servlet. -- ------------------------------ procedure Test_Get_File (T : in out Test) is Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin Do_Get (Request, Reply, "/tests/file.txt", "get-file.txt"); Assert_Contains (T, "A plain text file.", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/plain", Reply, "Content-Type"); Do_Get (Request, Reply, "/tests/file.html", "get-file-set.html"); Assert_Matches (T, "<html></html>", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/html", Reply, "Content-Type"); Do_Get (Request, Reply, "/tests/file.js", "get-file.js"); Assert_Matches (T, "^\s*var n = 0;.*", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/javascript", Reply, "Content-Type"); Do_Get (Request, Reply, "/tests/file.css", "get-file.css"); Assert_Matches (T, "^\s*div { margin: 0 }.*", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/css", Reply, "Content-Type"); end Test_Get_File; -- ------------------------------ -- Test a GET request on the measure servlet -- ------------------------------ procedure Test_Get_Measures (T : in out Test) is Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin Do_Get (Request, Reply, "/stats.xml", "stats.xml"); -- We must get at least one measure value (assuming the Test_Get_File test -- was executed). Assert_Matches (T, "<time count=""\d+"" time=""\d+.\d+ [um]s"" title="".*""/>", Reply, "Wrong content"); end Test_Get_Measures; -- ------------------------------ -- Test a POST on a file served by the File_Servlet. -- ------------------------------ procedure Test_Post_File_Error (T : in out Test) is Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin Do_Post (Request, Reply, "/tests/file.css", "post-file.css"); Assert_Header (T, "Content-Type", "text/html", Reply, "Content-Type", Status => Servlet.Responses.SC_METHOD_NOT_ALLOWED); end Test_Post_File_Error; -- ------------------------------ -- Test a POST with a part file to a test servlet. -- ------------------------------ procedure Test_Post_Content (T : in out Test) is Path : constant String := Util.Tests.Get_Test_Path ("regtests/result/upload.txt"); Request : Servlet.Requests.Mockup.Part_Request (1); Reply : Servlet.Responses.Mockup.Response; begin Util.Files.Write_File (Path, "Some content"); Request.Set_Part (Position => 1, Name => "file.txt", Path => Path, Content_Type => "text/plain"); Do_Post (Request, Reply, "/tests/file.upload", "post-file.upload"); Assert_Header (T, "Content-Type", "text/plain", Reply, "Content-Type", Status => Servlet.Responses.SC_OK); end Test_Post_Content; -- ------------------------------ -- Test a GET request on servlet that raises an exception. -- ------------------------------ procedure Test_Get_With_Exception (T : in out Test) is Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin Except_Servlet.Raise_Exception := True; Do_Get (Request, Reply, "/exception-raised.exc", "exception-raised.exc"); Assert_Header (T, "Content-Type", "text/html", Reply, "Content-Type", Status => Servlet.Responses.SC_INTERNAL_SERVER_ERROR); Assert_Matches (T, ".*CONSTRAINT_ERROR.*", Reply, "No exception reported", Status => Servlet.Responses.SC_INTERNAL_SERVER_ERROR); end Test_Get_With_Exception; -- ------------------------------ -- Test a Register_Application and Remove_Application. -- ------------------------------ procedure Test_Register_Remove_Application (T : in out Test) is App1 : aliased Servlet.Core.Servlet_Registry; begin Servlet.Tests.Get_Server.Register_Application ("my-app", App1'Unchecked_Access); T.Test_Get_File; for I in 1 .. 2 loop Servlet.Tests.Get_Server.Remove_Application (App1'Unchecked_Access); T.Test_Get_File; end loop; exception when others => Servlet.Tests.Get_Server.Remove_Application (App1'Unchecked_Access); raise; end Test_Register_Remove_Application; -- ------------------------------ -- Test a Register_Application and Remove_Application. -- ------------------------------ procedure Test_Register_Application (T : in out Test) is App1 : aliased Servlet.Core.Servlet_Registry; Request : Servlet.Requests.Mockup.Request; Reply : Servlet.Responses.Mockup.Response; begin App1.Add_Servlet ("all", All_Servlet'Access); App1.Add_Mapping ("/", "all"); App1.Add_Mapping ("/test", "all"); Servlet.Tests.Get_Server.Register_Application ("", App1'Unchecked_Access); Servlet.Tests.Get_Server.Start; Request.Set_Method (Method => "GET"); Request.Set_Request_URI (URI => "/test", Split => True); Request.Set_Protocol (Protocol => "HTTP/1.1"); Servlet.Tests.Get_Server.Service (Request, Reply); Assert_Equals (T, Servlet.Responses.SC_OK, Reply.Get_Status, "Invalid response"); T.Test_Get_File; Servlet.Tests.Get_Server.Remove_Application (App1'Unchecked_Access); end Test_Register_Application; end Servlet.Server.Tests;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- M D L L . F I L E S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Simple services used by GNATDLL to deal with Filename extension with Ada.Strings.Fixed; package body MDLL.Fil is use Ada; ------------- -- Get_Ext -- ------------- function Get_Ext (Filename : String) return String is use Strings.Fixed; I : constant Natural := Index (Filename, ".", Strings.Backward); begin if I = 0 then return ""; else return Filename (I .. Filename'Last); end if; end Get_Ext; ------------ -- Is_Ali -- ------------ function Is_Ali (Filename : String) return Boolean is begin return Get_Ext (Filename) = ".ali"; end Is_Ali; ------------ -- Is_Obj -- ------------ function Is_Obj (Filename : String) return Boolean is Ext : constant String := Get_Ext (Filename); begin return Ext = ".o" or else Ext = ".obj"; end Is_Obj; ------------ -- Ext_To -- ------------ function Ext_To (Filename : String; New_Ext : String := No_Ext) return String is use Strings.Fixed; I : constant Natural := Index (Filename, ".", Strings.Backward); begin if I = 0 then return Filename; else if New_Ext = "" then return Filename (Filename'First .. I - 1); else return Filename (Filename'First .. I - 1) & '.' & New_Ext; end if; end if; end Ext_To; end MDLL.Fil;
-- -- Copyright (c) 2007, 2008, 2010 Tero Koskinen <tero.koskinen@iki.fi> -- -- 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. -- with Ahven.AStrings; with Ada.Text_IO; package Ahven.Temporary_Output is Temporary_File_Error : exception; type Temporary_File is limited private; procedure Create_Temp (File : out Temporary_File); -- Create a new temporary file. Exception Temporary_File_Error -- is raised if the procedure cannot create a new temp file. function Get_Name (File : Temporary_File) return String; -- Return the name of the file. procedure Redirect_Output (To_File : in out Temporary_File); -- Redirect the standard output to the file. -- To_File must be opened using Create_Temp. procedure Restore_Output; -- Restore the standard output to its default settings. procedure Remove_Temp (File : in out Temporary_File); -- Remove the temporary file. File can be either open or closed. procedure Close_Temp (File : in out Temporary_File); -- Close the temporary file. private type Temporary_File is limited record Name : AStrings.Bounded_String; Handle : Ada.Text_IO.File_Type; end record; end Ahven.Temporary_Output;
-- Copyright 2017 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "Censys" type = "cert" function start() setratelimit(3) end function vertical(ctx, domain) local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c == nil or c.key == nil or c.key == "" or c.secret == nil or c.secret == "") then scrape(ctx, {url=scrapeurl(domain)}) return end apiquery(ctx, cfg, domain) end function apiquery(ctx, cfg, domain) local p = 1 while(true) do local resp local reqstr = domain .. "page: " .. p -- Check if the response data is in the graph database if (cfg.ttl ~= nil and cfg.ttl > 0) then resp = obtain_response(reqstr, cfg.ttl) end if (resp == nil or resp == "") then local body, err = json.encode({ query="parsed.names: " .. domain, page=p, fields={"parsed.names"}, }) if (err ~= nil and err ~= "") then return end resp, err = request(ctx, { method="POST", data=body, url=apiurl(), headers={['Content-Type']="application/json"}, id=cfg["credentials"].key, pass=cfg["credentials"].secret, }) if (err ~= nil and err ~= "") then return end if (cfg.ttl ~= nil and cfg.ttl > 0) then cache_response(reqstr, resp) end end local d = json.decode(resp) if (d == nil or d.status ~= "ok" or #(d.results) == 0) then return end for i, r in pairs(d.results) do for j, v in pairs(r["parsed.names"]) do sendnames(ctx, v) end end if d["metadata"].page >= d["metadata"].pages then return end checkratelimit() p = p + 1 end end function apiurl() return "https://www.censys.io/api/v1/search/certificates" end function scrapeurl(domain) return "https://www.censys.io/domain/" .. domain .. "/table" end function sendnames(ctx, content) local names = find(content, subdomainre) if names == nil then return end local found = {} for i, v in pairs(names) do if found[v] == nil then newname(ctx, v) found[v] = true end end end
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . L I B M _ D O U B L E . S Q R T -- -- -- -- B o d y -- -- -- -- Copyright (C) 2014-2015, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the Ada Cert Math specific implementation of sqrt (powerpc) with Ada.Unchecked_Conversion; with System.Machine_Code; package body System.Libm_Double.Squareroot is function Rsqrt (X : Long_Float) return Long_Float; -- Compute the reciprocal square root. There are two reasons for computing -- the reciprocal square root instead of computing directly the square -- root: PowerPc provides an instruction (fsqrte) to compute an estimate of -- the reciprocal (with 5 bits of precision), and the Newton-Raphson method -- is more efficient on the reciprocal than on the direct root (because the -- direct root needs divisions, while the reciprocal does not). Note that -- PowerPc core e300 doesn't support the direct square root operation. ----------- -- Rsqrt -- ----------- function Rsqrt (X : Long_Float) return Long_Float is X_Half : constant Long_Float := X * 0.5; Y, Y1 : Long_Float; begin if Standard'Target_Name = "powerpc-elf" then -- On powerpc, the precision of fsqrte is at least 5 binary digits System.Machine_Code.Asm ("frsqrte %0,%1", Outputs => Long_Float'Asm_Output ("=f", Y), Inputs => Long_Float'Asm_Input ("f", X)); else -- Provide the exact result for 1.0 if X = 1.0 then return X; end if; -- Use the method described in Fast Inverse Square Root article by -- Chris Lomont (http://www.lomont.org/Math/Papers/2003/InvSqrt.pdf), -- although the code was known before that article. declare type Unsigned_Long is mod 2**64; function To_Unsigned_Long is new Ada.Unchecked_Conversion (Long_Float, Unsigned_Long); function From_Unsigned_Long is new Ada.Unchecked_Conversion (Unsigned_Long, Long_Float); U : Unsigned_Long; begin U := To_Unsigned_Long (X); U := 16#5fe6ec85_e7de30da# - (U / 2); Y := From_Unsigned_Long (U); -- Precision is about 4 digits end; end if; -- Newton iterations: X <- X - F(X)/F'(X) -- Here F(X) = 1/X^2 - A, so F'(X) = -2/X^3 -- So: X <- X - (1/X^2 - A) / (-2/X^3) -- <- X + .5(X - A*X^3) -- <- X + .5*X*(1 - A*X^2) -- <- X (1 + .5 - .5*A*X^2) -- <- X(1.5 - .5*A*X^2) -- Precision is doubled at each iteration. -- Refine: 10 digits (PowerPc) or 8 digits (fast method) Y := Y * (1.5 - X_Half * Y * Y); -- Refine: 20 digits (PowerPc) or 16 digits (fast method) Y := Y * (1.5 - X_Half * Y * Y); -- Refine: 40 digits (PowerPc) or 32 digits (fast method) Y := Y * (1.5 - X_Half * Y * Y); -- Refine (beyond the precision of Long_Float) Y1 := Y * (1.5 - X_Half * Y * Y); if Y = Y1 then return Y1; else Y := Y1; end if; -- Empirical tests show the above iterations are inadequate in some -- cases and that two more iterations are needed to converge. Other -- algorithms may need to be explored. ??? Y1 := Y * (1.5 - X_Half * Y * Y); if Y = Y1 then return Y1; else Y := Y1; end if; Y := Y * (1.5 - X_Half * Y * Y); -- This algorithm doesn't always provide exact results. For example, -- Sqrt (25.0) /= 5.0 exactly (it's wrong in the last bit). return Y; end Rsqrt; ---------- -- Sqrt -- ---------- function Sqrt (X : Long_Float) return Long_Float is begin if X <= 0.0 then if X = 0.0 then return X; else return NaN; end if; elsif not Long_Float'Machine_Overflows and then X = Infinity then -- Note that if Machine_Overflow is True Infinity won't return. -- But in that case, we can assume that X is not infinity. return X; else return X * Rsqrt (X); end if; end Sqrt; end System.Libm_Double.Squareroot;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 2 9 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_29 is subtype Bit_Order is System.Bit_Order; Reverse_Bit_Order : constant Bit_Order := Bit_Order'Val (1 - Bit_Order'Pos (System.Default_Bit_Order)); subtype Ofs is System.Storage_Elements.Storage_Offset; subtype Uns is System.Unsigned_Types.Unsigned; subtype N07 is System.Unsigned_Types.Unsigned range 0 .. 7; use type System.Storage_Elements.Storage_Offset; use type System.Unsigned_Types.Unsigned; type Cluster is record E0, E1, E2, E3, E4, E5, E6, E7 : Bits_29; end record; for Cluster use record E0 at 0 range 0 * Bits .. 0 * Bits + Bits - 1; E1 at 0 range 1 * Bits .. 1 * Bits + Bits - 1; E2 at 0 range 2 * Bits .. 2 * Bits + Bits - 1; E3 at 0 range 3 * Bits .. 3 * Bits + Bits - 1; E4 at 0 range 4 * Bits .. 4 * Bits + Bits - 1; E5 at 0 range 5 * Bits .. 5 * Bits + Bits - 1; E6 at 0 range 6 * Bits .. 6 * Bits + Bits - 1; E7 at 0 range 7 * Bits .. 7 * Bits + Bits - 1; end record; for Cluster'Size use Bits * 8; for Cluster'Alignment use Integer'Min (Standard'Maximum_Alignment, 1 + 1 * Boolean'Pos (Bits mod 2 = 0) + 2 * Boolean'Pos (Bits mod 4 = 0)); -- Use maximum possible alignment, given the bit field size, since this -- will result in the most efficient code possible for the field. type Cluster_Ref is access Cluster; type Rev_Cluster is new Cluster with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_Cluster_Ref is access Rev_Cluster; ------------ -- Get_29 -- ------------ function Get_29 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_29 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end Get_29; ------------ -- Set_29 -- ------------ procedure Set_29 (Arr : System.Address; N : Natural; E : Bits_29; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end Set_29; end System.Pack_29;
with System.Storage_Elements; package body Ada.Command_Line.Argument_Parsing is use type System.Address; use type System.Storage_Elements.Storage_Offset; function memchr ( s : System.Address; c : Integer; n : System.Storage_Elements.Storage_Count) return System.Address with Import, Convention => Intrinsic, External_Name => "__builtin_memchr"; procedure unreachable with Import, Convention => Intrinsic, External_Name => "__builtin_unreachable"; pragma No_Return (unreachable); function Match ( Argument : String; Position : aliased in out Cursor; Short_Name : Character; Option : Option_Character := ' ') return Boolean; function Match ( Argument : String; Position : aliased in out Cursor; Short_Name : Character; Option : Option_Character := ' ') return Boolean is begin if Argument (Position.Index) = Short_Name then case Option is when ' ' => return True; when ':' | '?' => if Position.Index = Argument'First + 1 then Position.Option_Index := Position.Index + 1; if Option = ':' or else Position.Option_Index <= Argument'Last then Position.Has_Value := True; end if; return True; else return False; end if; end case; else return False; end if; end Match; function Match ( Argument : String; Position : aliased in out Cursor; Long_Name : String; Option : Option_Character := ' ') return Boolean; function Match ( Argument : String; Position : aliased in out Cursor; Long_Name : String; Option : Option_Character := ' ') return Boolean is begin if Argument (Position.Index .. Position.Option_Index - 2) = Long_Name then case Option is when ' ' => return Position.Option_Index - 2 = Argument'Last; when ':' | '?' => if Option = ':' or else Position.Option_Index - 1 <= Argument'Last then Position.Has_Value := True; end if; return True; end case; else return False; end if; end Match; -- implementation function Has_Element (Position : Cursor) return Boolean is begin return Position.Index > 0; end Has_Element; function Iterate (Argument : String; Initial_State : State_Type) return Argument_Iterator is First : Cursor; begin First.State := Initial_State; First.Has_Value := False; if not Initial_State.Not_Option and then Argument'First + 1 <= Argument'Last -- "-" is not option and then Argument (Argument'First) = '-' then if Argument (Argument'First + 1) = '-' then if Argument'First + 1 = Argument'Last then First.State.Not_Option := True; First.Kind := Double_Hyphen; First.Index := 0; -- No_Element First.Option_Index := 0; else First.Kind := Long_Option; First.Index := Argument'First + 2; declare S : constant System.Address := Argument (First.Index)'Address; P : constant System.Address := memchr ( S, Character'Pos ('='), System.Storage_Elements.Storage_Offset ( Argument'Last - First.Index + 1)); begin if P = System.Null_Address then First.Option_Index := Argument'Last + 2; else First.Option_Index := First.Index + Integer (P - S + 1); end if; end; end if; else First.Kind := Short_Option; First.Index := Argument'First + 1; First.Option_Index := Argument'Last + 1; end if; else if First.State.Posixly_Correct then First.State.Not_Option := True; end if; First.Kind := Not_Option; First.Index := Argument'First; First.Option_Index := Argument'Last + 1; end if; return Argument_Iterator'(First => First); end Iterate; function State (Iterator : Argument_Iterator) return State_Type is begin return Iterator.First.State; end State; function Is_Option ( Argument : String; Position : aliased in out Cursor; Short_Name : Character; Option : Option_Character := ' ') return Boolean is begin case Position.Kind is when Short_Option => return Match (Argument, Position, Short_Name, Option); when others => return False; end case; end Is_Option; function Is_Option ( Argument : String; Position : aliased in out Cursor; Long_Name : String; Option : Option_Character := ' ') return Boolean is begin case Position.Kind is when Long_Option => return Match (Argument, Position, Long_Name, Option); when others => return False; end case; end Is_Option; function Is_Option ( Argument : String; Position : aliased in out Cursor; Short_Name : Character; Long_Name : String; Option : Option_Character := ' ') return Boolean is begin case Position.Kind is when Short_Option => return Match (Argument, Position, Short_Name, Option); when Long_Option => return Match (Argument, Position, Long_Name, Option); when others => return False; end case; end Is_Option; function Is_Unknown_Option ( Argument : String; Position : aliased in out Cursor) return Boolean is begin case Position.Kind is when Short_Option => return True; when Long_Option => if Position.Option_Index - 1 <= Argument'Last then Position.Has_Value := True; end if; return True; when others => return False; end case; end Is_Unknown_Option; function Name (Argument : String; Position : Cursor) return String is begin case Position.Kind is when Short_Option => return ('-', Argument (Position.Index)); when Long_Option => return Argument (Argument'First .. Position.Option_Index - 2); when others => pragma Check (Pre, Boolean'(raise Constraint_Error)); unreachable; end case; end Name; function Short_Name (Argument : String; Position : Cursor) return Character is begin case Position.Kind is when Short_Option => return Argument (Position.Index); when Long_Option => return Character'Val (0); when others => pragma Check (Pre, Boolean'(raise Constraint_Error)); unreachable; end case; end Short_Name; function Long_Name (Argument : String; Position : Cursor) return String is begin case Position.Kind is when Short_Option => return ""; when Long_Option => return Argument (Position.Index .. Position.Option_Index - 2); when others => pragma Check (Pre, Boolean'(raise Constraint_Error)); unreachable; end case; end Long_Name; function Has_Value (Argument : String; Position : Cursor) return Value_Location is begin case Position.Kind is when Short_Option => if Position.Has_Value then if Position.Option_Index <= Argument'Last then return Same; else return Next; end if; else return None; end if; when Long_Option => if Position.Has_Value then if Position.Option_Index - 1 <= Argument'Last then return Same; else return Next; end if; else return None; end if; when others => pragma Check (Pre, Boolean'(raise Constraint_Error)); unreachable; end case; end Has_Value; function Value (Argument : String; Position : Cursor) return String is begin case Position.Kind is when Short_Option | Long_Option => return Argument (Position.Option_Index .. Argument'Last); when others => pragma Check (Pre, Boolean'(raise Constraint_Error)); unreachable; end case; end Value; function First (Object : Argument_Iterator) return Cursor is begin return Object.First; end First; function Next (Object : Argument_Iterator; Position : Cursor) return Cursor is pragma Unreferenced (Object); begin case Position.Kind is when Short_Option => if Position.Index < Position.Option_Index - 1 then return Result : Cursor := Position do Result.Index := Result.Index + 1; end return; else return No_Element; end if; when others => return No_Element; end case; end Next; end Ada.Command_Line.Argument_Parsing;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>aes_main</name> <ret_bitwidth>32</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </ports> <nodes class_id="3" tracking_level="0" version="0"> <count>35</count> <item_version>0</item_version> <item class_id="4" tracking_level="1" version="0" object_id="_1"> <Value class_id="5" tracking_level="0" version="0"> <Obj class_id="6" tracking_level="0" version="0"> <type>0</type> <id>16</id> <name>0_write_ln84</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>84</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo class_id="7" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="8" tracking_level="0" version="0"> <first>G:\AES</first> <second class_id="9" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first class_id="11" tracking_level="0" version="0"> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>84</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>53</item> <item>56</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_2"> <Value> <Obj> <type>0</type> <id>17</id> <name>0_write_ln85</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>85</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>85</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>58</item> <item>61</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_3"> <Value> <Obj> <type>0</type> <id>18</id> <name>1_write_ln86</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>86</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>86</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>63</item> <item>66</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_4"> <Value> <Obj> <type>0</type> <id>19</id> <name>1_write_ln87</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>87</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>87</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>68</item> <item>71</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_5"> <Value> <Obj> <type>0</type> <id>20</id> <name>2_write_ln88</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>88</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>88</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>73</item> <item>76</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_6"> <Value> <Obj> <type>0</type> <id>21</id> <name>2_write_ln89</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>89</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>89</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>78</item> <item>81</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_7"> <Value> <Obj> <type>0</type> <id>22</id> <name>3_write_ln90</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>90</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>90</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>83</item> <item>86</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_8"> <Value> <Obj> <type>0</type> <id>23</id> <name>3_write_ln91</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>91</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>91</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>88</item> <item>91</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_9"> <Value> <Obj> <type>0</type> <id>24</id> <name>4_write_ln92</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>92</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>92</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>93</item> <item>96</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_10"> <Value> <Obj> <type>0</type> <id>25</id> <name>4_write_ln93</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>93</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>93</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>97</item> <item>100</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_11"> <Value> <Obj> <type>0</type> <id>26</id> <name>5_write_ln94</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>94</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>102</item> <item>105</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_12"> <Value> <Obj> <type>0</type> <id>27</id> <name>5_write_ln95</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>95</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>95</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>107</item> <item>110</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_13"> <Value> <Obj> <type>0</type> <id>28</id> <name>6_write_ln96</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>96</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>96</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>112</item> <item>115</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_14"> <Value> <Obj> <type>0</type> <id>29</id> <name>6_write_ln97</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>97</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>97</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>117</item> <item>120</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_15"> <Value> <Obj> <type>0</type> <id>30</id> <name>7_write_ln98</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>98</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>98</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>122</item> <item>125</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_16"> <Value> <Obj> <type>0</type> <id>31</id> <name>7_write_ln99</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>99</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>99</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>127</item> <item>130</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_17"> <Value> <Obj> <type>0</type> <id>32</id> <name>0_write_ln102</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>102</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>102</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>132</item> <item>135</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_18"> <Value> <Obj> <type>0</type> <id>33</id> <name>1_write_ln103</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>103</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>103</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>137</item> <item>140</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_19"> <Value> <Obj> <type>0</type> <id>34</id> <name>2_write_ln104</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>104</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>104</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>142</item> <item>145</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_20"> <Value> <Obj> <type>0</type> <id>35</id> <name>3_write_ln105</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>105</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>105</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>147</item> <item>150</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_21"> <Value> <Obj> <type>0</type> <id>36</id> <name>4_write_ln106</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>106</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>106</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>152</item> <item>155</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_22"> <Value> <Obj> <type>0</type> <id>37</id> <name>5_write_ln107</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>107</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>107</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>160</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_23"> <Value> <Obj> <type>0</type> <id>38</id> <name>6_write_ln108</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>108</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>108</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>162</item> <item>165</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_24"> <Value> <Obj> <type>0</type> <id>39</id> <name>7_write_ln109</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>109</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>109</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>167</item> <item>170</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_25"> <Value> <Obj> <type>0</type> <id>40</id> <name>8_write_ln110</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>110</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>110</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>172</item> <item>175</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_26"> <Value> <Obj> <type>0</type> <id>41</id> <name>9_write_ln111</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>111</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>111</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>177</item> <item>180</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_27"> <Value> <Obj> <type>0</type> <id>42</id> <name>10_write_ln112</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>112</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>112</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>181</item> <item>184</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_28"> <Value> <Obj> <type>0</type> <id>43</id> <name>11_write_ln113</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>113</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>113</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>185</item> <item>188</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_29"> <Value> <Obj> <type>0</type> <id>44</id> <name>12_write_ln114</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>114</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>114</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>190</item> <item>193</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_30"> <Value> <Obj> <type>0</type> <id>45</id> <name>13_write_ln115</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>115</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>115</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>195</item> <item>198</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_31"> <Value> <Obj> <type>0</type> <id>46</id> <name>14_write_ln116</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>116</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>116</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>200</item> <item>203</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_32"> <Value> <Obj> <type>0</type> <id>47</id> <name>15_write_ln117</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>117</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>117</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>205</item> <item>208</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_33"> <Value> <Obj> <type>0</type> <id>48</id> <name>_ln119</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>119</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>119</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>44</count> <item_version>0</item_version> <item>210</item> <item>211</item> <item>212</item> <item>213</item> <item>221</item> <item>222</item> <item>223</item> <item>224</item> <item>225</item> <item>226</item> <item>227</item> <item>228</item> <item>246</item> <item>247</item> <item>248</item> <item>249</item> <item>250</item> <item>251</item> <item>252</item> <item>253</item> <item>254</item> <item>255</item> <item>256</item> <item>257</item> <item>258</item> <item>259</item> <item>260</item> <item>261</item> <item>262</item> <item>263</item> <item>264</item> <item>265</item> <item>266</item> <item>267</item> <item>268</item> <item>269</item> <item>270</item> <item>271</item> <item>272</item> <item>273</item> <item>274</item> <item>275</item> <item>276</item> <item>277</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_34"> <Value> <Obj> <type>0</type> <id>49</id> <name>_ln120</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>120</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>120</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>16</count> <item_version>0</item_version> <item>215</item> <item>216</item> <item>217</item> <item>218</item> <item>229</item> <item>230</item> <item>231</item> <item>232</item> <item>233</item> <item>234</item> <item>235</item> <item>236</item> <item>237</item> <item>245</item> <item>278</item> <item>279</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="4" object_id="_35"> <Value> <Obj> <type>0</type> <id>50</id> <name>_ln121</name> <fileName>aes/aes.c</fileName> <fileDirectory>G:\AES</fileDirectory> <lineNumber>121</lineNumber> <contextFuncName>aes_main</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>G:\AES</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>aes/aes.c</first> <second>aes_main</second> </first> <second>121</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>220</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="13" tracking_level="0" version="0"> <count>64</count> <item_version>0</item_version> <item class_id="14" tracking_level="1" version="0" object_id="_36"> <Value> <Obj> <type>2</type> <id>52</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>50</content> </item> <item class_id_reference="14" object_id="_37"> <Value> <Obj> <type>2</type> <id>54</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>0</content> </item> <item class_id_reference="14" object_id="_38"> <Value> <Obj> <type>2</type> <id>57</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>67</content> </item> <item class_id_reference="14" object_id="_39"> <Value> <Obj> <type>2</type> <id>59</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>0</content> </item> <item class_id_reference="14" object_id="_40"> <Value> <Obj> <type>2</type> <id>62</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>246</content> </item> <item class_id_reference="14" object_id="_41"> <Value> <Obj> <type>2</type> <id>64</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>1</content> </item> <item class_id_reference="14" object_id="_42"> <Value> <Obj> <type>2</type> <id>67</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>168</content> </item> <item class_id_reference="14" object_id="_43"> <Value> <Obj> <type>2</type> <id>69</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>1</content> </item> <item class_id_reference="14" object_id="_44"> <Value> <Obj> <type>2</type> <id>72</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>136</content> </item> <item class_id_reference="14" object_id="_45"> <Value> <Obj> <type>2</type> <id>74</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>2</content> </item> <item class_id_reference="14" object_id="_46"> <Value> <Obj> <type>2</type> <id>77</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>90</content> </item> <item class_id_reference="14" object_id="_47"> <Value> <Obj> <type>2</type> <id>79</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>2</content> </item> <item class_id_reference="14" object_id="_48"> <Value> <Obj> <type>2</type> <id>82</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>48</content> </item> <item class_id_reference="14" object_id="_49"> <Value> <Obj> <type>2</type> <id>84</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>3</content> </item> <item class_id_reference="14" object_id="_50"> <Value> <Obj> <type>2</type> <id>87</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>141</content> </item> <item class_id_reference="14" object_id="_51"> <Value> <Obj> <type>2</type> <id>89</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>3</content> </item> <item class_id_reference="14" object_id="_52"> <Value> <Obj> <type>2</type> <id>92</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>49</content> </item> <item class_id_reference="14" object_id="_53"> <Value> <Obj> <type>2</type> <id>94</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>4</content> </item> <item class_id_reference="14" object_id="_54"> <Value> <Obj> <type>2</type> <id>98</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>4</content> </item> <item class_id_reference="14" object_id="_55"> <Value> <Obj> <type>2</type> <id>101</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>152</content> </item> <item class_id_reference="14" object_id="_56"> <Value> <Obj> <type>2</type> <id>103</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>5</content> </item> <item class_id_reference="14" object_id="_57"> <Value> <Obj> <type>2</type> <id>106</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>162</content> </item> <item class_id_reference="14" object_id="_58"> <Value> <Obj> <type>2</type> <id>108</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>5</content> </item> <item class_id_reference="14" object_id="_59"> <Value> <Obj> <type>2</type> <id>111</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>224</content> </item> <item class_id_reference="14" object_id="_60"> <Value> <Obj> <type>2</type> <id>113</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>6</content> </item> <item class_id_reference="14" object_id="_61"> <Value> <Obj> <type>2</type> <id>116</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>55</content> </item> <item class_id_reference="14" object_id="_62"> <Value> <Obj> <type>2</type> <id>118</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>6</content> </item> <item class_id_reference="14" object_id="_63"> <Value> <Obj> <type>2</type> <id>121</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>7</content> </item> <item class_id_reference="14" object_id="_64"> <Value> <Obj> <type>2</type> <id>123</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>7</content> </item> <item class_id_reference="14" object_id="_65"> <Value> <Obj> <type>2</type> <id>126</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>52</content> </item> <item class_id_reference="14" object_id="_66"> <Value> <Obj> <type>2</type> <id>128</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>7</content> </item> <item class_id_reference="14" object_id="_67"> <Value> <Obj> <type>2</type> <id>131</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>43</content> </item> <item class_id_reference="14" object_id="_68"> <Value> <Obj> <type>2</type> <id>133</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>0</content> </item> <item class_id_reference="14" object_id="_69"> <Value> <Obj> <type>2</type> <id>136</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>126</content> </item> <item class_id_reference="14" object_id="_70"> <Value> <Obj> <type>2</type> <id>138</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>1</content> </item> <item class_id_reference="14" object_id="_71"> <Value> <Obj> <type>2</type> <id>141</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>21</content> </item> <item class_id_reference="14" object_id="_72"> <Value> <Obj> <type>2</type> <id>143</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>2</content> </item> <item class_id_reference="14" object_id="_73"> <Value> <Obj> <type>2</type> <id>146</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>22</content> </item> <item class_id_reference="14" object_id="_74"> <Value> <Obj> <type>2</type> <id>148</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>3</content> </item> <item class_id_reference="14" object_id="_75"> <Value> <Obj> <type>2</type> <id>151</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>40</content> </item> <item class_id_reference="14" object_id="_76"> <Value> <Obj> <type>2</type> <id>153</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>4</content> </item> <item class_id_reference="14" object_id="_77"> <Value> <Obj> <type>2</type> <id>156</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>174</content> </item> <item class_id_reference="14" object_id="_78"> <Value> <Obj> <type>2</type> <id>158</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>5</content> </item> <item class_id_reference="14" object_id="_79"> <Value> <Obj> <type>2</type> <id>161</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>210</content> </item> <item class_id_reference="14" object_id="_80"> <Value> <Obj> <type>2</type> <id>163</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>6</content> </item> <item class_id_reference="14" object_id="_81"> <Value> <Obj> <type>2</type> <id>166</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>166</content> </item> <item class_id_reference="14" object_id="_82"> <Value> <Obj> <type>2</type> <id>168</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>7</content> </item> <item class_id_reference="14" object_id="_83"> <Value> <Obj> <type>2</type> <id>171</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>171</content> </item> <item class_id_reference="14" object_id="_84"> <Value> <Obj> <type>2</type> <id>173</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>8</content> </item> <item class_id_reference="14" object_id="_85"> <Value> <Obj> <type>2</type> <id>176</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>247</content> </item> <item class_id_reference="14" object_id="_86"> <Value> <Obj> <type>2</type> <id>178</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>9</content> </item> <item class_id_reference="14" object_id="_87"> <Value> <Obj> <type>2</type> <id>182</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>10</content> </item> <item class_id_reference="14" object_id="_88"> <Value> <Obj> <type>2</type> <id>186</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>11</content> </item> <item class_id_reference="14" object_id="_89"> <Value> <Obj> <type>2</type> <id>189</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>9</content> </item> <item class_id_reference="14" object_id="_90"> <Value> <Obj> <type>2</type> <id>191</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>12</content> </item> <item class_id_reference="14" object_id="_91"> <Value> <Obj> <type>2</type> <id>194</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>207</content> </item> <item class_id_reference="14" object_id="_92"> <Value> <Obj> <type>2</type> <id>196</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>13</content> </item> <item class_id_reference="14" object_id="_93"> <Value> <Obj> <type>2</type> <id>199</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>79</content> </item> <item class_id_reference="14" object_id="_94"> <Value> <Obj> <type>2</type> <id>201</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>14</content> </item> <item class_id_reference="14" object_id="_95"> <Value> <Obj> <type>2</type> <id>204</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>60</content> </item> <item class_id_reference="14" object_id="_96"> <Value> <Obj> <type>2</type> <id>206</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>3</const_type> <content>15</content> </item> <item class_id_reference="14" object_id="_97"> <Value> <Obj> <type>2</type> <id>209</id> <name>encrypt</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:encrypt&gt;</content> </item> <item class_id_reference="14" object_id="_98"> <Value> <Obj> <type>2</type> <id>214</id> <name>decrypt</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:decrypt&gt;</content> </item> <item class_id_reference="14" object_id="_99"> <Value> <Obj> <type>2</type> <id>219</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> </consts> <blocks class_id="15" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_100"> <Obj> <type>3</type> <id>51</id> <name>aes_main</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>35</count> <item_version>0</item_version> <item>16</item> <item>17</item> <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> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> </node_objs> </item> </blocks> <edges class_id="17" tracking_level="0" version="0"> <count>157</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_101"> <id>53</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_102"> <id>55</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_103"> <id>56</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_104"> <id>58</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_105"> <id>60</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_106"> <id>61</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_107"> <id>63</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_108"> <id>65</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_109"> <id>66</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_110"> <id>68</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_111"> <id>70</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_112"> <id>71</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_113"> <id>73</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_114"> <id>75</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_115"> <id>76</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_116"> <id>78</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_117"> <id>80</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_118"> <id>81</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_119"> <id>83</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_120"> <id>85</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_121"> <id>86</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_122"> <id>88</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_123"> <id>90</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_124"> <id>91</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_125"> <id>93</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_126"> <id>95</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_127"> <id>96</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_128"> <id>97</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_129"> <id>99</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_130"> <id>100</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_131"> <id>102</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_132"> <id>104</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_133"> <id>105</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_134"> <id>107</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_135"> <id>109</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_136"> <id>110</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_137"> <id>112</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_138"> <id>114</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_139"> <id>115</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_140"> <id>117</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_141"> <id>119</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_142"> <id>120</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_143"> <id>122</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_144"> <id>124</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>123</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_145"> <id>125</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_146"> <id>127</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_147"> <id>129</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>128</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_148"> <id>130</id> <edge_type>1</edge_type> <source_obj>128</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_149"> <id>132</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_150"> <id>134</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_151"> <id>135</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_152"> <id>137</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_153"> <id>139</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_154"> <id>140</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_155"> <id>142</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_156"> <id>144</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>143</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_157"> <id>145</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_158"> <id>147</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_159"> <id>149</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>148</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_160"> <id>150</id> <edge_type>1</edge_type> <source_obj>148</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_161"> <id>152</id> <edge_type>1</edge_type> <source_obj>151</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_162"> <id>154</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>153</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_163"> <id>155</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_164"> <id>157</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_165"> <id>159</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_166"> <id>160</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_167"> <id>162</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_168"> <id>164</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>163</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_169"> <id>165</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_170"> <id>167</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_171"> <id>169</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_172"> <id>170</id> <edge_type>1</edge_type> <source_obj>168</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_173"> <id>172</id> <edge_type>1</edge_type> <source_obj>171</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_174"> <id>174</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>173</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_175"> <id>175</id> <edge_type>1</edge_type> <source_obj>173</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_176"> <id>177</id> <edge_type>1</edge_type> <source_obj>176</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_177"> <id>179</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>178</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_178"> <id>180</id> <edge_type>1</edge_type> <source_obj>178</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_179"> <id>181</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_180"> <id>183</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>182</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_181"> <id>184</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_182"> <id>185</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_183"> <id>187</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>186</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_184"> <id>188</id> <edge_type>1</edge_type> <source_obj>186</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_185"> <id>190</id> <edge_type>1</edge_type> <source_obj>189</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_186"> <id>192</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>191</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_187"> <id>193</id> <edge_type>1</edge_type> <source_obj>191</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_188"> <id>195</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_189"> <id>197</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>196</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_190"> <id>198</id> <edge_type>1</edge_type> <source_obj>196</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_191"> <id>200</id> <edge_type>1</edge_type> <source_obj>199</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_192"> <id>202</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>201</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_193"> <id>203</id> <edge_type>1</edge_type> <source_obj>201</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_194"> <id>205</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_195"> <id>207</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>206</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_196"> <id>208</id> <edge_type>1</edge_type> <source_obj>206</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_197"> <id>210</id> <edge_type>1</edge_type> <source_obj>209</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_198"> <id>211</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_199"> <id>212</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_200"> <id>213</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_201"> <id>215</id> <edge_type>1</edge_type> <source_obj>214</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_202"> <id>216</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_203"> <id>217</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_204"> <id>218</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_205"> <id>220</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_206"> <id>221</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_207"> <id>222</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_208"> <id>223</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_209"> <id>224</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_210"> <id>225</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_211"> <id>226</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_212"> <id>227</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_213"> <id>228</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_214"> <id>229</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_215"> <id>230</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_216"> <id>231</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_217"> <id>232</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_218"> <id>233</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_219"> <id>234</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_220"> <id>235</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_221"> <id>236</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_222"> <id>237</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_223"> <id>245</id> <edge_type>4</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_224"> <id>246</id> <edge_type>4</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_225"> <id>247</id> <edge_type>4</edge_type> <source_obj>46</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_226"> <id>248</id> <edge_type>4</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_227"> <id>249</id> <edge_type>4</edge_type> <source_obj>44</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_228"> <id>250</id> <edge_type>4</edge_type> <source_obj>43</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_229"> <id>251</id> <edge_type>4</edge_type> <source_obj>42</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_230"> <id>252</id> <edge_type>4</edge_type> <source_obj>41</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_231"> <id>253</id> <edge_type>4</edge_type> <source_obj>40</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_232"> <id>254</id> <edge_type>4</edge_type> <source_obj>39</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_233"> <id>255</id> <edge_type>4</edge_type> <source_obj>38</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_234"> <id>256</id> <edge_type>4</edge_type> <source_obj>37</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_235"> <id>257</id> <edge_type>4</edge_type> <source_obj>36</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_236"> <id>258</id> <edge_type>4</edge_type> <source_obj>35</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_237"> <id>259</id> <edge_type>4</edge_type> <source_obj>34</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_238"> <id>260</id> <edge_type>4</edge_type> <source_obj>33</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_239"> <id>261</id> <edge_type>4</edge_type> <source_obj>32</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_240"> <id>262</id> <edge_type>4</edge_type> <source_obj>31</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_241"> <id>263</id> <edge_type>4</edge_type> <source_obj>30</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_242"> <id>264</id> <edge_type>4</edge_type> <source_obj>29</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_243"> <id>265</id> <edge_type>4</edge_type> <source_obj>28</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_244"> <id>266</id> <edge_type>4</edge_type> <source_obj>27</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_245"> <id>267</id> <edge_type>4</edge_type> <source_obj>26</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_246"> <id>268</id> <edge_type>4</edge_type> <source_obj>25</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_247"> <id>269</id> <edge_type>4</edge_type> <source_obj>24</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_248"> <id>270</id> <edge_type>4</edge_type> <source_obj>23</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_249"> <id>271</id> <edge_type>4</edge_type> <source_obj>22</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_250"> <id>272</id> <edge_type>4</edge_type> <source_obj>21</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_251"> <id>273</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_252"> <id>274</id> <edge_type>4</edge_type> <source_obj>19</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_253"> <id>275</id> <edge_type>4</edge_type> <source_obj>18</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_254"> <id>276</id> <edge_type>4</edge_type> <source_obj>17</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_255"> <id>277</id> <edge_type>4</edge_type> <source_obj>16</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_256"> <id>278</id> <edge_type>4</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="18" object_id="_257"> <id>279</id> <edge_type>4</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="19" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_258"> <mId>1</mId> <mTag>aes_main</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>51</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2514</mMinLatency> <mMaxLatency>2674</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="22" tracking_level="1" version="0" object_id="_259"> <states class_id="23" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="24" tracking_level="1" version="0" object_id="_260"> <id>1</id> <operations class_id="25" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_261"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_262"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_263"> <id>2</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_264"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_265"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_266"> <id>3</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_267"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_268"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_269"> <id>4</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_270"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_271"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_272"> <id>5</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_273"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_274"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_275"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_276"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_277"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_278"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_279"> <id>6</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_280"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_281"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_282"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_283"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_284"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_285"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_286"> <id>7</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_287"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_288"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_289"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_290"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_291"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_292"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_293"> <id>8</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_294"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_295"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_296"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_297"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_298"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_299"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_300"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_301"> <id>48</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_302"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_303"> <id>48</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_304"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_305"> <id>49</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="24" object_id="_306"> <id>12</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="26" object_id="_307"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_308"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="26" object_id="_309"> <id>49</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="26" object_id="_310"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions 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="_311"> <inState>1</inState> <outState>2</outState> <condition class_id="29" tracking_level="0" version="0"> <id>-1</id> <sop class_id="30" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="31" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_312"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_313"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_314"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_315"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_316"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_317"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_318"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_319"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_320"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="28" object_id="_321"> <inState>11</inState> <outState>12</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="33" tracking_level="0" version="0"> <count>35</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first>16</first> <second class_id="35" tracking_level="0" version="0"> <first>4</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>2</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>4</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>8</first> <second>1</second> </second> </item> <item> <first>49</first> <second> <first>10</first> <second>1</second> </second> </item> <item> <first>50</first> <second> <first>11</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="36" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="37" tracking_level="0" version="0"> <first>51</first> <second class_id="38" tracking_level="0" version="0"> <first>0</first> <second>11</second> </second> </item> </bblk_ent_exit> <regions class_id="39" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="40" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>160</first> <second> <count>16</count> <item_version>0</item_version> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> </second> </item> <item> <first>185</first> <second> <count>8</count> <item_version>0</item_version> <item>16</item> <item>18</item> <item>20</item> <item>22</item> <item>24</item> <item>26</item> <item>28</item> <item>30</item> </second> </item> <item> <first>192</first> <second> <count>8</count> <item_version>0</item_version> <item>17</item> <item>19</item> <item>21</item> <item>23</item> <item>25</item> <item>27</item> <item>29</item> <item>31</item> </second> </item> <item> <first>250</first> <second> <count>2</count> <item_version>0</item_version> <item>49</item> <item>49</item> </second> </item> <item> <first>278</first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>48</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>2</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>grp_decrypt_fu_250</first> <second> <count>2</count> <item_version>0</item_version> <item>49</item> <item>49</item> </second> </item> <item> <first>grp_encrypt_fu_278</first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>48</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="45" tracking_level="0" version="0"> <count>16</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first class_id="47" tracking_level="0" version="0"> <first>Rcon0</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> <item> <first> <first>Sbox</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> <item> <first> <first>invSbox</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first> <first>key_0</first> <second>0</second> </first> <second> <count>8</count> <item_version>0</item_version> <item>32</item> <item>34</item> <item>36</item> <item>38</item> <item>40</item> <item>42</item> <item>44</item> <item>46</item> </second> </item> <item> <first> <first>key_0</first> <second>1</second> </first> <second> <count>8</count> <item_version>0</item_version> <item>33</item> <item>35</item> <item>37</item> <item>39</item> <item>41</item> <item>43</item> <item>45</item> <item>47</item> </second> </item> <item> <first> <first>key_0</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> <item> <first> <first>out_dec_statemt</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first> <first>out_enc_statemt</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first> <first>statemt_0</first> <second>0</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>16</item> <item>20</item> <item>24</item> <item>28</item> </second> </item> <item> <first> <first>statemt_0</first> <second>1</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>18</item> <item>22</item> <item>26</item> <item>30</item> </second> </item> <item> <first> <first>statemt_0</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> <item> <first> <first>statemt_1</first> <second>0</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>17</item> <item>21</item> <item>25</item> <item>29</item> </second> </item> <item> <first> <first>statemt_1</first> <second>1</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>19</item> <item>23</item> <item>27</item> <item>31</item> </second> </item> <item> <first> <first>statemt_1</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> <item> <first> <first>word_0</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> <item> <first> <first>word_1</first> <second>100</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>49</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="48" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="49" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- A D A . R E A L _ T I M E . D E L A Y S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, 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. -- -- -- -- -- -- -- -- -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- Implements Real_Time.Time absolute delays -- Note: the compiler generates direct calls to this interface, in the -- processing of time types. package Ada.Real_Time.Delays with SPARK_Mode => On is function To_Duration (T : Real_Time.Time) return Duration; -- Convert Time to Duration procedure Delay_Until (T : Time); -- Delay until Clock has reached (at least) time T, -- or the task is aborted to at least the current ATC nesting level. -- The body of this procedure must perform all the processing -- required for an abort point. end Ada.Real_Time.Delays;
-- -- -- with Types; package body Action_Algorithms is function Compute_Action (Session : Session_Type; Action : Action_Record) return Integer is use Actions; use type Types.Symbol_Index; State_Num : constant Integer := Integer (Action.X.State.Number); Min_Reduce : constant Integer := Integer (Session.Min_Reduce); Min_SR : constant Integer := Integer (Session.Min_Shift_Reduce); Rule_Number : constant Integer := Integer (Action.X.Rule.Number); begin case Action.Kind is when Shift => return State_Num; when Shift_Reduce => -- Since a SHIFT is inherient after a prior REDUCE, convert any -- SHIFTREDUCE action with a nonterminal on the LHS into a simple -- REDUCE action: if Action.Symbol.Index >= Session.Num_Terminal then return Min_Reduce + Rule_Number; else return Min_SR + Rule_Number; end if; when Reduce => return Min_Reduce + Rule_Number; when Error => return Integer (Session.Err_Action); when C_Accept => return Integer (Session.Acc_Action); when others => return -1; end case; end Compute_Action; end Action_Algorithms;
-- C45662A.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 THE TRUTH TABLE FOR 'NOT' . -- THE COMBINATIONS OF 'NOT' WITH 'AND' , 'OR' , 'XOR' ARE TESTED -- IN C45101(A,G). -- RM 28 OCTOBER 1980 -- TBN 10/21/85 RENAMED FROM C45401A.ADA. WITH REPORT ; PROCEDURE C45662A IS USE REPORT; TVAR , FVAR , CVAR : BOOLEAN := FALSE ; -- INITIAL VALUE IRRELEVANT ERROR_COUNT : INTEGER := 0 ; -- INITIAL VALUE ESSENTIAL PROCEDURE BUMP IS BEGIN ERROR_COUNT := ERROR_COUNT + 1 ; END BUMP ; BEGIN TEST( "C45662A" , "CHECK THE TRUTH TABLE FOR 'NOT'" ) ; FOR A IN BOOLEAN LOOP CVAR := NOT A ; IF NOT A THEN IF A THEN BUMP ; END IF ; END IF; IF CVAR THEN IF A THEN BUMP ; END IF ; END IF; IF NOT( NOT( NOT( NOT( CVAR )))) THEN IF A THEN BUMP ; END IF ; END IF; END LOOP ; FOR I IN 1..2 LOOP CVAR := NOT ( I > 1 ) ; IF NOT ( I > 1 ) THEN IF I>1 THEN BUMP ; END IF ; END IF; IF CVAR THEN IF I>1 THEN BUMP ; END IF ; END IF; END LOOP ; IF NOT TRUE THEN BUMP ; END IF ; IF NOT FALSE THEN NULL ; ELSE BUMP ; END IF ; TVAR := IDENT_BOOL( TRUE ); FVAR := IDENT_BOOL( FALSE ); IF NOT TVAR THEN BUMP ; END IF ; IF NOT FVAR THEN NULL ; ELSE BUMP ; END IF ; IF ERROR_COUNT /= 0 THEN FAILED( "'NOT' TRUTH TABLE" ); END IF ; RESULT; END C45662A;
-- -- A barebones indexed interface which can be iterated over. -- Child packages will either pass through to core (fixed) array or a Vector; -- -- The idea is to create an interface that will allow multiple implementations but can be -- used directly in implementing common (class-wide) functionality. -- -- Copyright (C) 2018 <copyright holder> <email> -- -- 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. -- with Ada.Iterator_Interfaces; generic type Index_Base is range <>; -- pass an "extended" indes_base (e.g. starting from 0 and counting from 1) type Element_Type is private; package Lists is subtype Index_Type is Index_Base range Index_Base'First + 1 .. Index_Base'Last; -- mirrors the common subtype definition. Should be the same as defined likewise anywhere else.. type List_Interface is interface with Constant_Indexing => List_Constant_Reference, Variable_Indexing => List_Reference, Default_Iterator => Iterate, Iterator_Element => Element_Type; type Cursor is private; No_Element : constant Cursor; function Has_Element (Position : Cursor) return Boolean; package List_Iterator_Interfaces is new Ada.Iterator_Interfaces (Cursor, Has_Element); -- we need to redispatch to a proper derived type, so we need to unroll the record -- to make this a primitive op function Has_Element (LI : List_Interface; Position : Index_Base) return Boolean is abstract; -- NOTE: This should really be in provate part, but Ada doers not allow it (citing RM 3.9.3(10)) type Constant_Reference_Type (Data : not null access constant Element_Type) is private with Implicit_Dereference => Data; type Reference_Type (Data : not null access Element_Type) is private with Implicit_Dereference => Data; function List_Constant_Reference (Container : aliased in List_Interface; Position : Cursor) return Constant_Reference_Type is abstract; function List_Constant_Reference (Container : aliased in List_Interface; Index : Index_Type) return Constant_Reference_Type is abstract; function List_Reference (Container : aliased in out List_Interface; Position : Cursor) return Reference_Type is abstract; function List_Reference (Container : aliased in out List_Interface; Index : Index_Type) return Reference_Type is abstract; -- these names have to be different from what is used (in private part) by Ada.Containers.Vectors -- if we are to directly glue ACV.Vector over this, -- otherwise the compiler gets confused.. ---------------------------------------------- -- Iteration -- -- we need to define our iterator type in a central way. -- Since implementation details may differe, we essentially get a parallel type hierarchy here.. type Iterator_Interface is interface and List_Iterator_Interfaces.Reversible_Iterator; -- all 4 primitives (First, Last, Next, Prev) would be abstract here anyway, -- so they are implicitly carried over -- -- NOTE: in this (trivial) case 3 out of 4 primitives have exactly the same implementation, -- so this could have been made a real type, with a specific method overridden -- But we keep it as is as a demo of a more generic design pattern.. function Iterate (Container : List_Interface) return Iterator_Interface'Class is abstract; -- this one can (and should) share the name/specs, as it is not part of any aspect.. private type List_Access is access all List_Interface'Class; for List_Access'Storage_Size use 0; type Cursor is record Container : List_Access; Index : Index_Base := Index_Type'First; end record; No_Element : constant Cursor := (Null, Index_Base'First); type Constant_Reference_Type(Data : not null access constant Element_Type) is null record; type Reference_Type (Data : not null access Element_Type) is null record; end Lists;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with ewok.layout; use ewok.layout; with ewok.tasks; use ewok.tasks; with ewok.devices_shared; use ewok.devices_shared; with ewok.devices; with ewok.exported.dma; use type ewok.exported.dma.t_dma_shm_access; package body ewok.sanitize with spark_mode => on is function is_word_in_data_slot (ptr : system_address; task_id : ewok.tasks_shared.t_task_id; mode : ewok.tasks_shared.t_task_mode) return boolean with spark_mode => off is user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin if ptr >= user_task.data_slot_start and ptr + 4 <= user_task.data_slot_end then return true; end if; -- ISR mode is a special case because the stack is therefore -- mutualized (thus only one ISR can be executed at the same time) if mode = TASK_MODE_ISRTHREAD and ptr >= STACK_BOTTOM_TASK_ISR and ptr < STACK_TOP_TASK_ISR then return true; end if; return false; end is_word_in_data_slot; function is_word_in_txt_slot (ptr : system_address; task_id : ewok.tasks_shared.t_task_id) return boolean with spark_mode => off is user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin if ptr >= user_task.txt_slot_start and ptr + 4 <= user_task.txt_slot_end then return true; else return false; end if; end is_word_in_txt_slot; function is_word_in_allocated_device (ptr : system_address; task_id : ewok.tasks_shared.t_task_id) return boolean with spark_mode => off is dev_id : ewok.devices_shared.t_device_id; dev_size : unsigned_32; dev_addr : system_address; user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin for i in user_task.device_id'range loop dev_id := user_task.device_id(i); if dev_id /= ID_DEV_UNUSED then dev_addr := ewok.devices.get_user_device_addr (dev_id); dev_size := ewok.devices.get_user_device_size (dev_id); if ptr >= dev_addr and ptr + 4 >= dev_addr and ptr + 4 < dev_addr + dev_size then return true; end if; end if; end loop; return false; end is_word_in_allocated_device; function is_word_in_any_slot (ptr : system_address; task_id : ewok.tasks_shared.t_task_id; mode : ewok.tasks_shared.t_task_mode) return boolean with spark_mode => off is begin return is_word_in_data_slot (ptr, task_id, mode) or is_word_in_txt_slot (ptr, task_id); end is_word_in_any_slot; function is_range_in_devices_slot (ptr : system_address; size : unsigned_32; task_id : ewok.tasks_shared.t_task_id) return boolean with spark_mode => off is user_device_size : unsigned_32; user_device_addr : unsigned_32; dev_id : t_device_id; user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin for i in user_task.device_id'range loop dev_id := user_task.device_id(i); if dev_id /= ID_DEV_UNUSED then user_device_size := ewok.devices.get_user_device_size(dev_id); user_device_addr := ewok.devices.get_user_device_addr(dev_id); if ptr >= user_device_addr and ptr + size <= user_device_addr + user_device_size then return true; end if; end if; end loop; return false; end is_range_in_devices_slot; function is_range_in_data_slot (ptr : system_address; size : unsigned_32; task_id : ewok.tasks_shared.t_task_id; mode : ewok.tasks_shared.t_task_mode) return boolean with spark_mode => off is user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin if ptr >= user_task.data_slot_start and ptr + size >= ptr and ptr + size <= user_task.data_slot_end then return true; end if; if mode = TASK_MODE_ISRTHREAD and ptr >= STACK_BOTTOM_TASK_ISR and ptr + size >= ptr and ptr + size < STACK_TOP_TASK_ISR then return true; end if; return false; end is_range_in_data_slot; function is_range_in_txt_slot (ptr : system_address; size : unsigned_32; task_id : ewok.tasks_shared.t_task_id) return boolean with spark_mode => off is user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin if ptr >= user_task.txt_slot_start and ptr + size >= ptr and ptr + size <= user_task.txt_slot_end then return true; else return false; end if; end is_range_in_txt_slot; function is_range_in_any_slot (ptr : system_address; size : unsigned_32; task_id : ewok.tasks_shared.t_task_id; mode : ewok.tasks_shared.t_task_mode) return boolean with spark_mode => off is begin return is_range_in_data_slot (ptr, size, task_id, mode) or is_range_in_txt_slot (ptr, size, task_id); end is_range_in_any_slot; function is_range_in_dma_shm (ptr : system_address; size : unsigned_32; dma_access : ewok.exported.dma.t_dma_shm_access; task_id : ewok.tasks_shared.t_task_id) return boolean with spark_mode => off is user_task : ewok.tasks.t_task renames ewok.tasks.tasks_list(task_id); begin for i in 1 .. user_task.num_dma_shms loop if user_task.dma_shm(i).access_type = dma_access and ptr >= user_task.dma_shm(i).base and ptr + size >= ptr and ptr + size <= (user_task.dma_shm(i).base + user_task.dma_shm(i).size) then return true; end if; end loop; return false; end is_range_in_dma_shm; end ewok.sanitize;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_render_query_pict_index_values_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_render_query_pict_index_values_cookie_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_render_query_pict_index_values_cookie_t.Item, Element_Array => xcb.xcb_render_query_pict_index_values_cookie_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_render_query_pict_index_values_cookie_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_render_query_pict_index_values_cookie_t.Pointer, Element_Array => xcb.xcb_render_query_pict_index_values_cookie_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_render_query_pict_index_values_cookie_t;
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held liable for any damages arising from the use of this software. -- // -- // Permission is granted to anyone to use this software for any purpose, -- // including commercial applications, and to alter it and redistribute it freely, -- // subject to the following restrictions: -- // -- // 1. The origin of this software must not be misrepresented; -- // you must not claim that you wrote the original software. -- // If you use this software in a product, an acknowledgment -- // in the product documentation would be appreciated but is not required. -- // -- // 2. Altered source versions must be plainly marked as such, -- // and must not be misrepresented as being the original software. -- // -- // 3. This notice may not be removed or altered from any source distribution. -- // -- //////////////////////////////////////////////////////////// package Sf.Graphics is end Sf.Graphics;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S E M _ C H 9 -- -- -- -- 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. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Aspects; use Aspects; with Atree; use Atree; with Checks; use Checks; with Contracts; use Contracts; with Debug; use Debug; with Einfo; use Einfo; with Errout; use Errout; with Exp_Ch9; use Exp_Ch9; with Elists; use Elists; with Freeze; use Freeze; with Layout; use Layout; with Lib; use Lib; with Lib.Xref; use Lib.Xref; with Namet; use Namet; with Nlists; use Nlists; with Nmake; use Nmake; with Opt; use Opt; with Restrict; use Restrict; with Rident; use Rident; with Rtsfind; use Rtsfind; with Sem; use Sem; with Sem_Aux; use Sem_Aux; with Sem_Ch3; use Sem_Ch3; with Sem_Ch5; use Sem_Ch5; with Sem_Ch6; use Sem_Ch6; with Sem_Ch8; use Sem_Ch8; with Sem_Ch13; use Sem_Ch13; with Sem_Elab; use Sem_Elab; with Sem_Eval; use Sem_Eval; with Sem_Prag; use Sem_Prag; with Sem_Res; use Sem_Res; with Sem_Type; use Sem_Type; with Sem_Util; use Sem_Util; with Sem_Warn; use Sem_Warn; with Snames; use Snames; with Stand; use Stand; with Sinfo; use Sinfo; with Style; with Tbuild; use Tbuild; with Uintp; use Uintp; package body Sem_Ch9 is ----------------------- -- Local Subprograms -- ----------------------- function Allows_Lock_Free_Implementation (N : Node_Id; Lock_Free_Given : Boolean := False) return Boolean; -- This routine returns True iff N satisfies the following list of lock- -- free restrictions for protected type declaration and protected body: -- -- 1) Protected type declaration -- May not contain entries -- Protected subprogram declarations may not have non-elementary -- parameters. -- -- 2) Protected Body -- Each protected subprogram body within N must satisfy: -- May reference only one protected component -- May not reference non-constant entities outside the protected -- subprogram scope. -- May not contain address representation items, allocators and -- quantified expressions. -- May not contain delay, goto, loop and procedure call -- statements. -- May not contain exported and imported entities -- May not dereference access values -- Function calls and attribute references must be static -- -- If Lock_Free_Given is True, an error message is issued when False is -- returned. procedure Check_Max_Entries (D : Node_Id; R : All_Parameter_Restrictions); -- Given either a protected definition or a task definition in D, check -- the corresponding restriction parameter identifier R, and if it is set, -- count the entries (checking the static requirement), and compare with -- the given maximum. procedure Check_Interfaces (N : Node_Id; T : Entity_Id); -- N is an N_Protected_Type_Declaration or N_Task_Type_Declaration node. -- Complete decoration of T and check legality of the covered interfaces. procedure Check_Triggering_Statement (Trigger : Node_Id; Error_Node : Node_Id; Is_Dispatching : out Boolean); -- Examine the triggering statement of a select statement, conditional or -- timed entry call. If Trigger is a dispatching call, return its status -- in Is_Dispatching and check whether the primitive belongs to a limited -- interface. If it does not, emit an error at Error_Node. function Find_Concurrent_Spec (Body_Id : Entity_Id) return Entity_Id; -- Find entity in corresponding task or protected declaration. Use full -- view if first declaration was for an incomplete type. ------------------------------------- -- Allows_Lock_Free_Implementation -- ------------------------------------- function Allows_Lock_Free_Implementation (N : Node_Id; Lock_Free_Given : Boolean := False) return Boolean is Errors_Count : Nat := 0; -- Errors_Count is a count of errors detected by the compiler so far -- when Lock_Free_Given is True. begin pragma Assert (Nkind (N) in N_Protected_Type_Declaration | N_Protected_Body); -- The lock-free implementation is currently enabled through a debug -- flag. When Lock_Free_Given is True, an aspect Lock_Free forces the -- lock-free implementation. In that case, the debug flag is not needed. if not Lock_Free_Given and then not Debug_Flag_9 then return False; end if; -- Get the number of errors detected by the compiler so far if Lock_Free_Given then Errors_Count := Serious_Errors_Detected; end if; -- Protected type declaration case if Nkind (N) = N_Protected_Type_Declaration then declare Pdef : constant Node_Id := Protected_Definition (N); Priv_Decls : constant List_Id := Private_Declarations (Pdef); Vis_Decls : constant List_Id := Visible_Declarations (Pdef); Decl : Node_Id; begin -- Examine the visible and the private declarations Decl := First (Vis_Decls); while Present (Decl) loop -- Entries and entry families are not allowed by the lock-free -- restrictions. if Nkind (Decl) = N_Entry_Declaration then if Lock_Free_Given then Error_Msg_N ("entry not allowed when Lock_Free given", Decl); else return False; end if; -- Non-elementary parameters in protected procedure are not -- allowed by the lock-free restrictions. elsif Nkind (Decl) = N_Subprogram_Declaration and then Nkind (Specification (Decl)) = N_Procedure_Specification and then Present (Parameter_Specifications (Specification (Decl))) then declare Par_Specs : constant List_Id := Parameter_Specifications (Specification (Decl)); Par : Node_Id; begin Par := First (Par_Specs); while Present (Par) loop if not Is_Elementary_Type (Etype (Defining_Identifier (Par))) then if Lock_Free_Given then Error_Msg_NE ("non-elementary parameter& not allowed " & "when Lock_Free given", Par, Defining_Identifier (Par)); else return False; end if; end if; Next (Par); end loop; end; end if; -- Examine private declarations after visible declarations if No (Next (Decl)) and then List_Containing (Decl) = Vis_Decls then Decl := First (Priv_Decls); else Next (Decl); end if; end loop; end; -- Protected body case else Protected_Body_Case : declare Decls : constant List_Id := Declarations (N); Pid : constant Entity_Id := Corresponding_Spec (N); Prot_Typ_Decl : constant Node_Id := Parent (Pid); Prot_Def : constant Node_Id := Protected_Definition (Prot_Typ_Decl); Priv_Decls : constant List_Id := Private_Declarations (Prot_Def); Decl : Node_Id; function Satisfies_Lock_Free_Requirements (Sub_Body : Node_Id) return Boolean; -- Return True if protected subprogram body Sub_Body satisfies all -- requirements of a lock-free implementation. -------------------------------------- -- Satisfies_Lock_Free_Requirements -- -------------------------------------- function Satisfies_Lock_Free_Requirements (Sub_Body : Node_Id) return Boolean is Is_Procedure : constant Boolean := Ekind (Corresponding_Spec (Sub_Body)) = E_Procedure; -- Indicates if Sub_Body is a procedure body Comp : Entity_Id := Empty; -- Track the current component which the body references Errors_Count : Nat := 0; -- Errors_Count is a count of errors detected by the compiler -- so far when Lock_Free_Given is True. function Check_Node (N : Node_Id) return Traverse_Result; -- Check that node N meets the lock free restrictions ---------------- -- Check_Node -- ---------------- function Check_Node (N : Node_Id) return Traverse_Result is Kind : constant Node_Kind := Nkind (N); -- The following function belongs in sem_eval ??? function Is_Static_Function (Attr : Node_Id) return Boolean; -- Given an attribute reference node Attr, return True if -- Attr denotes a static function according to the rules in -- (RM 4.9 (22)). ------------------------ -- Is_Static_Function -- ------------------------ function Is_Static_Function (Attr : Node_Id) return Boolean is Para : Node_Id; begin pragma Assert (Nkind (Attr) = N_Attribute_Reference); case Attribute_Name (Attr) is when Name_Max | Name_Min | Name_Pred | Name_Succ | Name_Value | Name_Wide_Value | Name_Wide_Wide_Value => -- A language-defined attribute denotes a static -- function if the prefix denotes a static scalar -- subtype, and if the parameter and result types -- are scalar (RM 4.9 (22)). if Is_Scalar_Type (Etype (Attr)) and then Is_Scalar_Type (Etype (Prefix (Attr))) and then Is_OK_Static_Subtype (Etype (Prefix (Attr))) then Para := First (Expressions (Attr)); while Present (Para) loop if not Is_Scalar_Type (Etype (Para)) then return False; end if; Next (Para); end loop; return True; else return False; end if; when others => return False; end case; end Is_Static_Function; -- Start of processing for Check_Node begin if Is_Procedure then -- Allocators restricted if Kind = N_Allocator then if Lock_Free_Given then Error_Msg_N ("allocator not allowed", N); return Skip; end if; return Abandon; -- Aspects Address, Export and Import restricted elsif Kind = N_Aspect_Specification then declare Asp_Name : constant Name_Id := Chars (Identifier (N)); Asp_Id : constant Aspect_Id := Get_Aspect_Id (Asp_Name); begin if Asp_Id = Aspect_Address or else Asp_Id = Aspect_Export or else Asp_Id = Aspect_Import then Error_Msg_Name_1 := Asp_Name; if Lock_Free_Given then Error_Msg_N ("aspect% not allowed", N); return Skip; end if; return Abandon; end if; end; -- Address attribute definition clause restricted elsif Kind = N_Attribute_Definition_Clause and then Get_Attribute_Id (Chars (N)) = Attribute_Address then Error_Msg_Name_1 := Chars (N); if Lock_Free_Given then if From_Aspect_Specification (N) then Error_Msg_N ("aspect% not allowed", N); else Error_Msg_N ("% clause not allowed", N); end if; return Skip; end if; return Abandon; -- Non-static Attribute references that don't denote a -- static function restricted. elsif Kind = N_Attribute_Reference and then not Is_OK_Static_Expression (N) and then not Is_Static_Function (N) then if Lock_Free_Given then Error_Msg_N ("non-static attribute reference not allowed", N); return Skip; end if; return Abandon; -- Delay statements restricted elsif Kind in N_Delay_Statement then if Lock_Free_Given then Error_Msg_N ("delay not allowed", N); return Skip; end if; return Abandon; -- Dereferences of access values restricted elsif Kind = N_Explicit_Dereference or else (Kind = N_Selected_Component and then Is_Access_Type (Etype (Prefix (N)))) then if Lock_Free_Given then Error_Msg_N ("dereference of access value not allowed", N); return Skip; end if; return Abandon; -- Non-static function calls restricted elsif Kind = N_Function_Call and then not Is_OK_Static_Expression (N) then if Lock_Free_Given then Error_Msg_N ("non-static function call not allowed", N); return Skip; end if; return Abandon; -- Goto statements restricted elsif Kind = N_Goto_Statement then if Lock_Free_Given then Error_Msg_N ("goto statement not allowed", N); return Skip; end if; return Abandon; -- References elsif Kind = N_Identifier and then Present (Entity (N)) then declare Id : constant Entity_Id := Entity (N); Sub_Id : constant Entity_Id := Corresponding_Spec (Sub_Body); begin -- Prohibit references to non-constant entities -- outside the protected subprogram scope. if Ekind (Id) in Assignable_Kind and then not Scope_Within_Or_Same (Scope (Id), Sub_Id) and then not Scope_Within_Or_Same (Scope (Id), Protected_Body_Subprogram (Sub_Id)) then if Lock_Free_Given then Error_Msg_NE ("reference to global variable& not " & "allowed", N, Id); return Skip; end if; return Abandon; end if; end; -- Loop statements restricted elsif Kind = N_Loop_Statement then if Lock_Free_Given then Error_Msg_N ("loop not allowed", N); return Skip; end if; return Abandon; -- Pragmas Export and Import restricted elsif Kind = N_Pragma then declare Prag_Name : constant Name_Id := Pragma_Name (N); Prag_Id : constant Pragma_Id := Get_Pragma_Id (Prag_Name); begin if Prag_Id = Pragma_Export or else Prag_Id = Pragma_Import then Error_Msg_Name_1 := Prag_Name; if Lock_Free_Given then if From_Aspect_Specification (N) then Error_Msg_N ("aspect% not allowed", N); else Error_Msg_N ("pragma% not allowed", N); end if; return Skip; end if; return Abandon; end if; end; -- Procedure call statements restricted elsif Kind = N_Procedure_Call_Statement then if Lock_Free_Given then Error_Msg_N ("procedure call not allowed", N); return Skip; end if; return Abandon; -- Quantified expression restricted. Note that we have -- to check the original node as well, since at this -- stage, it may have been rewritten. elsif Kind = N_Quantified_Expression or else Nkind (Original_Node (N)) = N_Quantified_Expression then if Lock_Free_Given then Error_Msg_N ("quantified expression not allowed", N); return Skip; end if; return Abandon; end if; end if; -- A protected subprogram (function or procedure) may -- reference only one component of the protected type, plus -- the type of the component must support atomic operation. if Kind = N_Identifier and then Present (Entity (N)) then declare Id : constant Entity_Id := Entity (N); Comp_Decl : Node_Id; Comp_Id : Entity_Id := Empty; Comp_Type : Entity_Id; begin if Ekind (Id) = E_Component then Comp_Id := Id; elsif Ekind (Id) in E_Constant | E_Variable and then Present (Prival_Link (Id)) then Comp_Id := Prival_Link (Id); end if; if Present (Comp_Id) then Comp_Decl := Parent (Comp_Id); Comp_Type := Etype (Comp_Id); if Nkind (Comp_Decl) = N_Component_Declaration and then Is_List_Member (Comp_Decl) and then List_Containing (Comp_Decl) = Priv_Decls then -- Skip generic types since, in that case, we -- will not build a body anyway (in the generic -- template), and the size in the template may -- have a fake value. if not Is_Generic_Type (Comp_Type) then -- Make sure the protected component type has -- size and alignment fields set at this -- point whenever this is possible. Layout_Type (Comp_Type); if not Support_Atomic_Primitives (Comp_Type) then if Lock_Free_Given then Error_Msg_NE ("type of& must support atomic " & "operations", N, Comp_Id); return Skip; end if; return Abandon; end if; end if; -- Check if another protected component has -- already been accessed by the subprogram body. if No (Comp) then Comp := Comp_Id; elsif Comp /= Comp_Id then if Lock_Free_Given then Error_Msg_N ("only one protected component allowed", N); return Skip; end if; return Abandon; end if; end if; end if; end; end if; return OK; end Check_Node; function Check_All_Nodes is new Traverse_Func (Check_Node); -- Start of processing for Satisfies_Lock_Free_Requirements begin -- Get the number of errors detected by the compiler so far if Lock_Free_Given then Errors_Count := Serious_Errors_Detected; end if; if Check_All_Nodes (Sub_Body) = OK and then (not Lock_Free_Given or else Errors_Count = Serious_Errors_Detected) then -- Establish a relation between the subprogram body and the -- unique protected component it references. if Present (Comp) then Lock_Free_Subprogram_Table.Append (Lock_Free_Subprogram'(Sub_Body, Comp)); end if; return True; else return False; end if; end Satisfies_Lock_Free_Requirements; -- Start of processing for Protected_Body_Case begin Decl := First (Decls); while Present (Decl) loop if Nkind (Decl) = N_Subprogram_Body and then not Satisfies_Lock_Free_Requirements (Decl) then if Lock_Free_Given then Error_Msg_N ("illegal body when Lock_Free given", Decl); else return False; end if; end if; Next (Decl); end loop; end Protected_Body_Case; end if; -- When Lock_Free is given, check if no error has been detected during -- the process. if Lock_Free_Given and then Errors_Count /= Serious_Errors_Detected then return False; end if; return True; end Allows_Lock_Free_Implementation; ----------------------------- -- Analyze_Abort_Statement -- ----------------------------- procedure Analyze_Abort_Statement (N : Node_Id) is T_Name : Node_Id; begin Tasking_Used := True; T_Name := First (Names (N)); while Present (T_Name) loop Analyze (T_Name); if Is_Task_Type (Etype (T_Name)) or else (Ada_Version >= Ada_2005 and then Ekind (Etype (T_Name)) = E_Class_Wide_Type and then Is_Interface (Etype (T_Name)) and then Is_Task_Interface (Etype (T_Name))) then Resolve (T_Name); else if Ada_Version >= Ada_2005 then Error_Msg_N ("expect task name or task interface class-wide " & "object for ABORT", T_Name); else Error_Msg_N ("expect task name for ABORT", T_Name); end if; return; end if; Next (T_Name); end loop; Check_Restriction (No_Abort_Statements, N); Check_Potentially_Blocking_Operation (N); end Analyze_Abort_Statement; -------------------------------- -- Analyze_Accept_Alternative -- -------------------------------- procedure Analyze_Accept_Alternative (N : Node_Id) is begin Tasking_Used := True; if Present (Pragmas_Before (N)) then Analyze_List (Pragmas_Before (N)); end if; if Present (Condition (N)) then Analyze_And_Resolve (Condition (N), Any_Boolean); end if; Analyze (Accept_Statement (N)); if Is_Non_Empty_List (Statements (N)) then Analyze_Statements (Statements (N)); end if; end Analyze_Accept_Alternative; ------------------------------ -- Analyze_Accept_Statement -- ------------------------------ procedure Analyze_Accept_Statement (N : Node_Id) is Nam : constant Entity_Id := Entry_Direct_Name (N); Formals : constant List_Id := Parameter_Specifications (N); Index : constant Node_Id := Entry_Index (N); Stats : constant Node_Id := Handled_Statement_Sequence (N); Accept_Id : Entity_Id; Entry_Nam : Entity_Id; E : Entity_Id; Kind : Entity_Kind; Task_Nam : Entity_Id := Empty; -- initialize to prevent warning begin Tasking_Used := True; -- Entry name is initialized to Any_Id. It should get reset to the -- matching entry entity. An error is signalled if it is not reset. Entry_Nam := Any_Id; for J in reverse 0 .. Scope_Stack.Last loop Task_Nam := Scope_Stack.Table (J).Entity; exit when Ekind (Etype (Task_Nam)) = E_Task_Type; Kind := Ekind (Task_Nam); if Kind /= E_Block and then Kind /= E_Loop and then not Is_Entry (Task_Nam) then Error_Msg_N ("enclosing body of accept must be a task", N); return; end if; end loop; if Ekind (Etype (Task_Nam)) /= E_Task_Type then Error_Msg_N ("invalid context for accept statement", N); return; end if; -- In order to process the parameters, we create a defining identifier -- that can be used as the name of the scope. The name of the accept -- statement itself is not a defining identifier, and we cannot use -- its name directly because the task may have any number of accept -- statements for the same entry. if Present (Index) then Accept_Id := New_Internal_Entity (E_Entry_Family, Current_Scope, Sloc (N), 'E'); else Accept_Id := New_Internal_Entity (E_Entry, Current_Scope, Sloc (N), 'E'); end if; Set_Etype (Accept_Id, Standard_Void_Type); Set_Accept_Address (Accept_Id, New_Elmt_List); if Present (Formals) then Push_Scope (Accept_Id); Process_Formals (Formals, N); Create_Extra_Formals (Accept_Id); End_Scope; end if; -- We set the default expressions processed flag because we don't need -- default expression functions. This is really more like body entity -- than a spec entity anyway. Set_Default_Expressions_Processed (Accept_Id); E := First_Entity (Etype (Task_Nam)); while Present (E) loop if Chars (E) = Chars (Nam) and then (Ekind (E) = Ekind (Accept_Id)) and then Type_Conformant (Accept_Id, E) then Entry_Nam := E; exit; end if; Next_Entity (E); end loop; if Entry_Nam = Any_Id then Error_Msg_N ("no entry declaration matches accept statement", N); return; else Set_Entity (Nam, Entry_Nam); Generate_Reference (Entry_Nam, Nam, 'b', Set_Ref => False); Style.Check_Identifier (Nam, Entry_Nam); end if; -- Verify that the entry is not hidden by a procedure declared in the -- current block (pathological but possible). if Current_Scope /= Task_Nam then declare E1 : Entity_Id; begin E1 := First_Entity (Current_Scope); while Present (E1) loop if Ekind (E1) = E_Procedure and then Chars (E1) = Chars (Entry_Nam) and then Type_Conformant (E1, Entry_Nam) then Error_Msg_N ("entry name is not visible", N); end if; Next_Entity (E1); end loop; end; end if; Set_Convention (Accept_Id, Convention (Entry_Nam)); Check_Fully_Conformant (Accept_Id, Entry_Nam, N); for J in reverse 0 .. Scope_Stack.Last loop exit when Task_Nam = Scope_Stack.Table (J).Entity; if Entry_Nam = Scope_Stack.Table (J).Entity then Error_Msg_N ("duplicate accept statement for same entry (RM 9.5.2 (15))", N); -- Do not continue analysis of accept statement, to prevent -- cascaded errors. return; end if; end loop; declare P : Node_Id := N; begin loop P := Parent (P); case Nkind (P) is when N_Compilation_Unit | N_Task_Body => exit; when N_Asynchronous_Select => Error_Msg_N ("accept statements are not allowed within an " & "asynchronous select inner to the enclosing task body", N); exit; when others => null; end case; end loop; end; if Ekind (Entry_Nam) = E_Entry_Family then if No (Index) then Error_Msg_N ("missing entry index in accept for entry family", N); else Analyze_And_Resolve (Index, Entry_Index_Type (Entry_Nam)); Apply_Scalar_Range_Check (Index, Entry_Index_Type (Entry_Nam)); end if; elsif Present (Index) then Error_Msg_N ("invalid entry index in accept for simple entry", N); end if; -- If label declarations present, analyze them. They are declared in the -- enclosing task, but their enclosing scope is the entry itself, so -- that goto's to the label are recognized as local to the accept. if Present (Declarations (N)) then declare Decl : Node_Id; Id : Entity_Id; begin Decl := First (Declarations (N)); while Present (Decl) loop Analyze (Decl); pragma Assert (Nkind (Decl) = N_Implicit_Label_Declaration); Id := Defining_Identifier (Decl); Set_Enclosing_Scope (Id, Entry_Nam); Next (Decl); end loop; end; end if; -- If statements are present, they must be analyzed in the context of -- the entry, so that references to formals are correctly resolved. We -- also have to add the declarations that are required by the expansion -- of the accept statement in this case if expansion active. -- In the case of a select alternative of a selective accept, the -- expander references the address declaration even if there is no -- statement list. -- We also need to create the renaming declarations for the local -- variables that will replace references to the formals within the -- accept statement. Exp_Ch9.Expand_Accept_Declarations (N, Entry_Nam); -- Set Never_Set_In_Source and clear Is_True_Constant/Current_Value -- fields on all entry formals (this loop ignores all other entities). -- Reset Referenced, Referenced_As_xxx and Has_Pragma_Unreferenced as -- well, so that we can post accurate warnings on each accept statement -- for the same entry. E := First_Entity (Entry_Nam); while Present (E) loop if Is_Formal (E) then Set_Never_Set_In_Source (E, True); Set_Is_True_Constant (E, False); Set_Current_Value (E, Empty); Set_Referenced (E, False); Set_Referenced_As_LHS (E, False); Set_Referenced_As_Out_Parameter (E, False); Set_Has_Pragma_Unreferenced (E, False); end if; Next_Entity (E); end loop; -- Analyze statements if present if Present (Stats) then Push_Scope (Entry_Nam); Install_Declarations (Entry_Nam); Set_Actual_Subtypes (N, Current_Scope); Analyze (Stats); Process_End_Label (Handled_Statement_Sequence (N), 't', Entry_Nam); End_Scope; end if; -- Some warning checks Check_Potentially_Blocking_Operation (N); Check_References (Entry_Nam, N); Set_Entry_Accepted (Entry_Nam); end Analyze_Accept_Statement; --------------------------------- -- Analyze_Asynchronous_Select -- --------------------------------- procedure Analyze_Asynchronous_Select (N : Node_Id) is Is_Disp_Select : Boolean := False; Trigger : Node_Id; begin Tasking_Used := True; Check_Restriction (Max_Asynchronous_Select_Nesting, N); Check_Restriction (No_Select_Statements, N); if Ada_Version >= Ada_2005 then Trigger := Triggering_Statement (Triggering_Alternative (N)); Analyze (Trigger); -- Ada 2005 (AI-345): Check for a potential dispatching select Check_Triggering_Statement (Trigger, N, Is_Disp_Select); end if; -- Ada 2005 (AI-345): The expansion of the dispatching asynchronous -- select will have to duplicate the triggering statements. Postpone -- the analysis of the statements till expansion. Analyze only if the -- expander is disabled in order to catch any semantic errors. if Is_Disp_Select then if not Expander_Active then Analyze_Statements (Statements (Abortable_Part (N))); Analyze (Triggering_Alternative (N)); end if; -- Analyze the statements. We analyze statements in the abortable part, -- because this is the section that is executed first, and that way our -- remembering of saved values and checks is accurate. else Analyze_Statements (Statements (Abortable_Part (N))); Analyze (Triggering_Alternative (N)); end if; end Analyze_Asynchronous_Select; ------------------------------------ -- Analyze_Conditional_Entry_Call -- ------------------------------------ procedure Analyze_Conditional_Entry_Call (N : Node_Id) is Trigger : constant Node_Id := Entry_Call_Statement (Entry_Call_Alternative (N)); Is_Disp_Select : Boolean := False; begin Tasking_Used := True; Check_Restriction (No_Select_Statements, N); -- Ada 2005 (AI-345): The trigger may be a dispatching call if Ada_Version >= Ada_2005 then Analyze (Trigger); Check_Triggering_Statement (Trigger, N, Is_Disp_Select); end if; if List_Length (Else_Statements (N)) = 1 and then Nkind (First (Else_Statements (N))) in N_Delay_Statement then Error_Msg_N ("suspicious form of conditional entry call??!", N); Error_Msg_N ("\`SELECT OR` may be intended rather than `SELECT ELSE`??!", N); end if; -- Postpone the analysis of the statements till expansion. Analyze only -- if the expander is disabled in order to catch any semantic errors. if Is_Disp_Select then if not Expander_Active then Analyze (Entry_Call_Alternative (N)); Analyze_Statements (Else_Statements (N)); end if; -- Regular select analysis else Analyze (Entry_Call_Alternative (N)); Analyze_Statements (Else_Statements (N)); end if; end Analyze_Conditional_Entry_Call; -------------------------------- -- Analyze_Delay_Alternative -- -------------------------------- procedure Analyze_Delay_Alternative (N : Node_Id) is Expr : Node_Id; Typ : Entity_Id; begin Tasking_Used := True; Check_Restriction (No_Delay, N); if Present (Pragmas_Before (N)) then Analyze_List (Pragmas_Before (N)); end if; if Nkind (Parent (N)) in N_Selective_Accept | N_Timed_Entry_Call then Expr := Expression (Delay_Statement (N)); -- Defer full analysis until the statement is expanded, to insure -- that generated code does not move past the guard. The delay -- expression is only evaluated if the guard is open. if Nkind (Delay_Statement (N)) = N_Delay_Relative_Statement then Preanalyze_And_Resolve (Expr, Standard_Duration); else Preanalyze_And_Resolve (Expr); end if; Typ := First_Subtype (Etype (Expr)); if Nkind (Delay_Statement (N)) = N_Delay_Until_Statement and then not Is_RTE (Typ, RO_CA_Time) and then not Is_RTE (Typ, RO_RT_Time) then Error_Msg_N ("expect Time types for `DELAY UNTIL`", Expr); end if; Check_Restriction (No_Fixed_Point, Expr); else Analyze (Delay_Statement (N)); end if; if Present (Condition (N)) then Analyze_And_Resolve (Condition (N), Any_Boolean); end if; if Is_Non_Empty_List (Statements (N)) then Analyze_Statements (Statements (N)); end if; end Analyze_Delay_Alternative; ---------------------------- -- Analyze_Delay_Relative -- ---------------------------- procedure Analyze_Delay_Relative (N : Node_Id) is E : constant Node_Id := Expression (N); begin Tasking_Used := True; Check_Restriction (No_Relative_Delay, N); Check_Restriction (No_Delay, N); Check_Potentially_Blocking_Operation (N); Analyze_And_Resolve (E, Standard_Duration); Check_Restriction (No_Fixed_Point, E); -- In SPARK mode the relative delay statement introduces an implicit -- dependency on the Ada.Real_Time.Clock_Time abstract state, so we must -- force the loading of the Ada.Real_Time package. if GNATprove_Mode then SPARK_Implicit_Load (RO_RT_Time); end if; end Analyze_Delay_Relative; ------------------------- -- Analyze_Delay_Until -- ------------------------- procedure Analyze_Delay_Until (N : Node_Id) is E : constant Node_Id := Expression (N); Typ : Entity_Id; begin Tasking_Used := True; Check_Restriction (No_Delay, N); Check_Potentially_Blocking_Operation (N); Analyze_And_Resolve (E); Typ := First_Subtype (Etype (E)); if not Is_RTE (Typ, RO_CA_Time) and then not Is_RTE (Typ, RO_RT_Time) then Error_Msg_N ("expect Time types for `DELAY UNTIL`", E); end if; end Analyze_Delay_Until; ------------------------ -- Analyze_Entry_Body -- ------------------------ procedure Analyze_Entry_Body (N : Node_Id) is Id : constant Entity_Id := Defining_Identifier (N); Decls : constant List_Id := Declarations (N); Stats : constant Node_Id := Handled_Statement_Sequence (N); Formals : constant Node_Id := Entry_Body_Formal_Part (N); P_Type : constant Entity_Id := Current_Scope; E : Entity_Id; Entry_Name : Entity_Id; begin -- An entry body freezes the contract of the nearest enclosing package -- body and all other contracts encountered in the same declarative part -- up to and excluding the entry body. This ensures that any annotations -- referenced by the contract of an entry or subprogram body declared -- within the current protected body are available. Freeze_Previous_Contracts (N); Tasking_Used := True; -- Entry_Name is initialized to Any_Id. It should get reset to the -- matching entry entity. An error is signalled if it is not reset. Entry_Name := Any_Id; Analyze (Formals); if Present (Entry_Index_Specification (Formals)) then Set_Ekind (Id, E_Entry_Family); else Set_Ekind (Id, E_Entry); end if; Set_Etype (Id, Standard_Void_Type); Set_Scope (Id, Current_Scope); Set_Accept_Address (Id, New_Elmt_List); -- Set the SPARK_Mode from the current context (may be overwritten later -- with an explicit pragma). Set_SPARK_Pragma (Id, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (Id); -- Analyze any aspect specifications that appear on the entry body if Has_Aspects (N) then Analyze_Aspects_On_Subprogram_Body_Or_Stub (N); end if; E := First_Entity (P_Type); while Present (E) loop if Chars (E) = Chars (Id) and then Ekind (E) = Ekind (Id) and then Type_Conformant (Id, E) then Entry_Name := E; Set_Convention (Id, Convention (E)); Set_Corresponding_Body (Parent (E), Id); Check_Fully_Conformant (Id, E, N); if Ekind (Id) = E_Entry_Family then if not Fully_Conformant_Discrete_Subtypes ( Discrete_Subtype_Definition (Parent (E)), Discrete_Subtype_Definition (Entry_Index_Specification (Formals))) then Error_Msg_N ("index not fully conformant with previous declaration", Discrete_Subtype_Definition (Entry_Index_Specification (Formals))); else -- The elaboration of the entry body does not recompute the -- bounds of the index, which may have side effects. Inherit -- the bounds from the entry declaration. This is critical -- if the entry has a per-object constraint. If a bound is -- given by a discriminant, it must be reanalyzed in order -- to capture the discriminal of the current entry, rather -- than that of the protected type. declare Index_Spec : constant Node_Id := Entry_Index_Specification (Formals); Def : constant Node_Id := New_Copy_Tree (Discrete_Subtype_Definition (Parent (E))); begin if Nkind (Original_Node (Discrete_Subtype_Definition (Index_Spec))) = N_Range then Set_Etype (Def, Empty); Set_Analyzed (Def, False); -- Keep the original subtree to ensure a properly -- formed tree. Rewrite (Discrete_Subtype_Definition (Index_Spec), Def); Set_Analyzed (Low_Bound (Def), False); Set_Analyzed (High_Bound (Def), False); if Denotes_Discriminant (Low_Bound (Def)) then Set_Entity (Low_Bound (Def), Empty); end if; if Denotes_Discriminant (High_Bound (Def)) then Set_Entity (High_Bound (Def), Empty); end if; Analyze (Def); Make_Index (Def, Index_Spec); Set_Etype (Defining_Identifier (Index_Spec), Etype (Def)); end if; end; end if; end if; exit; end if; Next_Entity (E); end loop; if Entry_Name = Any_Id then Error_Msg_N ("no entry declaration matches entry body", N); return; elsif Has_Completion (Entry_Name) then Error_Msg_N ("duplicate entry body", N); return; else Set_Has_Completion (Entry_Name); Generate_Reference (Entry_Name, Id, 'b', Set_Ref => False); Style.Check_Identifier (Id, Entry_Name); end if; Exp_Ch9.Expand_Entry_Barrier (N, Entry_Name); Push_Scope (Entry_Name); Install_Declarations (Entry_Name); Set_Actual_Subtypes (N, Current_Scope); -- The entity for the protected subprogram corresponding to the entry -- has been created. We retain the name of this entity in the entry -- body, for use when the corresponding subprogram body is created. -- Note that entry bodies have no Corresponding_Spec, and there is no -- easy link back in the tree between the entry body and the entity for -- the entry itself, which is why we must propagate some attributes -- explicitly from spec to body. Set_Protected_Body_Subprogram (Id, Protected_Body_Subprogram (Entry_Name)); Set_Entry_Parameters_Type (Id, Entry_Parameters_Type (Entry_Name)); -- Add a declaration for the Protection object, renaming declarations -- for the discriminals and privals and finally a declaration for the -- entry family index (if applicable). if Expander_Active and then Is_Protected_Type (P_Type) then Install_Private_Data_Declarations (Sloc (N), Entry_Name, P_Type, N, Decls); end if; if Present (Decls) then Analyze_Declarations (Decls); Inspect_Deferred_Constant_Completion (Decls); end if; -- Process the contract of the subprogram body after all declarations -- have been analyzed. This ensures that any contract-related pragmas -- are available through the N_Contract node of the body. Analyze_Entry_Or_Subprogram_Body_Contract (Id); if Present (Stats) then Analyze (Stats); end if; -- Check for unreferenced variables etc. Before the Check_References -- call, we transfer Never_Set_In_Source and Referenced flags from -- parameters in the spec to the corresponding entities in the body, -- since we want the warnings on the body entities. Note that we do not -- have to transfer Referenced_As_LHS, since that flag can only be set -- for simple variables, but we include Has_Pragma_Unreferenced, -- which may have been specified for a formal in the body. -- At the same time, we set the flags on the spec entities to suppress -- any warnings on the spec formals, since we also scan the spec. -- Finally, we propagate the Entry_Component attribute to the body -- formals, for use in the renaming declarations created later for the -- formals (see exp_ch9.Add_Formal_Renamings). declare E1 : Entity_Id; E2 : Entity_Id; begin E1 := First_Entity (Entry_Name); while Present (E1) loop E2 := First_Entity (Id); while Present (E2) loop exit when Chars (E1) = Chars (E2); Next_Entity (E2); end loop; -- If no matching body entity, then we already had a detected -- error of some kind, so just don't worry about these warnings. if No (E2) then goto Continue; end if; if Ekind (E1) = E_Out_Parameter then Set_Never_Set_In_Source (E2, Never_Set_In_Source (E1)); Set_Never_Set_In_Source (E1, False); end if; Set_Referenced (E2, Referenced (E1)); Set_Referenced (E1); Set_Has_Pragma_Unreferenced (E2, Has_Pragma_Unreferenced (E1)); Set_Entry_Component (E2, Entry_Component (E1)); <<Continue>> Next_Entity (E1); end loop; Check_References (Id); end; -- We still need to check references for the spec, since objects -- declared in the body are chained (in the First_Entity sense) to -- the spec rather than the body in the case of entries. Check_References (Entry_Name); -- Process the end label, and terminate the scope Process_End_Label (Handled_Statement_Sequence (N), 't', Entry_Name); Update_Use_Clause_Chain; End_Scope; -- If this is an entry family, remove the loop created to provide -- a scope for the entry index. if Ekind (Id) = E_Entry_Family and then Present (Entry_Index_Specification (Formals)) then End_Scope; end if; end Analyze_Entry_Body; ------------------------------------ -- Analyze_Entry_Body_Formal_Part -- ------------------------------------ procedure Analyze_Entry_Body_Formal_Part (N : Node_Id) is Id : constant Entity_Id := Defining_Identifier (Parent (N)); Index : constant Node_Id := Entry_Index_Specification (N); Formals : constant List_Id := Parameter_Specifications (N); begin Tasking_Used := True; if Present (Index) then Analyze (Index); -- The entry index functions like a loop variable, thus it is known -- to have a valid value. Set_Is_Known_Valid (Defining_Identifier (Index)); end if; if Present (Formals) then Set_Scope (Id, Current_Scope); Push_Scope (Id); Process_Formals (Formals, Parent (N)); End_Scope; end if; end Analyze_Entry_Body_Formal_Part; ------------------------------------ -- Analyze_Entry_Call_Alternative -- ------------------------------------ procedure Analyze_Entry_Call_Alternative (N : Node_Id) is Call : constant Node_Id := Entry_Call_Statement (N); begin Tasking_Used := True; if Present (Pragmas_Before (N)) then Analyze_List (Pragmas_Before (N)); end if; if Nkind (Call) = N_Attribute_Reference then -- Possibly a stream attribute, but definitely illegal. Other -- illegalities, such as procedure calls, are diagnosed after -- resolution. Error_Msg_N ("entry call alternative requires an entry call", Call); return; end if; Analyze (Call); -- An indirect call in this context is illegal. A procedure call that -- does not involve a renaming of an entry is illegal as well, but this -- and other semantic errors are caught during resolution. if Nkind (Call) = N_Explicit_Dereference then Error_Msg_N ("entry call or dispatching primitive of interface required ", N); end if; if Is_Non_Empty_List (Statements (N)) then Analyze_Statements (Statements (N)); end if; end Analyze_Entry_Call_Alternative; ------------------------------- -- Analyze_Entry_Declaration -- ------------------------------- procedure Analyze_Entry_Declaration (N : Node_Id) is D_Sdef : constant Node_Id := Discrete_Subtype_Definition (N); Def_Id : constant Entity_Id := Defining_Identifier (N); Formals : constant List_Id := Parameter_Specifications (N); begin Generate_Definition (Def_Id); Tasking_Used := True; -- Case of no discrete subtype definition if No (D_Sdef) then Set_Ekind (Def_Id, E_Entry); -- Processing for discrete subtype definition present else Enter_Name (Def_Id); Set_Ekind (Def_Id, E_Entry_Family); Analyze (D_Sdef); Make_Index (D_Sdef, N, Def_Id); -- Check subtype with predicate in entry family Bad_Predicated_Subtype_Use ("subtype& has predicate, not allowed in entry family", D_Sdef, Etype (D_Sdef)); -- Check entry family static bounds outside allowed limits -- Note: originally this check was not performed here, but in that -- case the check happens deep in the expander, and the message is -- posted at the wrong location, and omitted in -gnatc mode. -- If the type of the entry index is a generic formal, no check -- is possible. In an instance, the check is not static and a run- -- time exception will be raised if the bounds are unreasonable. declare PEI : constant Entity_Id := RTE (RE_Protected_Entry_Index); LB : constant Uint := Expr_Value (Type_Low_Bound (PEI)); UB : constant Uint := Expr_Value (Type_High_Bound (PEI)); LBR : Node_Id; UBR : Node_Id; begin -- No bounds checking if the type is generic or if previous error. -- In an instance the check is dynamic. if Is_Generic_Type (Etype (D_Sdef)) or else In_Instance or else Error_Posted (D_Sdef) then goto Skip_LB; elsif Nkind (D_Sdef) = N_Range then LBR := Low_Bound (D_Sdef); elsif Is_Entity_Name (D_Sdef) and then Is_Type (Entity (D_Sdef)) then LBR := Type_Low_Bound (Entity (D_Sdef)); else goto Skip_LB; end if; if Is_OK_Static_Expression (LBR) and then Expr_Value (LBR) < LB then Error_Msg_Uint_1 := LB; Error_Msg_N ("entry family low bound must be '>'= ^!", D_Sdef); end if; <<Skip_LB>> if Is_Generic_Type (Etype (D_Sdef)) or else In_Instance or else Error_Posted (D_Sdef) then goto Skip_UB; elsif Nkind (D_Sdef) = N_Range then UBR := High_Bound (D_Sdef); elsif Is_Entity_Name (D_Sdef) and then Is_Type (Entity (D_Sdef)) then UBR := Type_High_Bound (Entity (D_Sdef)); else goto Skip_UB; end if; if Is_OK_Static_Expression (UBR) and then Expr_Value (UBR) > UB then Error_Msg_Uint_1 := UB; Error_Msg_N ("entry family high bound must be '<'= ^!", D_Sdef); end if; <<Skip_UB>> null; end; end if; -- Decorate Def_Id Set_Etype (Def_Id, Standard_Void_Type); Set_Convention (Def_Id, Convention_Entry); Set_Accept_Address (Def_Id, New_Elmt_List); -- Set the SPARK_Mode from the current context (may be overwritten later -- with an explicit pragma). Task entries are excluded because they are -- not completed by entry bodies. if Ekind (Current_Scope) = E_Protected_Type then Set_SPARK_Pragma (Def_Id, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (Def_Id); end if; -- Preserve relevant elaboration-related attributes of the context which -- are no longer available or very expensive to recompute once analysis, -- resolution, and expansion are over. Mark_Elaboration_Attributes (N_Id => Def_Id, Checks => True, Warnings => True); -- Process formals if Present (Formals) then Set_Scope (Def_Id, Current_Scope); Push_Scope (Def_Id); Process_Formals (Formals, N); Create_Extra_Formals (Def_Id); End_Scope; end if; if Ekind (Def_Id) = E_Entry then New_Overloaded_Entity (Def_Id); end if; Generate_Reference_To_Formals (Def_Id); if Has_Aspects (N) then Analyze_Aspect_Specifications (N, Def_Id); end if; end Analyze_Entry_Declaration; --------------------------------------- -- Analyze_Entry_Index_Specification -- --------------------------------------- -- The Defining_Identifier of the entry index specification is local to the -- entry body, but it must be available in the entry barrier which is -- evaluated outside of the entry body. The index is eventually renamed as -- a run-time object, so its visibility is strictly a front-end concern. In -- order to make it available to the barrier, we create an additional -- scope, as for a loop, whose only declaration is the index name. This -- loop is not attached to the tree and does not appear as an entity local -- to the protected type, so its existence need only be known to routines -- that process entry families. procedure Analyze_Entry_Index_Specification (N : Node_Id) is Iden : constant Node_Id := Defining_Identifier (N); Def : constant Node_Id := Discrete_Subtype_Definition (N); Loop_Id : constant Entity_Id := Make_Temporary (Sloc (N), 'L'); begin Tasking_Used := True; Analyze (Def); -- There is no elaboration of the entry index specification. Therefore, -- if the index is a range, it is not resolved and expanded, but the -- bounds are inherited from the entry declaration, and reanalyzed. -- See Analyze_Entry_Body. if Nkind (Def) /= N_Range then Make_Index (Def, N); end if; Set_Ekind (Loop_Id, E_Loop); Set_Scope (Loop_Id, Current_Scope); Push_Scope (Loop_Id); Enter_Name (Iden); Set_Ekind (Iden, E_Entry_Index_Parameter); Set_Etype (Iden, Etype (Def)); end Analyze_Entry_Index_Specification; ---------------------------- -- Analyze_Protected_Body -- ---------------------------- procedure Analyze_Protected_Body (N : Node_Id) is Body_Id : constant Entity_Id := Defining_Identifier (N); Last_E : Entity_Id; Spec_Id : Entity_Id; -- This is initially the entity of the protected object or protected -- type involved, but is replaced by the protected type always in the -- case of a single protected declaration, since this is the proper -- scope to be used. Ref_Id : Entity_Id; -- This is the entity of the protected object or protected type -- involved, and is the entity used for cross-reference purposes (it -- differs from Spec_Id in the case of a single protected object, since -- Spec_Id is set to the protected type in this case). function Lock_Free_Disabled return Boolean; -- This routine returns False if the protected object has a Lock_Free -- aspect specification or a Lock_Free pragma that turns off the -- lock-free implementation (e.g. whose expression is False). ------------------------ -- Lock_Free_Disabled -- ------------------------ function Lock_Free_Disabled return Boolean is Ritem : constant Node_Id := Get_Rep_Item (Spec_Id, Name_Lock_Free, Check_Parents => False); begin if Present (Ritem) then -- Pragma with one argument if Nkind (Ritem) = N_Pragma and then Present (Pragma_Argument_Associations (Ritem)) then return Is_False (Static_Boolean (Expression (First (Pragma_Argument_Associations (Ritem))))); -- Aspect Specification with expression present elsif Nkind (Ritem) = N_Aspect_Specification and then Present (Expression (Ritem)) then return Is_False (Static_Boolean (Expression (Ritem))); -- Otherwise, return False else return False; end if; end if; return False; end Lock_Free_Disabled; -- Start of processing for Analyze_Protected_Body begin -- A protected body freezes the contract of the nearest enclosing -- package body and all other contracts encountered in the same -- declarative part up to and excluding the protected body. This -- ensures that any annotations referenced by the contract of an -- entry or subprogram body declared within the current protected -- body are available. Freeze_Previous_Contracts (N); Tasking_Used := True; Set_Ekind (Body_Id, E_Protected_Body); Set_Etype (Body_Id, Standard_Void_Type); Spec_Id := Find_Concurrent_Spec (Body_Id); if Present (Spec_Id) and then Ekind (Spec_Id) = E_Protected_Type then null; elsif Present (Spec_Id) and then Ekind (Etype (Spec_Id)) = E_Protected_Type and then not Comes_From_Source (Etype (Spec_Id)) then null; else Error_Msg_N ("missing specification for protected body", Body_Id); return; end if; Ref_Id := Spec_Id; Generate_Reference (Ref_Id, Body_Id, 'b', Set_Ref => False); Style.Check_Identifier (Body_Id, Spec_Id); -- The declarations are always attached to the type if Ekind (Spec_Id) /= E_Protected_Type then Spec_Id := Etype (Spec_Id); end if; if Has_Aspects (N) then Analyze_Aspect_Specifications (N, Body_Id); end if; Push_Scope (Spec_Id); Set_Corresponding_Spec (N, Spec_Id); Set_Corresponding_Body (Parent (Spec_Id), Body_Id); Set_Has_Completion (Spec_Id); Install_Declarations (Spec_Id); Expand_Protected_Body_Declarations (N, Spec_Id); Last_E := Last_Entity (Spec_Id); Analyze_Declarations (Declarations (N)); -- For visibility purposes, all entities in the body are private. Set -- First_Private_Entity accordingly, if there was no private part in the -- protected declaration. if No (First_Private_Entity (Spec_Id)) then if Present (Last_E) then Set_First_Private_Entity (Spec_Id, Next_Entity (Last_E)); else Set_First_Private_Entity (Spec_Id, First_Entity (Spec_Id)); end if; end if; Check_Completion (Body_Id); Check_References (Spec_Id); Process_End_Label (N, 't', Ref_Id); Update_Use_Clause_Chain; End_Scope; -- When a Lock_Free aspect specification/pragma forces the lock-free -- implementation, verify the protected body meets all the restrictions, -- otherwise Allows_Lock_Free_Implementation issues an error message. if Uses_Lock_Free (Spec_Id) then if not Allows_Lock_Free_Implementation (N, True) then return; end if; -- In other cases, if there is no aspect specification/pragma that -- disables the lock-free implementation, check both the protected -- declaration and body satisfy the lock-free restrictions. elsif not Lock_Free_Disabled and then Allows_Lock_Free_Implementation (Parent (Spec_Id)) and then Allows_Lock_Free_Implementation (N) then Set_Uses_Lock_Free (Spec_Id); end if; end Analyze_Protected_Body; ---------------------------------- -- Analyze_Protected_Definition -- ---------------------------------- procedure Analyze_Protected_Definition (N : Node_Id) is procedure Undelay_Itypes (T : Entity_Id); -- Itypes created for the private components of a protected type -- do not receive freeze nodes, because there is no scope in which -- they can be elaborated, and they can depend on discriminants of -- the enclosed protected type. Given that the components can be -- composite types with inner components, we traverse recursively -- the private components of the protected type, and indicate that -- all itypes within are frozen. This ensures that no freeze nodes -- will be generated for them. In the case of itypes that are access -- types we need to complete their representation by calling layout, -- which would otherwise be invoked when freezing a type. -- -- On the other hand, components of the corresponding record are -- frozen (or receive itype references) as for other records. -------------------- -- Undelay_Itypes -- -------------------- procedure Undelay_Itypes (T : Entity_Id) is Comp : Entity_Id; begin if Is_Protected_Type (T) then Comp := First_Private_Entity (T); elsif Is_Record_Type (T) then Comp := First_Entity (T); else return; end if; while Present (Comp) loop if Is_Type (Comp) and then Is_Itype (Comp) then Set_Has_Delayed_Freeze (Comp, False); Set_Is_Frozen (Comp); if Is_Access_Type (Comp) then Layout_Type (Comp); end if; if Is_Record_Type (Comp) or else Is_Protected_Type (Comp) then Undelay_Itypes (Comp); end if; end if; Next_Entity (Comp); end loop; end Undelay_Itypes; -- Local variables Prot_Typ : constant Entity_Id := Current_Scope; Item_Id : Entity_Id; Last_Id : Entity_Id; -- Start of processing for Analyze_Protected_Definition begin Tasking_Used := True; Analyze_Declarations (Visible_Declarations (N)); if Present (Private_Declarations (N)) and then not Is_Empty_List (Private_Declarations (N)) then Last_Id := Last_Entity (Prot_Typ); Analyze_Declarations (Private_Declarations (N)); if Present (Last_Id) then Set_First_Private_Entity (Prot_Typ, Next_Entity (Last_Id)); else Set_First_Private_Entity (Prot_Typ, First_Entity (Prot_Typ)); end if; end if; Item_Id := First_Entity (Prot_Typ); while Present (Item_Id) loop if Ekind (Item_Id) in E_Function | E_Procedure then Set_Convention (Item_Id, Convention_Protected); else Propagate_Concurrent_Flags (Prot_Typ, Etype (Item_Id)); if Chars (Item_Id) /= Name_uParent and then Needs_Finalization (Etype (Item_Id)) then Set_Has_Controlled_Component (Prot_Typ); end if; end if; Next_Entity (Item_Id); end loop; Undelay_Itypes (Prot_Typ); Check_Max_Entries (N, Max_Protected_Entries); Process_End_Label (N, 'e', Prot_Typ); end Analyze_Protected_Definition; ---------------------------------------- -- Analyze_Protected_Type_Declaration -- ---------------------------------------- procedure Analyze_Protected_Type_Declaration (N : Node_Id) is Def_Id : constant Entity_Id := Defining_Identifier (N); E : Entity_Id; T : Entity_Id; begin if No_Run_Time_Mode then Error_Msg_CRT ("protected type", N); if Has_Aspects (N) then Analyze_Aspect_Specifications (N, Def_Id); end if; return; end if; Tasking_Used := True; Check_Restriction (No_Protected_Types, N); T := Find_Type_Name (N); -- In the case of an incomplete type, use the full view, unless it's not -- present (as can occur for an incomplete view from a limited with). if Ekind (T) = E_Incomplete_Type and then Present (Full_View (T)) then T := Full_View (T); Set_Completion_Referenced (T); end if; Set_Ekind (T, E_Protected_Type); Set_Is_First_Subtype (T); Init_Size_Align (T); Set_Etype (T, T); Set_Has_Delayed_Freeze (T); Set_Stored_Constraint (T, No_Elist); -- Mark this type as a protected type for the sake of restrictions, -- unless the protected type is declared in a private part of a package -- of the runtime. With this exception, the Suspension_Object from -- Ada.Synchronous_Task_Control can be implemented using a protected -- object without triggering violations of No_Local_Protected_Objects -- when the user locally declares such an object. This may look like a -- trick, but the user doesn't have to know how Suspension_Object is -- implemented. if In_Private_Part (Current_Scope) and then Is_Internal_Unit (Current_Sem_Unit) then Set_Has_Protected (T, False); else Set_Has_Protected (T); end if; -- Set the SPARK_Mode from the current context (may be overwritten later -- with an explicit pragma). Set_SPARK_Pragma (T, SPARK_Mode_Pragma); Set_SPARK_Aux_Pragma (T, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (T); Set_SPARK_Aux_Pragma_Inherited (T); Push_Scope (T); if Ada_Version >= Ada_2005 then Check_Interfaces (N, T); end if; if Present (Discriminant_Specifications (N)) then if Has_Discriminants (T) then -- Install discriminants. Also, verify conformance of -- discriminants of previous and current view. ??? Install_Declarations (T); else Process_Discriminants (N); end if; end if; Set_Is_Constrained (T, not Has_Discriminants (T)); -- If aspects are present, analyze them now. They can make references to -- the discriminants of the type, but not to any components. if Has_Aspects (N) then -- The protected type is the full view of a private type. Analyze the -- aspects with the entity of the private type to ensure that after -- both views are exchanged, the aspect are actually associated with -- the full view. if T /= Def_Id and then Is_Private_Type (Def_Id) then Analyze_Aspect_Specifications (N, T); else Analyze_Aspect_Specifications (N, Def_Id); end if; end if; Analyze (Protected_Definition (N)); -- In the case where the protected type is declared at a nested level -- and the No_Local_Protected_Objects restriction applies, issue a -- warning that objects of the type will violate the restriction. if Restriction_Check_Required (No_Local_Protected_Objects) and then not Is_Library_Level_Entity (T) and then Comes_From_Source (T) then Error_Msg_Sloc := Restrictions_Loc (No_Local_Protected_Objects); if Error_Msg_Sloc = No_Location then Error_Msg_N ("objects of this type will violate " & "`No_Local_Protected_Objects`??", N); else Error_Msg_N ("objects of this type will violate " & "`No_Local_Protected_Objects`#??", N); end if; end if; -- Protected types with entries are controlled (because of the -- Protection component if nothing else), same for any protected type -- with interrupt handlers. Note that we need to analyze the protected -- definition to set Has_Entries and such. if (Abort_Allowed or else Restriction_Active (No_Entry_Queue) = False or else Number_Entries (T) > 1) and then not Restricted_Profile and then (Has_Entries (T) or else Has_Interrupt_Handler (T) or else Has_Attach_Handler (T)) then Set_Has_Controlled_Component (T, True); end if; -- The Ekind of components is E_Void during analysis to detect illegal -- uses. Now it can be set correctly. E := First_Entity (Current_Scope); while Present (E) loop if Ekind (E) = E_Void then Set_Ekind (E, E_Component); Init_Component_Location (E); end if; Next_Entity (E); end loop; End_Scope; -- When a Lock_Free aspect forces the lock-free implementation, check N -- meets all the lock-free restrictions. Otherwise, an error message is -- issued by Allows_Lock_Free_Implementation. if Uses_Lock_Free (Defining_Identifier (N)) then -- Complain when there is an explicit aspect/pragma Priority (or -- Interrupt_Priority) while the lock-free implementation is forced -- by an aspect/pragma. declare Id : constant Entity_Id := Defining_Identifier (Original_Node (N)); -- The warning must be issued on the original identifier in order -- to deal properly with the case of a single protected object. Prio_Item : constant Node_Id := Get_Rep_Item (Def_Id, Name_Priority, False); begin if Present (Prio_Item) then -- Aspect case if Nkind (Prio_Item) = N_Aspect_Specification or else From_Aspect_Specification (Prio_Item) then Error_Msg_Name_1 := Chars (Identifier (Prio_Item)); Error_Msg_NE ("aspect% for & has no effect when Lock_Free given??", Prio_Item, Id); -- Pragma case else Error_Msg_Name_1 := Pragma_Name (Prio_Item); Error_Msg_NE ("pragma% for & has no effect when Lock_Free given??", Prio_Item, Id); end if; end if; end; if not Allows_Lock_Free_Implementation (N, Lock_Free_Given => True) then return; end if; end if; -- If the Attach_Handler aspect is specified or the Interrupt_Handler -- aspect is True, then the initial ceiling priority must be in the -- range of System.Interrupt_Priority. It is therefore recommanded -- to use the Interrupt_Priority aspect instead of the Priority aspect. if Has_Interrupt_Handler (T) or else Has_Attach_Handler (T) then declare Prio_Item : constant Node_Id := Get_Rep_Item (Def_Id, Name_Priority, False); begin if Present (Prio_Item) then -- Aspect case if (Nkind (Prio_Item) = N_Aspect_Specification or else From_Aspect_Specification (Prio_Item)) and then Chars (Identifier (Prio_Item)) = Name_Priority then Error_Msg_N ("aspect Interrupt_Priority is preferred in presence of " & "handlers??", Prio_Item); -- Pragma case elsif Nkind (Prio_Item) = N_Pragma and then Pragma_Name (Prio_Item) = Name_Priority then Error_Msg_N ("pragma Interrupt_Priority is preferred in presence of " & "handlers??", Prio_Item); end if; end if; end; end if; -- Case of a completion of a private declaration if T /= Def_Id and then Is_Private_Type (Def_Id) then -- Deal with preelaborable initialization. Note that this processing -- is done by Process_Full_View, but as can be seen below, in this -- case the call to Process_Full_View is skipped if any serious -- errors have occurred, and we don't want to lose this check. if Known_To_Have_Preelab_Init (Def_Id) then Set_Must_Have_Preelab_Init (T); end if; -- Propagate Default_Initial_Condition-related attributes from the -- private type to the protected type. Propagate_DIC_Attributes (T, From_Typ => Def_Id); -- Propagate invariant-related attributes from the private type to -- the protected type. Propagate_Invariant_Attributes (T, From_Typ => Def_Id); -- Propagate predicate-related attributes from the private type to -- the protected type. Propagate_Predicate_Attributes (T, From_Typ => Def_Id); -- Create corresponding record now, because some private dependents -- may be subtypes of the partial view. -- Skip if errors are present, to prevent cascaded messages if Serious_Errors_Detected = 0 -- Also skip if expander is not active and then Expander_Active then Expand_N_Protected_Type_Declaration (N); Process_Full_View (N, T, Def_Id); end if; end if; -- In GNATprove mode, force the loading of a Interrupt_Priority, which -- is required for the ceiling priority protocol checks triggered by -- calls originating from protected subprograms and entries. if GNATprove_Mode then SPARK_Implicit_Load (RE_Interrupt_Priority); end if; end Analyze_Protected_Type_Declaration; --------------------- -- Analyze_Requeue -- --------------------- procedure Analyze_Requeue (N : Node_Id) is Count : Natural := 0; Entry_Name : Node_Id := Name (N); Entry_Id : Entity_Id; I : Interp_Index; Is_Disp_Req : Boolean; It : Interp; Enclosing : Entity_Id; Target_Obj : Node_Id := Empty; Req_Scope : Entity_Id; Outer_Ent : Entity_Id; Synch_Type : Entity_Id := Empty; begin -- Preserve relevant elaboration-related attributes of the context which -- are no longer available or very expensive to recompute once analysis, -- resolution, and expansion are over. Mark_Elaboration_Attributes (N_Id => N, Checks => True, Modes => True, Warnings => True); Tasking_Used := True; Check_Restriction (No_Requeue_Statements, N); Check_Unreachable_Code (N); Enclosing := Empty; for J in reverse 0 .. Scope_Stack.Last loop Enclosing := Scope_Stack.Table (J).Entity; exit when Is_Entry (Enclosing); if Ekind (Enclosing) not in E_Block | E_Loop then Error_Msg_N ("requeue must appear within accept or entry body", N); return; end if; end loop; Analyze (Entry_Name); if Etype (Entry_Name) = Any_Type then return; end if; if Nkind (Entry_Name) = N_Selected_Component then Target_Obj := Prefix (Entry_Name); Entry_Name := Selector_Name (Entry_Name); end if; -- If an explicit target object is given then we have to check the -- restrictions of 9.5.4(6). if Present (Target_Obj) then -- Locate containing concurrent unit and determine enclosing entry -- body or outermost enclosing accept statement within the unit. Outer_Ent := Empty; for S in reverse 0 .. Scope_Stack.Last loop Req_Scope := Scope_Stack.Table (S).Entity; exit when Is_Concurrent_Type (Req_Scope); if Is_Entry (Req_Scope) then Outer_Ent := Req_Scope; end if; end loop; pragma Assert (Present (Outer_Ent)); -- Check that the accessibility level of the target object is not -- greater or equal to the outermost enclosing accept statement (or -- entry body) unless it is a parameter of the innermost enclosing -- accept statement (or entry body). if Object_Access_Level (Target_Obj) >= Scope_Depth (Outer_Ent) and then (not Is_Entity_Name (Target_Obj) or else not Is_Formal (Entity (Target_Obj)) or else Enclosing /= Scope (Entity (Target_Obj))) then Error_Msg_N ("target object has invalid level for requeue", Target_Obj); end if; end if; -- Overloaded case, find right interpretation if Is_Overloaded (Entry_Name) then Entry_Id := Empty; -- Loop over candidate interpretations and filter out any that are -- not parameterless, are not type conformant, are not entries, or -- do not come from source. Get_First_Interp (Entry_Name, I, It); while Present (It.Nam) loop -- Note: we test type conformance here, not subtype conformance. -- Subtype conformance will be tested later on, but it is better -- for error output in some cases not to do that here. if (No (First_Formal (It.Nam)) or else (Type_Conformant (Enclosing, It.Nam))) and then Ekind (It.Nam) = E_Entry then -- Ada 2005 (AI-345): Since protected and task types have -- primitive entry wrappers, we only consider source entries. if Comes_From_Source (It.Nam) then Count := Count + 1; Entry_Id := It.Nam; else Remove_Interp (I); end if; end if; Get_Next_Interp (I, It); end loop; if Count = 0 then Error_Msg_N ("no entry matches context", N); return; elsif Count > 1 then Error_Msg_N ("ambiguous entry name in requeue", N); return; else Set_Is_Overloaded (Entry_Name, False); Set_Entity (Entry_Name, Entry_Id); end if; -- Non-overloaded cases -- For the case of a reference to an element of an entry family, the -- Entry_Name is an indexed component. elsif Nkind (Entry_Name) = N_Indexed_Component then -- Requeue to an entry out of the body if Nkind (Prefix (Entry_Name)) = N_Selected_Component then Entry_Id := Entity (Selector_Name (Prefix (Entry_Name))); -- Requeue from within the body itself elsif Nkind (Prefix (Entry_Name)) = N_Identifier then Entry_Id := Entity (Prefix (Entry_Name)); else Error_Msg_N ("invalid entry_name specified", N); return; end if; -- If we had a requeue of the form REQUEUE A (B), then the parser -- accepted it (because it could have been a requeue on an entry index. -- If A turns out not to be an entry family, then the analysis of A (B) -- turned it into a function call. elsif Nkind (Entry_Name) = N_Function_Call then Error_Msg_N ("arguments not allowed in requeue statement", First (Parameter_Associations (Entry_Name))); return; -- Normal case of no entry family, no argument else Entry_Id := Entity (Entry_Name); end if; -- Ada 2012 (AI05-0030): Potential dispatching requeue statement. The -- target type must be a concurrent interface class-wide type and the -- target must be a procedure, flagged by pragma Implemented. The -- target may be an access to class-wide type, in which case it must -- be dereferenced. if Present (Target_Obj) then Synch_Type := Etype (Target_Obj); if Is_Access_Type (Synch_Type) then Synch_Type := Designated_Type (Synch_Type); end if; end if; Is_Disp_Req := Ada_Version >= Ada_2012 and then Present (Target_Obj) and then Is_Class_Wide_Type (Synch_Type) and then Is_Concurrent_Interface (Synch_Type) and then Ekind (Entry_Id) = E_Procedure and then Has_Rep_Pragma (Entry_Id, Name_Implemented); -- Resolve entry, and check that it is subtype conformant with the -- enclosing construct if this construct has formals (RM 9.5.4(5)). -- Ada 2005 (AI05-0030): Do not emit an error for this specific case. if not Is_Entry (Entry_Id) and then not Is_Disp_Req then Error_Msg_N ("expect entry name in requeue statement", Name (N)); elsif Ekind (Entry_Id) = E_Entry_Family and then Nkind (Entry_Name) /= N_Indexed_Component then Error_Msg_N ("missing index for entry family component", Name (N)); else Resolve_Entry (Name (N)); Generate_Reference (Entry_Id, Entry_Name); if Present (First_Formal (Entry_Id)) then -- Ada 2012 (AI05-0030): Perform type conformance after skipping -- the first parameter of Entry_Id since it is the interface -- controlling formal. if Ada_Version >= Ada_2012 and then Is_Disp_Req then declare Enclosing_Formal : Entity_Id; Target_Formal : Entity_Id; begin Enclosing_Formal := First_Formal (Enclosing); Target_Formal := Next_Formal (First_Formal (Entry_Id)); while Present (Enclosing_Formal) and then Present (Target_Formal) loop if not Conforming_Types (T1 => Etype (Enclosing_Formal), T2 => Etype (Target_Formal), Ctype => Subtype_Conformant) then Error_Msg_Node_2 := Target_Formal; Error_Msg_NE ("formal & is not subtype conformant with &" & "in dispatching requeue", N, Enclosing_Formal); end if; Next_Formal (Enclosing_Formal); Next_Formal (Target_Formal); end loop; end; else Check_Subtype_Conformant (Enclosing, Entry_Id, Name (N)); end if; -- Processing for parameters accessed by the requeue declare Ent : Entity_Id; begin Ent := First_Formal (Enclosing); while Present (Ent) loop -- For OUT or IN OUT parameter, the effect of the requeue is -- to assign the parameter a value on exit from the requeued -- body, so we can set it as source assigned. We also clear -- the Is_True_Constant indication. We do not need to clear -- Current_Value, since the effect of the requeue is to -- perform an unconditional goto so that any further -- references will not occur anyway. if Ekind (Ent) in E_Out_Parameter | E_In_Out_Parameter then Set_Never_Set_In_Source (Ent, False); Set_Is_True_Constant (Ent, False); end if; -- For all parameters, the requeue acts as a reference, -- since the value of the parameter is passed to the new -- entry, so we want to suppress unreferenced warnings. Set_Referenced (Ent); Next_Formal (Ent); end loop; end; end if; end if; -- AI05-0225: the target protected object of a requeue must be a -- variable. This is a binding interpretation that applies to all -- versions of the language. Note that the subprogram does not have -- to be a protected operation: it can be an primitive implemented -- by entry with a formal that is a protected interface. if Present (Target_Obj) and then not Is_Variable (Target_Obj) then Error_Msg_N ("target protected object of requeue must be a variable", N); end if; -- A requeue statement is treated as a call for purposes of ABE checks -- and diagnostics. Annotate the tree by creating a call marker in case -- the requeue statement is transformed by expansion. Build_Call_Marker (N); end Analyze_Requeue; ------------------------------ -- Analyze_Selective_Accept -- ------------------------------ procedure Analyze_Selective_Accept (N : Node_Id) is Alts : constant List_Id := Select_Alternatives (N); Alt : Node_Id; Accept_Present : Boolean := False; Terminate_Present : Boolean := False; Delay_Present : Boolean := False; Relative_Present : Boolean := False; Alt_Count : Uint := Uint_0; begin Tasking_Used := True; Check_Restriction (No_Select_Statements, N); -- Loop to analyze alternatives Alt := First (Alts); while Present (Alt) loop Alt_Count := Alt_Count + 1; Analyze (Alt); if Nkind (Alt) = N_Delay_Alternative then if Delay_Present then if Relative_Present /= (Nkind (Delay_Statement (Alt)) = N_Delay_Relative_Statement) then Error_Msg_N ("delay_until and delay_relative alternatives ", Alt); Error_Msg_N ("\cannot appear in the same selective_wait", Alt); end if; else Delay_Present := True; Relative_Present := Nkind (Delay_Statement (Alt)) = N_Delay_Relative_Statement; end if; elsif Nkind (Alt) = N_Terminate_Alternative then if Terminate_Present then Error_Msg_N ("only one terminate alternative allowed", N); else Terminate_Present := True; Check_Restriction (No_Terminate_Alternatives, N); end if; elsif Nkind (Alt) = N_Accept_Alternative then Accept_Present := True; -- Check for duplicate accept declare Alt1 : Node_Id; Stm : constant Node_Id := Accept_Statement (Alt); EDN : constant Node_Id := Entry_Direct_Name (Stm); Ent : Entity_Id; begin if Nkind (EDN) = N_Identifier and then No (Condition (Alt)) and then Present (Entity (EDN)) -- defend against junk and then Ekind (Entity (EDN)) = E_Entry then Ent := Entity (EDN); Alt1 := First (Alts); while Alt1 /= Alt loop if Nkind (Alt1) = N_Accept_Alternative and then No (Condition (Alt1)) then declare Stm1 : constant Node_Id := Accept_Statement (Alt1); EDN1 : constant Node_Id := Entry_Direct_Name (Stm1); begin if Nkind (EDN1) = N_Identifier then if Entity (EDN1) = Ent then Error_Msg_Sloc := Sloc (Stm1); Error_Msg_N ("accept duplicates one on line#??", Stm); exit; end if; end if; end; end if; Next (Alt1); end loop; end if; end; end if; Next (Alt); end loop; Check_Restriction (Max_Select_Alternatives, N, Alt_Count); Check_Potentially_Blocking_Operation (N); if Terminate_Present and Delay_Present then Error_Msg_N ("at most one of terminate or delay alternative", N); elsif not Accept_Present then Error_Msg_N ("select must contain at least one accept alternative", N); end if; if Present (Else_Statements (N)) then if Terminate_Present or Delay_Present then Error_Msg_N ("else part not allowed with other alternatives", N); end if; Analyze_Statements (Else_Statements (N)); end if; end Analyze_Selective_Accept; ------------------------------------------ -- Analyze_Single_Protected_Declaration -- ------------------------------------------ procedure Analyze_Single_Protected_Declaration (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); Obj_Id : constant Node_Id := Defining_Identifier (N); Obj_Decl : Node_Id; Typ : Entity_Id; begin Generate_Definition (Obj_Id); Tasking_Used := True; -- A single protected declaration is transformed into a pair of an -- anonymous protected type and an object of that type. Generate: -- protected type Typ is ...; Typ := Make_Defining_Identifier (Sloc (Obj_Id), Chars => New_External_Name (Chars (Obj_Id), 'T')); Rewrite (N, Make_Protected_Type_Declaration (Loc, Defining_Identifier => Typ, Protected_Definition => Relocate_Node (Protected_Definition (N)), Interface_List => Interface_List (N))); -- Use the original defining identifier of the single protected -- declaration in the generated object declaration to allow for debug -- information to be attached to it when compiling with -gnatD. The -- parent of the entity is the new object declaration. The single -- protected declaration is not used in semantics or code generation, -- but is scanned when generating debug information, and therefore needs -- the updated Sloc information from the entity (see Sprint). Generate: -- Obj : Typ; Obj_Decl := Make_Object_Declaration (Loc, Defining_Identifier => Obj_Id, Object_Definition => New_Occurrence_Of (Typ, Loc)); Insert_After (N, Obj_Decl); Mark_Rewrite_Insertion (Obj_Decl); -- Relocate aspect Part_Of from the original single protected -- declaration to the anonymous object declaration. This emulates the -- placement of an equivalent source pragma. Move_Or_Merge_Aspects (N, To => Obj_Decl); -- Relocate pragma Part_Of from the visible declarations of the original -- single protected declaration to the anonymous object declaration. The -- new placement better reflects the role of the pragma. Relocate_Pragmas_To_Anonymous_Object (N, Obj_Decl); -- Enter the names of the anonymous protected type and the object before -- analysis takes places, because the name of the object may be used in -- its own body. Enter_Name (Typ); Set_Ekind (Typ, E_Protected_Type); Set_Etype (Typ, Typ); Set_Anonymous_Object (Typ, Obj_Id); Enter_Name (Obj_Id); Set_Ekind (Obj_Id, E_Variable); Set_Etype (Obj_Id, Typ); Set_SPARK_Pragma (Obj_Id, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (Obj_Id); -- Instead of calling Analyze on the new node, call the proper analysis -- procedure directly. Otherwise the node would be expanded twice, with -- disastrous result. Analyze_Protected_Type_Declaration (N); if Has_Aspects (N) then Analyze_Aspect_Specifications (N, Obj_Id); end if; end Analyze_Single_Protected_Declaration; ------------------------------------- -- Analyze_Single_Task_Declaration -- ------------------------------------- procedure Analyze_Single_Task_Declaration (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); Obj_Id : constant Node_Id := Defining_Identifier (N); Obj_Decl : Node_Id; Typ : Entity_Id; begin Generate_Definition (Obj_Id); Tasking_Used := True; -- A single task declaration is transformed into a pair of an anonymous -- task type and an object of that type. Generate: -- task type Typ is ...; Typ := Make_Defining_Identifier (Sloc (Obj_Id), Chars => New_External_Name (Chars (Obj_Id), Suffix => "TK")); Rewrite (N, Make_Task_Type_Declaration (Loc, Defining_Identifier => Typ, Task_Definition => Relocate_Node (Task_Definition (N)), Interface_List => Interface_List (N))); -- Use the original defining identifier of the single task declaration -- in the generated object declaration to allow for debug information -- to be attached to it when compiling with -gnatD. The parent of the -- entity is the new object declaration. The single task declaration -- is not used in semantics or code generation, but is scanned when -- generating debug information, and therefore needs the updated Sloc -- information from the entity (see Sprint). Generate: -- Obj : Typ; Obj_Decl := Make_Object_Declaration (Loc, Defining_Identifier => Obj_Id, Object_Definition => New_Occurrence_Of (Typ, Loc)); Insert_After (N, Obj_Decl); Mark_Rewrite_Insertion (Obj_Decl); -- Relocate aspects Depends, Global and Part_Of from the original single -- task declaration to the anonymous object declaration. This emulates -- the placement of an equivalent source pragma. Move_Or_Merge_Aspects (N, To => Obj_Decl); -- Relocate pragmas Depends, Global and Part_Of from the visible -- declarations of the original single protected declaration to the -- anonymous object declaration. The new placement better reflects the -- role of the pragmas. Relocate_Pragmas_To_Anonymous_Object (N, Obj_Decl); -- Enter the names of the anonymous task type and the object before -- analysis takes places, because the name of the object may be used -- in its own body. Enter_Name (Typ); Set_Ekind (Typ, E_Task_Type); Set_Etype (Typ, Typ); Set_Anonymous_Object (Typ, Obj_Id); Enter_Name (Obj_Id); Set_Ekind (Obj_Id, E_Variable); Set_Etype (Obj_Id, Typ); Set_SPARK_Pragma (Obj_Id, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (Obj_Id); -- Preserve relevant elaboration-related attributes of the context which -- are no longer available or very expensive to recompute once analysis, -- resolution, and expansion are over. Mark_Elaboration_Attributes (N_Id => Obj_Id, Checks => True, Warnings => True); -- Instead of calling Analyze on the new node, call the proper analysis -- procedure directly. Otherwise the node would be expanded twice, with -- disastrous result. Analyze_Task_Type_Declaration (N); if Has_Aspects (N) then Analyze_Aspect_Specifications (N, Obj_Id); end if; end Analyze_Single_Task_Declaration; ----------------------- -- Analyze_Task_Body -- ----------------------- procedure Analyze_Task_Body (N : Node_Id) is Body_Id : constant Entity_Id := Defining_Identifier (N); Decls : constant List_Id := Declarations (N); HSS : constant Node_Id := Handled_Statement_Sequence (N); Last_E : Entity_Id; Spec_Id : Entity_Id; -- This is initially the entity of the task or task type involved, but -- is replaced by the task type always in the case of a single task -- declaration, since this is the proper scope to be used. Ref_Id : Entity_Id; -- This is the entity of the task or task type, and is the entity used -- for cross-reference purposes (it differs from Spec_Id in the case of -- a single task, since Spec_Id is set to the task type). begin -- A task body freezes the contract of the nearest enclosing package -- body and all other contracts encountered in the same declarative part -- up to and excluding the task body. This ensures that annotations -- referenced by the contract of an entry or subprogram body declared -- within the current protected body are available. Freeze_Previous_Contracts (N); Tasking_Used := True; Set_Scope (Body_Id, Current_Scope); Set_Ekind (Body_Id, E_Task_Body); Set_Etype (Body_Id, Standard_Void_Type); Spec_Id := Find_Concurrent_Spec (Body_Id); -- The spec is either a task type declaration, or a single task -- declaration for which we have created an anonymous type. if Present (Spec_Id) and then Ekind (Spec_Id) = E_Task_Type then null; elsif Present (Spec_Id) and then Ekind (Etype (Spec_Id)) = E_Task_Type and then not Comes_From_Source (Etype (Spec_Id)) then null; else Error_Msg_N ("missing specification for task body", Body_Id); return; end if; if Has_Completion (Spec_Id) and then Present (Corresponding_Body (Parent (Spec_Id))) then if Nkind (Parent (Spec_Id)) = N_Task_Type_Declaration then Error_Msg_NE ("duplicate body for task type&", N, Spec_Id); else Error_Msg_NE ("duplicate body for task&", N, Spec_Id); end if; end if; Ref_Id := Spec_Id; Generate_Reference (Ref_Id, Body_Id, 'b', Set_Ref => False); Style.Check_Identifier (Body_Id, Spec_Id); -- Deal with case of body of single task (anonymous type was created) if Ekind (Spec_Id) = E_Variable then Spec_Id := Etype (Spec_Id); end if; -- Set the SPARK_Mode from the current context (may be overwritten later -- with an explicit pragma). Set_SPARK_Pragma (Body_Id, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (Body_Id); if Has_Aspects (N) then Analyze_Aspect_Specifications (N, Body_Id); end if; Push_Scope (Spec_Id); Set_Corresponding_Spec (N, Spec_Id); Set_Corresponding_Body (Parent (Spec_Id), Body_Id); Set_Has_Completion (Spec_Id); Install_Declarations (Spec_Id); Last_E := Last_Entity (Spec_Id); Analyze_Declarations (Decls); Inspect_Deferred_Constant_Completion (Decls); -- For visibility purposes, all entities in the body are private. Set -- First_Private_Entity accordingly, if there was no private part in the -- protected declaration. if No (First_Private_Entity (Spec_Id)) then if Present (Last_E) then Set_First_Private_Entity (Spec_Id, Next_Entity (Last_E)); else Set_First_Private_Entity (Spec_Id, First_Entity (Spec_Id)); end if; -- The entity list of the current scope now includes entities in -- the spec as well as the body. Their declarations will become -- part of the statement sequence of the task body procedure that -- is built during expansion. Indicate that aspect specifications -- for these entities need not be rechecked. The guards on -- Check_Aspect_At_End_Of_Declarations are not sufficient to -- suppress these checks, because the declarations come from source. declare Priv : Entity_Id := First_Private_Entity (Spec_Id); begin while Present (Priv) loop Set_Has_Delayed_Aspects (Priv, False); Next_Entity (Priv); end loop; end; end if; -- Mark all handlers as not suitable for local raise optimization, -- since this optimization causes difficulties in a task context. if Present (Exception_Handlers (HSS)) then declare Handlr : Node_Id; begin Handlr := First (Exception_Handlers (HSS)); while Present (Handlr) loop Set_Local_Raise_Not_OK (Handlr); Next (Handlr); end loop; end; end if; -- Now go ahead and complete analysis of the task body Analyze (HSS); Check_Completion (Body_Id); Check_References (Body_Id); Check_References (Spec_Id); -- Check for entries with no corresponding accept declare Ent : Entity_Id; begin Ent := First_Entity (Spec_Id); while Present (Ent) loop if Is_Entry (Ent) and then not Entry_Accepted (Ent) and then Comes_From_Source (Ent) then Error_Msg_NE ("no accept for entry &??", N, Ent); end if; Next_Entity (Ent); end loop; end; Process_End_Label (HSS, 't', Ref_Id); Update_Use_Clause_Chain; End_Scope; end Analyze_Task_Body; ----------------------------- -- Analyze_Task_Definition -- ----------------------------- procedure Analyze_Task_Definition (N : Node_Id) is L : Entity_Id; begin Tasking_Used := True; if Present (Visible_Declarations (N)) then Analyze_Declarations (Visible_Declarations (N)); end if; if Present (Private_Declarations (N)) then L := Last_Entity (Current_Scope); Analyze_Declarations (Private_Declarations (N)); if Present (L) then Set_First_Private_Entity (Current_Scope, Next_Entity (L)); else Set_First_Private_Entity (Current_Scope, First_Entity (Current_Scope)); end if; end if; Check_Max_Entries (N, Max_Task_Entries); Process_End_Label (N, 'e', Current_Scope); end Analyze_Task_Definition; ----------------------------------- -- Analyze_Task_Type_Declaration -- ----------------------------------- procedure Analyze_Task_Type_Declaration (N : Node_Id) is Def_Id : constant Entity_Id := Defining_Identifier (N); T : Entity_Id; begin -- Attempt to use tasking in no run time mode is not allowe. Issue hard -- error message to disable expansion which leads to crashes. if Opt.No_Run_Time_Mode then Error_Msg_N ("tasking not allowed in No_Run_Time mode", N); -- Otherwise soft check for no tasking restriction else Check_Restriction (No_Tasking, N); end if; -- Proceed ahead with analysis of task type declaration Tasking_Used := True; -- The sequential partition elaboration policy is supported only in the -- restricted profile. if Partition_Elaboration_Policy = 'S' and then not Restricted_Profile then Error_Msg_N ("sequential elaboration supported only in restricted profile", N); end if; T := Find_Type_Name (N); Generate_Definition (T); -- In the case of an incomplete type, use the full view, unless it's not -- present (as can occur for an incomplete view from a limited with). -- Initialize the Corresponding_Record_Type (which overlays the Private -- Dependents field of the incomplete view). if Ekind (T) = E_Incomplete_Type then if Present (Full_View (T)) then T := Full_View (T); Set_Completion_Referenced (T); else Set_Ekind (T, E_Task_Type); Set_Corresponding_Record_Type (T, Empty); end if; end if; Set_Ekind (T, E_Task_Type); Set_Is_First_Subtype (T, True); Set_Has_Task (T, True); Init_Size_Align (T); Set_Etype (T, T); Set_Has_Delayed_Freeze (T, True); Set_Stored_Constraint (T, No_Elist); -- Set the SPARK_Mode from the current context (may be overwritten later -- with an explicit pragma). Set_SPARK_Pragma (T, SPARK_Mode_Pragma); Set_SPARK_Aux_Pragma (T, SPARK_Mode_Pragma); Set_SPARK_Pragma_Inherited (T); Set_SPARK_Aux_Pragma_Inherited (T); -- Preserve relevant elaboration-related attributes of the context which -- are no longer available or very expensive to recompute once analysis, -- resolution, and expansion are over. Mark_Elaboration_Attributes (N_Id => T, Checks => True, Warnings => True); Push_Scope (T); if Ada_Version >= Ada_2005 then Check_Interfaces (N, T); end if; if Present (Discriminant_Specifications (N)) then if Ada_Version = Ada_83 and then Comes_From_Source (N) then Error_Msg_N ("(Ada 83) task discriminant not allowed!", N); end if; if Has_Discriminants (T) then -- Install discriminants. Also, verify conformance of -- discriminants of previous and current view. ??? Install_Declarations (T); else Process_Discriminants (N); end if; end if; Set_Is_Constrained (T, not Has_Discriminants (T)); if Has_Aspects (N) then -- The task type is the full view of a private type. Analyze the -- aspects with the entity of the private type to ensure that after -- both views are exchanged, the aspect are actually associated with -- the full view. if T /= Def_Id and then Is_Private_Type (Def_Id) then Analyze_Aspect_Specifications (N, T); else Analyze_Aspect_Specifications (N, Def_Id); end if; end if; if Present (Task_Definition (N)) then Analyze_Task_Definition (Task_Definition (N)); end if; -- In the case where the task type is declared at a nested level and the -- No_Task_Hierarchy restriction applies, issue a warning that objects -- of the type will violate the restriction. if Restriction_Check_Required (No_Task_Hierarchy) and then not Is_Library_Level_Entity (T) and then Comes_From_Source (T) and then not CodePeer_Mode then Error_Msg_Sloc := Restrictions_Loc (No_Task_Hierarchy); if Error_Msg_Sloc = No_Location then Error_Msg_N ("objects of this type will violate `No_Task_Hierarchy`??", N); else Error_Msg_N ("objects of this type will violate `No_Task_Hierarchy`#??", N); end if; end if; End_Scope; -- Case of a completion of a private declaration if T /= Def_Id and then Is_Private_Type (Def_Id) then -- Deal with preelaborable initialization. Note that this processing -- is done by Process_Full_View, but as can be seen below, in this -- case the call to Process_Full_View is skipped if any serious -- errors have occurred, and we don't want to lose this check. if Known_To_Have_Preelab_Init (Def_Id) then Set_Must_Have_Preelab_Init (T); end if; -- Propagate Default_Initial_Condition-related attributes from the -- private type to the task type. Propagate_DIC_Attributes (T, From_Typ => Def_Id); -- Propagate invariant-related attributes from the private type to -- task type. Propagate_Invariant_Attributes (T, From_Typ => Def_Id); -- Propagate predicate-related attributes from the private type to -- task type. Propagate_Predicate_Attributes (T, From_Typ => Def_Id); -- Create corresponding record now, because some private dependents -- may be subtypes of the partial view. -- Skip if errors are present, to prevent cascaded messages if Serious_Errors_Detected = 0 -- Also skip if expander is not active and then Expander_Active then Expand_N_Task_Type_Declaration (N); Process_Full_View (N, T, Def_Id); end if; end if; -- In GNATprove mode, force the loading of a Interrupt_Priority, which -- is required for the ceiling priority protocol checks triggered by -- calls originating from tasks. if GNATprove_Mode then SPARK_Implicit_Load (RE_Interrupt_Priority); end if; end Analyze_Task_Type_Declaration; ----------------------------------- -- Analyze_Terminate_Alternative -- ----------------------------------- procedure Analyze_Terminate_Alternative (N : Node_Id) is begin Tasking_Used := True; if Present (Pragmas_Before (N)) then Analyze_List (Pragmas_Before (N)); end if; if Present (Condition (N)) then Analyze_And_Resolve (Condition (N), Any_Boolean); end if; end Analyze_Terminate_Alternative; ------------------------------ -- Analyze_Timed_Entry_Call -- ------------------------------ procedure Analyze_Timed_Entry_Call (N : Node_Id) is Trigger : constant Node_Id := Entry_Call_Statement (Entry_Call_Alternative (N)); Is_Disp_Select : Boolean := False; begin Tasking_Used := True; Check_Restriction (No_Select_Statements, N); -- Ada 2005 (AI-345): The trigger may be a dispatching call if Ada_Version >= Ada_2005 then Analyze (Trigger); Check_Triggering_Statement (Trigger, N, Is_Disp_Select); end if; -- Postpone the analysis of the statements till expansion. Analyze only -- if the expander is disabled in order to catch any semantic errors. if Is_Disp_Select then if not Expander_Active then Analyze (Entry_Call_Alternative (N)); Analyze (Delay_Alternative (N)); end if; -- Regular select analysis else Analyze (Entry_Call_Alternative (N)); Analyze (Delay_Alternative (N)); end if; end Analyze_Timed_Entry_Call; ------------------------------------ -- Analyze_Triggering_Alternative -- ------------------------------------ procedure Analyze_Triggering_Alternative (N : Node_Id) is Trigger : constant Node_Id := Triggering_Statement (N); begin Tasking_Used := True; if Present (Pragmas_Before (N)) then Analyze_List (Pragmas_Before (N)); end if; Analyze (Trigger); if Comes_From_Source (Trigger) and then Nkind (Trigger) not in N_Delay_Statement and then Nkind (Trigger) /= N_Entry_Call_Statement then if Ada_Version < Ada_2005 then Error_Msg_N ("triggering statement must be delay or entry call", Trigger); -- Ada 2005 (AI-345): If a procedure_call_statement is used for a -- procedure_or_entry_call, the procedure_name or procedure_prefix -- of the procedure_call_statement shall denote an entry renamed by a -- procedure, or (a view of) a primitive subprogram of a limited -- interface whose first parameter is a controlling parameter. elsif Nkind (Trigger) = N_Procedure_Call_Statement and then not Is_Renamed_Entry (Entity (Name (Trigger))) and then not Is_Controlling_Limited_Procedure (Entity (Name (Trigger))) then Error_Msg_N ("triggering statement must be procedure or entry call " & "or delay statement", Trigger); end if; end if; if Is_Non_Empty_List (Statements (N)) then Analyze_Statements (Statements (N)); end if; end Analyze_Triggering_Alternative; ----------------------- -- Check_Max_Entries -- ----------------------- procedure Check_Max_Entries (D : Node_Id; R : All_Parameter_Restrictions) is Ecount : Uint; procedure Count (L : List_Id); -- Count entries in given declaration list ----------- -- Count -- ----------- procedure Count (L : List_Id) is D : Node_Id; begin if No (L) then return; end if; D := First (L); while Present (D) loop if Nkind (D) = N_Entry_Declaration then declare DSD : constant Node_Id := Discrete_Subtype_Definition (D); begin -- If not an entry family, then just one entry if No (DSD) then Ecount := Ecount + 1; -- If entry family with static bounds, count entries elsif Is_OK_Static_Subtype (Etype (DSD)) then declare Lo : constant Uint := Expr_Value (Type_Low_Bound (Etype (DSD))); Hi : constant Uint := Expr_Value (Type_High_Bound (Etype (DSD))); begin if Hi >= Lo then Ecount := Ecount + Hi - Lo + 1; end if; end; -- Entry family with non-static bounds else -- Record an unknown count restriction, and if the -- restriction is active, post a message or warning. Check_Restriction (R, D); end if; end; end if; Next (D); end loop; end Count; -- Start of processing for Check_Max_Entries begin Ecount := Uint_0; Count (Visible_Declarations (D)); Count (Private_Declarations (D)); if Ecount > 0 then Check_Restriction (R, D, Ecount); end if; end Check_Max_Entries; ---------------------- -- Check_Interfaces -- ---------------------- procedure Check_Interfaces (N : Node_Id; T : Entity_Id) is Iface : Node_Id; Iface_Typ : Entity_Id; begin pragma Assert (Nkind (N) in N_Protected_Type_Declaration | N_Task_Type_Declaration); if Present (Interface_List (N)) then Set_Is_Tagged_Type (T); -- The primitive operations of a tagged synchronized type are placed -- on the Corresponding_Record for proper dispatching, but are -- attached to the synchronized type itself when expansion is -- disabled. Set_Direct_Primitive_Operations (T, New_Elmt_List); Iface := First (Interface_List (N)); while Present (Iface) loop Iface_Typ := Find_Type_Of_Subtype_Indic (Iface); if not Is_Interface (Iface_Typ) then Error_Msg_NE ("(Ada 2005) & must be an interface", Iface, Iface_Typ); else -- Ada 2005 (AI-251): "The declaration of a specific descendant -- of an interface type freezes the interface type" RM 13.14. Freeze_Before (N, Etype (Iface)); if Nkind (N) = N_Protected_Type_Declaration then -- Ada 2005 (AI-345): Protected types can only implement -- limited, synchronized, or protected interfaces (note that -- the predicate Is_Limited_Interface includes synchronized -- and protected interfaces). if Is_Task_Interface (Iface_Typ) then Error_Msg_N ("(Ada 2005) protected type cannot implement " & "a task interface", Iface); elsif not Is_Limited_Interface (Iface_Typ) then Error_Msg_N ("(Ada 2005) protected type cannot implement " & "a non-limited interface", Iface); end if; else pragma Assert (Nkind (N) = N_Task_Type_Declaration); -- Ada 2005 (AI-345): Task types can only implement limited, -- synchronized, or task interfaces (note that the predicate -- Is_Limited_Interface includes synchronized and task -- interfaces). if Is_Protected_Interface (Iface_Typ) then Error_Msg_N ("(Ada 2005) task type cannot implement a " & "protected interface", Iface); elsif not Is_Limited_Interface (Iface_Typ) then Error_Msg_N ("(Ada 2005) task type cannot implement a " & "non-limited interface", Iface); end if; end if; end if; Next (Iface); end loop; end if; if not Has_Private_Declaration (T) then return; end if; -- Additional checks on full-types associated with private type -- declarations. Search for the private type declaration. declare Full_T_Ifaces : Elist_Id := No_Elist; Iface : Node_Id; Priv_T : Entity_Id; Priv_T_Ifaces : Elist_Id := No_Elist; begin Priv_T := First_Entity (Scope (T)); loop pragma Assert (Present (Priv_T)); if Is_Type (Priv_T) and then Present (Full_View (Priv_T)) then exit when Full_View (Priv_T) = T; end if; Next_Entity (Priv_T); end loop; -- In case of synchronized types covering interfaces the private type -- declaration must be limited. if Present (Interface_List (N)) and then not Is_Limited_Type (Priv_T) then Error_Msg_Sloc := Sloc (Priv_T); Error_Msg_N ("(Ada 2005) limited type declaration expected for " & "private type#", T); end if; -- RM 7.3 (7.1/2): If the full view has a partial view that is -- tagged then check RM 7.3 subsidiary rules. if Is_Tagged_Type (Priv_T) and then not Error_Posted (N) then -- RM 7.3 (7.2/2): The partial view shall be a synchronized tagged -- type if and only if the full type is a synchronized tagged type if Is_Synchronized_Tagged_Type (Priv_T) and then not Is_Synchronized_Tagged_Type (T) then Error_Msg_N ("(Ada 2005) full view must be a synchronized tagged " & "type (RM 7.3 (7.2/2))", Priv_T); elsif Is_Synchronized_Tagged_Type (T) and then not Is_Synchronized_Tagged_Type (Priv_T) then Error_Msg_N ("(Ada 2005) partial view must be a synchronized tagged " & "type (RM 7.3 (7.2/2))", T); end if; -- RM 7.3 (7.3/2): The partial view shall be a descendant of an -- interface type if and only if the full type is descendant of -- the interface type. if Present (Interface_List (N)) or else (Is_Tagged_Type (Priv_T) and then Has_Interfaces (Priv_T, Use_Full_View => False)) then if Is_Tagged_Type (Priv_T) then Collect_Interfaces (Priv_T, Priv_T_Ifaces, Use_Full_View => False); end if; if Is_Tagged_Type (T) then Collect_Interfaces (T, Full_T_Ifaces); end if; Iface := Find_Hidden_Interface (Priv_T_Ifaces, Full_T_Ifaces); if Present (Iface) then Error_Msg_NE ("interface in partial view& not implemented by full " & "type (RM-2005 7.3 (7.3/2))", T, Iface); end if; Iface := Find_Hidden_Interface (Full_T_Ifaces, Priv_T_Ifaces); if Present (Iface) then Error_Msg_NE ("interface & not implemented by partial " & "view (RM-2005 7.3 (7.3/2))", T, Iface); end if; end if; end if; end; end Check_Interfaces; -------------------------------- -- Check_Triggering_Statement -- -------------------------------- procedure Check_Triggering_Statement (Trigger : Node_Id; Error_Node : Node_Id; Is_Dispatching : out Boolean) is Param : Node_Id; begin Is_Dispatching := False; -- It is not possible to have a dispatching trigger if we are not in -- Ada 2005 mode. if Ada_Version >= Ada_2005 and then Nkind (Trigger) = N_Procedure_Call_Statement and then Present (Parameter_Associations (Trigger)) then Param := First (Parameter_Associations (Trigger)); if Is_Controlling_Actual (Param) and then Is_Interface (Etype (Param)) then if Is_Limited_Record (Etype (Param)) then Is_Dispatching := True; else Error_Msg_N ("dispatching operation of limited or synchronized " & "interface required (RM 9.7.2(3))!", Error_Node); end if; elsif Nkind (Trigger) = N_Explicit_Dereference then Error_Msg_N ("entry call or dispatching primitive of interface required ", Trigger); end if; end if; end Check_Triggering_Statement; -------------------------- -- Find_Concurrent_Spec -- -------------------------- function Find_Concurrent_Spec (Body_Id : Entity_Id) return Entity_Id is Spec_Id : Entity_Id := Current_Entity_In_Scope (Body_Id); begin -- The type may have been given by an incomplete type declaration. -- Find full view now. if Present (Spec_Id) and then Ekind (Spec_Id) = E_Incomplete_Type then Spec_Id := Full_View (Spec_Id); end if; return Spec_Id; end Find_Concurrent_Spec; -------------------------- -- Install_Declarations -- -------------------------- procedure Install_Declarations (Spec : Entity_Id) is E : Entity_Id; Prev : Entity_Id; begin E := First_Entity (Spec); while Present (E) loop Prev := Current_Entity (E); Set_Current_Entity (E); Set_Is_Immediately_Visible (E); Set_Homonym (E, Prev); Next_Entity (E); end loop; end Install_Declarations; end Sem_Ch9;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . U N S I G N E D _ T Y P E S -- -- -- -- S p e c -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- This package contains definitions of standard unsigned types that -- correspond in size to the standard signed types declared in Standard, -- and (unlike the types in Interfaces) have corresponding names. It -- also contains some related definitions for other specialized types -- used by the compiler in connection with packed array types. pragma Warnings (Off); pragma Compiler_Unit; pragma Warnings (On); package System.Unsigned_Types is pragma Pure; type Short_Short_Unsigned is mod 2 ** Short_Short_Integer'Size; type Short_Unsigned is mod 2 ** Short_Integer'Size; type Unsigned is mod 2 ** Integer'Size; type Long_Unsigned is mod 2 ** Long_Integer'Size; type Long_Long_Unsigned is mod 2 ** Long_Long_Integer'Size; type Float_Unsigned is mod 2 ** Float'Size; -- Used in the implementation of Is_Negative intrinsic (see Exp_Intr) type Packed_Byte is mod 2 ** 8; for Packed_Byte'Size use 8; -- Component type for Packed_Bytes array type Packed_Bytes1 is array (Natural range <>) of Packed_Byte; for Packed_Bytes1'Alignment use 1; for Packed_Bytes1'Component_Size use Packed_Byte'Size; -- This is the type used to implement packed arrays where no alignment -- is required. This includes the cases of 1,2,4 (where we use direct -- masking operations), and all odd component sizes (where the clusters -- are not aligned anyway, see, e.g. System.Pack_07 in file s-pack07 -- for details. type Packed_Bytes2 is new Packed_Bytes1; for Packed_Bytes2'Alignment use Integer'Min (2, Standard'Maximum_Alignment); -- This is the type used to implement packed arrays where an alignment -- of 2 (is possible) is helpful for maximum efficiency of the get and -- set routines in the corresponding library unit. This is true of all -- component sizes that are even but not divisible by 4 (other than 2 for -- which we use direct masking operations). In such cases, the clusters -- can be assumed to be 2-byte aligned if the array is aligned. See for -- example System.Pack_10 in file s-pack10). type Packed_Bytes4 is new Packed_Bytes1; for Packed_Bytes4'Alignment use Integer'Min (4, Standard'Maximum_Alignment); -- This is the type used to implement packed arrays where an alignment -- of 4 (if possible) is helpful for maximum efficiency of the get and -- set routines in the corresponding library unit. This is true of all -- component sizes that are divisible by 4 (other than powers of 2, which -- are either handled by direct masking or not packed at all). In such -- cases the clusters can be assumed to be 4-byte aligned if the array -- is aligned (see System.Pack_12 in file s-pack12 as an example). type Bits_1 is mod 2**1; type Bits_2 is mod 2**2; type Bits_4 is mod 2**4; -- Types used for packed array conversions subtype Bytes_F is Packed_Bytes4 (1 .. Float'Size / 8); -- Type used in implementation of Is_Negative intrinsic (see Exp_Intr) function Shift_Left (Value : Short_Short_Unsigned; Amount : Natural) return Short_Short_Unsigned; function Shift_Right (Value : Short_Short_Unsigned; Amount : Natural) return Short_Short_Unsigned; function Shift_Right_Arithmetic (Value : Short_Short_Unsigned; Amount : Natural) return Short_Short_Unsigned; function Rotate_Left (Value : Short_Short_Unsigned; Amount : Natural) return Short_Short_Unsigned; function Rotate_Right (Value : Short_Short_Unsigned; Amount : Natural) return Short_Short_Unsigned; function Shift_Left (Value : Short_Unsigned; Amount : Natural) return Short_Unsigned; function Shift_Right (Value : Short_Unsigned; Amount : Natural) return Short_Unsigned; function Shift_Right_Arithmetic (Value : Short_Unsigned; Amount : Natural) return Short_Unsigned; function Rotate_Left (Value : Short_Unsigned; Amount : Natural) return Short_Unsigned; function Rotate_Right (Value : Short_Unsigned; Amount : Natural) return Short_Unsigned; function Shift_Left (Value : Unsigned; Amount : Natural) return Unsigned; function Shift_Right (Value : Unsigned; Amount : Natural) return Unsigned; function Shift_Right_Arithmetic (Value : Unsigned; Amount : Natural) return Unsigned; function Rotate_Left (Value : Unsigned; Amount : Natural) return Unsigned; function Rotate_Right (Value : Unsigned; Amount : Natural) return Unsigned; function Shift_Left (Value : Long_Unsigned; Amount : Natural) return Long_Unsigned; function Shift_Right (Value : Long_Unsigned; Amount : Natural) return Long_Unsigned; function Shift_Right_Arithmetic (Value : Long_Unsigned; Amount : Natural) return Long_Unsigned; function Rotate_Left (Value : Long_Unsigned; Amount : Natural) return Long_Unsigned; function Rotate_Right (Value : Long_Unsigned; Amount : Natural) return Long_Unsigned; function Shift_Left (Value : Long_Long_Unsigned; Amount : Natural) return Long_Long_Unsigned; function Shift_Right (Value : Long_Long_Unsigned; Amount : Natural) return Long_Long_Unsigned; function Shift_Right_Arithmetic (Value : Long_Long_Unsigned; Amount : Natural) return Long_Long_Unsigned; function Rotate_Left (Value : Long_Long_Unsigned; Amount : Natural) return Long_Long_Unsigned; function Rotate_Right (Value : Long_Long_Unsigned; Amount : Natural) return Long_Long_Unsigned; pragma Import (Intrinsic, Shift_Left); pragma Import (Intrinsic, Shift_Right); pragma Import (Intrinsic, Shift_Right_Arithmetic); pragma Import (Intrinsic, Rotate_Left); pragma Import (Intrinsic, Rotate_Right); -- The following definitions are obsolescent. They were needed by the -- previous version of the compiler and runtime, but are not needed -- by the current version. We retain them to help with bootstrap path -- problems. Also they seem harmless, and if any user programs have -- been (rather improperly) using these types, why discombobulate them? subtype Packed_Bytes is Packed_Bytes4; subtype Packed_Bytes_Unaligned is Packed_Bytes1; end System.Unsigned_Types;
----------------------------------------------------------------------- -- hestia-network -- Hestia Network Manager -- Copyright (C) 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.Synchronous_Task_Control; with Net.Interfaces; with Net.Headers; with Net.Protos.Arp; with Net.Protos.Dispatchers; with HAL; with STM32.RNG.Interrupts; with STM32.Eth; with STM32.SDRAM; package body Hestia.Network is use type Ada.Real_Time.Time; Ready : Ada.Synchronous_Task_Control.Suspension_Object; -- ------------------------------ -- Initialize and start the network stack. -- ------------------------------ procedure Initialize is begin STM32.RNG.Interrupts.Initialize_RNG; -- STMicroelectronics OUI = 00 81 E1 Ifnet.Mac := (0, 16#81#, 16#E1#, 15, 5, 1); -- Setup some receive buffers and initialize the Ethernet driver. Net.Buffers.Add_Region (STM32.SDRAM.Reserve (Amount => HAL.UInt32 (NET_BUFFER_SIZE)), NET_BUFFER_SIZE); -- Initialize the Ethernet driver. STM32.Eth.Initialize_RMII; Ifnet.Initialize; Ada.Synchronous_Task_Control.Set_True (Ready); -- Initialize the DHCP client. Dhcp.Initialize (Ifnet'Access); Time_Ntp.Ttl_Deadline := Ada.Real_Time.Clock; end Initialize; -- ------------------------------ -- Do the network housekeeping and return the next deadline. -- ------------------------------ procedure Process (Deadline : out Ada.Real_Time.Time) is use type Net.DHCP.State_Type; use type Net.NTP.Status_Type; Dhcp_Deadline : Ada.Real_Time.Time; Ntp_Deadline : Ada.Real_Time.Time; Now : Ada.Real_Time.Time; Error : Net.Error_Code; begin Net.Protos.Arp.Timeout (Ifnet); Dhcp.Process (Dhcp_Deadline); Ntp_Deadline := Dhcp_Deadline; -- We have an IP address, do the NTP processing. if Dhcp.Get_State in Net.DHCP.STATE_BOUND | Net.DHCP.STATE_RENEWING | Net.DHCP.STATE_REBINDING then Now := Ada.Real_Time.Clock; if Time_Ntp.Ttl_Deadline < Now then Time_Ntp.Ttl_Deadline := Now + Ada.Real_Time.Seconds (5); Time_Ntp.Resolve (Ifnet'Access, "ntp.ubuntu.com", Error); elsif Time_Ntp.Server.Get_Status /= Net.NTP.NOSERVER then Time_Ntp.Server.Process (Ntp_Deadline); end if; end if; Deadline := (if Ntp_Deadline < Dhcp_Deadline then Ntp_Deadline else Dhcp_Deadline); end Process; -- ------------------------------ -- Get the NTP time reference. -- ------------------------------ function Get_Time return Net.NTP.NTP_Reference is begin return Time_Ntp.Server.Get_Reference; end Get_Time; -- ------------------------------ -- Save the answer received from the DNS server. This operation is called for each answer -- found in the DNS response packet. The Index is incremented at each answer. For example -- a DNS server can return a CNAME_RR answer followed by an A_RR: the operation is called -- two times. -- -- This operation can be overriden to implement specific actions when an answer is received. -- ------------------------------ overriding procedure Answer (Request : in out NTP_Client_Type; Status : in Net.DNS.Status_Type; Response : in Net.DNS.Response_Type; Index : in Natural) is pragma Unreferenced (Index); use type Net.DNS.Status_Type; use type Net.DNS.RR_Type; use type Net.Uint16; begin if Status = Net.DNS.NOERROR and then Response.Of_Type = Net.DNS.A_RR then Request.Ttl_Deadline := Ada.Real_Time.Clock + Ada.Real_Time.Seconds (Natural (Response.Ttl)); Request.Server.Initialize (Ifnet'Access, Response.Ip, Request.Port); end if; end Answer; -- ------------------------------ -- The task that waits for packets. -- ------------------------------ task body Controller is use type Net.Uint16; Packet : Net.Buffers.Buffer_Type; Ether : Net.Headers.Ether_Header_Access; begin -- Wait until the Ethernet driver is ready. Ada.Synchronous_Task_Control.Suspend_Until_True (Ready); loop if Packet.Is_Null then Net.Buffers.Allocate (Packet); end if; if not Packet.Is_Null then Ifnet.Receive (Packet); Ether := Packet.Ethernet; if Ether.Ether_Type = Net.Headers.To_Network (Net.Protos.ETHERTYPE_ARP) then Net.Protos.Arp.Receive (Ifnet, Packet); elsif Ether.Ether_Type = Net.Headers.To_Network (Net.Protos.ETHERTYPE_IP) then Net.Protos.Dispatchers.Receive (Ifnet, Packet); end if; else delay until Ada.Real_Time.Clock + Ada.Real_Time.Milliseconds (100); end if; end loop; end Controller; end Hestia.Network;
-- C45202B.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 MEMBERSHIP OPERATIONS IN THE CASE IN WHICH A USER HAS -- REDEFINED THE ORDERING OPERATORS. -- RJW 1/22/86 WITH REPORT; USE REPORT; PROCEDURE C45202B IS BEGIN TEST( "C45202B" , "CHECK MEMBERSHIP OPERATIONS IN WHICH A USER " & "HAS REDEFINED THE ORDERING OPERATORS" ) ; DECLARE TYPE T IS ( AA, BB, CC, LIT, XX, YY, ZZ ); SUBTYPE ST IS T RANGE AA .. LIT; VAR : T := LIT ; CON : CONSTANT T := LIT ; FUNCTION ">" ( L, R : T ) RETURN BOOLEAN IS BEGIN RETURN T'POS(L) <= T'POS(R); END; FUNCTION ">=" ( L, R : T ) RETURN BOOLEAN IS BEGIN RETURN T'POS(L) < T'POS(R); END; FUNCTION "<" ( L, R : T ) RETURN BOOLEAN IS BEGIN RETURN T'POS(L) >= T'POS(R); END; FUNCTION "<=" ( L, R : T ) RETURN BOOLEAN IS BEGIN RETURN T'POS(L) > T'POS(R); END; BEGIN IF LIT NOT IN ST OR VAR NOT IN ST OR CON NOT IN ST OR NOT (VAR IN ST) OR XX IN ST OR NOT (XX NOT IN ST) THEN FAILED( "WRONG VALUES FOR 'IN ST'" ); END IF; IF LIT IN AA ..CC OR VAR NOT IN LIT..ZZ OR CON IN ZZ ..AA OR NOT (CC IN CC .. YY) OR NOT (BB NOT IN CC .. YY) THEN FAILED( "WRONG VALUES FOR 'IN AA..CC'" ); END IF; END; RESULT; END C45202B;
with Ada.Characters.Conversions; use Ada.Characters.Conversions; with Ada.Containers.Ordered_Maps; package body Scape is package Ordered_Map is new Ada.Containers.Ordered_Maps (Key_Type => Unbounded_String, Element_Type => Wide_Wide_Character, "<" => "<", "=" => "="); use Ordered_Map; Escape_List : Map; function Entity_Complete (Entity : Unbounded_String) return Boolean is (Element (Entity, 1) = '&' and Element (Entity, Length (Entity)) = ';'); function Decode (Str : String) return Unbounded_Wide_Wide_String is Entity : Unbounded_String; Start : Boolean := False; Result : Unbounded_Wide_Wide_String; begin for I in Str'Range loop if Str (I) = '&' then Start := True; end if; if not Start then Result := Result & To_Wide_Wide_Character (Str (I)); end if; if Start then Entity := Entity & Str (I); end if; if Length (Entity) > 2 then if Entity_Complete (Entity) then declare C : constant Cursor := Find (Escape_List, Entity); begin if not (C = No_Element) then Result := Result & Element (C); end if; end; end if; end if; if Str (I) = ';' then Start := False; Delete (Entity, 1, Length (Entity)); end if; end loop; return Result; end Decode; function Search (E : Wide_Wide_Character) return Cursor is begin for C in Iterate (Escape_List) loop if Element (C) = E then return C; end if; end loop; return No_Element; end Search; function Encode (Str : Unbounded_Wide_Wide_String) return Unbounded_String is Result : Unbounded_String; C : Cursor; begin for I in 1 .. Length (Str) loop C := Search (Element (Str, I)); if not (C = No_Element) then Result := Result & Key (C); else Result := Result & To_String (Element (Str, I) & ""); end if; end loop; return Result; end Encode; begin pragma Wide_Character_Encoding ('8'); -- Add more by yourself. Insert (Escape_List, To_Unbounded_String ("&euro;" ), '€'); Insert (Escape_List, To_Unbounded_String ("&nbsp;" ), ' '); Insert (Escape_List, To_Unbounded_String ("&quot;" ), '"'); Insert (Escape_List, To_Unbounded_String ("&amp;" ), '&'); Insert (Escape_List, To_Unbounded_String ("&lt;" ), '<'); Insert (Escape_List, To_Unbounded_String ("&gt;" ), '>'); Insert (Escape_List, To_Unbounded_String ("&mdash;"), '—'); end Scape;
pragma License (Unrestricted); -- AARM A.16(124.b/2), specialized for Windows private with C.windef; package Ada.Directories.Information is -- System-specific directory information. -- Version for the Microsoft(R) Windows(R) operating system. function Creation_Time (Name : String) return Calendar.Time; function Last_Access_Time (Name : String) return Calendar.Time; function Is_Read_Only (Name : String) return Boolean; function Needs_Archiving (Name : String) return Boolean; -- This generally means that the file needs to be backed up. -- The flag is only cleared by backup programs. function Is_Compressed (Name : String) return Boolean; function Is_Encrypted (Name : String) return Boolean; function Is_Hidden (Name : String) return Boolean; function Is_System (Name : String) return Boolean; function Is_Offline (Name : String) return Boolean; function Is_Temporary (Name : String) return Boolean; function Is_Sparse (Name : String) return Boolean; function Is_Not_Indexed (Name : String) return Boolean; function Creation_Time ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Calendar.Time; function Last_Access_Time ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Calendar.Time; function Is_Read_Only ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Needs_Archiving ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; -- This generally means that the file needs to be backed up. -- The flag is only cleared by backup programs. function Is_Compressed ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_Encrypted ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_Hidden ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_System ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_Offline ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_Temporary ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_Sparse ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; function Is_Not_Indexed ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; -- Additional implementation-defined subprograms allowed here. -- extended function Is_Symbolic_Link (Name : String) return Boolean; function Is_Symbolic_Link ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return Boolean; -- extended from here -- The permissions of the current user. type User_Permission is (User_Execute, User_Write, User_Read); type User_Permission_Set_Type is array (User_Permission) of Boolean; pragma Pack (User_Permission_Set_Type); function User_Permission_Set (Name : String) return User_Permission_Set_Type; function User_Permission_Set ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return User_Permission_Set_Type; -- to here -- extended -- Unique file identifier. type File_Id is private; function Identity (Name : String) return File_Id; function Identity ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return File_Id; -- unimplemented, source-level compatibility with POSIX function Owner (Name : String) return String with Import, Convention => Ada, External_Name => "__drake_program_error"; function Owner ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return String with Import, Convention => Ada, External_Name => "__drake_program_error"; function Group (Name : String) return String with Import, Convention => Ada, External_Name => "__drake_program_error"; function Group ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return String with Import, Convention => Ada, External_Name => "__drake_program_error"; function Read_Symbolic_Link (Name : String) return String with Import, Convention => Ada, External_Name => "__drake_program_error"; function Read_Symbolic_Link ( Directory_Entry : Directory_Entry_Type) -- Assigned_Directory_Entry_Type return String with Import, Convention => Ada, External_Name => "__drake_program_error"; private type File_Id is record -- These should be extend to 128bit for ReFS. FileIndexLow : C.windef.DWORD; FileIndexHigh : C.windef.DWORD; VolumeSerialNumber : C.windef.DWORD; end record; end Ada.Directories.Information;
------------------------------------------------------------------------------ -- -- -- 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 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Wide_Wide_Search; with Ada.Unchecked_Deallocation; package body Ada.Strings.Wide_Wide_Unbounded is use Ada.Strings.Wide_Wide_Maps; Growth_Factor : constant := 32; -- The growth factor controls how much extra space is allocated when -- we have to increase the size of an allocated unbounded string. By -- allocating extra space, we avoid the need to reallocate on every -- append, particularly important when a string is built up by repeated -- append operations of small pieces. This is expressed as a factor so -- 32 means add 1/32 of the length of the string as growth space. Min_Mul_Alloc : constant := Standard'Maximum_Alignment; -- Allocation will be done by a multiple of Min_Mul_Alloc. This causes -- no memory loss as most (all?) malloc implementations are obliged to -- align the returned memory on the maximum alignment as malloc does not -- know the target alignment. function Aligned_Max_Length (Max_Length : Natural) return Natural; -- Returns recommended length of the shared string which is greater or -- equal to specified length. Calculation take in sense alignment of -- the allocated memory segments to use memory effectively by -- Append/Insert/etc operations. --------- -- "&" -- --------- function "&" (Left : Unbounded_Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Unbounded_Wide_Wide_String is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; RR : constant Shared_Wide_Wide_String_Access := Right.Reference; DL : constant Natural := LR.Last + RR.Last; DR : Shared_Wide_Wide_String_Access; begin -- Result is an empty string, reuse shared empty string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Left string is empty, return Rigth string elsif LR.Last = 0 then Reference (RR); DR := RR; -- Right string is empty, return Left string elsif RR.Last = 0 then Reference (LR); DR := LR; -- Overwise, allocate new shared string and fill data else DR := Allocate (DL); DR.Data (1 .. LR.Last) := LR.Data (1 .. LR.Last); DR.Data (LR.Last + 1 .. DL) := RR.Data (1 .. RR.Last); DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end "&"; function "&" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_String) return Unbounded_Wide_Wide_String is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; DL : constant Natural := LR.Last + Right'Length; DR : Shared_Wide_Wide_String_Access; begin -- Result is an empty string, reuse shared empty string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Right is an empty string, return Left string elsif Right'Length = 0 then Reference (LR); DR := LR; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. LR.Last) := LR.Data (1 .. LR.Last); DR.Data (LR.Last + 1 .. DL) := Right; DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end "&"; function "&" (Left : Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Unbounded_Wide_Wide_String is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; DL : constant Natural := Left'Length + RR.Last; DR : Shared_Wide_Wide_String_Access; begin -- Result is an empty string, reuse shared one if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Left is empty string, return Right string elsif Left'Length = 0 then Reference (RR); DR := RR; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. Left'Length) := Left; DR.Data (Left'Length + 1 .. DL) := RR.Data (1 .. RR.Last); DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end "&"; function "&" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_Character) return Unbounded_Wide_Wide_String is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; DL : constant Natural := LR.Last + 1; DR : Shared_Wide_Wide_String_Access; begin DR := Allocate (DL); DR.Data (1 .. LR.Last) := LR.Data (1 .. LR.Last); DR.Data (DL) := Right; DR.Last := DL; return (AF.Controlled with Reference => DR); end "&"; function "&" (Left : Wide_Wide_Character; Right : Unbounded_Wide_Wide_String) return Unbounded_Wide_Wide_String is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; DL : constant Natural := 1 + RR.Last; DR : Shared_Wide_Wide_String_Access; begin DR := Allocate (DL); DR.Data (1) := Left; DR.Data (2 .. DL) := RR.Data (1 .. RR.Last); DR.Last := DL; return (AF.Controlled with Reference => DR); end "&"; --------- -- "*" -- --------- function "*" (Left : Natural; Right : Wide_Wide_Character) return Unbounded_Wide_Wide_String is DR : Shared_Wide_Wide_String_Access; begin -- Result is an empty string, reuse shared empty string if Left = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DR := Allocate (Left); for J in 1 .. Left loop DR.Data (J) := Right; end loop; DR.Last := Left; end if; return (AF.Controlled with Reference => DR); end "*"; function "*" (Left : Natural; Right : Wide_Wide_String) return Unbounded_Wide_Wide_String is DL : constant Natural := Left * Right'Length; DR : Shared_Wide_Wide_String_Access; K : Positive; begin -- Result is an empty string, reuse shared empty string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); K := 1; for J in 1 .. Left loop DR.Data (K .. K + Right'Length - 1) := Right; K := K + Right'Length; end loop; DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end "*"; function "*" (Left : Natural; Right : Unbounded_Wide_Wide_String) return Unbounded_Wide_Wide_String is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; DL : constant Natural := Left * RR.Last; DR : Shared_Wide_Wide_String_Access; K : Positive; begin -- Result is an empty string, reuse shared empty string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Coefficient is one, just return string itself elsif Left = 1 then Reference (RR); DR := RR; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); K := 1; for J in 1 .. Left loop DR.Data (K .. K + RR.Last - 1) := RR.Data (1 .. RR.Last); K := K + RR.Last; end loop; DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end "*"; --------- -- "<" -- --------- function "<" (Left : Unbounded_Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return LR.Data (1 .. LR.Last) < RR.Data (1 .. RR.Last); end "<"; function "<" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; begin return LR.Data (1 .. LR.Last) < Right; end "<"; function "<" (Left : Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return Left < RR.Data (1 .. RR.Last); end "<"; ---------- -- "<=" -- ---------- function "<=" (Left : Unbounded_Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin -- LR = RR means two strings shares shared string, thus they are equal return LR = RR or else LR.Data (1 .. LR.Last) <= RR.Data (1 .. RR.Last); end "<="; function "<=" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; begin return LR.Data (1 .. LR.Last) <= Right; end "<="; function "<=" (Left : Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return Left <= RR.Data (1 .. RR.Last); end "<="; --------- -- "=" -- --------- function "=" (Left : Unbounded_Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return LR = RR or else LR.Data (1 .. LR.Last) = RR.Data (1 .. RR.Last); -- LR = RR means two strings shares shared string, thus they are equal end "="; function "=" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; begin return LR.Data (1 .. LR.Last) = Right; end "="; function "=" (Left : Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return Left = RR.Data (1 .. RR.Last); end "="; --------- -- ">" -- --------- function ">" (Left : Unbounded_Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return LR.Data (1 .. LR.Last) > RR.Data (1 .. RR.Last); end ">"; function ">" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; begin return LR.Data (1 .. LR.Last) > Right; end ">"; function ">" (Left : Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return Left > RR.Data (1 .. RR.Last); end ">"; ---------- -- ">=" -- ---------- function ">=" (Left : Unbounded_Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin -- LR = RR means two strings shares shared string, thus they are equal return LR = RR or else LR.Data (1 .. LR.Last) >= RR.Data (1 .. RR.Last); end ">="; function ">=" (Left : Unbounded_Wide_Wide_String; Right : Wide_Wide_String) return Boolean is LR : constant Shared_Wide_Wide_String_Access := Left.Reference; begin return LR.Data (1 .. LR.Last) >= Right; end ">="; function ">=" (Left : Wide_Wide_String; Right : Unbounded_Wide_Wide_String) return Boolean is RR : constant Shared_Wide_Wide_String_Access := Right.Reference; begin return Left >= RR.Data (1 .. RR.Last); end ">="; ------------ -- Adjust -- ------------ procedure Adjust (Object : in out Unbounded_Wide_Wide_String) is begin Reference (Object.Reference); end Adjust; ------------------------ -- Aligned_Max_Length -- ------------------------ function Aligned_Max_Length (Max_Length : Natural) return Natural is Static_Size : constant Natural := Empty_Shared_Wide_Wide_String'Size / Standard'Storage_Unit; -- Total size of all static components Element_Size : constant Natural := Wide_Wide_Character'Size / Standard'Storage_Unit; begin return (((Static_Size + Max_Length * Element_Size - 1) / Min_Mul_Alloc + 2) * Min_Mul_Alloc - Static_Size) / Element_Size; end Aligned_Max_Length; -------------- -- Allocate -- -------------- function Allocate (Max_Length : Natural) return Shared_Wide_Wide_String_Access is begin -- Empty string requested, return shared empty string if Max_Length = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); return Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate requested space (and probably some more room) else return new Shared_Wide_Wide_String (Aligned_Max_Length (Max_Length)); end if; end Allocate; ------------ -- Append -- ------------ procedure Append (Source : in out Unbounded_Wide_Wide_String; New_Item : Unbounded_Wide_Wide_String) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; NR : constant Shared_Wide_Wide_String_Access := New_Item.Reference; DL : constant Natural := SR.Last + NR.Last; DR : Shared_Wide_Wide_String_Access; begin -- Source is an empty string, reuse New_Item data if SR.Last = 0 then Reference (NR); Source.Reference := NR; Unreference (SR); -- New_Item is empty string, nothing to do elsif NR.Last = 0 then null; -- Try to reuse existent shared string elsif Can_Be_Reused (SR, DL) then SR.Data (SR.Last + 1 .. DL) := NR.Data (1 .. NR.Last); SR.Last := DL; -- Otherwise, allocate new one and fill it else DR := Allocate (DL + DL / Growth_Factor); DR.Data (1 .. SR.Last) := SR.Data (1 .. SR.Last); DR.Data (SR.Last + 1 .. DL) := NR.Data (1 .. NR.Last); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end Append; procedure Append (Source : in out Unbounded_Wide_Wide_String; New_Item : Wide_Wide_String) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : constant Natural := SR.Last + New_Item'Length; DR : Shared_Wide_Wide_String_Access; begin -- New_Item is an empty string, nothing to do if New_Item'Length = 0 then null; -- Try to reuse existing shared string elsif Can_Be_Reused (SR, DL) then SR.Data (SR.Last + 1 .. DL) := New_Item; SR.Last := DL; -- Otherwise, allocate new one and fill it else DR := Allocate (DL + DL / Growth_Factor); DR.Data (1 .. SR.Last) := SR.Data (1 .. SR.Last); DR.Data (SR.Last + 1 .. DL) := New_Item; DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end Append; procedure Append (Source : in out Unbounded_Wide_Wide_String; New_Item : Wide_Wide_Character) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : constant Natural := SR.Last + 1; DR : Shared_Wide_Wide_String_Access; begin -- Try to reuse existing shared string if Can_Be_Reused (SR, SR.Last + 1) then SR.Data (SR.Last + 1) := New_Item; SR.Last := SR.Last + 1; -- Otherwise, allocate new one and fill it else DR := Allocate (DL + DL / Growth_Factor); DR.Data (1 .. SR.Last) := SR.Data (1 .. SR.Last); DR.Data (DL) := New_Item; DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end Append; ------------------- -- Can_Be_Reused -- ------------------- function Can_Be_Reused (Item : Shared_Wide_Wide_String_Access; Length : Natural) return Boolean is begin return System.Atomic_Counters.Is_One (Item.Counter) and then Item.Max_Length >= Length and then Item.Max_Length <= Aligned_Max_Length (Length + Length / Growth_Factor); end Can_Be_Reused; ----------- -- Count -- ----------- function Count (Source : Unbounded_Wide_Wide_String; Pattern : Wide_Wide_String; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping := Wide_Wide_Maps.Identity) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Count (SR.Data (1 .. SR.Last), Pattern, Mapping); end Count; function Count (Source : Unbounded_Wide_Wide_String; Pattern : Wide_Wide_String; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Count (SR.Data (1 .. SR.Last), Pattern, Mapping); end Count; function Count (Source : Unbounded_Wide_Wide_String; Set : Wide_Wide_Maps.Wide_Wide_Character_Set) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Count (SR.Data (1 .. SR.Last), Set); end Count; ------------ -- Delete -- ------------ function Delete (Source : Unbounded_Wide_Wide_String; From : Positive; Through : Natural) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Empty slice is deleted, use the same shared string if From > Through then Reference (SR); DR := SR; -- Index is out of range elsif Through > SR.Last then raise Index_Error; -- Compute size of the result else DL := SR.Last - (Through - From + 1); -- Result is an empty string, reuse shared empty string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. From - 1) := SR.Data (1 .. From - 1); DR.Data (From .. DL) := SR.Data (Through + 1 .. SR.Last); DR.Last := DL; end if; end if; return (AF.Controlled with Reference => DR); end Delete; procedure Delete (Source : in out Unbounded_Wide_Wide_String; From : Positive; Through : Natural) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Nothing changed, return if From > Through then null; -- Through is outside of the range elsif Through > SR.Last then raise Index_Error; else DL := SR.Last - (Through - From + 1); -- Result is empty, reuse shared empty string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- Try to reuse existent shared string elsif Can_Be_Reused (SR, DL) then SR.Data (From .. DL) := SR.Data (Through + 1 .. SR.Last); SR.Last := DL; -- Otherwise, allocate new shared string else DR := Allocate (DL); DR.Data (1 .. From - 1) := SR.Data (1 .. From - 1); DR.Data (From .. DL) := SR.Data (Through + 1 .. SR.Last); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end if; end Delete; ------------- -- Element -- ------------- function Element (Source : Unbounded_Wide_Wide_String; Index : Positive) return Wide_Wide_Character is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin if Index <= SR.Last then return SR.Data (Index); else raise Index_Error; end if; end Element; -------------- -- Finalize -- -------------- procedure Finalize (Object : in out Unbounded_Wide_Wide_String) is SR : constant Shared_Wide_Wide_String_Access := Object.Reference; begin if SR /= null then -- The same controlled object can be finalized several times for -- some reason. As per 7.6.1(24) this should have no ill effect, -- so we need to add a guard for the case of finalizing the same -- object twice. Object.Reference := null; Unreference (SR); end if; end Finalize; ---------------- -- Find_Token -- ---------------- procedure Find_Token (Source : Unbounded_Wide_Wide_String; Set : Wide_Wide_Maps.Wide_Wide_Character_Set; From : Positive; Test : Strings.Membership; First : out Positive; Last : out Natural) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin Wide_Wide_Search.Find_Token (SR.Data (From .. SR.Last), Set, Test, First, Last); end Find_Token; procedure Find_Token (Source : Unbounded_Wide_Wide_String; Set : Wide_Wide_Maps.Wide_Wide_Character_Set; Test : Strings.Membership; First : out Positive; Last : out Natural) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin Wide_Wide_Search.Find_Token (SR.Data (1 .. SR.Last), Set, Test, First, Last); end Find_Token; ---------- -- Free -- ---------- procedure Free (X : in out Wide_Wide_String_Access) is procedure Deallocate is new Ada.Unchecked_Deallocation (Wide_Wide_String, Wide_Wide_String_Access); begin Deallocate (X); end Free; ---------- -- Head -- ---------- function Head (Source : Unbounded_Wide_Wide_String; Count : Natural; Pad : Wide_Wide_Character := Wide_Wide_Space) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Result is empty, reuse shared empty string if Count = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Length of the string is the same as requested, reuse source shared -- string. elsif Count = SR.Last then Reference (SR); DR := SR; -- Otherwise, allocate new shared string and fill it else DR := Allocate (Count); -- Length of the source string is more than requested, copy -- corresponding slice. if Count < SR.Last then DR.Data (1 .. Count) := SR.Data (1 .. Count); -- Length of the source string is less than requested, copy all -- contents and fill others by Pad character. else DR.Data (1 .. SR.Last) := SR.Data (1 .. SR.Last); for J in SR.Last + 1 .. Count loop DR.Data (J) := Pad; end loop; end if; DR.Last := Count; end if; return (AF.Controlled with Reference => DR); end Head; procedure Head (Source : in out Unbounded_Wide_Wide_String; Count : Natural; Pad : Wide_Wide_Character := Wide_Wide_Space) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Result is empty, reuse empty shared string if Count = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- Result is same with source string, reuse source shared string elsif Count = SR.Last then null; -- Try to reuse existent shared string elsif Can_Be_Reused (SR, Count) then if Count > SR.Last then for J in SR.Last + 1 .. Count loop SR.Data (J) := Pad; end loop; end if; SR.Last := Count; -- Otherwise, allocate new shared string and fill it else DR := Allocate (Count); -- Length of the source string is greater than requested, copy -- corresponding slice. if Count < SR.Last then DR.Data (1 .. Count) := SR.Data (1 .. Count); -- Length of the source string is less than requested, copy all -- exists data and fill others by Pad character. else DR.Data (1 .. SR.Last) := SR.Data (1 .. SR.Last); for J in SR.Last + 1 .. Count loop DR.Data (J) := Pad; end loop; end if; DR.Last := Count; Source.Reference := DR; Unreference (SR); end if; end Head; ----------- -- Index -- ----------- function Index (Source : Unbounded_Wide_Wide_String; Pattern : Wide_Wide_String; Going : Strings.Direction := Strings.Forward; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping := Wide_Wide_Maps.Identity) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index (SR.Data (1 .. SR.Last), Pattern, Going, Mapping); end Index; function Index (Source : Unbounded_Wide_Wide_String; Pattern : Wide_Wide_String; Going : Direction := Forward; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index (SR.Data (1 .. SR.Last), Pattern, Going, Mapping); end Index; function Index (Source : Unbounded_Wide_Wide_String; Set : Wide_Wide_Maps.Wide_Wide_Character_Set; Test : Strings.Membership := Strings.Inside; Going : Strings.Direction := Strings.Forward) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index (SR.Data (1 .. SR.Last), Set, Test, Going); end Index; function Index (Source : Unbounded_Wide_Wide_String; Pattern : Wide_Wide_String; From : Positive; Going : Direction := Forward; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping := Wide_Wide_Maps.Identity) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index (SR.Data (1 .. SR.Last), Pattern, From, Going, Mapping); end Index; function Index (Source : Unbounded_Wide_Wide_String; Pattern : Wide_Wide_String; From : Positive; Going : Direction := Forward; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index (SR.Data (1 .. SR.Last), Pattern, From, Going, Mapping); end Index; function Index (Source : Unbounded_Wide_Wide_String; Set : Wide_Wide_Maps.Wide_Wide_Character_Set; From : Positive; Test : Membership := Inside; Going : Direction := Forward) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index (SR.Data (1 .. SR.Last), Set, From, Test, Going); end Index; --------------------- -- Index_Non_Blank -- --------------------- function Index_Non_Blank (Source : Unbounded_Wide_Wide_String; Going : Strings.Direction := Strings.Forward) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index_Non_Blank (SR.Data (1 .. SR.Last), Going); end Index_Non_Blank; function Index_Non_Blank (Source : Unbounded_Wide_Wide_String; From : Positive; Going : Direction := Forward) return Natural is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin return Wide_Wide_Search.Index_Non_Blank (SR.Data (1 .. SR.Last), From, Going); end Index_Non_Blank; ---------------- -- Initialize -- ---------------- procedure Initialize (Object : in out Unbounded_Wide_Wide_String) is begin Reference (Object.Reference); end Initialize; ------------ -- Insert -- ------------ function Insert (Source : Unbounded_Wide_Wide_String; Before : Positive; New_Item : Wide_Wide_String) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : constant Natural := SR.Last + New_Item'Length; DR : Shared_Wide_Wide_String_Access; begin -- Check index first if Before > SR.Last + 1 then raise Index_Error; end if; -- Result is empty, reuse empty shared string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Inserted string is empty, reuse source shared string elsif New_Item'Length = 0 then Reference (SR); DR := SR; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL + DL / Growth_Factor); DR.Data (1 .. Before - 1) := SR.Data (1 .. Before - 1); DR.Data (Before .. Before + New_Item'Length - 1) := New_Item; DR.Data (Before + New_Item'Length .. DL) := SR.Data (Before .. SR.Last); DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end Insert; procedure Insert (Source : in out Unbounded_Wide_Wide_String; Before : Positive; New_Item : Wide_Wide_String) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : constant Natural := SR.Last + New_Item'Length; DR : Shared_Wide_Wide_String_Access; begin -- Check bounds if Before > SR.Last + 1 then raise Index_Error; end if; -- Result is empty string, reuse empty shared string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- Inserted string is empty, nothing to do elsif New_Item'Length = 0 then null; -- Try to reuse existent shared string first elsif Can_Be_Reused (SR, DL) then SR.Data (Before + New_Item'Length .. DL) := SR.Data (Before .. SR.Last); SR.Data (Before .. Before + New_Item'Length - 1) := New_Item; SR.Last := DL; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL + DL / Growth_Factor); DR.Data (1 .. Before - 1) := SR.Data (1 .. Before - 1); DR.Data (Before .. Before + New_Item'Length - 1) := New_Item; DR.Data (Before + New_Item'Length .. DL) := SR.Data (Before .. SR.Last); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end Insert; ------------ -- Length -- ------------ function Length (Source : Unbounded_Wide_Wide_String) return Natural is begin return Source.Reference.Last; end Length; --------------- -- Overwrite -- --------------- function Overwrite (Source : Unbounded_Wide_Wide_String; Position : Positive; New_Item : Wide_Wide_String) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Check bounds if Position > SR.Last + 1 then raise Index_Error; end if; DL := Integer'Max (SR.Last, Position + New_Item'Length - 1); -- Result is empty string, reuse empty shared string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Result is same with source string, reuse source shared string elsif New_Item'Length = 0 then Reference (SR); DR := SR; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. Position - 1) := SR.Data (1 .. Position - 1); DR.Data (Position .. Position + New_Item'Length - 1) := New_Item; DR.Data (Position + New_Item'Length .. DL) := SR.Data (Position + New_Item'Length .. SR.Last); DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end Overwrite; procedure Overwrite (Source : in out Unbounded_Wide_Wide_String; Position : Positive; New_Item : Wide_Wide_String) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Bounds check if Position > SR.Last + 1 then raise Index_Error; end if; DL := Integer'Max (SR.Last, Position + New_Item'Length - 1); -- Result is empty string, reuse empty shared string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- String unchanged, nothing to do elsif New_Item'Length = 0 then null; -- Try to reuse existent shared string elsif Can_Be_Reused (SR, DL) then SR.Data (Position .. Position + New_Item'Length - 1) := New_Item; SR.Last := DL; -- Otherwise allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. Position - 1) := SR.Data (1 .. Position - 1); DR.Data (Position .. Position + New_Item'Length - 1) := New_Item; DR.Data (Position + New_Item'Length .. DL) := SR.Data (Position + New_Item'Length .. SR.Last); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end Overwrite; --------------- -- Reference -- --------------- procedure Reference (Item : not null Shared_Wide_Wide_String_Access) is begin System.Atomic_Counters.Increment (Item.Counter); end Reference; --------------------- -- Replace_Element -- --------------------- procedure Replace_Element (Source : in out Unbounded_Wide_Wide_String; Index : Positive; By : Wide_Wide_Character) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Bounds check if Index <= SR.Last then -- Try to reuse existent shared string if Can_Be_Reused (SR, SR.Last) then SR.Data (Index) := By; -- Otherwise allocate new shared string and fill it else DR := Allocate (SR.Last); DR.Data (1 .. SR.Last) := SR.Data (1 .. SR.Last); DR.Data (Index) := By; DR.Last := SR.Last; Source.Reference := DR; Unreference (SR); end if; else raise Index_Error; end if; end Replace_Element; ------------------- -- Replace_Slice -- ------------------- function Replace_Slice (Source : Unbounded_Wide_Wide_String; Low : Positive; High : Natural; By : Wide_Wide_String) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Check bounds if Low > SR.Last + 1 then raise Index_Error; end if; -- Do replace operation when removed slice is not empty if High >= Low then DL := By'Length + SR.Last + Low - Integer'Min (High, SR.Last) - 1; -- This is the number of characters remaining in the string after -- replacing the slice. -- Result is empty string, reuse empty shared string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. Low - 1) := SR.Data (1 .. Low - 1); DR.Data (Low .. Low + By'Length - 1) := By; DR.Data (Low + By'Length .. DL) := SR.Data (High + 1 .. SR.Last); DR.Last := DL; end if; return (AF.Controlled with Reference => DR); -- Otherwise just insert string else return Insert (Source, Low, By); end if; end Replace_Slice; procedure Replace_Slice (Source : in out Unbounded_Wide_Wide_String; Low : Positive; High : Natural; By : Wide_Wide_String) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Bounds check if Low > SR.Last + 1 then raise Index_Error; end if; -- Do replace operation only when replaced slice is not empty if High >= Low then DL := By'Length + SR.Last + Low - Integer'Min (High, SR.Last) - 1; -- This is the number of characters remaining in the string after -- replacing the slice. -- Result is empty string, reuse empty shared string if DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- Try to reuse existent shared string elsif Can_Be_Reused (SR, DL) then SR.Data (Low + By'Length .. DL) := SR.Data (High + 1 .. SR.Last); SR.Data (Low .. Low + By'Length - 1) := By; SR.Last := DL; -- Otherwise allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. Low - 1) := SR.Data (1 .. Low - 1); DR.Data (Low .. Low + By'Length - 1) := By; DR.Data (Low + By'Length .. DL) := SR.Data (High + 1 .. SR.Last); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; -- Otherwise just insert item else Insert (Source, Low, By); end if; end Replace_Slice; ------------------------------- -- Set_Unbounded_Wide_Wide_String -- ------------------------------- procedure Set_Unbounded_Wide_Wide_String (Target : out Unbounded_Wide_Wide_String; Source : Wide_Wide_String) is TR : constant Shared_Wide_Wide_String_Access := Target.Reference; DR : Shared_Wide_Wide_String_Access; begin -- In case of empty string, reuse empty shared string if Source'Length = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Target.Reference := Empty_Shared_Wide_Wide_String'Access; else -- Try to reuse existent shared string if Can_Be_Reused (TR, Source'Length) then Reference (TR); DR := TR; -- Otherwise allocate new shared string else DR := Allocate (Source'Length); Target.Reference := DR; end if; DR.Data (1 .. Source'Length) := Source; DR.Last := Source'Length; end if; Unreference (TR); end Set_Unbounded_Wide_Wide_String; ----------- -- Slice -- ----------- function Slice (Source : Unbounded_Wide_Wide_String; Low : Positive; High : Natural) return Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; begin -- Note: test of High > Length is in accordance with AI95-00128 if Low > SR.Last + 1 or else High > SR.Last then raise Index_Error; else return SR.Data (Low .. High); end if; end Slice; ---------- -- Tail -- ---------- function Tail (Source : Unbounded_Wide_Wide_String; Count : Natural; Pad : Wide_Wide_Character := Wide_Wide_Space) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- For empty result reuse empty shared string if Count = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Result is hole source string, reuse source shared string elsif Count = SR.Last then Reference (SR); DR := SR; -- Otherwise allocate new shared string and fill it else DR := Allocate (Count); if Count < SR.Last then DR.Data (1 .. Count) := SR.Data (SR.Last - Count + 1 .. SR.Last); else for J in 1 .. Count - SR.Last loop DR.Data (J) := Pad; end loop; DR.Data (Count - SR.Last + 1 .. Count) := SR.Data (1 .. SR.Last); end if; DR.Last := Count; end if; return (AF.Controlled with Reference => DR); end Tail; procedure Tail (Source : in out Unbounded_Wide_Wide_String; Count : Natural; Pad : Wide_Wide_Character := Wide_Wide_Space) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; procedure Common (SR : Shared_Wide_Wide_String_Access; DR : Shared_Wide_Wide_String_Access; Count : Natural); -- Common code of tail computation. SR/DR can point to the same object ------------ -- Common -- ------------ procedure Common (SR : Shared_Wide_Wide_String_Access; DR : Shared_Wide_Wide_String_Access; Count : Natural) is begin if Count < SR.Last then DR.Data (1 .. Count) := SR.Data (SR.Last - Count + 1 .. SR.Last); else DR.Data (Count - SR.Last + 1 .. Count) := SR.Data (1 .. SR.Last); for J in 1 .. Count - SR.Last loop DR.Data (J) := Pad; end loop; end if; DR.Last := Count; end Common; begin -- Result is empty string, reuse empty shared string if Count = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- Length of the result is the same with length of the source string, -- reuse source shared string. elsif Count = SR.Last then null; -- Try to reuse existent shared string elsif Can_Be_Reused (SR, Count) then Common (SR, SR, Count); -- Otherwise allocate new shared string and fill it else DR := Allocate (Count); Common (SR, DR, Count); Source.Reference := DR; Unreference (SR); end if; end Tail; ------------------------- -- To_Wide_Wide_String -- ------------------------- function To_Wide_Wide_String (Source : Unbounded_Wide_Wide_String) return Wide_Wide_String is begin return Source.Reference.Data (1 .. Source.Reference.Last); end To_Wide_Wide_String; ----------------------------------- -- To_Unbounded_Wide_Wide_String -- ----------------------------------- function To_Unbounded_Wide_Wide_String (Source : Wide_Wide_String) return Unbounded_Wide_Wide_String is DR : Shared_Wide_Wide_String_Access; begin if Source'Length = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; else DR := Allocate (Source'Length); DR.Data (1 .. Source'Length) := Source; DR.Last := Source'Length; end if; return (AF.Controlled with Reference => DR); end To_Unbounded_Wide_Wide_String; function To_Unbounded_Wide_Wide_String (Length : Natural) return Unbounded_Wide_Wide_String is DR : Shared_Wide_Wide_String_Access; begin if Length = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; else DR := Allocate (Length); DR.Last := Length; end if; return (AF.Controlled with Reference => DR); end To_Unbounded_Wide_Wide_String; --------------- -- Translate -- --------------- function Translate (Source : Unbounded_Wide_Wide_String; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Nothing to translate, reuse empty shared string if SR.Last = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DR := Allocate (SR.Last); for J in 1 .. SR.Last loop DR.Data (J) := Value (Mapping, SR.Data (J)); end loop; DR.Last := SR.Last; end if; return (AF.Controlled with Reference => DR); end Translate; procedure Translate (Source : in out Unbounded_Wide_Wide_String; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Nothing to translate if SR.Last = 0 then null; -- Try to reuse shared string elsif Can_Be_Reused (SR, SR.Last) then for J in 1 .. SR.Last loop SR.Data (J) := Value (Mapping, SR.Data (J)); end loop; -- Otherwise, allocate new shared string else DR := Allocate (SR.Last); for J in 1 .. SR.Last loop DR.Data (J) := Value (Mapping, SR.Data (J)); end loop; DR.Last := SR.Last; Source.Reference := DR; Unreference (SR); end if; end Translate; function Translate (Source : Unbounded_Wide_Wide_String; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Nothing to translate, reuse empty shared string if SR.Last = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DR := Allocate (SR.Last); for J in 1 .. SR.Last loop DR.Data (J) := Mapping.all (SR.Data (J)); end loop; DR.Last := SR.Last; end if; return (AF.Controlled with Reference => DR); exception when others => Unreference (DR); raise; end Translate; procedure Translate (Source : in out Unbounded_Wide_Wide_String; Mapping : Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DR : Shared_Wide_Wide_String_Access; begin -- Nothing to translate if SR.Last = 0 then null; -- Try to reuse shared string elsif Can_Be_Reused (SR, SR.Last) then for J in 1 .. SR.Last loop SR.Data (J) := Mapping.all (SR.Data (J)); end loop; -- Otherwise allocate new shared string and fill it else DR := Allocate (SR.Last); for J in 1 .. SR.Last loop DR.Data (J) := Mapping.all (SR.Data (J)); end loop; DR.Last := SR.Last; Source.Reference := DR; Unreference (SR); end if; exception when others => if DR /= null then Unreference (DR); end if; raise; end Translate; ---------- -- Trim -- ---------- function Trim (Source : Unbounded_Wide_Wide_String; Side : Trim_End) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; Low : Natural; High : Natural; begin Low := Index_Non_Blank (Source, Forward); -- All blanks, reuse empty shared string if Low = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; else case Side is when Left => High := SR.Last; DL := SR.Last - Low + 1; when Right => Low := 1; High := Index_Non_Blank (Source, Backward); DL := High; when Both => High := Index_Non_Blank (Source, Backward); DL := High - Low + 1; end case; -- Length of the result is the same as length of the source string, -- reuse source shared string. if DL = SR.Last then Reference (SR); DR := SR; -- Otherwise, allocate new shared string else DR := Allocate (DL); DR.Data (1 .. DL) := SR.Data (Low .. High); DR.Last := DL; end if; end if; return (AF.Controlled with Reference => DR); end Trim; procedure Trim (Source : in out Unbounded_Wide_Wide_String; Side : Trim_End) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; Low : Natural; High : Natural; begin Low := Index_Non_Blank (Source, Forward); -- All blanks, reuse empty shared string if Low = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); else case Side is when Left => High := SR.Last; DL := SR.Last - Low + 1; when Right => Low := 1; High := Index_Non_Blank (Source, Backward); DL := High; when Both => High := Index_Non_Blank (Source, Backward); DL := High - Low + 1; end case; -- Length of the result is the same as length of the source string, -- nothing to do. if DL = SR.Last then null; -- Try to reuse existent shared string elsif Can_Be_Reused (SR, DL) then SR.Data (1 .. DL) := SR.Data (Low .. High); SR.Last := DL; -- Otherwise, allocate new shared string else DR := Allocate (DL); DR.Data (1 .. DL) := SR.Data (Low .. High); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end if; end Trim; function Trim (Source : Unbounded_Wide_Wide_String; Left : Wide_Wide_Maps.Wide_Wide_Character_Set; Right : Wide_Wide_Maps.Wide_Wide_Character_Set) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; Low : Natural; High : Natural; begin Low := Index (Source, Left, Outside, Forward); -- Source includes only characters from Left set, reuse empty shared -- string. if Low = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; else High := Index (Source, Right, Outside, Backward); DL := Integer'Max (0, High - Low + 1); -- Source includes only characters from Right set or result string -- is empty, reuse empty shared string. if High = 0 or else DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. DL) := SR.Data (Low .. High); DR.Last := DL; end if; end if; return (AF.Controlled with Reference => DR); end Trim; procedure Trim (Source : in out Unbounded_Wide_Wide_String; Left : Wide_Wide_Maps.Wide_Wide_Character_Set; Right : Wide_Wide_Maps.Wide_Wide_Character_Set) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; Low : Natural; High : Natural; begin Low := Index (Source, Left, Outside, Forward); -- Source includes only characters from Left set, reuse empty shared -- string. if Low = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); else High := Index (Source, Right, Outside, Backward); DL := Integer'Max (0, High - Low + 1); -- Source includes only characters from Right set or result string -- is empty, reuse empty shared string. if High = 0 or else DL = 0 then Reference (Empty_Shared_Wide_Wide_String'Access); Source.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (SR); -- Try to reuse existent shared string elsif Can_Be_Reused (SR, DL) then SR.Data (1 .. DL) := SR.Data (Low .. High); SR.Last := DL; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. DL) := SR.Data (Low .. High); DR.Last := DL; Source.Reference := DR; Unreference (SR); end if; end if; end Trim; --------------------- -- Unbounded_Slice -- --------------------- function Unbounded_Slice (Source : Unbounded_Wide_Wide_String; Low : Positive; High : Natural) return Unbounded_Wide_Wide_String is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Check bounds if Low > SR.Last + 1 or else High > SR.Last then raise Index_Error; -- Result is empty slice, reuse empty shared string elsif Low > High then Reference (Empty_Shared_Wide_Wide_String'Access); DR := Empty_Shared_Wide_Wide_String'Access; -- Otherwise, allocate new shared string and fill it else DL := High - Low + 1; DR := Allocate (DL); DR.Data (1 .. DL) := SR.Data (Low .. High); DR.Last := DL; end if; return (AF.Controlled with Reference => DR); end Unbounded_Slice; procedure Unbounded_Slice (Source : Unbounded_Wide_Wide_String; Target : out Unbounded_Wide_Wide_String; Low : Positive; High : Natural) is SR : constant Shared_Wide_Wide_String_Access := Source.Reference; TR : constant Shared_Wide_Wide_String_Access := Target.Reference; DL : Natural; DR : Shared_Wide_Wide_String_Access; begin -- Check bounds if Low > SR.Last + 1 or else High > SR.Last then raise Index_Error; -- Result is empty slice, reuse empty shared string elsif Low > High then Reference (Empty_Shared_Wide_Wide_String'Access); Target.Reference := Empty_Shared_Wide_Wide_String'Access; Unreference (TR); else DL := High - Low + 1; -- Try to reuse existent shared string if Can_Be_Reused (TR, DL) then TR.Data (1 .. DL) := SR.Data (Low .. High); TR.Last := DL; -- Otherwise, allocate new shared string and fill it else DR := Allocate (DL); DR.Data (1 .. DL) := SR.Data (Low .. High); DR.Last := DL; Target.Reference := DR; Unreference (TR); end if; end if; end Unbounded_Slice; ----------------- -- Unreference -- ----------------- procedure Unreference (Item : not null Shared_Wide_Wide_String_Access) is procedure Free is new Ada.Unchecked_Deallocation (Shared_Wide_Wide_String, Shared_Wide_Wide_String_Access); Aux : Shared_Wide_Wide_String_Access := Item; begin if System.Atomic_Counters.Decrement (Aux.Counter) then -- Reference counter of Empty_Shared_Wide_Wide_String must never -- reach zero. pragma Assert (Aux /= Empty_Shared_Wide_Wide_String'Access); Free (Aux); end if; end Unreference; end Ada.Strings.Wide_Wide_Unbounded;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- U N A M E -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ with Types; use Types; package Uname is --------------------------- -- Unit Name Conventions -- --------------------------- -- Units are associated with a unique ASCII name as follows. First we -- have the fully expanded name of the unit, with lower case letters -- (except for the use of upper case letters for encoding upper half -- and wide characters, as described in Namet), and periods. Following -- this is one of the following suffixes: -- %s for package/subprogram/generic declarations (specs) -- %b for package/subprogram/generic bodies and subunits -- Unit names are stored in the names table, and referred to by the -- corresponding Name_Id values. The subtype Unit_Name, which is a -- synonym for Name_Id, is used to indicate that a Name_Id value that -- holds a unit name (as defined above) is expected. -- Note: as far as possible the conventions for unit names are encapsulated -- in this package. The one exception is that package Fname, which provides -- conversion routines from unit names to file names must be aware of the -- precise conventions that are used. ------------------- -- Display Names -- ------------------- -- For display purposes, unit names are printed out with the suffix -- " (body)" for a body and " (spec)" for a spec. These formats are -- used for the Write_Unit_Name and Get_Unit_Name_String subprograms. ----------------- -- Subprograms -- ----------------- function Get_Body_Name (N : Unit_Name_Type) return Unit_Name_Type; -- Given the name of a spec, this function returns the name of the -- corresponding body, i.e. characters %s replaced by %b function Get_Parent_Body_Name (N : Unit_Name_Type) return Unit_Name_Type; -- Given the name of a subunit, returns the name of the parent body function Get_Parent_Spec_Name (N : Unit_Name_Type) return Unit_Name_Type; -- Given the name of a child unit spec or body, returns the unit name -- of the parent spec. Returns No_Name if the given name is not the name -- of a child unit. procedure Get_External_Unit_Name_String (N : Unit_Name_Type); -- Given the name of a body or spec unit, this procedure places in -- Name_Buffer the name of the unit with periods replaced by double -- underscores. The spec/body indication is eliminated. The length -- of the stored name is placed in Name_Len. All letters are lower -- case, corresponding to the string used in external names. function Get_Spec_Name (N : Unit_Name_Type) return Unit_Name_Type; -- Given the name of a body, this function returns the name of the -- corresponding spec, i.e. characters %b replaced by %s function Get_Unit_Name (N : Node_Id) return Unit_Name_Type; -- This procedure returns the unit name that corresponds to the given node, -- which is one of the following: -- -- N_Subprogram_Declaration (spec) cases -- N_Package_Declaration -- N_Generic_Declaration -- N_With_Clause -- N_Function_Instantiation -- N_Package_Instantiation -- N_Procedure_Instantiation -- N_Pragma (Elaborate case) -- -- N_Package_Body (body) cases -- N_Subprogram_Body -- N_Identifier -- N_Selected_Component -- -- N_Subprogram_Body_Stub (subunit) cases -- N_Package_Body_Stub -- N_Task_Body_Stub -- N_Protected_Body_Stub -- N_Subunit procedure Get_Unit_Name_String (N : Unit_Name_Type); -- Places the display name of the unit in Name_Buffer and sets Name_Len -- to the length of the stored name, i.e. it uses the same interface as -- the Get_Name_String routine in the Namet package. The name contains -- an indication of spec or body, and is decoded. function Is_Body_Name (N : Unit_Name_Type) return Boolean; -- Returns True iff the given name is the unit name of a body (i.e. if -- it ends with the characters %b). function Is_Child_Name (N : Unit_Name_Type) return Boolean; -- Returns True iff the given name is a child unit name (of either a -- body or a spec). function Is_Spec_Name (N : Unit_Name_Type) return Boolean; -- Returns True iff the given name is the unit name of a specification -- (i.e. if it ends with the characters %s). function Name_To_Unit_Name (N : Name_Id) return Unit_Name_Type; -- Given the Id of the Ada name of a unit, this function returns the -- corresponding unit name of the spec (by appending %s to the name). function New_Child (Old : Unit_Name_Type; Newp : Unit_Name_Type) return Unit_Name_Type; -- Old is a child unit name (for either a body or spec). Newp is the -- unit name of the actual parent (this may be different from the -- parent in old). The returned unit name is formed by taking the -- parent name from Newp and the child unit name from Old, with the -- result being a body or spec depending on Old. For example: -- -- Old = A.B.C (body) -- Newp = A.R (spec) -- result = A.R.C (body) -- -- See spec of Load_Unit for extensive discussion of why this routine -- needs to be used (the call in the body of Load_Unit is the only one). function Uname_Ge (Left, Right : Unit_Name_Type) return Boolean; function Uname_Gt (Left, Right : Unit_Name_Type) return Boolean; function Uname_Le (Left, Right : Unit_Name_Type) return Boolean; function Uname_Lt (Left, Right : Unit_Name_Type) return Boolean; -- These functions perform lexicographic ordering of unit names. The -- ordering is suitable for printing, and is not quite a straightforward -- comparison of the names, since the convention is that specs appear -- before bodies. Note that the standard = and /= operators work fine -- because all unit names are hashed into the name table, so if two names -- are the same, they always have the same Name_Id value. procedure Write_Unit_Name (N : Unit_Name_Type); -- Given a unit name, this procedure writes the display name to the -- standard output file. Name_Buffer and Name_Len are set as described -- above for the Get_Unit_Name_String call on return. end Uname;
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with X11; limited with Xlib; limited with Xutil; with Interfaces.C.Strings; with System; with GL; with bits_stdint_intn_h; package glx is -- Troodon addition type IntArray is array (Integer range <>) of Interfaces.C.int with Convention => C, Component_Size => Interfaces.C.int'Size; GLX_VERSION_1_1 : constant := 1; -- /usr/include/GL/glx.h:40 GLX_VERSION_1_2 : constant := 1; -- /usr/include/GL/glx.h:41 GLX_VERSION_1_3 : constant := 1; -- /usr/include/GL/glx.h:42 GLX_VERSION_1_4 : constant := 1; -- /usr/include/GL/glx.h:43 GLX_EXTENSION_NAME : aliased constant String := "GLX" & ASCII.NUL; -- /usr/include/GL/glx.h:45 GLX_USE_GL : constant := 1; -- /usr/include/GL/glx.h:52 GLX_BUFFER_SIZE : constant := 2; -- /usr/include/GL/glx.h:53 GLX_LEVEL : constant := 3; -- /usr/include/GL/glx.h:54 GLX_RGBA : constant := 4; -- /usr/include/GL/glx.h:55 GLX_DOUBLEBUFFER : constant := 5; -- /usr/include/GL/glx.h:56 GLX_STEREO : constant := 6; -- /usr/include/GL/glx.h:57 GLX_AUX_BUFFERS : constant := 7; -- /usr/include/GL/glx.h:58 GLX_RED_SIZE : constant := 8; -- /usr/include/GL/glx.h:59 GLX_GREEN_SIZE : constant := 9; -- /usr/include/GL/glx.h:60 GLX_BLUE_SIZE : constant := 10; -- /usr/include/GL/glx.h:61 GLX_ALPHA_SIZE : constant := 11; -- /usr/include/GL/glx.h:62 GLX_DEPTH_SIZE : constant := 12; -- /usr/include/GL/glx.h:63 GLX_STENCIL_SIZE : constant := 13; -- /usr/include/GL/glx.h:64 GLX_ACCUM_RED_SIZE : constant := 14; -- /usr/include/GL/glx.h:65 GLX_ACCUM_GREEN_SIZE : constant := 15; -- /usr/include/GL/glx.h:66 GLX_ACCUM_BLUE_SIZE : constant := 16; -- /usr/include/GL/glx.h:67 GLX_ACCUM_ALPHA_SIZE : constant := 17; -- /usr/include/GL/glx.h:68 GLX_BAD_SCREEN : constant := 1; -- /usr/include/GL/glx.h:74 GLX_BAD_ATTRIBUTE : constant := 2; -- /usr/include/GL/glx.h:75 GLX_NO_EXTENSION : constant := 3; -- /usr/include/GL/glx.h:76 GLX_BAD_VISUAL : constant := 4; -- /usr/include/GL/glx.h:77 GLX_BAD_CONTEXT : constant := 5; -- /usr/include/GL/glx.h:78 GLX_BAD_VALUE : constant := 6; -- /usr/include/GL/glx.h:79 GLX_BAD_ENUM : constant := 7; -- /usr/include/GL/glx.h:80 GLX_VENDOR : constant := 1; -- /usr/include/GL/glx.h:86 GLX_VERSION : constant := 2; -- /usr/include/GL/glx.h:87 GLX_EXTENSIONS : constant := 3; -- /usr/include/GL/glx.h:88 GLX_CONFIG_CAVEAT : constant := 16#20#; -- /usr/include/GL/glx.h:94 GLX_DONT_CARE : constant := 16#FFFFFFFF#; -- /usr/include/GL/glx.h:95 GLX_X_VISUAL_TYPE : constant := 16#22#; -- /usr/include/GL/glx.h:96 GLX_TRANSPARENT_TYPE : constant := 16#23#; -- /usr/include/GL/glx.h:97 GLX_TRANSPARENT_INDEX_VALUE : constant := 16#24#; -- /usr/include/GL/glx.h:98 GLX_TRANSPARENT_RED_VALUE : constant := 16#25#; -- /usr/include/GL/glx.h:99 GLX_TRANSPARENT_GREEN_VALUE : constant := 16#26#; -- /usr/include/GL/glx.h:100 GLX_TRANSPARENT_BLUE_VALUE : constant := 16#27#; -- /usr/include/GL/glx.h:101 GLX_TRANSPARENT_ALPHA_VALUE : constant := 16#28#; -- /usr/include/GL/glx.h:102 GLX_WINDOW_BIT : constant := 16#00000001#; -- /usr/include/GL/glx.h:103 GLX_PIXMAP_BIT : constant := 16#00000002#; -- /usr/include/GL/glx.h:104 GLX_PBUFFER_BIT : constant := 16#00000004#; -- /usr/include/GL/glx.h:105 GLX_AUX_BUFFERS_BIT : constant := 16#00000010#; -- /usr/include/GL/glx.h:106 GLX_FRONT_LEFT_BUFFER_BIT : constant := 16#00000001#; -- /usr/include/GL/glx.h:107 GLX_FRONT_RIGHT_BUFFER_BIT : constant := 16#00000002#; -- /usr/include/GL/glx.h:108 GLX_BACK_LEFT_BUFFER_BIT : constant := 16#00000004#; -- /usr/include/GL/glx.h:109 GLX_BACK_RIGHT_BUFFER_BIT : constant := 16#00000008#; -- /usr/include/GL/glx.h:110 GLX_DEPTH_BUFFER_BIT : constant := 16#00000020#; -- /usr/include/GL/glx.h:111 GLX_STENCIL_BUFFER_BIT : constant := 16#00000040#; -- /usr/include/GL/glx.h:112 GLX_ACCUM_BUFFER_BIT : constant := 16#00000080#; -- /usr/include/GL/glx.h:113 GLX_NONE : constant := 16#8000#; -- /usr/include/GL/glx.h:114 GLX_SLOW_CONFIG : constant := 16#8001#; -- /usr/include/GL/glx.h:115 GLX_TRUE_COLOR : constant := 16#8002#; -- /usr/include/GL/glx.h:116 GLX_DIRECT_COLOR : constant := 16#8003#; -- /usr/include/GL/glx.h:117 GLX_PSEUDO_COLOR : constant := 16#8004#; -- /usr/include/GL/glx.h:118 GLX_STATIC_COLOR : constant := 16#8005#; -- /usr/include/GL/glx.h:119 GLX_GRAY_SCALE : constant := 16#8006#; -- /usr/include/GL/glx.h:120 GLX_STATIC_GRAY : constant := 16#8007#; -- /usr/include/GL/glx.h:121 GLX_TRANSPARENT_RGB : constant := 16#8008#; -- /usr/include/GL/glx.h:122 GLX_TRANSPARENT_INDEX : constant := 16#8009#; -- /usr/include/GL/glx.h:123 GLX_VISUAL_ID : constant := 16#800B#; -- /usr/include/GL/glx.h:124 GLX_SCREEN : constant := 16#800C#; -- /usr/include/GL/glx.h:125 GLX_NON_CONFORMANT_CONFIG : constant := 16#800D#; -- /usr/include/GL/glx.h:126 GLX_DRAWABLE_TYPE : constant := 16#8010#; -- /usr/include/GL/glx.h:127 GLX_RENDER_TYPE : constant := 16#8011#; -- /usr/include/GL/glx.h:128 GLX_X_RENDERABLE : constant := 16#8012#; -- /usr/include/GL/glx.h:129 GLX_FBCONFIG_ID : constant := 16#8013#; -- /usr/include/GL/glx.h:130 GLX_RGBA_TYPE : constant := 16#8014#; -- /usr/include/GL/glx.h:131 GLX_COLOR_INDEX_TYPE : constant := 16#8015#; -- /usr/include/GL/glx.h:132 GLX_MAX_PBUFFER_WIDTH : constant := 16#8016#; -- /usr/include/GL/glx.h:133 GLX_MAX_PBUFFER_HEIGHT : constant := 16#8017#; -- /usr/include/GL/glx.h:134 GLX_MAX_PBUFFER_PIXELS : constant := 16#8018#; -- /usr/include/GL/glx.h:135 GLX_PRESERVED_CONTENTS : constant := 16#801B#; -- /usr/include/GL/glx.h:136 GLX_LARGEST_PBUFFER : constant := 16#801C#; -- /usr/include/GL/glx.h:137 GLX_WIDTH : constant := 16#801D#; -- /usr/include/GL/glx.h:138 GLX_HEIGHT : constant := 16#801E#; -- /usr/include/GL/glx.h:139 GLX_EVENT_MASK : constant := 16#801F#; -- /usr/include/GL/glx.h:140 GLX_DAMAGED : constant := 16#8020#; -- /usr/include/GL/glx.h:141 GLX_SAVED : constant := 16#8021#; -- /usr/include/GL/glx.h:142 GLX_WINDOW : constant := 16#8022#; -- /usr/include/GL/glx.h:143 GLX_PBUFFER : constant := 16#8023#; -- /usr/include/GL/glx.h:144 GLX_PBUFFER_HEIGHT : constant := 16#8040#; -- /usr/include/GL/glx.h:145 GLX_PBUFFER_WIDTH : constant := 16#8041#; -- /usr/include/GL/glx.h:146 GLX_RGBA_BIT : constant := 16#00000001#; -- /usr/include/GL/glx.h:147 GLX_COLOR_INDEX_BIT : constant := 16#00000002#; -- /usr/include/GL/glx.h:148 GLX_PBUFFER_CLOBBER_MASK : constant := 16#08000000#; -- /usr/include/GL/glx.h:149 GLX_SAMPLE_BUFFERS : constant := 16#186a0#; -- /usr/include/GL/glx.h:155 GLX_SAMPLES : constant := 16#186a1#; -- /usr/include/GL/glx.h:156 GLX_PbufferClobber : constant := 0; -- /usr/include/GL/glx.h:177 GLX_BufferSwapComplete : constant := 1; -- /usr/include/GL/glx.h:178 GLX_ARB_get_proc_address : constant := 1; -- /usr/include/GL/glx.h:310 GLX_ARB_render_texture : constant := 1; -- /usr/include/GL/glx.h:357 GLX_MESA_swap_frame_usage : constant := 1; -- /usr/include/GL/glx.h:370 -- * Mesa 3-D graphics library -- * -- * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. -- * -- * Permission is hereby granted, free of charge, to any person obtaining a -- * copy of this software and associated documentation files (the "Software"), -- * to deal in the Software without restriction, including without limitation -- * the rights to use, copy, modify, merge, publish, distribute, sublicense, -- * and/or sell copies of the Software, and to permit persons to whom the -- * Software is furnished to do so, subject to the following conditions: -- * -- * The above copyright notice and this permission notice shall be included -- * in all copies or substantial portions of the Software. -- * -- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -- * OTHER DEALINGS IN THE SOFTWARE. -- -- * Tokens for glXChooseVisual and glXGetConfig: -- -- * Error codes returned by glXGetConfig: -- -- * GLX 1.1 and later: -- -- * GLX 1.3 and later: -- -- * GLX 1.4 and later: -- type uu_GLXcontextRec is null record; -- incomplete struct type GLXContext is access all uu_GLXcontextRec; -- /usr/include/GL/glx.h:160 subtype GLXPixmap is X11.XID; -- /usr/include/GL/glx.h:161 subtype GLXDrawable is X11.XID; -- /usr/include/GL/glx.h:162 -- GLX 1.3 and later type uu_GLXFBConfigRec is null record; -- incomplete struct -- Troodon edit type GLXFBConfig is access all uu_GLXFBConfigRec; -- /usr/include/GL/glx.h:164 type GLXFBConfigArray is array (Integer range <>) of GLXFBConfig; subtype GLXFBConfigID is X11.XID; -- /usr/include/GL/glx.h:165 subtype GLXContextID is X11.XID; -- /usr/include/GL/glx.h:166 subtype GLXWindow is X11.XID; -- /usr/include/GL/glx.h:167 subtype GLXPbuffer is X11.XID; -- /usr/include/GL/glx.h:168 --** Events. --** __GLX_NUMBER_EVENTS is set to 17 to account for the BufferClobberSGIX --** event - this helps initialization if the server supports the pbuffer --** extension and the client doesn't. -- function glXChooseVisual (dpy : access Xlib.Display; screen : int; attribList : IntArray) return access Xutil.XVisualInfo -- /usr/include/GL/glx.h:182 with Import => True, Convention => C, External_Name => "glXChooseVisual"; function glXCreateContext (dpy : access Xlib.Display; vis : access Xutil.XVisualInfo; shareList : GLXContext; direct : int) return GLXContext -- /usr/include/GL/glx.h:185 with Import => True, Convention => C, External_Name => "glXCreateContext"; procedure glXDestroyContext (dpy : access Xlib.Display; ctx : GLXContext) -- /usr/include/GL/glx.h:188 with Import => True, Convention => C, External_Name => "glXDestroyContext"; function glXMakeCurrent (dpy : access Xlib.Display; drawable : GLXDrawable; ctx : GLXContext) return int -- /usr/include/GL/glx.h:190 with Import => True, Convention => C, External_Name => "glXMakeCurrent"; procedure glXCopyContext (dpy : access Xlib.Display; src : GLXContext; dst : GLXContext; mask : unsigned_long) -- /usr/include/GL/glx.h:193 with Import => True, Convention => C, External_Name => "glXCopyContext"; procedure glXSwapBuffers (dpy : access Xlib.Display; drawable : GLXDrawable) -- /usr/include/GL/glx.h:196 with Import => True, Convention => C, External_Name => "glXSwapBuffers"; function glXCreateGLXPixmap (dpy : access Xlib.Display; visual : access Xutil.XVisualInfo; the_pixmap : X11.Pixmap) return GLXPixmap -- /usr/include/GL/glx.h:198 with Import => True, Convention => C, External_Name => "glXCreateGLXPixmap"; procedure glXDestroyGLXPixmap (dpy : access Xlib.Display; pixmap : GLXPixmap) -- /usr/include/GL/glx.h:201 with Import => True, Convention => C, External_Name => "glXDestroyGLXPixmap"; function glXQueryExtension (dpy : access Xlib.Display; errorb : access int; event : access int) return int -- /usr/include/GL/glx.h:203 with Import => True, Convention => C, External_Name => "glXQueryExtension"; function glXQueryVersion (dpy : access Xlib.Display; maj : access int; min : access int) return int -- /usr/include/GL/glx.h:205 with Import => True, Convention => C, External_Name => "glXQueryVersion"; function glXIsDirect (dpy : access Xlib.Display; ctx : GLXContext) return int -- /usr/include/GL/glx.h:207 with Import => True, Convention => C, External_Name => "glXIsDirect"; function glXGetConfig (dpy : access Xlib.Display; visual : access Xutil.XVisualInfo; attrib : int; value : access int) return int -- /usr/include/GL/glx.h:209 with Import => True, Convention => C, External_Name => "glXGetConfig"; function glXGetCurrentContext return GLXContext -- /usr/include/GL/glx.h:212 with Import => True, Convention => C, External_Name => "glXGetCurrentContext"; function glXGetCurrentDrawable return GLXDrawable -- /usr/include/GL/glx.h:214 with Import => True, Convention => C, External_Name => "glXGetCurrentDrawable"; procedure glXWaitGL -- /usr/include/GL/glx.h:216 with Import => True, Convention => C, External_Name => "glXWaitGL"; procedure glXWaitX -- /usr/include/GL/glx.h:218 with Import => True, Convention => C, External_Name => "glXWaitX"; procedure glXUseXFont (the_font : X11.Font; first : int; count : int; list : int) -- /usr/include/GL/glx.h:220 with Import => True, Convention => C, External_Name => "glXUseXFont"; -- GLX 1.1 and later function glXQueryExtensionsString (dpy : access Xlib.Display; screen : int) return Interfaces.C.Strings.chars_ptr -- /usr/include/GL/glx.h:225 with Import => True, Convention => C, External_Name => "glXQueryExtensionsString"; function glXQueryServerString (dpy : access Xlib.Display; screen : int; name : int) return Interfaces.C.Strings.chars_ptr -- /usr/include/GL/glx.h:227 with Import => True, Convention => C, External_Name => "glXQueryServerString"; function glXGetClientString (dpy : access Xlib.Display; name : int) return Interfaces.C.Strings.chars_ptr -- /usr/include/GL/glx.h:229 with Import => True, Convention => C, External_Name => "glXGetClientString"; -- GLX 1.2 and later function glXGetCurrentDisplay return access Xlib.Display -- /usr/include/GL/glx.h:233 with Import => True, Convention => C, External_Name => "glXGetCurrentDisplay"; -- GLX 1.3 and later function glXChooseFBConfig (dpy : access Xlib.Display; screen : int; attribList : IntArray; nitems : access int) return System.Address -- /usr/include/GL/glx.h:237 with Import => True, Convention => C, External_Name => "glXChooseFBConfig"; function glXGetFBConfigAttrib (dpy : access Xlib.Display; config : GLXFBConfig; attribute : int; value : access int) return int -- /usr/include/GL/glx.h:240 with Import => True, Convention => C, External_Name => "glXGetFBConfigAttrib"; function glXGetFBConfigs (dpy : access Xlib.Display; screen : int; nelements : access int) return System.Address -- /usr/include/GL/glx.h:243 with Import => True, Convention => C, External_Name => "glXGetFBConfigs"; function glXGetVisualFromFBConfig (dpy : access Xlib.Display; config : GLXFBConfig) return access Xutil.XVisualInfo -- /usr/include/GL/glx.h:246 with Import => True, Convention => C, External_Name => "glXGetVisualFromFBConfig"; function glXCreateWindow (dpy : access Xlib.Display; config : GLXFBConfig; win : X11.Window; attribList : access int) return GLXWindow -- /usr/include/GL/glx.h:249 with Import => True, Convention => C, External_Name => "glXCreateWindow"; procedure glXDestroyWindow (dpy : access Xlib.Display; window : GLXWindow) -- /usr/include/GL/glx.h:252 with Import => True, Convention => C, External_Name => "glXDestroyWindow"; function glXCreatePixmap (dpy : access Xlib.Display; config : GLXFBConfig; the_pixmap : X11.Pixmap; attribList : access int) return GLXPixmap -- /usr/include/GL/glx.h:254 with Import => True, Convention => C, External_Name => "glXCreatePixmap"; procedure glXDestroyPixmap (dpy : access Xlib.Display; pixmap : GLXPixmap) -- /usr/include/GL/glx.h:257 with Import => True, Convention => C, External_Name => "glXDestroyPixmap"; function glXCreatePbuffer (dpy : access Xlib.Display; config : GLXFBConfig; attribList : access int) return GLXPbuffer -- /usr/include/GL/glx.h:259 with Import => True, Convention => C, External_Name => "glXCreatePbuffer"; procedure glXDestroyPbuffer (dpy : access Xlib.Display; pbuf : GLXPbuffer) -- /usr/include/GL/glx.h:262 with Import => True, Convention => C, External_Name => "glXDestroyPbuffer"; procedure glXQueryDrawable (dpy : access Xlib.Display; draw : GLXDrawable; attribute : int; value : access unsigned) -- /usr/include/GL/glx.h:264 with Import => True, Convention => C, External_Name => "glXQueryDrawable"; function glXCreateNewContext (dpy : access Xlib.Display; config : GLXFBConfig; renderType : int; shareList : GLXContext; direct : int) return GLXContext -- /usr/include/GL/glx.h:267 with Import => True, Convention => C, External_Name => "glXCreateNewContext"; function glXMakeContextCurrent (dpy : access Xlib.Display; draw : GLXDrawable; read : GLXDrawable; ctx : GLXContext) return int -- /usr/include/GL/glx.h:271 with Import => True, Convention => C, External_Name => "glXMakeContextCurrent"; function glXGetCurrentReadDrawable return GLXDrawable -- /usr/include/GL/glx.h:274 with Import => True, Convention => C, External_Name => "glXGetCurrentReadDrawable"; function glXQueryContext (dpy : access Xlib.Display; ctx : GLXContext; attribute : int; value : access int) return int -- /usr/include/GL/glx.h:276 with Import => True, Convention => C, External_Name => "glXQueryContext"; procedure glXSelectEvent (dpy : access Xlib.Display; drawable : GLXDrawable; mask : unsigned_long) -- /usr/include/GL/glx.h:279 with Import => True, Convention => C, External_Name => "glXSelectEvent"; procedure glXGetSelectedEvent (dpy : access Xlib.Display; drawable : GLXDrawable; mask : access unsigned_long) -- /usr/include/GL/glx.h:282 with Import => True, Convention => C, External_Name => "glXGetSelectedEvent"; -- GLX 1.3 function pointer typedefs type PFNGLXGETFBCONFIGSPROC is access function (arg1 : access Xlib.Display; arg2 : int; arg3 : access int) return System.Address with Convention => C; -- /usr/include/GL/glx.h:286 type PFNGLXCHOOSEFBCONFIGPROC is access function (arg1 : access Xlib.Display; arg2 : int; arg3 : access int; arg4 : access int) return System.Address with Convention => C; -- /usr/include/GL/glx.h:287 type PFNGLXGETFBCONFIGATTRIBPROC is access function (arg1 : access Xlib.Display; arg2 : GLXFBConfig; arg3 : int; arg4 : access int) return int with Convention => C; -- /usr/include/GL/glx.h:288 type PFNGLXGETVISUALFROMFBCONFIGPROC is access function (arg1 : access Xlib.Display; arg2 : GLXFBConfig) return access Xutil.XVisualInfo with Convention => C; -- /usr/include/GL/glx.h:289 type PFNGLXCREATEWINDOWPROC is access function (arg1 : access Xlib.Display; arg2 : GLXFBConfig; arg3 : X11.Window; arg4 : access int) return GLXWindow with Convention => C; -- /usr/include/GL/glx.h:290 type PFNGLXDESTROYWINDOWPROC is access procedure (arg1 : access Xlib.Display; arg2 : GLXWindow) with Convention => C; -- /usr/include/GL/glx.h:291 type PFNGLXCREATEPIXMAPPROC is access function (arg1 : access Xlib.Display; arg2 : GLXFBConfig; arg3 : X11.Pixmap; arg4 : access int) return GLXPixmap with Convention => C; -- /usr/include/GL/glx.h:292 type PFNGLXDESTROYPIXMAPPROC is access procedure (arg1 : access Xlib.Display; arg2 : GLXPixmap) with Convention => C; -- /usr/include/GL/glx.h:293 type PFNGLXCREATEPBUFFERPROC is access function (arg1 : access Xlib.Display; arg2 : GLXFBConfig; arg3 : access int) return GLXPbuffer with Convention => C; -- /usr/include/GL/glx.h:294 type PFNGLXDESTROYPBUFFERPROC is access procedure (arg1 : access Xlib.Display; arg2 : GLXPbuffer) with Convention => C; -- /usr/include/GL/glx.h:295 type PFNGLXQUERYDRAWABLEPROC is access procedure (arg1 : access Xlib.Display; arg2 : GLXDrawable; arg3 : int; arg4 : access unsigned) with Convention => C; -- /usr/include/GL/glx.h:296 type PFNGLXCREATENEWCONTEXTPROC is access function (arg1 : access Xlib.Display; arg2 : GLXFBConfig; arg3 : int; arg4 : GLXContext; arg5 : int) return GLXContext with Convention => C; -- /usr/include/GL/glx.h:297 type PFNGLXMAKECONTEXTCURRENTPROC is access function (arg1 : access Xlib.Display; arg2 : GLXDrawable; arg3 : GLXDrawable; arg4 : GLXContext) return int with Convention => C; -- /usr/include/GL/glx.h:298 type PFNGLXGETCURRENTREADDRAWABLEPROC is access function return GLXDrawable with Convention => C; -- /usr/include/GL/glx.h:299 type PFNGLXGETCURRENTDISPLAYPROC is access function return access Xlib.Display with Convention => C; -- /usr/include/GL/glx.h:300 type PFNGLXQUERYCONTEXTPROC is access function (arg1 : access Xlib.Display; arg2 : GLXContext; arg3 : int; arg4 : access int) return int with Convention => C; -- /usr/include/GL/glx.h:301 type PFNGLXSELECTEVENTPROC is access procedure (arg1 : access Xlib.Display; arg2 : GLXDrawable; arg3 : unsigned_long) with Convention => C; -- /usr/include/GL/glx.h:302 type PFNGLXGETSELECTEDEVENTPROC is access procedure (arg1 : access Xlib.Display; arg2 : GLXDrawable; arg3 : access unsigned_long) with Convention => C; -- /usr/include/GL/glx.h:303 -- * ARB 2. GLX_ARB_get_proc_address -- type uu_GLXextFuncPtr is access procedure with Convention => C; -- /usr/include/GL/glx.h:312 function glXGetProcAddressARB (arg1 : access GL.GLubyte) return uu_GLXextFuncPtr -- /usr/include/GL/glx.h:313 with Import => True, Convention => C, External_Name => "glXGetProcAddressARB"; -- GLX 1.4 and later --Troodon: change procname type and return type function glXGetProcAddress (procname : access Interfaces.C.char) return uu_GLXextFuncPtr -- /usr/include/GL/glx.h:320 --function glXGetProcAddress (procname : access GL.GLubyte) return access procedure -- /usr/include/GL/glx.h:320 with Import => True, Convention => C, External_Name => "glXGetProcAddress"; -- GLX 1.4 function pointer typedefs type PFNGLXGETPROCADDRESSPROC is access function (arg1 : access GL.GLubyte) return uu_GLXextFuncPtr with Convention => C; -- /usr/include/GL/glx.h:323 --* -- ** The following aren't in glxext.h yet. -- * -- * ???. GLX_NV_vertex_array_range -- function glXAllocateMemoryNV (size : GL.GLsizei; readfreq : GL.GLfloat; writefreq : GL.GLfloat; priority : GL.GLfloat) return System.Address -- /usr/include/GL/glx.h:344 with Import => True, Convention => C, External_Name => "glXAllocateMemoryNV"; procedure glXFreeMemoryNV (pointer : System.Address) -- /usr/include/GL/glx.h:345 with Import => True, Convention => C, External_Name => "glXFreeMemoryNV"; type PFNGLXALLOCATEMEMORYNVPROC is access function (arg1 : GL.GLsizei; arg2 : GL.GLfloat; arg3 : GL.GLfloat; arg4 : GL.GLfloat) return System.Address with Convention => C; -- /usr/include/GL/glx.h:346 type PFNGLXFREEMEMORYNVPROC is access procedure (arg1 : System.Address) with Convention => C; -- /usr/include/GL/glx.h:347 -- * ARB ?. GLX_ARB_render_texture -- * XXX This was never finalized! -- function glXBindTexImageARB (dpy : access Xlib.Display; pbuffer : GLXPbuffer; buffer : int) return int -- /usr/include/GL/glx.h:359 with Import => True, Convention => C, External_Name => "glXBindTexImageARB"; function glXReleaseTexImageARB (dpy : access Xlib.Display; pbuffer : GLXPbuffer; buffer : int) return int -- /usr/include/GL/glx.h:360 with Import => True, Convention => C, External_Name => "glXReleaseTexImageARB"; function glXDrawableAttribARB (dpy : access Xlib.Display; draw : GLXDrawable; attribList : access int) return int -- /usr/include/GL/glx.h:361 with Import => True, Convention => C, External_Name => "glXDrawableAttribARB"; -- * #?. GLX_MESA_swap_frame_usage -- function glXGetFrameUsageMESA (dpy : access Xlib.Display; drawable : GLXDrawable; usage : access float) return int -- /usr/include/GL/glx.h:372 with Import => True, Convention => C, External_Name => "glXGetFrameUsageMESA"; function glXBeginFrameTrackingMESA (dpy : access Xlib.Display; drawable : GLXDrawable) return int -- /usr/include/GL/glx.h:373 with Import => True, Convention => C, External_Name => "glXBeginFrameTrackingMESA"; function glXEndFrameTrackingMESA (dpy : access Xlib.Display; drawable : GLXDrawable) return int -- /usr/include/GL/glx.h:374 with Import => True, Convention => C, External_Name => "glXEndFrameTrackingMESA"; function glXQueryFrameTrackingMESA (dpy : access Xlib.Display; drawable : GLXDrawable; swapCount : access bits_stdint_intn_h.int64_t; missedFrames : access bits_stdint_intn_h.int64_t; lastMissedUsage : access float) return int -- /usr/include/GL/glx.h:375 with Import => True, Convention => C, External_Name => "glXQueryFrameTrackingMESA"; type PFNGLXGETFRAMEUSAGEMESAPROC is access function (arg1 : access Xlib.Display; arg2 : GLXDrawable; arg3 : access float) return int with Convention => C; -- /usr/include/GL/glx.h:377 type PFNGLXBEGINFRAMETRACKINGMESAPROC is access function (arg1 : access Xlib.Display; arg2 : GLXDrawable) return int with Convention => C; -- /usr/include/GL/glx.h:378 type PFNGLXENDFRAMETRACKINGMESAPROC is access function (arg1 : access Xlib.Display; arg2 : GLXDrawable) return int with Convention => C; -- /usr/include/GL/glx.h:379 type PFNGLXQUERYFRAMETRACKINGMESAPROC is access function (arg1 : access Xlib.Display; arg2 : GLXDrawable; arg3 : access bits_stdint_intn_h.int64_t; arg4 : access bits_stdint_intn_h.int64_t; arg5 : access float) return int with Convention => C; -- /usr/include/GL/glx.h:380 -- * #?. GLX_MESA_swap_control -- --** Should these go here, or in another header? --** GLX Events -- -- GLX_DAMAGED or GLX_SAVED -- skipped anonymous struct anon_113 type GLXPbufferClobberEvent is record event_type : aliased int; -- /usr/include/GL/glx.h:406 draw_type : aliased int; -- /usr/include/GL/glx.h:407 serial : aliased unsigned_long; -- /usr/include/GL/glx.h:408 send_event : aliased int; -- /usr/include/GL/glx.h:409 the_display : access Xlib.Display; -- /usr/include/GL/glx.h:410 drawable : aliased GLXDrawable; -- /usr/include/GL/glx.h:411 buffer_mask : aliased unsigned; -- /usr/include/GL/glx.h:412 aux_buffer : aliased unsigned; -- /usr/include/GL/glx.h:413 x : aliased int; -- /usr/include/GL/glx.h:414 y : aliased int; -- /usr/include/GL/glx.h:414 width : aliased int; -- /usr/include/GL/glx.h:415 height : aliased int; -- /usr/include/GL/glx.h:415 count : aliased int; -- /usr/include/GL/glx.h:416 end record with Convention => C_Pass_By_Copy; -- /usr/include/GL/glx.h:417 -- GLX_WINDOW or GLX_PBUFFER -- # of last request processed by server -- true if this came for SendEvent request -- display the event was read from -- XID of Drawable -- mask indicating which buffers are affected -- which aux buffer was affected -- if nonzero, at least this many more -- skipped anonymous struct anon_114 type GLXBufferSwapComplete is record c_type : aliased int; -- /usr/include/GL/glx.h:420 serial : aliased unsigned_long; -- /usr/include/GL/glx.h:421 send_event : aliased int; -- /usr/include/GL/glx.h:422 the_display : access Xlib.Display; -- /usr/include/GL/glx.h:423 the_drawable : aliased X11.Drawable; -- /usr/include/GL/glx.h:424 event_type : aliased int; -- /usr/include/GL/glx.h:425 ust : aliased bits_stdint_intn_h.int64_t; -- /usr/include/GL/glx.h:426 msc : aliased bits_stdint_intn_h.int64_t; -- /usr/include/GL/glx.h:427 sbc : aliased bits_stdint_intn_h.int64_t; -- /usr/include/GL/glx.h:428 end record with Convention => C_Pass_By_Copy; -- /usr/include/GL/glx.h:429 -- # of last request processed by server -- true if this came from a SendEvent request -- Display the event was read from -- drawable on which event was requested in event mask type uu_GLXEvent_array1233 is array (0 .. 23) of aliased long; type uu_GLXEvent (discr : unsigned := 0) is record case discr is when 0 => glxpbufferclobber : aliased GLXPbufferClobberEvent; -- /usr/include/GL/glx.h:432 when 1 => the_glxbufferswapcomplete : aliased GLXBufferSwapComplete; -- /usr/include/GL/glx.h:433 when others => pad : aliased uu_GLXEvent_array1233; -- /usr/include/GL/glx.h:434 end case; end record with Convention => C_Pass_By_Copy, Unchecked_Union => True; -- /usr/include/GL/glx.h:431 subtype GLXEvent is uu_GLXEvent; -- /usr/include/GL/glx.h:435 end glx;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>load_cifm_data</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>10</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>cifm</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>cifm</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>ifm_buff0_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[0]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff0_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[1]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff0_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[2]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff1_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[0]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff1_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[1]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff1_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[2]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff2_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff2[0]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>ifm_buff2_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff2[1]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>ifm_buff2_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff2[2]</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>34</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>61</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_11"> <Value> <Obj> <type>0</type> <id>12</id> <name>_ln9</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>D:\Course\mSOC\final</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>95</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>14</id> <name>cifm_counter_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>97</item> <item>98</item> <item>99</item> <item>100</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>15</id> <name>icmp_ln9</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>101</item> <item>103</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>17</id> <name>j</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>28</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>28</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>104</item> <item>106</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>18</id> <name>_ln9</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>107</item> <item>108</item> <item>109</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>22</id> <name>zext_ln12</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>111</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>23</id> <name>cifm_read</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>113</item> <item>114</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>24</id> <name>trunc_ln12</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>115</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>25</id> <name>bitcast_ln12</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>116</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>26</id> <name>ifm_buff0_0_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>117</item> <item>119</item> <item>120</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>27</id> <name>ifm_buff0_0_addr_write_ln12</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>121</item> <item>122</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>28</id> <name>cifm_a1_load_new</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>124</item> <item>125</item> <item>127</item> <item>129</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>29</id> <name>bitcast_ln13</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>130</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>30</id> <name>ifm_buff0_1_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>131</item> <item>132</item> <item>133</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>31</id> <name>ifm_buff0_1_addr_write_ln13</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>134</item> <item>135</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>32</id> <name>cifm_a2_load_new</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>136</item> <item>137</item> <item>139</item> <item>141</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>33</id> <name>bitcast_ln14</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>142</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>34</id> <name>ifm_buff0_2_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>143</item> <item>144</item> <item>145</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>35</id> <name>ifm_buff0_2_addr_write_ln14</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>146</item> <item>147</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>37</id> <name>_ln9</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>148</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>39</id> <name>_ln32</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>32</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>32</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>110</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>41</id> <name>j1_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>149</item> <item>150</item> <item>151</item> <item>152</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>42</id> <name>icmp_ln32</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>32</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>32</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>153</item> <item>154</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>44</id> <name>j_1</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>32</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>32</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>155</item> <item>156</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>45</id> <name>_ln32</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>32</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>32</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>157</item> <item>158</item> <item>159</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>49</id> <name>cifm_read_1</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>161</item> <item>162</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>50</id> <name>trunc_ln35</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>163</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>51</id> <name>bitcast_ln35</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>164</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>52</id> <name>zext_ln35</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>165</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>53</id> <name>ifm_buff1_0_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>166</item> <item>167</item> <item>168</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>54</id> <name>ifm_buff1_0_addr_write_ln35</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>169</item> <item>170</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>55</id> <name>cifm_a1_load_1_new</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>171</item> <item>172</item> <item>173</item> <item>174</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>56</id> <name>bitcast_ln36</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>175</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>57</id> <name>ifm_buff1_1_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>176</item> <item>177</item> <item>178</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>58</id> <name>ifm_buff1_1_addr_write_ln36</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>179</item> <item>180</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>59</id> <name>cifm_a2_load_1_new</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>181</item> <item>182</item> <item>183</item> <item>184</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>60</id> <name>bitcast_ln37</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>185</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>61</id> <name>ifm_buff1_2_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>186</item> <item>187</item> <item>188</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>62</id> <name>ifm_buff1_2_addr_write_ln37</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>189</item> <item>190</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>64</id> <name>_ln32</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>32</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>32</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>191</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>66</id> <name>_ln54</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>160</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>68</id> <name>j2_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>192</item> <item>193</item> <item>194</item> <item>195</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>69</id> <name>icmp_ln54</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>196</item> <item>197</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>71</id> <name>j_2</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>198</item> <item>199</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>72</id> <name>_ln54</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>200</item> <item>201</item> <item>202</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>76</id> <name>cifm_read_2</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>203</item> <item>204</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>77</id> <name>trunc_ln57</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>205</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>78</id> <name>bitcast_ln57</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>206</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>79</id> <name>zext_ln57</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>207</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>80</id> <name>ifm_buff2_0_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>208</item> <item>209</item> <item>210</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>81</id> <name>ifm_buff2_0_addr_write_ln57</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>211</item> <item>212</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>82</id> <name>cifm_a1_load_2_new</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>213</item> <item>214</item> <item>215</item> <item>216</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>83</id> <name>bitcast_ln58</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>217</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>84</id> <name>ifm_buff2_1_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>218</item> <item>219</item> <item>220</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>85</id> <name>ifm_buff2_1_addr_write_ln58</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>221</item> <item>222</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>86</id> <name>cifm_a2_load_2_new</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>223</item> <item>224</item> <item>225</item> <item>226</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>87</id> <name>bitcast_ln59</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>227</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>88</id> <name>ifm_buff2_2_addr</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>228</item> <item>229</item> <item>230</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>89</id> <name>ifm_buff2_2_addr_write_ln59</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>231</item> <item>232</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>91</id> <name>_ln54</name> <fileName>finalconv_Jan19.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>load_cifm_data</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalconv_Jan19.cpp</first> <second>load_cifm_data</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>233</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>93</id> <name>_ln0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_72"> <Value> <Obj> <type>2</type> <id>96</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_73"> <Value> <Obj> <type>2</type> <id>102</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>34</content> </item> <item class_id_reference="16" object_id="_74"> <Value> <Obj> <type>2</type> <id>105</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_75"> <Value> <Obj> <type>2</type> <id>118</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_76"> <Value> <Obj> <type>2</type> <id>126</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_77"> <Value> <Obj> <type>2</type> <id>128</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_78"> <Value> <Obj> <type>2</type> <id>138</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>64</content> </item> <item class_id_reference="16" object_id="_79"> <Value> <Obj> <type>2</type> <id>140</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>95</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_80"> <Obj> <type>3</type> <id>13</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>12</item> </node_objs> </item> <item class_id_reference="18" object_id="_81"> <Obj> <type>3</type> <id>19</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>14</item> <item>15</item> <item>17</item> <item>18</item> </node_objs> </item> <item class_id_reference="18" object_id="_82"> <Obj> <type>3</type> <id>38</id> <name>hls_label_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>15</count> <item_version>0</item_version> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>37</item> </node_objs> </item> <item class_id_reference="18" object_id="_83"> <Obj> <type>3</type> <id>40</id> <name>.preheader1.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>39</item> </node_objs> </item> <item class_id_reference="18" object_id="_84"> <Obj> <type>3</type> <id>46</id> <name>.preheader1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>41</item> <item>42</item> <item>44</item> <item>45</item> </node_objs> </item> <item class_id_reference="18" object_id="_85"> <Obj> <type>3</type> <id>65</id> <name>hls_label_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>15</count> <item_version>0</item_version> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>64</item> </node_objs> </item> <item class_id_reference="18" object_id="_86"> <Obj> <type>3</type> <id>67</id> <name>.preheader.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>66</item> </node_objs> </item> <item class_id_reference="18" object_id="_87"> <Obj> <type>3</type> <id>73</id> <name>.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>68</item> <item>69</item> <item>71</item> <item>72</item> </node_objs> </item> <item class_id_reference="18" object_id="_88"> <Obj> <type>3</type> <id>92</id> <name>hls_label_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>15</count> <item_version>0</item_version> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>91</item> </node_objs> </item> <item class_id_reference="18" object_id="_89"> <Obj> <type>3</type> <id>94</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>93</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>132</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_90"> <id>95</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>97</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>98</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>99</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>14</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>100</id> <edge_type>2</edge_type> <source_obj>38</source_obj> <sink_obj>14</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>101</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>103</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>104</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>106</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>107</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>108</id> <edge_type>2</edge_type> <source_obj>38</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>109</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>110</id> <edge_type>2</edge_type> <source_obj>46</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>111</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>114</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>115</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>116</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>117</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>119</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>120</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>121</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>122</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>125</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>127</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>129</id> <edge_type>1</edge_type> <source_obj>128</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>130</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>131</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>132</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>133</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>134</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_120"> <id>135</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>137</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_122"> <id>139</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>141</id> <edge_type>1</edge_type> <source_obj>140</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>142</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>143</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>144</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>145</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>146</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>147</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>148</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>149</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>41</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>150</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>41</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>151</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>152</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>153</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>154</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>155</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>156</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>157</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>158</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>159</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>160</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>162</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>163</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>164</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>165</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>166</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>167</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>168</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>169</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>170</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>172</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>173</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>174</id> <edge_type>1</edge_type> <source_obj>128</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>175</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>176</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>177</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>178</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>179</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>180</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>182</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>183</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>184</id> <edge_type>1</edge_type> <source_obj>140</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>185</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>186</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>187</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>188</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>189</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>190</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>191</id> <edge_type>2</edge_type> <source_obj>46</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>192</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>68</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>193</id> <edge_type>2</edge_type> <source_obj>92</source_obj> <sink_obj>68</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>194</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>195</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>196</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>197</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>198</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>199</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>200</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>201</id> <edge_type>2</edge_type> <source_obj>92</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>202</id> <edge_type>2</edge_type> <source_obj>94</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>204</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>205</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>206</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>207</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>208</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>209</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>210</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>211</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>212</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>214</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>215</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>216</id> <edge_type>1</edge_type> <source_obj>128</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>217</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>218</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>219</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>220</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>221</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>222</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>224</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>225</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>226</id> <edge_type>1</edge_type> <source_obj>140</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>227</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>228</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>229</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>230</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>231</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>232</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>233</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>317</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>318</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>319</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>320</id> <edge_type>2</edge_type> <source_obj>38</source_obj> <sink_obj>19</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>321</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>322</id> <edge_type>2</edge_type> <source_obj>46</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>323</id> <edge_type>2</edge_type> <source_obj>46</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>324</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>46</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>325</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>326</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>327</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>328</id> <edge_type>2</edge_type> <source_obj>92</source_obj> <sink_obj>73</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_222"> <mId>1</mId> <mTag>load_cifm_data</mTag> <mType>0</mType> <sub_regions> <count>7</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> <item>8</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>108</mMinLatency> <mMaxLatency>108</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_223"> <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>13</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_224"> <mId>3</mId> <mTag>Loop 1</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>19</item> <item>38</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>34</mMinTripCount> <mMaxTripCount>34</mMaxTripCount> <mMinLatency>34</mMinLatency> <mMaxLatency>34</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_225"> <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>1</count> <item_version>0</item_version> <item>40</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_226"> <mId>5</mId> <mTag>Loop 2</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>46</item> <item>65</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>34</mMinTripCount> <mMaxTripCount>34</mMaxTripCount> <mMinLatency>34</mMinLatency> <mMaxLatency>34</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_227"> <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>67</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_228"> <mId>7</mId> <mTag>Loop 3</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>73</item> <item>92</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>34</mMinTripCount> <mMaxTripCount>34</mMaxTripCount> <mMinLatency>34</mMinLatency> <mMaxLatency>34</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_229"> <mId>8</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>94</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>61</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>12</first> <second class_id="28" tracking_level="0" version="0"> <first>0</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>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>32</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>35</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</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>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>49</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>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>86</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>6</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>13</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>38</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>40</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>46</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>65</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>67</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>73</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>92</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>94</first> <second> <first>6</first> <second>6</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="33" tracking_level="1" version="0" object_id="_230"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>19</item> <item>38</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>1</pipe_depth> </item> <item class_id_reference="33" object_id="_231"> <region_name>Loop 2</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>46</item> <item>65</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>1</pipe_depth> </item> <item class_id_reference="33" object_id="_232"> <region_name>Loop 3</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>73</item> <item>92</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>1</pipe_depth> </item> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Game.Test_Data.Tests.SkillsData_Container.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Game.Test_Data.Tests .SkillsData_Container .Test_Data .New_Test with null record; end Game.Test_Data.Tests.SkillsData_Container.Test_Data.Tests; -- end read only
with Ada.Interrupts.Names; with STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.SPI; with STM32GD.SPI.Peripheral; with STM32GD.Timer; with STM32GD.Timer.Peripheral; with Drivers; with Drivers.RFM69; package Peripherals is package GPIO renames STM32GD.GPIO; package Timer is new STM32GD.Timer.Peripheral (Timer => STM32GD.Timer.Timer_14, IRQ => Ada.Interrupts.Names.TIM14); package SCLK is new GPIO.Pin (Pin => GPIO.Pin_5, Port => GPIO.Port_A, Mode => GPIO.Mode_AF); package MISO is new GPIO.Pin (Pin => GPIO.Pin_6, Port => GPIO.Port_A, Mode => GPIO.Mode_AF); package MOSI is new GPIO.Pin (Pin => GPIO.Pin_7, Port => GPIO.Port_A, Mode => GPIO.Mode_AF); package CSN is new GPIO.Pin (Pin => GPIO.Pin_4, Port => GPIO.Port_A, Mode => GPIO.Mode_Out); package IRQ is new GPIO.Pin (Pin => GPIO.Pin_3, Port => GPIO.Port_A, Mode => GPIO.Mode_In); package SPI is new STM32GD.SPI.Peripheral (SPI => STM32GD.SPI.SPI_1); package Radio is new Drivers.RFM69 (Frequency => 868_000_000, SPI => SPI, Chip_Select => CSN, IRQ => IRQ); procedure Init; end Peripherals;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UML.Reply_Actions.Collections is pragma Preelaborate; package UML_Reply_Action_Collections is new AMF.Generic_Collections (UML_Reply_Action, UML_Reply_Action_Access); type Set_Of_UML_Reply_Action is new UML_Reply_Action_Collections.Set with null record; Empty_Set_Of_UML_Reply_Action : constant Set_Of_UML_Reply_Action; type Ordered_Set_Of_UML_Reply_Action is new UML_Reply_Action_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Reply_Action : constant Ordered_Set_Of_UML_Reply_Action; type Bag_Of_UML_Reply_Action is new UML_Reply_Action_Collections.Bag with null record; Empty_Bag_Of_UML_Reply_Action : constant Bag_Of_UML_Reply_Action; type Sequence_Of_UML_Reply_Action is new UML_Reply_Action_Collections.Sequence with null record; Empty_Sequence_Of_UML_Reply_Action : constant Sequence_Of_UML_Reply_Action; private Empty_Set_Of_UML_Reply_Action : constant Set_Of_UML_Reply_Action := (UML_Reply_Action_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Reply_Action : constant Ordered_Set_Of_UML_Reply_Action := (UML_Reply_Action_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Reply_Action : constant Bag_Of_UML_Reply_Action := (UML_Reply_Action_Collections.Bag with null record); Empty_Sequence_Of_UML_Reply_Action : constant Sequence_Of_UML_Reply_Action := (UML_Reply_Action_Collections.Sequence with null record); end AMF.UML.Reply_Actions.Collections;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2020, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with Cortex_M.Debug; with System.Machine_Code; use System.Machine_Code; with HAL; use HAL; with Ada.Unchecked_Conversion; with Interfaces.C; use Interfaces.C; package body Semihosting is type SH_u32_Array is array (Integer range <>) of SH_Word with Pack, Convention => C, Volatile_Components; function To_SH_u32 is new Ada.Unchecked_Conversion (Source => System.Address, Target => SH_Word); function To_SH_u32 is new Ada.Unchecked_Conversion (Source => Integer, Target => SH_Word); subtype Syscall is SH_Word; SYS_OPEN : constant Syscall := 16#01#; SYS_CLOSE : constant Syscall := 16#02#; SYS_WRITEC : constant Syscall := 16#03#; SYS_WRITE0 : constant Syscall := 16#04#; SYS_WRITE : constant Syscall := 16#05#; SYS_READ : constant Syscall := 16#06#; -- SYS_READC : constant Syscall := 16#07#; -- SYS_ISERROR : constant Syscall := 16#08#; -- SYS_ISTTY : constant Syscall := 16#09#; SYS_SEEK : constant Syscall := 16#0A#; -- SYS_FLEN : constant Syscall := 16#0C#; -- SYS_TMPNAM : constant Syscall := 16#0D#; SYS_REMOVE : constant Syscall := 16#0E#; -- SYS_RENAME : constant Syscall := 16#0E#; -- SYS_CLOCK : constant Syscall := 16#10#; -- SYS_TIME : constant Syscall := 16#11#; SYS_ERRNO : constant Syscall := 16#13#; -- SYS_GET_CMD : constant Syscall := 16#15#; -- SYS_HEAPINFO : constant Syscall := 16#16#; -- SYS_ELAPSED : constant Syscall := 16#30#; -- SYS_TICKFREQ : constant Syscall := 16#31#; function Semihosting_Enabled return Boolean is (Cortex_M.Debug.Halting_Debug_Enabled); function Generic_SH_Call (R0, R1 : SH_Word) return SH_Word; function Generic_SH_Call (R0 : SH_Word; R1 : System.Address) return SH_Word; --------------------- -- Generic_SH_Call -- --------------------- function Generic_SH_Call (R0, R1 : SH_Word) return SH_Word is Ret : SH_Word; begin Asm ("mov r0, %1" & ASCII.LF & ASCII.HT & "mov r1, %2" & ASCII.LF & ASCII.HT & "bkpt #0xAB" & ASCII.LF & ASCII.HT & "mov %0, r0", Outputs => (SH_Word'Asm_Output ("=r", Ret)), Inputs => (SH_Word'Asm_Input ("r", R0), SH_Word'Asm_Input ("r", R1)), Volatile => True, Clobber => ("r1, r0")); return Ret; end Generic_SH_Call; --------------------- -- Generic_SH_Call -- --------------------- function Generic_SH_Call (R0 : SH_Word; R1 : System.Address) return SH_Word is begin return Generic_SH_Call (R0, To_SH_u32 (R1)); end Generic_SH_Call; ----------- -- Close -- ----------- function Close (File_Handle : SH_Word) return SH_Word is Block : SH_u32_Array (0 .. 0); begin if not Semihosting_Enabled then -- No debugger attached return SH_Word'Last; end if; Block (0) := File_Handle; return Generic_SH_Call (SYS_CLOSE, Block'Address); end Close; ---------- -- Open -- ---------- function Open (Filename : String; Mode : Flag) return SH_Word is Block : SH_u32_Array (0 .. 2); C_Name : char_array (0 .. Filename'Length) with Volatile; begin if not Semihosting_Enabled then -- No debugger attached return SH_Word'Last; end if; for J in Filename'Range loop C_Name (size_t (J - Filename'First)) := char'Val (Character'Pos (Filename (J))); end loop; C_Name (C_Name'Last) := nul; Block (0) := To_SH_u32 (C_Name'Address); Block (1) := Mode; Block (2) := Filename'Length; return Generic_SH_Call (SYS_OPEN, Block'Address); end Open; ---------- -- Read -- ---------- function Read (File_Handle : SH_Word; Buffer_Address : System.Address; Buffer_Size : SH_Word) return SH_Word is Block : SH_u32_Array (0 .. 2); begin if not Semihosting_Enabled then -- No debugger attached return Buffer_Size; end if; Block (0) := File_Handle; Block (1) := To_SH_u32 (Buffer_Address); Block (2) := Buffer_Size; return Generic_SH_Call (SYS_READ, Block'Address); end Read; ----------- -- Write -- ----------- function Write (File_Handle : SH_Word; Buffer_Address : System.Address; Buffer_Size : SH_Word) return SH_Word is Block : SH_u32_Array (0 .. 3); begin if not Semihosting_Enabled then -- No debugger attached return Buffer_Size; end if; Block (0) := File_Handle; Block (1) := To_SH_u32 (Buffer_Address); Block (2) := Buffer_Size; return Generic_SH_Call (SYS_WRITE, Block'Address); end Write; ------------ -- Remove -- ------------ function Remove (Filename : String) return SH_Word is Block : SH_u32_Array (0 .. 1); C_Name : char_array (0 .. Filename'Length) with Volatile; begin if not Semihosting_Enabled then -- No debugger attached return SH_Word'Last; end if; for J in Filename'Range loop C_Name (size_t (J - Filename'First)) := char'Val (Character'Pos (Filename (J))); end loop; C_Name (C_Name'Last) := nul; Block (0) := To_SH_u32 (C_Name'Address); Block (1) := To_SH_u32 (Filename'Length); return Generic_SH_Call (SYS_REMOVE, Block'Address); end Remove; ---------- -- Seek -- ---------- function Seek (File_Handle : SH_Word; Absolute_Position : SH_Word) return SH_Word is Block : SH_u32_Array (0 .. 1); begin if not Semihosting_Enabled then -- No debugger attached return SH_Word'Last; end if; Block (0) := File_Handle; Block (1) := Absolute_Position; return Generic_SH_Call (SYS_SEEK, Block'Address); end Seek; ----------- -- Errno -- ----------- function Errno return SH_Word is begin return Generic_SH_Call (SYS_ERRNO, 0); end Errno; ------------- -- Write_C -- ------------- procedure Write_C (C : Character) is Ret : SH_Word with Unreferenced; begin if not Semihosting_Enabled then -- No debugger attached return; end if; Ret := Generic_SH_Call (SYS_WRITEC, C'Address); end Write_C; ------------- -- Write_0 -- ------------- procedure Write_0 (Str : String) is type Byte_Array is new UInt8_Array with Volatile_Components; Data : Byte_Array (Str'First .. Str'Last + 1); Ret : SH_Word with Unreferenced; begin if not Semihosting_Enabled then -- No debugger attached return; end if; for Index in Str'Range loop Data (Index) := Character'Pos (Str (Index)); end loop; -- Add trailing zero Data (Str'Last + 1) := 0; Ret := Generic_SH_Call (SYS_WRITE0, Data'Address); end Write_0; -------------- -- Log_Line -- -------------- procedure Log_Line (Str : String) is begin Log (Str); Log_New_Line; end Log_Line; ------------------ -- Log_New_Line -- ------------------ procedure Log_New_Line is begin Write_C (ASCII.LF); end Log_New_Line; end Semihosting;
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package ftmoderr is --*************************************************************************** -- * -- * ftmoderr.h -- * -- * FreeType module error offsets (specification). -- * -- * Copyright (C) 2001-2020 by -- * David Turner, Robert Wilhelm, and Werner Lemberg. -- * -- * This file is part of the FreeType project, and may only be used, -- * modified, and distributed under the terms of the FreeType project -- * license, LICENSE.TXT. By continuing to use, modify, or distribute -- * this file you indicate that you have read the license and -- * understand and accept it fully. -- * -- --************************************************************************* -- * -- * This file is used to define the FreeType module error codes. -- * -- * If the macro `FT_CONFIG_OPTION_USE_MODULE_ERRORS` in `ftoption.h` is -- * set, the lower byte of an error value identifies the error code as -- * usual. In addition, the higher byte identifies the module. For -- * example, the error `FT_Err_Invalid_File_Format` has value 0x0003, the -- * error `TT_Err_Invalid_File_Format` has value 0x1303, the error -- * `T1_Err_Invalid_File_Format` has value 0x1403, etc. -- * -- * Note that `FT_Err_Ok`, `TT_Err_Ok`, etc. are always equal to zero, -- * including the high byte. -- * -- * If `FT_CONFIG_OPTION_USE_MODULE_ERRORS` isn't set, the higher byte of an -- * error value is set to zero. -- * -- * To hide the various `XXX_Err_` prefixes in the source code, FreeType -- * provides some macros in `fttypes.h`. -- * -- * FT_ERR( err ) -- * -- * Add current error module prefix (as defined with the `FT_ERR_PREFIX` -- * macro) to `err`. For example, in the BDF module the line -- * -- * ``` -- * error = FT_ERR( Invalid_Outline ); -- * ``` -- * -- * expands to -- * -- * ``` -- * error = BDF_Err_Invalid_Outline; -- * ``` -- * -- * For simplicity, you can always use `FT_Err_Ok` directly instead of -- * `FT_ERR( Ok )`. -- * -- * FT_ERR_EQ( errcode, err ) -- * FT_ERR_NEQ( errcode, err ) -- * -- * Compare error code `errcode` with the error `err` for equality and -- * inequality, respectively. Example: -- * -- * ``` -- * if ( FT_ERR_EQ( error, Invalid_Outline ) ) -- * ... -- * ``` -- * -- * Using this macro you don't have to think about error prefixes. Of -- * course, if module errors are not active, the above example is the -- * same as -- * -- * ``` -- * if ( error == FT_Err_Invalid_Outline ) -- * ... -- * ``` -- * -- * FT_ERROR_BASE( errcode ) -- * FT_ERROR_MODULE( errcode ) -- * -- * Get base error and module error code, respectively. -- * -- * It can also be used to create a module error message table easily with -- * something like -- * -- * ``` -- * #undef FTMODERR_H_ -- * #define FT_MODERRDEF( e, v, s ) { FT_Mod_Err_ ## e, s }, -- * #define FT_MODERR_START_LIST { -- * #define FT_MODERR_END_LIST { 0, 0 } }; -- * -- * const struct -- * { -- * int mod_err_offset; -- * const char* mod_err_msg -- * } ft_mod_errors[] = -- * -- * #include <freetype/ftmoderr.h> -- * ``` -- * -- --***************************************************************** --***************************************************************** --**** **** --**** SETUP MACROS **** --**** **** --***************************************************************** --***************************************************************** --***************************************************************** --***************************************************************** --**** **** --**** LIST MODULE ERROR BASES **** --**** **** --***************************************************************** --***************************************************************** --***************************************************************** --***************************************************************** --**** **** --**** CLEANUP **** --**** **** --***************************************************************** --***************************************************************** -- END end ftmoderr;
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin P; end;
-- Copyright 2016-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pck is function Ident (I : Integer) return Integer is begin return I; end Ident; procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Pck;
------------------------------------------------------------------------------ -- -- -- 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 . F A I R _ L O C K S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2010-2021, AdaCore -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- ------------------------------------------------------------------------------ with System.OS_Interface; package body System.Multiprocessors.Fair_Locks is use System.Multiprocessors.Spin_Locks; Multiprocessor : constant Boolean := CPU'Range_Length /= 1; -- Set true if on multiprocessor (more than one CPU) function Next_Spinning (Flock : Fair_Lock) return CPU; pragma Inline (Next_Spinning); -- Search for the next spinning CPU. If no one is spinning return the -- current CPU. ---------------- -- Initialize -- ---------------- procedure Initialize (Flock : in out Fair_Lock) is begin Unlock (Flock.Lock); Flock.Spinning := (others => False); end Initialize; ---------- -- Lock -- ---------- procedure Lock (Flock : in out Fair_Lock) is CPU_Id : constant CPU := System.OS_Interface.Current_CPU; Succeeded : Boolean; begin -- Notify we are waiting for the lock Flock.Spinning (CPU_Id) := True; loop Try_Lock (Flock.Lock, Succeeded); if Succeeded then -- We have the lock Flock.Spinning (CPU_Id) := False; return; else loop if not Flock.Spinning (CPU_Id) then -- Lock's owner gives us the lock return; end if; -- Lock's owner left but didn't wake us up, retry to get lock exit when not Locked (Flock.Lock); end loop; end if; end loop; end Lock; ------------ -- Locked -- ------------ function Locked (Flock : Fair_Lock) return Boolean is begin return Locked (Flock.Lock); end Locked; ------------------- -- Next_Spinning -- ------------------- function Next_Spinning (Flock : Fair_Lock) return CPU is Current : constant CPU := System.OS_Interface.Current_CPU; CPU_Id : CPU := Current; begin if Multiprocessor then -- Only for multiprocessor loop if CPU_Id = CPU'Last then CPU_Id := CPU'First; else CPU_Id := CPU_Id + 1; end if; exit when Flock.Spinning (CPU_Id) or else CPU_Id = Current; end loop; end if; return CPU_Id; end Next_Spinning; -------------- -- Try_Lock -- -------------- procedure Try_Lock (Flock : in out Fair_Lock; Succeeded : out Boolean) is begin Try_Lock (Flock.Lock, Succeeded); end Try_Lock; ------------ -- Unlock -- ------------ procedure Unlock (Flock : in out Fair_Lock) is CPU_Id : constant CPU := Next_Spinning (Flock); begin if CPU_Id /= System.OS_Interface.Current_CPU then -- Wake up the next spinning CPU Flock.Spinning (CPU_Id) := False; else -- Nobody is waiting for the Lock Unlock (Flock.Lock); end if; end Unlock; end System.Multiprocessors.Fair_Locks;
<?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</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>in_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>8</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>72</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>4</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>8</id> <name>slice_stream_V_value</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>172</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>172</second> </item> </second> </item> </inlineStackInfo> <originalName>slice_stream.V.value.V</originalName> <rtlName>slice_stream_V_value_U</rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>17</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>12</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>call_Loop_LB2D_buf_p_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>19</item> <item>20</item> <item>21</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>13</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>call_Loop_LB2D_shift_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>23</item> <item>24</item> <item>25</item> <item>135</item> <item>136</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>14</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>219</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>219</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> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>2</type> <id>16</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="_8"> <Value> <Obj> <type>2</type> <id>18</id> <name>call_Loop_LB2D_buf_p</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>&lt;constant:call_Loop_LB2D_buf_p&gt;</content> </item> <item class_id_reference="16" object_id="_9"> <Value> <Obj> <type>2</type> <id>22</id> <name>call_Loop_LB2D_shift</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>&lt;constant:call_Loop_LB2D_shift&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_10"> <Obj> <type>3</type> <id>15</id> <name>call</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>8</item> <item>12</item> <item>13</item> <item>14</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_11"> <id>17</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_12"> <id>19</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_13"> <id>20</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_14"> <id>21</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_15"> <id>23</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_16"> <id>24</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_17"> <id>25</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_18"> <id>135</id> <edge_type>4</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_19"> <id>136</id> <edge_type>4</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_20"> <mId>1</mId> <mTag>call</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>15</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>33</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_21"> <port_list class_id="24" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port_list> <process_list class_id="25" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_22"> <type>0</type> <name>call_Loop_LB2D_buf_p_U0</name> <ssdmobj_id>12</ssdmobj_id> <pins class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_23"> <port class_id="29" tracking_level="1" version="0" object_id="_24"> <name>in_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id="30" tracking_level="1" version="0" object_id="_25"> <type>0</type> <name>call_Loop_LB2D_buf_p_U0</name> <ssdmobj_id>12</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_26"> <port class_id_reference="29" object_id="_27"> <name>slice_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_25"/> </item> </pins> </item> <item class_id_reference="26" object_id="_28"> <type>0</type> <name>call_Loop_LB2D_shift_U0</name> <ssdmobj_id>13</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_29"> <port class_id_reference="29" object_id="_30"> <name>slice_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_31"> <type>0</type> <name>call_Loop_LB2D_shift_U0</name> <ssdmobj_id>13</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_32"> <port class_id_reference="29" object_id="_33"> <name>out_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_31"/> </item> </pins> </item> </process_list> <channel_list class_id="31" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="32" tracking_level="1" version="0" object_id="_34"> <type>1</type> <name>slice_stream_V_value</name> <ssdmobj_id>8</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>24</bitwidth> <source class_id_reference="28" object_id="_35"> <port class_id_reference="29" object_id="_36"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_25"/> </source> <sink class_id_reference="28" object_id="_37"> <port class_id_reference="29" object_id="_38"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_31"/> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="34" tracking_level="1" version="0" object_id="_39"> <states class_id="35" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="36" tracking_level="1" version="0" object_id="_40"> <id>1</id> <operations class_id="37" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="38" tracking_level="1" version="0" object_id="_41"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_42"> <id>12</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_43"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_44"> <id>12</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_45"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_46"> <id>13</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_47"> <id>4</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_48"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_49"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_50"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_51"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_52"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_53"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_54"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_55"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_56"> <id>13</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="38" object_id="_57"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="39" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="40" tracking_level="1" version="0" object_id="_58"> <inState>1</inState> <outState>2</outState> <condition class_id="41" tracking_level="0" version="0"> <id>0</id> <sop class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_59"> <inState>2</inState> <outState>3</outState> <condition> <id>1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_60"> <inState>3</inState> <outState>4</outState> <condition> <id>2</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="44" tracking_level="1" version="0" object_id="_61"> <dp_component_resource class_id="45" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>call_Loop_LB2D_buf_p_U0 (call_Loop_LB2D_buf_p)</first> <second class_id="47" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>BRAM</first> <second>0</second> </item> <item> <first>FF</first> <second>631</second> </item> <item> <first>LUT</first> <second>421</second> </item> </second> </item> <item> <first>call_Loop_LB2D_shift_U0 (call_Loop_LB2D_shift)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>89</second> </item> <item> <first>LUT</first> <second>118</second> </item> </second> </item> <item> <first>start_for_call_LodEe_U (start_for_call_LodEe)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_component_resource> <dp_expression_resource> <count>2</count> <item_version>0</item_version> <item> <first>ap_idle ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>call_Loop_LB2D_buf_p_U0_start_full_n ( 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> </dp_expression_resource> <dp_fifo_resource> <count>1</count> <item_version>0</item_version> <item> <first>slice_stream_V_value_U</first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0Depth)</first> <second>1</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Size:D*B)</first> <second>24</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>0</count> <item_version>0</item_version> </dp_multiplexer_resource> <dp_register_resource> <count>0</count> <item_version>0</item_version> </dp_register_resource> <dp_component_map class_id="49" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first>call_Loop_LB2D_buf_p_U0 (call_Loop_LB2D_buf_p)</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>call_Loop_LB2D_shift_U0 (call_Loop_LB2D_shift)</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </dp_expression_map> <dp_fifo_map> <count>1</count> <item_version>0</item_version> <item> <first>slice_stream_V_value_U</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="51" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>8</first> <second class_id="53" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>13</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>14</first> <second> <first>3</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="54" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>15</first> <second class_id="56" tracking_level="0" version="0"> <first>0</first> <second>3</second> </second> </item> </bblk_ent_exit> <regions class_id="57" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="58" tracking_level="1" version="0" object_id="_62"> <region_name>call</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>15</item> </basic_blocks> <nodes> <count>12</count> <item_version>0</item_version> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="59" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>36</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>40</first> <second> <count>2</count> <item_version>0</item_version> <item>12</item> <item>12</item> </second> </item> <item> <first>47</first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="62" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="63" tracking_level="0" version="0"> <first>slice_stream_V_value_fu_36</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>2</count> <item_version>0</item_version> <item> <first>grp_call_Loop_LB2D_buf_p_fu_40</first> <second> <count>2</count> <item_version>0</item_version> <item>12</item> <item>12</item> </second> </item> <item> <first>grp_call_Loop_LB2D_shift_fu_47</first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</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="64" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>1</count> <item_version>0</item_version> <item> <first>54</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>1</count> <item_version>0</item_version> <item> <first>slice_stream_V_value_reg_54</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="65" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="66" tracking_level="0" version="0"> <first>in_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> </second> </item> <item> <first>out_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="67" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="68" 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>1</count> <item_version>0</item_version> <item> <first>8</first> <second>FIFO_SRL</second> </item> </node2core> </syndb> </boost_serialization>
with impact.d2.orbs.Distance; package body impact.d2.orbs.Collision is procedure dummy is begin null; end dummy; function IsValid (Self : in b2AABB) return Boolean is d : b2Vec2 := Self.upperBound - Self.lowerBound; valid : Boolean := d.x >= 0.0 and then d.y >= 0.0; begin valid := valid and then IsValid (Self.lowerBound) and then IsValid (Self.upperBound); return valid; end IsValid; function getCenter (Self : in b2AABB) return b2Vec2 is begin return 0.5 * (Self.lowerBound + Self.upperBound); end getCenter; function getExtents (Self : in b2AABB) return b2Vec2 is begin return 0.5 * (Self.upperBound + Self.lowerBound); end getExtents; procedure combine (Self : in out b2AABB; aabb1, aabb2 : in b2AABB) is begin Self.lowerBound := b2Min (aabb1.lowerBound, aabb2.lowerBound); Self.upperBound := b2Max (aabb1.upperBound, aabb2.upperBound); end combine; function Contains (Self : in b2AABB; aabb : in b2AABB) return Boolean is result : Boolean := True; begin result := result and then Self.lowerBound.x <= aabb.lowerBound.x; result := result and then Self.lowerBound.y <= aabb.lowerBound.y; result := result and then aabb.upperBound.x <= Self.upperBound.x; result := result and then aabb.upperBound.y <= Self.upperBound.y; return result; end Contains; -- From Real-time Collision Detection, p179. -- function rayCast (Self : in b2AABB; output : access b2RayCastOutput; input : in b2RayCastInput) return Boolean is tmin : float32 := -b2_maxFloat; tmax : float32 := b2_maxFloat; p : constant b2Vec2 := input.p1; d : constant b2Vec2 := input.p2 - input.p1; absD : constant b2Vec2 := b2Abs (d); normal : b2Vec2; begin for i in int32'(1) .. 2 loop if Element (absD, i) < b2_epsilon then -- Parallel. if Element (p, i) < Element (Self.lowerBound, i) or else Element (Self.upperBound, i) < Element (p, i) then return False; end if; else declare inv_d : constant float32 := 1.0 / Element (d, i); t1 : float32 := (Element (Self.lowerBound, i) - Element (p, i)) * inv_d; t2 : float32 := (Element (Self.upperBound, i) - Element (p, i)) * inv_d; -- Sign of the normal vector. s : float32 := -1.0; begin if t1 > t2 then b2Swap (t1, t2); s := 1.0; end if; -- Push the min up if t1 > tmin then SetZero (normal); set_Element (normal, i, s); tmin := t1; end if; -- Pull the max down tmax := float32'Min (tmax, t2); if tmin > tmax then return False; end if; end; end if; end loop; -- Does the ray start inside the box? -- Does the ray intersect beyond the max fraction? if tmin < 0.0 or else input.maxFraction < tmin then return False; end if; -- Intersection. output.fraction := tmin; output.normal := normal; return True; end rayCast; -- Compute the collision manifold between two circles. -- void b2CollideCircles(b2Manifold* manifold, -- const b2CircleShape* circle1, const b2Transform& xf1, -- const b2CircleShape* circle2, const b2Transform& xf2); -- Compute the collision manifold between a polygon and a circle. -- void b2CollidePolygonAndCircle(b2Manifold* manifold, -- const b2PolygonShape* polygon, const b2Transform& xf1, -- const b2CircleShape* circle, const b2Transform& xf2); -- Compute the collision manifold between two polygons. -- void b2CollidePolygons(b2Manifold* manifold, -- const b2PolygonShape* polygon1, const b2Transform& xf1, -- const b2PolygonShape* polygon2, const b2Transform& xf2); -- Clipping for contact manifolds. -- int32 b2ClipSegmentToLine(b2ClipVertex vOut[2], const b2ClipVertex vIn[2], -- const b2Vec2& normal, float32 offset); -- Determine if two generic shapes overlap. -- bool b2TestOverlap(const b2Shape* shapeA, const b2Shape* shapeB, -- const b2Transform& xfA, const b2Transform& xfB); function b2TestOverlap (a, b : in b2AABB) return Boolean is d1 : b2Vec2 := b.lowerBound - a.upperBound; d2 : b2Vec2 := a.lowerBound - b.upperBound; begin if d1.x > 0.0 or else d1.y > 0.0 then return False; end if; if d2.x > 0.0 or else d2.y > 0.0 then return False; end if; return True; end b2TestOverlap; function b2TestOverlap (shapeA, shapeB : access Shape.Item'Class; xfA, xfB : in b2Transform ) return Boolean is use impact.d2.orbs.Distance; input : b2DistanceInput; cache : aliased b2SimplexCache; output : aliased b2DistanceOutput; begin Set (input.proxyA, shapeA.all'Access); Set (input.proxyB, shapeB.all'Access); input.transformA := xfA; input.transformB := xfB; input.useRadii := True; cache.count := 0; b2Distance (output'Access, cache'Access, input); return output.distance < 10.0 * b2_epsilon; end b2TestOverlap; procedure Initialize (Self : in out b2WorldManifold; manifold : in b2Manifold; xfA : in b2Transform; radiusA : in float32; xfB : in b2Transform; radiusB : in float32) is use type int32; PointA, PointB, cA, cB, planePoint, clipPoint : b2Vec2; begin if manifold.pointCount = 0 then return; end if; case manifold.kind is when e_circles => Self.normal := (1.0, 0.0); pointA := b2Mul (xfA, manifold.localPoint); pointB := b2Mul (xfB, manifold.points (1).localPoint); if b2DistanceSquared (pointA, pointB) > b2_epsilon * b2_epsilon then Self.normal := pointB - pointA; normalize (Self.normal); end if; cA := pointA + radiusA * Self.normal; cB := pointB - radiusB * Self.normal; Self.points (1) := 0.5 * (cA + cB); when e_faceA => Self.normal := b2Mul (xfA.R, manifold.localNormal); planePoint := b2Mul (xfA, manifold.localPoint); for i in 1 .. manifold.pointCount loop clipPoint := b2Mul (xfB, manifold.points (i).localPoint); cA := clipPoint + (radiusA - b2Dot (clipPoint - planePoint, Self.normal)) * Self.normal; cB := clipPoint - radiusB * Self.normal; Self.points (i) := 0.5 * (cA + cB); end loop; when e_faceB => Self.normal := b2Mul (xfB.R, manifold.localNormal); planePoint := b2Mul (xfB, manifold.localPoint); for i in 1 .. manifold.pointCount loop clipPoint := b2Mul (xfA, manifold.points (i).localPoint); cB := clipPoint + (radiusB - b2Dot (clipPoint - planePoint, Self.normal)) * Self.normal; cA := clipPoint - radiusA * Self.normal; Self.points (i) := 0.5 * (cA + cB); end loop; Self.normal := -Self.normal; -- Ensure normal points from A to B. end case; end Initialize; -- #include <Box2D/Collision/b2Collision.h> -- #include <Box2D/Collision/b2Distance.h> -- procedure b2GetPointStates (state1, state2 : access b2PointStates; manifold1, manifold2 : access constant b2Manifold) is use type uint32; Id : b2ContactId; begin for i in b2PointStates'Range loop state1 (i) := b2_nullState; state2 (i) := b2_nullState; end loop; -- Detect persists and removes. -- for i in 1 .. manifold1.pointCount loop id := manifold1.points (i).id; state1 (i) := b2_removeState; for j in 1 .. manifold2.pointCount loop if manifold2.points (j).id.key = id.key then state1 (i) := b2_persistState; exit; end if; end loop; end loop; -- Detect persists and adds. -- for i in 1 .. manifold2.pointCount loop id := manifold2.points (i).id; state2 (i) := b2_addState; for j in 1 .. manifold1.pointCount loop if manifold1.points (j).id.key = id.key then state2 (i) := b2_persistState; exit; end if; end loop; end loop; end b2GetPointStates; -- Sutherland-Hodgman clipping. -- function b2ClipSegmentToLine (vOut : access b2ClipVertices; vIn : in b2ClipVertices; normal : in b2Vec2 ; offset : in float32 ) return int32 is use type int32; numOut : int32 := 1; -- Start with no output points -- Calculate the distance of end points to the line distance0 : constant float32 := b2Dot (normal, vIn (1).v) - offset; distance1 : constant float32 := b2Dot (normal, vIn (2).v) - offset; interp : float32; begin -- If the points are behind the plane if distance0 <= 0.0 then vOut (numOut) := vIn (1); numOut := numOut + 1; end if; if distance1 <= 0.0 then vOut (numOut) := vIn (2); numOut := numOut + 1; end if; if distance0 * distance1 < 0.0 then -- If the points are on different sides of the plane -- Find intersection point of edge and plane -- interp := distance0 / (distance0 - distance1); vOut (numOut).v := vIn (1).v + interp * (vIn (2).v - vIn (1).v); if distance0 > 0.0 then vOut (numOut).id := vIn (1).id; else vOut (numOut).id := vIn (2).id; end if; numOut := numOut + 1; end if; return numOut - 1; end b2ClipSegmentToLine; end impact.d2.orbs.Collision;
-- -- Radoslaw Kowalski 221454 -- with Ada.Text_IO; use Ada.Text_IO; with GNAT.OS_Lib; use GNAT.OS_Lib; with Ada.Command_line; use Ada.Command_Line; with Ada.Calendar; with Ada.Exceptions; use Ada.Exceptions; with GNAT.String_Split; use GNAT.String_Split; with Ada.Strings.Unbounded; with Trains; use Trains; with Rails; use Rails; procedure Main is package SU renames Ada.Strings.Unbounded; package Calendar renames Ada.Calendar; type Argument_Option is (verbose, input, output); type Boolean_Flag is (True, False); File : File_Type; Fields : Slice_Set; Seconds_Per_Hour : Integer; Start : Calendar.Time; Clock : array(1..2) of Integer; Verbose_Flag : Boolean := FALSE; In_Filename : SU.Unbounded_String := SU.To_Unbounded_String ("input"); Out_Filename : SU.Unbounded_String := SU.To_Unbounded_String ("output"); T : Integer; -- number of trains TT : Integer; -- number of Turntables NT : Integer; -- number of NormalTracks ST : Integer; -- number of StationTracks Turntables : Turntables_Ptr; Normal_Tracks : Normal_Tracks_Ptr; Station_Tracks : Station_Tracks_Ptr; Trains : Trains_Ptr; Connections : Connections_Ptr; type Command is ('c', 'p', 't', 'u', 'n', 's', 'h', 'q'); task Talk is entry Start; end Talk; task body Talk is C : String (1..1); Last : Natural; begin accept Start; Put_Line("Input char for action, availble commands:"); Put_Line(" 'p' - current trains positions,"); Put_Line(" 't' - list trains,"); Put_Line(" 'u' - list turntables,"); Put_Line(" 'n' - list normal tracks,"); Put_Line(" 's' - list station tracks,"); Put_Line(" 'h' - print this menu again,"); Put_Line(" 'q' - to quit simulation."); while TRUE loop Get_Line(C, Last); case C(1) is when 'p' => null; for I in 0 .. T-1 loop Put_Line(As_String(Trains (I)) & ": " & Trains (I).Att.As_String); end loop; when 't' => for I in 0 .. T-1 loop Put_Line(As_Verbose_String(Trains (I))); end loop; when 'u' => for I in 0 .. TT-1 loop Put_Line(Turntables (I).As_Verbose_String); end loop; when 'n' => for I in 0 .. NT-1 loop Put_Line(Normal_Tracks (I).As_Verbose_String); end loop; when 's' => for I in 0 .. ST-1 loop Put_Line(Station_Tracks (I).As_Verbose_String); end loop; when 'h' => Put_Line("Input char for action, availble commands:"); Put_Line(" 'p' - current trains positions,"); Put_Line(" 't' - list trains,"); Put_Line(" 'u' - list turntables,"); Put_Line(" 'n' - list normal tracks,"); Put_Line(" 's' - list station tracks,"); Put_Line(" 'h' - print this menu again,"); Put_Line(" 'q' - to quit simulation."); when 'q' => OS_Exit(0); when others => null; end case; C := "#"; end loop; end Talk; function Read_Fields(F: File_Type; Expected: Positive) return Slice_Set is File_Line : SU.Unbounded_String; Fields : Slice_Set; Seps : constant String := " "; Fields_Exception : exception; begin File_Line := SU.To_Unbounded_String (Get_Line (F)); loop exit when SU.To_String (File_Line)'Length > 0 and then SU.To_String (File_Line) (1) /= '#'; File_Line := SU.To_Unbounded_String (Get_Line (F)); end loop; Create (S => Fields, From => SU.To_String (File_Line), Separators => Seps, Mode => Multiple); if Positive (Slice_Count (Fields)) /= Expected then Raise_Exception (Fields_Exception'Identity, "Expected to read" & Positive'Image (Expected) & " fields"); end if; return Fields; exception when Fail: Fields_Exception => Put_Line (Exception_Message (Fail)); return Fields; end Read_Fields; begin for Arg in 1 .. Argument_Count/2 loop declare A : Argument_Option; begin A := Argument_Option'Value (Argument(Arg*2-1)); case A is when Argument_Option'(Verbose) => case Boolean_Flag'Value (Argument(Arg*2)) is when Boolean_Flag'(true) => Verbose_Flag := TRUE; Put_Line ("Verbose mode"); when others => Verbose_Flag := FALSE; Put_Line ("Silent mode"); end case; when Input => In_Filename := SU.To_Unbounded_String (Argument(Arg*2)); when Output => Out_Filename := SU.To_Unbounded_String (Argument(Arg*2)); when others => null; end case; exception when Constraint_Error => Put_Line ("Wrong arguments"); OS_Exit(1); end; end loop; Open (File => File, Mode => In_File, Name => SU.To_String (In_Filename)); Fields := Read_Fields(File, 1); Seconds_Per_Hour := Integer'Value (Slice (Fields, 1)); Fields := Read_Fields(File, 2); Clock (1) := Integer'Value (Slice (Fields, 1)); Clock (2) := Integer'Value (Slice (Fields, 2)); Fields := Read_Fields(File, 4); T := Integer'Value (Slice (Fields, 1)); TT := Integer'Value (Slice (Fields, 2)); NT := Integer'Value (Slice (Fields, 3)); ST := Integer'Value (Slice (Fields, 4)); Put_Line (Integer'Image (T) & " Trains"); Put_Line (Integer'Image (TT) & " turntables"); Put_Line (Integer'Image (NT) & " normal tracks"); Put_Line (Integer'Image (ST) & " station tracks"); Put_Line ("Hour simulation will take" & Integer'Image (Seconds_Per_Hour) & " seconds"); Put_Line ("Simulation starts at" & Integer'Image (Clock(1)) & ":" & Integer'Image (Clock(2))); Connections := new Connections_Array(0..TT-1, 0..TT-1); for I in 0 .. TT-1 loop for J in 0 .. TT-1 loop Connections(I, J) := new Tracks_Array(1 .. 0); end loop; end loop; Turntables := new Turntables_Array(0 .. TT-1); for I in 0 .. TT-1 loop declare Id : Integer; Time : Integer; begin Fields := Read_Fields(File, 2); Id := Integer'Value (Slice (Fields, 1)); Time := Integer'Value (Slice (Fields, 2)); Turntables (I) := New_Turntable(Id, Time); end; end loop; Normal_Tracks := new Normal_Tracks_Array(0 .. NT-1); for I in 0 .. NT-1 loop declare Id : Integer; Length : Integer; Speed : Integer; First : Integer; Second : Integer; begin Fields := Read_Fields(File, 5); Id := Integer'Value (Slice (Fields, 1)); Length := Integer'Value (Slice (Fields, 2)); Speed := Integer'Value (Slice (Fields, 3)); First := Integer'Value (Slice (Fields, 4)); Second := Integer'Value (Slice (Fields, 5)); Normal_Tracks (I) := New_Normal_Track(Id, Length, Speed); if Connections (First, Second)'Length = 0 then Connections (First, Second) := new Tracks_Array(0 .. 0); Connections (First, Second) (0) := Normal_Tracks (I); else Connections (First, Second) := new Tracks_Array'(Connections (First, Second).all & Normal_Tracks (I)); end if; if Connections (Second, First)'Length = 0 then Connections (Second, First) := new Tracks_Array(0 .. 0); Connections (Second, First) (0) := Normal_Tracks (I); else Connections (Second, First) := new Tracks_Array'(Connections (Second, First).all & Normal_Tracks (I)); end if; end; end loop; Station_Tracks := new Station_Tracks_Array(0 .. ST-1); for I in 0 .. ST-1 loop declare Id : Integer; Name : SU.Unbounded_String; Time : Integer; First : Integer; Second : Integer; begin Fields := Read_Fields(File, 5); Id := Integer'Value (Slice (Fields, 1)); Name := SU.To_Unbounded_String (Slice (Fields, 2)); Time := Integer'Value (Slice (Fields, 3)); First := Integer'Value (Slice (Fields, 4)); Second := Integer'Value (Slice (Fields, 5)); Station_Tracks (I) := New_Station_Track(Id, Time, Name); if Connections (First, Second)'Length = 0 then Connections (First, Second) := new Tracks_Array(0 .. 0); Connections (First, Second) (0) := Station_Tracks (I); else Connections (First, Second) := new Tracks_Array'(Connections (First, Second).all & Station_Tracks (I)); end if; if Connections (Second, First)'Length = 0 then Connections (Second, First) := new Tracks_Array(0 .. 0); Connections (Second, First) (0) := Station_Tracks (I); else Connections (Second, First) := new Tracks_Array'(Connections (Second, First).all & Station_Tracks (I)); end if; end; end loop; Trains := new Trains_Array(0 .. T-1); for I in 0 .. T-1 loop declare Id : Integer; Speed : Integer; Capacity : Integer; Name : SU.Unbounded_String; Route_Length : Integer; Route : Route_Ptr; begin Fields := Read_Fields(File, 5); Id := Integer'Value (Slice (Fields, 1)); Speed := Integer'Value (Slice (Fields, 2)); Capacity := Integer'Value (Slice (Fields, 3)); Name := SU.To_Unbounded_String (Slice (Fields, 4)); Route_Length := Integer'Value (Slice (Fields, 5)); Route := new Route_Array(0 .. Route_Length-1); Fields := Read_Fields(File, Route_Length); for I in 0 .. Route_Length-1 loop declare Index : Integer; begin Index := Integer'Value (Slice (Fields, Slice_Number (I+1))); Route (I) := Turntables (Index); end; end loop; Trains (I) := New_Train(Id, Name, Speed, Capacity, Route.all); end; end loop; Start := Calendar.Clock; for I in 0 .. T-1 loop declare Sim : Simulation_Ptr; begin Sim := new Simulation; Sim.Init(Start, Seconds_Per_Hour, Clock (1), Clock (2), Verbose_Flag); Sim.Simulate(Trains (I), Connections); end; end loop; if not Verbose_Flag then Talk.Start; end if; Close (File); end Main;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Forms.Field_Types.IPV4_Address -- -- -- -- S P E C -- -- -- ------------------------------------------------------------------------------ -- Copyright 2020 Thomas E. Dickey -- -- Copyright 1999-2003,2009 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.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.IPV4_Address is pragma Preelaborate (Terminal_Interface.Curses.Forms.Field_Types.IPV4_Address); type Internet_V4_Address_Field is new Field_Type with null record; procedure Set_Field_Type (Fld : Field; Typ : Internet_V4_Address_Field); pragma Inline (Set_Field_Type); end Terminal_Interface.Curses.Forms.Field_Types.IPV4_Address;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . D I R E C T O R Y _ O P E R A T I O N S . I T E R A T I O N -- -- -- -- S p e c -- -- -- -- Copyright (C) 2001-2019, 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. -- -- -- ------------------------------------------------------------------------------ -- Iterators among files package GNAT.Directory_Operations.Iteration is generic with procedure Action (Item : String; Index : Positive; Quit : in out Boolean); procedure Find (Root_Directory : Dir_Name_Str; File_Pattern : String); -- Recursively searches the directory structure rooted at Root_Directory. -- This provides functionality similar to the UNIX 'find' command. -- Action will be called for every item matching the regular expression -- File_Pattern (see GNAT.Regexp). Item is the full pathname to the file -- starting with Root_Directory that has been matched. Index is set to one -- for the first call and is incremented by one at each call. The iterator -- will pass in the value False on each call to Action. The iterator will -- terminate after passing the last matched path to Action or after -- returning from a call to Action which sets Quit to True. -- Raises GNAT.Regexp.Error_In_Regexp if File_Pattern is ill formed. generic with procedure Action (Item : String; Index : Positive; Quit : in out Boolean); procedure Wildcard_Iterator (Path : Path_Name); -- Calls Action for each path matching Path. Path can include wildcards '*' -- and '?' and [...]. The rules are: -- -- * can be replaced by any sequence of characters -- ? can be replaced by a single character -- [a-z] match one character in the range 'a' through 'z' -- [abc] match either character 'a', 'b' or 'c' -- -- Item is the filename that has been matched. Index is set to one for the -- first call and is incremented by one at each call. The iterator's -- termination can be controlled by setting Quit to True. It is by default -- set to False. -- -- For example, if we have the following directory structure: -- /boo/ -- foo.ads -- /sed/ -- foo.ads -- file/ -- foo.ads -- /sid/ -- foo.ads -- file/ -- foo.ads -- /life/ -- -- A call with expression "/s*/file/*" will call Action for the following -- items: -- /sed/file/foo.ads -- /sid/file/foo.ads end GNAT.Directory_Operations.Iteration;
package body lace.fast_Pool is type Views is array (1 .. pool_Size) of View; protected Pool is entry new_Item (the_Item : out View); entry free (the_Item : in View); private Available : Views; Count : Natural := 0; end Pool; protected body Pool is entry new_Item (the_Item : out View) when True is begin if Count = 0 then the_Item := new Item; else the_Item := Available (Count); Count := Count - 1; end if; end new_Item; entry free (the_Item : in View) when True is begin Count := Count + 1; Available (Count) := the_Item; end free; end Pool; function new_Item return View is Self : View; begin Pool.new_Item (Self); return Self; end new_Item; procedure free (Self : in out View) is begin Pool.free (Self); Self := null; end free; end lace.fast_Pool;
-- This spec has been automatically generated from STM32L151.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.SCB is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CPUID_Revision_Field is HAL.UInt4; subtype CPUID_PartNo_Field is HAL.UInt12; subtype CPUID_Constant_Field is HAL.UInt4; subtype CPUID_Variant_Field is HAL.UInt4; subtype CPUID_Implementer_Field is HAL.UInt8; -- CPUID base register type CPUID_Register is record -- Read-only. Revision number Revision : CPUID_Revision_Field; -- Read-only. Part number of the processor PartNo : CPUID_PartNo_Field; -- Read-only. Reads as 0xF Constant_k : CPUID_Constant_Field; -- Read-only. Variant number Variant : CPUID_Variant_Field; -- Read-only. Implementer code Implementer : CPUID_Implementer_Field; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CPUID_Register use record Revision at 0 range 0 .. 3; PartNo at 0 range 4 .. 15; Constant_k at 0 range 16 .. 19; Variant at 0 range 20 .. 23; Implementer at 0 range 24 .. 31; end record; subtype ICSR_VECTACTIVE_Field is HAL.UInt9; subtype ICSR_VECTPENDING_Field is HAL.UInt7; -- Interrupt control and state register type ICSR_Register is record -- Active vector VECTACTIVE : ICSR_VECTACTIVE_Field := 16#0#; -- unspecified Reserved_9_10 : HAL.UInt2 := 16#0#; -- Return to base level RETTOBASE : Boolean := False; -- Pending vector VECTPENDING : ICSR_VECTPENDING_Field := 16#0#; -- unspecified Reserved_19_21 : HAL.UInt3 := 16#0#; -- Interrupt pending flag ISRPENDING : Boolean := False; -- unspecified Reserved_23_24 : HAL.UInt2 := 16#0#; -- SysTick exception clear-pending bit PENDSTCLR : Boolean := False; -- SysTick exception set-pending bit PENDSTSET : Boolean := False; -- PendSV clear-pending bit PENDSVCLR : Boolean := False; -- PendSV set-pending bit PENDSVSET : Boolean := False; -- unspecified Reserved_29_30 : HAL.UInt2 := 16#0#; -- NMI set-pending bit. NMIPENDSET : Boolean := False; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ICSR_Register use record VECTACTIVE at 0 range 0 .. 8; Reserved_9_10 at 0 range 9 .. 10; RETTOBASE at 0 range 11 .. 11; VECTPENDING at 0 range 12 .. 18; Reserved_19_21 at 0 range 19 .. 21; ISRPENDING at 0 range 22 .. 22; Reserved_23_24 at 0 range 23 .. 24; PENDSTCLR at 0 range 25 .. 25; PENDSTSET at 0 range 26 .. 26; PENDSVCLR at 0 range 27 .. 27; PENDSVSET at 0 range 28 .. 28; Reserved_29_30 at 0 range 29 .. 30; NMIPENDSET at 0 range 31 .. 31; end record; subtype VTOR_TBLOFF_Field is HAL.UInt21; -- Vector table offset register type VTOR_Register is record -- unspecified Reserved_0_8 : HAL.UInt9 := 16#0#; -- Vector table base offset field TBLOFF : VTOR_TBLOFF_Field := 16#0#; -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for VTOR_Register use record Reserved_0_8 at 0 range 0 .. 8; TBLOFF at 0 range 9 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype AIRCR_PRIGROUP_Field is HAL.UInt3; subtype AIRCR_VECTKEYSTAT_Field is HAL.UInt16; -- Application interrupt and reset control register type AIRCR_Register is record -- VECTRESET VECTRESET : Boolean := False; -- VECTCLRACTIVE VECTCLRACTIVE : Boolean := False; -- SYSRESETREQ SYSRESETREQ : Boolean := False; -- unspecified Reserved_3_7 : HAL.UInt5 := 16#0#; -- PRIGROUP PRIGROUP : AIRCR_PRIGROUP_Field := 16#0#; -- unspecified Reserved_11_14 : HAL.UInt4 := 16#0#; -- ENDIANESS ENDIANESS : Boolean := False; -- Register key VECTKEYSTAT : AIRCR_VECTKEYSTAT_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for AIRCR_Register use record VECTRESET at 0 range 0 .. 0; VECTCLRACTIVE at 0 range 1 .. 1; SYSRESETREQ at 0 range 2 .. 2; Reserved_3_7 at 0 range 3 .. 7; PRIGROUP at 0 range 8 .. 10; Reserved_11_14 at 0 range 11 .. 14; ENDIANESS at 0 range 15 .. 15; VECTKEYSTAT at 0 range 16 .. 31; end record; -- System control register type SCR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- SLEEPONEXIT SLEEPONEXIT : Boolean := False; -- SLEEPDEEP SLEEPDEEP : Boolean := False; -- unspecified Reserved_3_3 : HAL.Bit := 16#0#; -- Send Event on Pending bit SEVEONPEND : Boolean := False; -- unspecified Reserved_5_31 : HAL.UInt27 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SCR_Register use record Reserved_0_0 at 0 range 0 .. 0; SLEEPONEXIT at 0 range 1 .. 1; SLEEPDEEP at 0 range 2 .. 2; Reserved_3_3 at 0 range 3 .. 3; SEVEONPEND at 0 range 4 .. 4; Reserved_5_31 at 0 range 5 .. 31; end record; -- Configuration and control register type CCR_Register is record -- Configures how the processor enters Thread mode NONBASETHRDENA : Boolean := False; -- USERSETMPEND USERSETMPEND : Boolean := False; -- unspecified Reserved_2_2 : HAL.Bit := 16#0#; -- UNALIGN_ TRP UNALIGN_TRP : Boolean := False; -- DIV_0_TRP DIV_0_TRP : Boolean := False; -- unspecified Reserved_5_7 : HAL.UInt3 := 16#0#; -- BFHFNMIGN BFHFNMIGN : Boolean := False; -- STKALIGN STKALIGN : Boolean := False; -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CCR_Register use record NONBASETHRDENA at 0 range 0 .. 0; USERSETMPEND at 0 range 1 .. 1; Reserved_2_2 at 0 range 2 .. 2; UNALIGN_TRP at 0 range 3 .. 3; DIV_0_TRP at 0 range 4 .. 4; Reserved_5_7 at 0 range 5 .. 7; BFHFNMIGN at 0 range 8 .. 8; STKALIGN at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; subtype SHPR1_PRI_4_Field is HAL.UInt8; subtype SHPR1_PRI_5_Field is HAL.UInt8; subtype SHPR1_PRI_6_Field is HAL.UInt8; -- System handler priority registers type SHPR1_Register is record -- Priority of system handler 4 PRI_4 : SHPR1_PRI_4_Field := 16#0#; -- Priority of system handler 5 PRI_5 : SHPR1_PRI_5_Field := 16#0#; -- Priority of system handler 6 PRI_6 : SHPR1_PRI_6_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SHPR1_Register use record PRI_4 at 0 range 0 .. 7; PRI_5 at 0 range 8 .. 15; PRI_6 at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype SHPR2_PRI_11_Field is HAL.UInt8; -- System handler priority registers type SHPR2_Register is record -- unspecified Reserved_0_23 : HAL.UInt24 := 16#0#; -- Priority of system handler 11 PRI_11 : SHPR2_PRI_11_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SHPR2_Register use record Reserved_0_23 at 0 range 0 .. 23; PRI_11 at 0 range 24 .. 31; end record; subtype SHPR3_PRI_14_Field is HAL.UInt8; subtype SHPR3_PRI_15_Field is HAL.UInt8; -- System handler priority registers type SHPR3_Register is record -- unspecified Reserved_0_15 : HAL.UInt16 := 16#0#; -- Priority of system handler 14 PRI_14 : SHPR3_PRI_14_Field := 16#0#; -- Priority of system handler 15 PRI_15 : SHPR3_PRI_15_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SHPR3_Register use record Reserved_0_15 at 0 range 0 .. 15; PRI_14 at 0 range 16 .. 23; PRI_15 at 0 range 24 .. 31; end record; -- System handler control and state register type SHCRS_Register is record -- Memory management fault exception active bit MEMFAULTACT : Boolean := False; -- Bus fault exception active bit BUSFAULTACT : Boolean := False; -- unspecified Reserved_2_2 : HAL.Bit := 16#0#; -- Usage fault exception active bit USGFAULTACT : Boolean := False; -- unspecified Reserved_4_6 : HAL.UInt3 := 16#0#; -- SVC call active bit SVCALLACT : Boolean := False; -- Debug monitor active bit MONITORACT : Boolean := False; -- unspecified Reserved_9_9 : HAL.Bit := 16#0#; -- PendSV exception active bit PENDSVACT : Boolean := False; -- SysTick exception active bit SYSTICKACT : Boolean := False; -- Usage fault exception pending bit USGFAULTPENDED : Boolean := False; -- Memory management fault exception pending bit MEMFAULTPENDED : Boolean := False; -- Bus fault exception pending bit BUSFAULTPENDED : Boolean := False; -- SVC call pending bit SVCALLPENDED : Boolean := False; -- Memory management fault enable bit MEMFAULTENA : Boolean := False; -- Bus fault enable bit BUSFAULTENA : Boolean := False; -- Usage fault enable bit USGFAULTENA : Boolean := False; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SHCRS_Register use record MEMFAULTACT at 0 range 0 .. 0; BUSFAULTACT at 0 range 1 .. 1; Reserved_2_2 at 0 range 2 .. 2; USGFAULTACT at 0 range 3 .. 3; Reserved_4_6 at 0 range 4 .. 6; SVCALLACT at 0 range 7 .. 7; MONITORACT at 0 range 8 .. 8; Reserved_9_9 at 0 range 9 .. 9; PENDSVACT at 0 range 10 .. 10; SYSTICKACT at 0 range 11 .. 11; USGFAULTPENDED at 0 range 12 .. 12; MEMFAULTPENDED at 0 range 13 .. 13; BUSFAULTPENDED at 0 range 14 .. 14; SVCALLPENDED at 0 range 15 .. 15; MEMFAULTENA at 0 range 16 .. 16; BUSFAULTENA at 0 range 17 .. 17; USGFAULTENA at 0 range 18 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; -- Configurable fault status register type CFSR_UFSR_BFSR_MMFSR_Register is record -- IACCVIOL IACCVIOL : Boolean := False; -- DACCVIOL DACCVIOL : Boolean := False; -- unspecified Reserved_2_2 : HAL.Bit := 16#0#; -- MUNSTKERR MUNSTKERR : Boolean := False; -- MSTKERR MSTKERR : Boolean := False; -- MLSPERR MLSPERR : Boolean := False; -- unspecified Reserved_6_6 : HAL.Bit := 16#0#; -- MMARVALID MMARVALID : Boolean := False; -- Instruction bus error IBUSERR : Boolean := False; -- Precise data bus error PRECISERR : Boolean := False; -- Imprecise data bus error IMPRECISERR : Boolean := False; -- Bus fault on unstacking for a return from exception UNSTKERR : Boolean := False; -- Bus fault on stacking for exception entry STKERR : Boolean := False; -- Bus fault on floating-point lazy state preservation LSPERR : Boolean := False; -- unspecified Reserved_14_14 : HAL.Bit := 16#0#; -- Bus Fault Address Register (BFAR) valid flag BFARVALID : Boolean := False; -- Undefined instruction usage fault UNDEFINSTR : Boolean := False; -- Invalid state usage fault INVSTATE : Boolean := False; -- Invalid PC load usage fault INVPC : Boolean := False; -- No coprocessor usage fault. NOCP : Boolean := False; -- unspecified Reserved_20_23 : HAL.UInt4 := 16#0#; -- Unaligned access usage fault UNALIGNED : Boolean := False; -- Divide by zero usage fault DIVBYZERO : Boolean := False; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CFSR_UFSR_BFSR_MMFSR_Register use record IACCVIOL at 0 range 0 .. 0; DACCVIOL at 0 range 1 .. 1; Reserved_2_2 at 0 range 2 .. 2; MUNSTKERR at 0 range 3 .. 3; MSTKERR at 0 range 4 .. 4; MLSPERR at 0 range 5 .. 5; Reserved_6_6 at 0 range 6 .. 6; MMARVALID at 0 range 7 .. 7; IBUSERR at 0 range 8 .. 8; PRECISERR at 0 range 9 .. 9; IMPRECISERR at 0 range 10 .. 10; UNSTKERR at 0 range 11 .. 11; STKERR at 0 range 12 .. 12; LSPERR at 0 range 13 .. 13; Reserved_14_14 at 0 range 14 .. 14; BFARVALID at 0 range 15 .. 15; UNDEFINSTR at 0 range 16 .. 16; INVSTATE at 0 range 17 .. 17; INVPC at 0 range 18 .. 18; NOCP at 0 range 19 .. 19; Reserved_20_23 at 0 range 20 .. 23; UNALIGNED at 0 range 24 .. 24; DIVBYZERO at 0 range 25 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; -- Hard fault status register type HFSR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Vector table hard fault VECTTBL : Boolean := False; -- unspecified Reserved_2_29 : HAL.UInt28 := 16#0#; -- Forced hard fault FORCED : Boolean := False; -- Reserved for Debug use DEBUG_VT : Boolean := False; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for HFSR_Register use record Reserved_0_0 at 0 range 0 .. 0; VECTTBL at 0 range 1 .. 1; Reserved_2_29 at 0 range 2 .. 29; FORCED at 0 range 30 .. 30; DEBUG_VT at 0 range 31 .. 31; end record; -- Auxiliary control register type ACTRL_Register is record -- unspecified Reserved_0_1 : HAL.UInt2 := 16#0#; -- DISFOLD DISFOLD : Boolean := False; -- unspecified Reserved_3_9 : HAL.UInt7 := 16#0#; -- FPEXCODIS FPEXCODIS : Boolean := False; -- DISRAMODE DISRAMODE : Boolean := False; -- DISITMATBFLUSH DISITMATBFLUSH : Boolean := False; -- unspecified Reserved_13_31 : HAL.UInt19 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ACTRL_Register use record Reserved_0_1 at 0 range 0 .. 1; DISFOLD at 0 range 2 .. 2; Reserved_3_9 at 0 range 3 .. 9; FPEXCODIS at 0 range 10 .. 10; DISRAMODE at 0 range 11 .. 11; DISITMATBFLUSH at 0 range 12 .. 12; Reserved_13_31 at 0 range 13 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- System control block type SCB_Peripheral is record -- CPUID base register CPUID : aliased CPUID_Register; -- Interrupt control and state register ICSR : aliased ICSR_Register; -- Vector table offset register VTOR : aliased VTOR_Register; -- Application interrupt and reset control register AIRCR : aliased AIRCR_Register; -- System control register SCR : aliased SCR_Register; -- Configuration and control register CCR : aliased CCR_Register; -- System handler priority registers SHPR1 : aliased SHPR1_Register; -- System handler priority registers SHPR2 : aliased SHPR2_Register; -- System handler priority registers SHPR3 : aliased SHPR3_Register; -- System handler control and state register SHCRS : aliased SHCRS_Register; -- Configurable fault status register CFSR_UFSR_BFSR_MMFSR : aliased CFSR_UFSR_BFSR_MMFSR_Register; -- Hard fault status register HFSR : aliased HFSR_Register; -- Memory management fault address register MMFAR : aliased HAL.UInt32; -- Bus fault address register BFAR : aliased HAL.UInt32; end record with Volatile; for SCB_Peripheral use record CPUID at 16#0# range 0 .. 31; ICSR at 16#4# range 0 .. 31; VTOR at 16#8# range 0 .. 31; AIRCR at 16#C# range 0 .. 31; SCR at 16#10# range 0 .. 31; CCR at 16#14# range 0 .. 31; SHPR1 at 16#18# range 0 .. 31; SHPR2 at 16#1C# range 0 .. 31; SHPR3 at 16#20# range 0 .. 31; SHCRS at 16#24# range 0 .. 31; CFSR_UFSR_BFSR_MMFSR at 16#28# range 0 .. 31; HFSR at 16#2C# range 0 .. 31; MMFAR at 16#34# range 0 .. 31; BFAR at 16#38# range 0 .. 31; end record; -- System control block SCB_Periph : aliased SCB_Peripheral with Import, Address => System'To_Address (16#E000ED00#); -- System control block ACTLR type SCB_ACTRL_Peripheral is record -- Auxiliary control register ACTRL : aliased ACTRL_Register; end record with Volatile; for SCB_ACTRL_Peripheral use record ACTRL at 0 range 0 .. 31; end record; -- System control block ACTLR SCB_ACTRL_Periph : aliased SCB_ACTRL_Peripheral with Import, Address => System'To_Address (16#E000E008#); end STM32_SVD.SCB;
------------------------------------------------------------------------------ -- Copyright (c) 2017, 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. -- ------------------------------------------------------------------------------ with Natools.S_Expressions.Encodings; package body Natools.Web.Comment_Cookies.Base_64 is function Encoder (Data : in S_Expressions.Atom) return String is begin return Key & S_Expressions.To_String (S_Expressions.Encodings.Encode_Base64 (Data)); end Encoder; function Decoder (Data : in String) return S_Expressions.Atom is begin if Data'Length > 0 then return S_Expressions.Encodings.Decode_Base64 (S_Expressions.To_Atom (Data (Data'First + 1 .. Data'Last))); else return S_Expressions.Null_Atom; end if; end Decoder; end Natools.Web.Comment_Cookies.Base_64;
-- This package provides support for creating and printing graphs in the -- DOT language, described at www.graphviz.org. From the website: -- -- The following is an abstract grammar defining the DOT language. Literal -- characters and keywords are given in single quotes. Parentheses ( and ) -- indicate grouping when needed. Square brackets [ and ] enclose optional items. -- Vertical bars | separate alternatives. -- -- graph : ['strict'] ('graph'|'digraph') [ID] '{' stmt_list '}' -- stmt_list : [stmt [';'] stmt_list] -- stmt : node_stmt -- | edge_stmt -- | attr_stmt -- | ID '=' ID -- | subgraph -- attr_stmt : ('graph'|'node'|'edge') attr_list -- attr_list : '[' [ a_list] ']' [attr_list] -- a_list : ID '=' ID [(';'|',')] [a_list] -- edge_stmt : (node_id | subgraph) edgeRHS [attr_list] -- edgeRHS : edgeop (node_id | subgraph) [edgeRHS] -- node_stmt : node_id [attr_list] -- node_id : ID [port] -- port : ':' ID [':'compass_pt] -- | ':' compass_pt -- subgraph : ['subgraph' [ID]] '{' stmt_list '}' -- compass_pt : ('n'|'ne'|'e'|'se'|'s'|'sw'|'w'|'nw'|'c'|'_') -- -- The keywords node, edge, graph, digraph, subgraph, and strict are -- case-independent. Note also that the allowed compass point values are not -- keywords, so these strings can be used elsewhere as ordinary identifiers and, -- conversely, the parser will actually accept any identifier. -- -- An ID is one of the following: -- - Any string of alphabetic ([a-zA-Z\200-\377]) characters, underscores ('_') -- or digits ([0-9]), not beginning with a digit -- - a numeral [-]?(.[0-9]+ | [0-9]+(.[0-9]*)? ) -- - any double-quoted string ("...") possibly containing escaped quotes ("\"") -- - an HTML string (<...>) -- -- An ID is just a string; the lack of quote characters in the first two forms -- is just for simplicity. There is no semantic difference between abc_2 and -- "abc_2", or between 2.34 and "2.34". To use a keyword as an ID, it must be -- quoted. with Ada.Containers.Doubly_Linked_Lists; with Ada.Strings.Unbounded; with Ada.Text_IO; package Dot is -- For convenience: package ATI renames Ada.Text_IO; -- Using the exact spellings from the grammar for the record components -- instead of spelling things out: type Compass_Pt_Type is (N, NE, E, SE, S, SW, W, NW, C, Underscore); type ID_Type is new Ada.Strings.Unbounded.Unbounded_String; function To_ID_Type (Item : in String) return ID_Type renames To_Unbounded_String; -- function To_ID_Type (Item : in Wide_String) return ID_Type; ----------------------------------------------------------------------------- package Stmt is type Class is abstract tagged null record; type Access_All_Class is access all Class'Class; procedure Put (This : in Class; File : in ATI.File_Type) is abstract; package Lists is new Ada.Containers.Doubly_Linked_Lists (Access_All_Class); -- Make primitive operations like "=" visible: type List_Of_Access_All_Class is new Lists.List with null record; procedure Put (These : in List_Of_Access_All_Class; File : in ATI.File_Type); end Stmt; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Zero or more assigns: package Assign is type Class is tagged -- Initialized record L : ID_Type; -- Initialized R : ID_Type; -- Initialized end record; procedure Put (This : in Class; File : in ATI.File_Type); package Lists is new Ada.Containers.Doubly_Linked_Lists (Class); -- Make primitive operations like "=" visible: type List_Of_Class is new Lists.List with null record; -- Initialized procedure Put (These : in List_Of_Class; File : in ATI.File_Type); -- Convenience: converts L, R to ID_Type and appends a Class to the list. -- Allows this: -- Assign_List.Append ("Today", "Thursday"); -- Instead of this: -- Assign_List.Append ((L => Dot.To_ID_Type ("Today"), -- R => Dot.To_ID_Type ("Thursday"))); not overriding procedure Append (These : in out List_Of_Class; L, R : in String); function Empty_List return List_Of_Class; end Assign; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Zero or more bracketed lists of assigns: package Attr is type Class is tagged -- Initialized record A_List : Assign.List_Of_Class; -- Initialized end record; Null_Class : constant Class; procedure Put (This : in Class; File : in ATI.File_Type); package Lists is new Ada.Containers.Doubly_Linked_Lists (Class); -- Make primitive operations like "=" visible: type List_Of_Class is new Lists.List with null record; procedure Put (These : in List_Of_Class; File : in ATI.File_Type); -- Add an assign to the first attr of the list. If there is no first attr, -- add one: procedure Add_Assign_To_First_Attr (Attr_List : in out List_Of_Class; Name : in String; Value : in String); Empty_List : constant List_Of_Class := List_Of_Class'(Lists.Empty_List with null record); private Default_Class : Class; Null_Class : constant Class := Default_Class; end Attr; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package Attr_Stmt is type Kind_Type is (Graph, Node, Edge); type Class is new Stmt.Class with record -- Initialized Kind : Kind_Type := Node; Attr_List : Dot.Attr.List_Of_Class; -- Initialized end record; overriding procedure Put (This : in Class; File : in ATI.File_Type); -- Creates a Class object on the heap: procedure Append_To (This : in Class; Stmt_List : in out Stmt.List_Of_Access_All_Class); end Attr_Stmt; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package Node_ID is type Port_Class is tagged record -- Initialized Has_ID : Boolean := False; ID : ID_Type; -- Initialized Has_Compass_Pt : Boolean := False; Compass_Pt : Compass_Pt_Type := C; end record; procedure Put (This : in Port_Class; File : in ATI.File_Type); Null_Port_Class : constant Port_Class; type Class is tagged record -- Initialized ID : ID_Type; -- Initialized Port : Port_Class; -- Initialized end record; procedure Put (This : in Class; File : in ATI.File_Type); private Default_Port_Class : Port_Class; Null_Port_Class : constant Port_Class := Default_Port_Class; end Node_ID; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package HTML_Like_Labels is -- GraphViz HTML-Like Labels support variously formatted nodes, especially -- tables. This package supports node formatting with "this = that" table -- rows. type Class is tagged private; -- Initialized procedure Add_Eq_Row (This : in out Class; L, R : in String); procedure Add_3_Col_Cell (This : in out Class; Text : in String); function To_String (This : in Class) return String; private use Ada.Strings.Unbounded; type LR_Pair is array (1 .. 2) Of Unbounded_String; function To_TR (This : in LR_Pair) return Unbounded_String; package LR_Pair_Lists is new Ada.Containers.Doubly_Linked_Lists (LR_Pair); -- Make primitive operations like "=" visible: type LR_Pair_List is new LR_Pair_Lists.List with null record; -- Initialized function To_Unbounded_String (This : in LR_Pair_List) return Unbounded_String; type Class is tagged record -- Initialized Rows : LR_Pair_List; -- Initialized end record; end HTML_Like_Labels; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package Node_Stmt is type Class is new Stmt.Class with record -- Initialized Node_ID : Dot.Node_ID.Class; -- Initialized Attr_List : Dot.Attr.List_Of_Class; -- Initialized end record; overriding procedure Put (This : in Class; File : in ATI.File_Type); -- Creates a Class object on the heap: procedure Append_To (This : in Class; Stmt_List : in out Stmt.List_Of_Access_All_Class); procedure Add_Label (This : in out Class; HL_Label : in HTML_Like_Labels.Class); end Node_Stmt; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package Subgraphs is type Class is tagged record -- Initialized Stmt_List : Stmt.List_Of_Access_All_Class; ID : ID_Type; end record; procedure Put (This : in Class; File : in ATI.File_Type); end Subgraphs; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package Edges is package Terminals is type Kind_Type is (Node_Kind, Subgraph_Kind); type Class (Kind : Kind_Type := Node_Kind) is record -- Initialized case Kind is when Node_Kind => Node_Id : Dot.Node_ID.Class; -- Initialized when Subgraph_Kind => Subgraph : Subgraphs.Class; -- Initialized end case; end record; procedure Put (This : in Class; File : in ATI.File_Type); package Lists is new Ada.Containers.Doubly_Linked_Lists (Class); -- Make primitive operations like "=" visible: type List_Of_Class is new Lists.List with null record; procedure Put (These : in List_Of_Class; File : in ATI.File_Type); end Terminals; package Stmts is -- There must be at least one RHS: type Class is new Stmt.Class with record -- Initialized LHS : Terminals.Class; -- Initialized RHS : Terminals.Class; -- Initialized RHSs : Terminals.List_Of_Class; -- Initialized Attr_List : Dot.Attr.List_Of_Class; -- Initialized end record; overriding procedure Put (This : in Class; File : in ATI.File_Type); -- Creates a Class object on the heap: procedure Append_To (This : in Class; Stmt_List : in out Stmt.List_Of_Access_All_Class); end Stmts; end Edges; ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- package Graphs is type Class is tagged private; -- Initialized type Access_Class is access Class; function Create (Is_Digraph : in Boolean; Is_Strict : in Boolean) return Access_Class; procedure Set_Is_Digraph (This : access Class; To : in Boolean); procedure Set_Is_Strict (This : access Class; To : in Boolean); procedure Set_ID (This : access Class; To : in String); procedure Append_Stmt (This : access Class; The_Stmt : in Stmt.Access_All_Class); function Stmt_Count (This : access Class) return Natural; procedure Put (This : access Class; File : in ATI.File_Type); -- Writes a file <Name>.dot. If Overwrite is true, overwrites an existing -- file. If it is not and the file exists, raises Usage_Error: procedure Write_File (This : access Class; Name : in String; Overwrite : in Boolean := False); Usage_Error : Exception; private type Class is tagged -- Initialized record Digraph : Boolean := True; Strict : Boolean := True; ID : ID_Type; -- Initialized Stmt_List : Stmt.List_Of_Access_All_Class; -- Initialized end record; end Graphs; ----------------------------------------------------------------------------- private package ASU renames Ada.Strings.Unbounded; package Indented is procedure Indent; procedure Dedent; procedure Put (File : in ATI.File_Type; Item : in String); procedure New_Line (File : in ATI.File_Type); -- Calls New_Line if the current col is greater than the indent col: procedure End_Line_If_Needed (File : in ATI.File_Type); -- Put nothing if Item is empty, else Put it with a trailing space: procedure Put_Spaced (File : in ATI.File_Type; Item : in String); private -- If the indent is increased in the middle of a line, this will ensure -- that the next put is at that indent or better: procedure Put_Indent (File : in ATI.File_Type); end Indented; function To_String (Item : in Compass_Pt_Type) return String; -- Returns a quoted string (in case ID is a reserved word), or an empty -- string if the ID is empty: function To_String (Item : in ID_Type) return String; procedure Put (This : in ID_Type; File : in ATI.File_Type); end Dot;
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstsystemclock_h; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h; -- limited with GStreamer.GST_Low_Level.netinet_in_h; -- limited -- with GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h; with System; with glib; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_net_gstnetclientclock_h is -- unsupported macro: GST_TYPE_NET_CLIENT_CLOCK (gst_net_client_clock_get_type()) -- arg-macro: function GST_NET_CLIENT_CLOCK (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NET_CLIENT_CLOCK,GstNetClientClock); -- arg-macro: function GST_NET_CLIENT_CLOCK_CLASS (klass) -- return G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NET_CLIENT_CLOCK,GstNetClientClockClass); -- arg-macro: function GST_IS_NET_CLIENT_CLOCK (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NET_CLIENT_CLOCK); -- arg-macro: function GST_IS_NET_CLIENT_CLOCK_CLASS (klass) -- return G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NET_CLIENT_CLOCK); -- GStreamer -- * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu> -- * 2005 Wim Taymans <wim@fluendo.com> -- * 2005 Andy Wingo <wingo@pobox.com> -- * -- * gstnetclientclock.h: clock that synchronizes itself to a time provider over -- * the network -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- type GstNetClientClock; type u_GstNetClientClock_control_sock_array is array (0 .. 1) of aliased int; type u_GstNetClientClock_u_gst_reserved_array is array (0 .. 2) of System.Address; --subtype GstNetClientClock is u_GstNetClientClock; -- gst/net/gstnetclientclock.h:60 type GstNetClientClockClass; type u_GstNetClientClockClass_u_gst_reserved_array is array (0 .. 3) of System.Address; --subtype GstNetClientClockClass is u_GstNetClientClockClass; -- gst/net/gstnetclientclock.h:61 -- skipped empty struct u_GstNetClientClockPrivate -- skipped empty struct GstNetClientClockPrivate --* -- * GstNetClientClock: -- * -- * Opaque #GstNetClientClock structure. -- type GstNetClientClock is record clock : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstsystemclock_h.GstSystemClock; -- gst/net/gstnetclientclock.h:70 address : access GLIB.gchar; -- gst/net/gstnetclientclock.h:73 port : aliased GLIB.gint; -- gst/net/gstnetclientclock.h:74 sock : aliased int; -- gst/net/gstnetclientclock.h:77 control_sock : aliased u_GstNetClientClock_control_sock_array; -- gst/net/gstnetclientclock.h:78 current_timeout : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h.GstClockTime; -- gst/net/gstnetclientclock.h:80 servaddr : System.Address; -- access GStreamer.GST_Low_Level.netinet_in_h.sockaddr_in; -- gst/net/gstnetclientclock.h:82 thread : access GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h.GThread; -- gst/net/gstnetclientclock.h:84 priv : System.Address; -- gst/net/gstnetclientclock.h:87 u_gst_reserved : u_GstNetClientClock_u_gst_reserved_array; -- gst/net/gstnetclientclock.h:89 end record; pragma Convention (C_Pass_By_Copy, GstNetClientClock); -- gst/net/gstnetclientclock.h:69 --< protected > --< private > --< private > type GstNetClientClockClass is record parent_class : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstsystemclock_h.GstSystemClockClass; -- gst/net/gstnetclientclock.h:93 u_gst_reserved : u_GstNetClientClockClass_u_gst_reserved_array; -- gst/net/gstnetclientclock.h:96 end record; pragma Convention (C_Pass_By_Copy, GstNetClientClockClass); -- gst/net/gstnetclientclock.h:92 --< private > function gst_net_client_clock_get_type return GLIB.GType; -- gst/net/gstnetclientclock.h:99 pragma Import (C, gst_net_client_clock_get_type, "gst_net_client_clock_get_type"); function gst_net_client_clock_new (name : access GLIB.gchar; remote_address : access GLIB.gchar; remote_port : GLIB.gint; base_time : GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h.GstClockTime) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h.GstClock; -- gst/net/gstnetclientclock.h:100 pragma Import (C, gst_net_client_clock_new, "gst_net_client_clock_new"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_net_gstnetclientclock_h;
with Simulation; with Ada.Text_IO; use Ada.Text_IO; with Units; use Units; package body ublox8.driver with SPARK_Mode => Off, Refined_State => (State => (null)) is cur_loc : GPS_Loacation_Type; -- L,L,A cur_msg : GPS_Message_Type; cur_fix : GPS_FIX_Type; cur_vel : Units.Linear_Velocity_Type := 0.0*Meter/Second; cur_datetime : GPS_DateTime_Type; cur_vacc : Units.Length_Type := 0.0*Meter; procedure reset is null; procedure init is null; function get_Nsat return Unsigned_8 is ( 0 ); procedure update_val is begin --cur_loc.Longitude := Longitude_Type ( Simulation.CSV_here.Get_Column ("Lng")); --cur_loc.Latitude := Latitude_Type ( Simulation.CSV_here.Get_Column ("Lat")); --cur_loc.Altitude := Altitude_Type ( Simulation.CSV_here.Get_Column ("Alt")); cur_fix := NO_FIX;-- GPS_Fix_Type'Enum_Val (Integer ( Simulation.CSV_here.Get_Column ("fix"))); cur_msg.sats := Unsigned_8 ( 0 ); cur_msg.speed := Linear_Velocity_Type ( 0.0 ); -- don't care about the following for now: cur_msg.datetime.year := 2016; cur_msg.datetime.mon := 07; cur_msg.datetime.day := 20; cur_msg.lat := cur_loc.Latitude; cur_msg.lon := cur_loc.Longitude; cur_msg.alt := cur_loc.Altitude; cur_msg.datetime.min := 0; cur_msg.datetime.sec := 0; cur_msg.datetime.hour := 0; end update_val; function get_Position return GPS_Loacation_Type is begin return cur_loc; end; function get_GPS_Message return GPS_Message_Type is begin return cur_msg; end; function get_Vertical_Accuracy return Units.Length_Type is begin return cur_vacc; end get_Vertical_Accuracy; function get_Fix return GPS_Fix_Type is begin return cur_fix; end; function get_Velo return Units.Linear_Velocity_Type is begin return cur_vel; end get_Velo; function get_Time return GPS_DateTime_Type is begin return cur_datetime; end get_Time; -- function get_Direction return Direction_Type; procedure perform_Self_Check (Status : out Error_Type) is begin Status := SUCCESS; end perform_Self_Check; end ublox8.driver;
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Results.Generic_Converters is generic type IntType is (<>); function convertstr (nv : Textual) return IntType; generic type RealType is digits <>; function convertst2 (nv : Textual) return RealType; generic type IntType is (<>); function convertst3 (nv : Textwide) return IntType; generic type RealType is digits <>; function convertst4 (nv : Textwide) return RealType; generic type IntType is (<>); function convertst5 (nv : Textsuper) return IntType; generic type RealType is digits <>; function convertst6 (nv : Textsuper) return RealType; generic type IntType is (<>); function convert2str1 (nv : IntType) return String; generic type IntType is (<>); function convert2utf8 (nv : IntType) return Text_UTF8; generic type IntType is (<>); function convert2str2 (nv : IntType) return Wide_String; generic type IntType is (<>); function convert2str3 (nv : IntType) return Wide_Wide_String; generic type RealType is digits <>; function convert3utf8 (nv : RealType) return Text_UTF8; generic type RealType is digits <>; function convert3str1 (nv : RealType) return String; generic type RealType is digits <>; function convert3str2 (nv : RealType) return Wide_String; generic type RealType is digits <>; function convert3str3 (nv : RealType) return Wide_Wide_String; generic type IntType is (<>); function convert4str (nv : String) return IntType; generic type RealType is digits <>; function convert4st2 (nv : String) return RealType; generic type ModType is mod <>; width : Natural; function convert2bits (nv : ModType) return Bits; generic type ModType is mod <>; width : Positive; function convert2chain (nv : ModType) return Chain; generic type ModType is mod <>; MSB : Positive; function convert_bits (nv : Bits) return ModType; generic type ModType is mod <>; width : Positive; function convert_chain (nv : Chain) return ModType; private function ctrim (raw : String) return String; function wtrim (raw : String) return Wide_String; function strim (raw : String) return Wide_Wide_String; end AdaBase.Results.Generic_Converters;
------------------------------------------------------------------------------ -- -- -- 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.CMOF.Elements.Collections; with AMF.CMOF.Expressions; with AMF.CMOF.Named_Elements; with AMF.CMOF.Namespaces; with AMF.CMOF.Value_Specifications.Collections; with AMF.Internals.CMOF_Value_Specifications; with AMF.Visitors; package AMF.Internals.CMOF_Expressions is type CMOF_Expression_Proxy is limited new AMF.Internals.CMOF_Value_Specifications.CMOF_Value_Specification_Proxy and AMF.CMOF.Expressions.CMOF_Expression with null record; -- XXX These subprograms are stubs overriding function All_Owned_Elements (Self : not null access constant CMOF_Expression_Proxy) return AMF.CMOF.Elements.Collections.Set_Of_CMOF_Element; overriding function Get_Qualified_Name (Self : not null access constant CMOF_Expression_Proxy) return Optional_String; overriding function Is_Distinguishable_From (Self : not null access constant CMOF_Expression_Proxy; N : AMF.CMOF.Named_Elements.CMOF_Named_Element_Access; Ns : AMF.CMOF.Namespaces.CMOF_Namespace_Access) return Boolean; overriding function Is_Computable (Self : not null access constant CMOF_Expression_Proxy) return Boolean; overriding function Integer_Value (Self : not null access constant CMOF_Expression_Proxy) return Integer; overriding function Boolean_Value (Self : not null access constant CMOF_Expression_Proxy) return Boolean; overriding function String_Value (Self : not null access constant CMOF_Expression_Proxy) return League.Strings.Universal_String; overriding function Unlimited_Value (Self : not null access constant CMOF_Expression_Proxy) return Unlimited_Natural; overriding function Is_Null (Self : not null access constant CMOF_Expression_Proxy) return Boolean; overriding function Get_Operand (Self : not null access constant CMOF_Expression_Proxy) return AMF.CMOF.Value_Specifications.Collections.Ordered_Set_Of_CMOF_Value_Specification; overriding procedure Enter_Element (Self : not null access constant CMOF_Expression_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of visitor interface. overriding procedure Leave_Element (Self : not null access constant CMOF_Expression_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of visitor interface. overriding procedure Visit_Element (Self : not null access constant CMOF_Expression_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of iterator interface. end AMF.Internals.CMOF_Expressions;
<?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></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>linebuffer</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>in_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in_stream.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out_stream.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>72</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>2</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>403</lineNumber> <contextFuncName>linebuffer_2D&amp;lt;1920, 1080, 1, 1, 1, 1, 3, 3, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second class_id="11" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;1920, 1080, 1, 1, 1, 1, 3, 3, unsigned char&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;1920, 1080, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>16</item> <item>17</item> <item>18</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>13</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>531</lineNumber> <contextFuncName>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</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_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>531</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>2</type> <id>15</id> <name>call</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:call&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_6"> <Obj> <type>3</type> <id>14</id> <name>linebuffer</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>12</item> <item>13</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_7"> <id>16</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_8"> <id>17</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_9"> <id>18</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>12</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_10"> <mId>1</mId> <mTag>linebuffer</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>14</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2077921</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_11"> <port_list class_id="24" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port_list> <process_list class_id="25" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_12"> <type>0</type> <name>call_U0</name> <ssdmobj_id>12</ssdmobj_id> <pins class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_13"> <port class_id="29" tracking_level="1" version="0" object_id="_14"> <name>in_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id="30" tracking_level="1" version="0" object_id="_15"> <type>0</type> <name>call_U0</name> <ssdmobj_id>12</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_16"> <port class_id_reference="29" object_id="_17"> <name>out_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_15"></inst> </item> </pins> </item> </process_list> <channel_list class_id="31" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </channel_list> <net_list class_id="32" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="35" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>12</first> <second class_id="37" tracking_level="0" version="0"> <first>0</first> <second>1</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="38" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="39" tracking_level="0" version="0"> <first>14</first> <second class_id="40" tracking_level="0" version="0"> <first>0</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="41" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="42" tracking_level="1" version="0" object_id="_18"> <region_name>linebuffer</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>14</item> </basic_blocks> <nodes> <count>11</count> <item_version>0</item_version> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="44" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="45" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="46" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="47" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
package impact.d3.Matrix -- -- The impact.d3.Matrix provides a 3x3 rotation matrix, to perform linear algebra in combination with impact.d3.Quaternion, impact.d3.Transform and impact.d3.Vector. -- Make sure to only include a pure orthogonal matrix without scaling. is use Math; -- function to_Matrix (Q : in Quaternion) return Matrix_3x3; function to_Matrix (xx, xy, xz, -- Constructor with row major formatting. yx, yy, yz, zx, zy, zz : in Real) return Matrix_3x3; procedure setRotation (Self : out Matrix_3x3; From : in Quaternion); function getColumn (Self : in Matrix_3x3; Which : in math.Index) return Vector_3; -- Get a column of the matrix as a vector function getRow (Self : in Matrix_3x3; Which : in math.Index) return Vector_3; -- Get a row of the matrix as a vector function Row (Self : access Matrix_3x3; Which : in math.Index) return access Vector_3; -- Get a mutable reference to a row of the matrix as a vector. procedure setFromOpenGLSubMatrix (Self : in out Matrix_3x3; m : access Real); -- -- Set from the rotational part of a 4x4 OpenGL matrix -- m: A pointer to the beginning of the array of scalars which composes the openGL matrix. procedure setValue (Self : out Matrix_3x3; xx, xy, xz, yx, yy, yz, zx, zy, zz : in Real); -- -- Set the values of the matrix explicitly (row major) -- -- xx Top left -- xy Top Middle -- xz Top Right -- yx Middle Left -- yy Middle Middle -- yz Middle Right -- zx Bottom Left -- zy Bottom Middle -- zz Bottom Right procedure setEulerYPR (Self : out Matrix_3x3; yaw, -- Yaw about Y axis pitch, -- Pitch about X axis roll : in Real); -- Roll about Z axis -- -- Set the matrix from euler angles using YPR around YXZ respectively. procedure setEulerZYX (Self : out Matrix_3x3; eulerX, -- Roll about X axis eulerY, -- Pitch about Y axis eulerZ : in Real); -- Yaw about Z axis -- -- Set the matrix from euler angles YPR around ZYX axes -- -- These angles are used to produce a rotation matrix. The euler -- angles are applied in ZYX order. Thais is, a vector is first rotated -- about X then Y and then Z. procedure setIdentity (Self : out Matrix_3x3); -- -- Set the matrix to the identity. function getIdentity return Matrix_3x3; procedure getOpenGLSubMatrix (Self : in Matrix_3x3; matrix : access Real); -- -- Fill the rotational part of an OpenGL matrix and clear the shear/perspective. -- -- 'matrix' The array to be filled. procedure getRotation (Self : in Matrix_3x3; q : out Quaternion); -- -- Get the matrix represented as a quaternion. -- -- 'q' The quaternion which will be set. procedure getEulerYPR (Self : in Matrix_3x3; yaw, -- Yaw around Y axis. pitch, -- Pitch around X axis. roll : out Real); -- Roll around Z axis. -- -- Get the matrix represented as euler angles around YXZ, roundtrip with setEulerYPR. procedure getEulerZYX (Self : in Matrix_3x3; yaw, -- Yaw around Z axis. pitch, -- Pitch around Y axis. roll : out Real; -- Roll around X axis. solution_number : in Integer := 1); -- Which solution of two possible solutions (1 or 2) are possible values. -- -- Get the matrix represented as euler angles around ZYX function Scaled (Self : in Matrix_3x3; s : in Vector_3) return Matrix_3x3; -- 's' Scaling vector => The elements of the vector will scale each column -- -- Create a scaled copy of the matrix function adjoint (Self : in Matrix_3x3) return Matrix_3x3; -- Return the adjoint of the matrix. function cofac (Self : in Matrix_3x3; r1, -- The first row to use for calculating the cofactor c1, -- The first column to use for calculating the cofactor r2, -- The second row to use for calculating the cofactor c2 : in Integer) return Real; -- The second column to use for calculating the cofactor -- -- Calculate the matrix cofactor. -- -- See http://en.wikipedia.org/wiki/Cofactor_(linear_algebra) for more details. function absolute (Self : in Matrix_3x3) return Matrix_3x3; -- -- Return the matrix with all values non negative. function transposeTimes (Self : in Matrix_3x3; m : in Matrix_3x3) return Matrix_3x3; function timesTranspose (Self : in Matrix_3x3; m : in Matrix_3x3) return Matrix_3x3; function tdotx (Self : in Matrix_3x3; v : in Vector_3) return Real; function tdoty (Self : in Matrix_3x3; v : in Vector_3) return Real; function tdotz (Self : in Matrix_3x3; v : in Vector_3) return Real; procedure diagonalize (Self : in out Matrix_3x3; rot : access Matrix_3x3; -- 'rot' Stores the rotation from the coordinate system in which the matrix is diagonal -- to the original coordinate system (ie. old_this = rot * new_this * rot^T). threshold : in Real; -- 'threshold' See iteration maxSteps : in Integer); -- 'iteration' The iteration stops when all off-diagonal elements are less than the threshold multiplied -- by the sum of the absolute values of the diagonal, or when maxSteps have been executed. -- -- Diagonalizes this matrix by the Jacobi method. -- -- Note that this matrix is assumed to be symmetric. end impact.d3.Matrix;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>AXIvideo2Mat</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>10</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>AXI_video_strm_V_data_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>AXI_video_strm.V.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>AXI_video_strm_V_keep_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AXI_video_strm.V.keep.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>3</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>AXI_video_strm_V_strb_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AXI_video_strm.V.strb.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>3</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>AXI_video_strm_V_user_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AXI_video_strm.V.user.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>AXI_video_strm_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AXI_video_strm.V.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>AXI_video_strm_V_id_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AXI_video_strm.V.id.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>AXI_video_strm_V_dest_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AXI_video_strm.V.dest.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>img_data_stream_0_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>img.data_stream[0].V</originalName> <rtlName/> <coreName>FIFO</coreName> </Obj> <bitwidth>8</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> <item class_id_reference="3" object_id="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>img_data_stream_1_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>img.data_stream[1].V</originalName> <rtlName/> <coreName>FIFO</coreName> </Obj> <bitwidth>8</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> <item class_id_reference="3" object_id="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>img_data_stream_2_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>img.data_stream[2].V</originalName> <rtlName/> <coreName>FIFO</coreName> </Obj> <bitwidth>8</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>51</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_11"> <Value> <Obj> <type>0</type> <id>15</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>63</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>102</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>21</id> <name>empty</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>111</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name>tmp_data_V</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>112</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>23</id> <name>tmp_user_V</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.user.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>113</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>24</id> <name>tmp_last_V</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>114</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>26</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>65</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>115</item> <item>116</item> <item>117</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>28</id> <name>sof_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>119</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</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> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>121</item> <item>122</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>30</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>71</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>71</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>123</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>32</id> <name>axi_last_V1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>124</item> <item>125</item> <item>126</item> <item>127</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>33</id> <name>axi_data_V1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>tmp.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>128</item> <item>129</item> <item>130</item> <item>131</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>34</id> <name>t_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>132</item> <item>133</item> <item>135</item> <item>136</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>35</id> <name>exitcond1</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>71</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>71</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>exitcond1_fu_325_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>137</item> <item>139</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.94</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>37</id> <name>i_V</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>71</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>71</second> </item> </second> </item> </inlineStackInfo> <originalName>i.V</originalName> <rtlName>i_V_fu_331_p2</rtlName> <coreName/> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>140</item> <item>142</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.41</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>38</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>71</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>71</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>143</item> <item>144</item> <item>145</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>42</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>146</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>44</id> <name>eol_1</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>100</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>100</second> </item> </second> </item> </inlineStackInfo> <originalName>eol</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>147</item> <item>148</item> <item>149</item> <item>150</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>45</id> <name>axi_data_V_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>151</item> <item>152</item> <item>153</item> <item>154</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>46</id> <name>t_V_5</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>156</item> <item>157</item> <item>158</item> <item>159</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>47</id> <name>eol</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>161</item> <item>162</item> <item>163</item> <item>164</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>48</id> <name>exitcond</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>exitcond_fu_337_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>165</item> <item>167</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.88</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>50</id> <name>j_V</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName>j.V</originalName> <rtlName>j_V_fu_343_p2</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>168</item> <item>170</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.48</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>51</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>171</item> <item>172</item> <item>173</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>53</id> <name>sof_1_load</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>76</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>175</item> <item>458</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>57</id> <name>brmerge</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>76</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>brmerge_fu_352_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>176</item> <item>177</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.80</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>58</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</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>178</item> <item>179</item> <item>180</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>60</id> <name>empty_70</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>9</count> <item_version>0</item_version> <item>181</item> <item>182</item> <item>183</item> <item>184</item> <item>185</item> <item>186</item> <item>187</item> <item>188</item> <item>456</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_data_V_1</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>189</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_last_V_1</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>190</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>63</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>191</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>65</id> <name>axi_last_V_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>axi.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>192</item> <item>193</item> <item>194</item> <item>195</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>66</id> <name>p_Val2_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>axi.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>196</item> <item>197</item> <item>198</item> <item>199</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>67</id> <name>tmp_68</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_axi_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>AXIGetBitFields&amp;lt;24, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_axi_io.h</first> <second>AXIGetBitFields&amp;lt;24, unsigned char&amp;gt;</second> </first> <second>49</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>92</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName>tmp_68_fu_358_p1</rtlName> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>200</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>68</id> <name>tmp_46</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_axi_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>AXIGetBitFields&amp;lt;24, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_axi_io.h</first> <second>AXIGetBitFields&amp;lt;24, unsigned char&amp;gt;</second> </first> <second>49</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>92</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName>tmp_46_reg_434</rtlName> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>202</item> <item>203</item> <item>205</item> <item>207</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp_47</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_axi_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>AXIGetBitFields&amp;lt;24, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_axi_io.h</first> <second>AXIGetBitFields&amp;lt;24, unsigned char&amp;gt;</second> </first> <second>49</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>92</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName>tmp_47_reg_439</rtlName> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>208</item> <item>209</item> <item>211</item> <item>213</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>72</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>703</lineNumber> <contextFuncName>write</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>717</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>write</second> </first> <second>703</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>215</item> <item>216</item> <item>217</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.40</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>73</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>703</lineNumber> <contextFuncName>write</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>717</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>write</second> </first> <second>703</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>218</item> <item>219</item> <item>220</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.40</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>74</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>703</lineNumber> <contextFuncName>write</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>717</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>write</second> </first> <second>703</second> </item> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>221</item> <item>222</item> <item>223</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.40</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>77</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>4</count> <item_version>0</item_version> <item>224</item> <item>225</item> <item>459</item> <item>460</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>78</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>226</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>80</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>96</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>96</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>174</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>82</id> <name>axi_last_V_3</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>axi.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>227</item> <item>228</item> <item>229</item> <item>230</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>83</id> <name>axi_data_V_3</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>axi.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>231</item> <item>232</item> <item>233</item> <item>234</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>84</id> <name>eol_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>axi.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>235</item> <item>236</item> <item>237</item> <item>238</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>85</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>96</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>96</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>239</item> <item>240</item> <item>241</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>91</id> <name>empty_73</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>100</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>100</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>9</count> <item_version>0</item_version> <item>242</item> <item>243</item> <item>244</item> <item>245</item> <item>246</item> <item>247</item> <item>248</item> <item>249</item> <item>457</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>92</id> <name>tmp_data_V_2</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>100</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>100</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>250</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>93</id> <name>tmp_last_V_2</name> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>100</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>100</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>251</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>95</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>103</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>103</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>252</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>98</id> <name/> <fileName>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>71</lineNumber> <contextFuncName>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\mi\Desktop\Programma\ZYNQ\XC7Z020_316_ES_ConerDetect\HLS</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>G:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_io.h</first> <second>AXIvideo2Mat&amp;lt;24, 768, 1024, 4096&amp;gt;</second> </first> <second>71</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>253</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>100</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> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_62"> <Value> <Obj> <type>2</type> <id>118</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="_63"> <Value> <Obj> <type>2</type> <id>120</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>1</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_64"> <Value> <Obj> <type>2</type> <id>134</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="_65"> <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>10</bitwidth> </Value> <const_type>0</const_type> <content>768</content> </item> <item class_id_reference="16" object_id="_66"> <Value> <Obj> <type>2</type> <id>141</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>1</content> </item> <item class_id_reference="16" object_id="_67"> <Value> <Obj> <type>2</type> <id>155</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="_68"> <Value> <Obj> <type>2</type> <id>160</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>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_69"> <Value> <Obj> <type>2</type> <id>166</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>1024</content> </item> <item class_id_reference="16" object_id="_70"> <Value> <Obj> <type>2</type> <id>169</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="_71"> <Value> <Obj> <type>2</type> <id>204</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>8</content> </item> <item class_id_reference="16" object_id="_72"> <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>32</bitwidth> </Value> <const_type>0</const_type> <content>15</content> </item> <item class_id_reference="16" object_id="_73"> <Value> <Obj> <type>2</type> <id>210</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>16</content> </item> <item class_id_reference="16" object_id="_74"> <Value> <Obj> <type>2</type> <id>212</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>23</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_75"> <Obj> <type>3</type> <id>16</id> <name>._crit_edge</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>15</item> </node_objs> </item> <item class_id_reference="18" object_id="_76"> <Obj> <type>3</type> <id>27</id> <name>._crit_edge1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>26</item> </node_objs> </item> <item class_id_reference="18" object_id="_77"> <Obj> <type>3</type> <id>31</id> <name>.preheader232.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>3</count> <item_version>0</item_version> <item>28</item> <item>29</item> <item>30</item> </node_objs> </item> <item class_id_reference="18" object_id="_78"> <Obj> <type>3</type> <id>39</id> <name>.preheader232</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>32</item> <item>33</item> <item>34</item> <item>35</item> <item>37</item> <item>38</item> </node_objs> </item> <item class_id_reference="18" object_id="_79"> <Obj> <type>3</type> <id>43</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>42</item> </node_objs> </item> <item class_id_reference="18" object_id="_80"> <Obj> <type>3</type> <id>52</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>7</count> <item_version>0</item_version> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>50</item> <item>51</item> </node_objs> </item> <item class_id_reference="18" object_id="_81"> <Obj> <type>3</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> <node_objs> <count>3</count> <item_version>0</item_version> <item>53</item> <item>57</item> <item>58</item> </node_objs> </item> <item class_id_reference="18" object_id="_82"> <Obj> <type>3</type> <id>64</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>60</item> <item>61</item> <item>62</item> <item>63</item> </node_objs> </item> <item class_id_reference="18" object_id="_83"> <Obj> <type>3</type> <id>79</id> <name>._crit_edge2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>10</count> <item_version>0</item_version> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>72</item> <item>73</item> <item>74</item> <item>77</item> <item>78</item> </node_objs> </item> <item class_id_reference="18" object_id="_84"> <Obj> <type>3</type> <id>81</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>1</count> <item_version>0</item_version> <item>80</item> </node_objs> </item> <item class_id_reference="18" object_id="_85"> <Obj> <type>3</type> <id>86</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>82</item> <item>83</item> <item>84</item> <item>85</item> </node_objs> </item> <item class_id_reference="18" object_id="_86"> <Obj> <type>3</type> <id>96</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>91</item> <item>92</item> <item>93</item> <item>95</item> </node_objs> </item> <item class_id_reference="18" object_id="_87"> <Obj> <type>3</type> <id>99</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>98</item> </node_objs> </item> <item class_id_reference="18" object_id="_88"> <Obj> <type>3</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> <node_objs> <count>1</count> <item_version>0</item_version> <item>100</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>151</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_89"> <id>102</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>105</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>106</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>107</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>108</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>109</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>110</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>111</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>112</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>113</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>114</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>115</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>116</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>117</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>119</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>121</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>122</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>123</id> <edge_type>2</edge_type> <source_obj>39</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>124</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>32</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>125</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>32</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>126</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>127</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>128</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>33</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>129</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>33</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>130</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>131</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>132</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>34</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>133</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>34</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>135</id> <edge_type>1</edge_type> <source_obj>134</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>136</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>137</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_120"> <id>139</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>140</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_122"> <id>142</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>143</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>144</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>145</id> <edge_type>2</edge_type> <source_obj>101</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>146</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>147</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>148</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>149</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>150</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>151</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>152</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>153</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>45</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>154</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>45</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>156</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>157</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>158</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>46</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>159</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>46</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>161</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>162</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>163</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>47</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>164</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>47</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>165</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>167</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>168</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>170</id> <edge_type>1</edge_type> <source_obj>169</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>171</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>172</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>173</id> <edge_type>2</edge_type> <source_obj>81</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>174</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>175</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>176</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>177</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>178</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>179</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>180</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>182</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>183</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>184</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>185</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>186</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>187</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>188</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>189</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>190</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>191</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>192</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>193</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>194</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>195</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>196</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>197</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>198</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>199</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>200</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>203</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>205</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>207</id> <edge_type>1</edge_type> <source_obj>206</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>209</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>211</id> <edge_type>1</edge_type> <source_obj>210</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>213</id> <edge_type>1</edge_type> <source_obj>212</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>216</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>217</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>219</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>220</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>222</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>223</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>224</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>225</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>226</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>227</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>82</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>228</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>82</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>229</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>230</id> <edge_type>2</edge_type> <source_obj>81</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>231</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>83</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>232</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>83</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>233</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>234</id> <edge_type>2</edge_type> <source_obj>81</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>235</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>84</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>236</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>84</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>237</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>238</id> <edge_type>2</edge_type> <source_obj>81</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>239</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>240</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>241</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>243</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>244</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>245</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>246</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>247</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>248</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>249</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>250</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>251</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>252</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>253</id> <edge_type>2</edge_type> <source_obj>39</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>438</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>439</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>440</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>27</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>441</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>442</id> <edge_type>2</edge_type> <source_obj>39</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>443</id> <edge_type>2</edge_type> <source_obj>39</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>444</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>445</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>446</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>447</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>448</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>449</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>450</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>52</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>451</id> <edge_type>2</edge_type> <source_obj>81</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>452</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>453</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>454</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>86</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>455</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>39</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>456</id> <edge_type>4</edge_type> <source_obj>21</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>457</id> <edge_type>4</edge_type> <source_obj>21</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>458</id> <edge_type>4</edge_type> <source_obj>29</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>459</id> <edge_type>4</edge_type> <source_obj>29</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>460</id> <edge_type>4</edge_type> <source_obj>53</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_240"> <mId>1</mId> <mTag>AXIvideo2Mat</mTag> <mType>0</mType> <sub_regions> <count>5</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>11</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>790275</mMinLatency> <mMaxLatency>790275</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_241"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>16</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_242"> <mId>3</mId> <mTag>loop_wait_for_start</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>27</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>0</mMinTripCount> <mMaxTripCount>0</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_243"> <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>1</count> <item_version>0</item_version> <item>31</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_244"> <mId>5</mId> <mTag>loop_height</mTag> <mType>1</mType> <sub_regions> <count>5</count> <item_version>0</item_version> <item>6</item> <item>7</item> <item>8</item> <item>9</item> <item>10</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>768</mMinTripCount> <mMaxTripCount>768</mMaxTripCount> <mMinLatency>790272</mMinLatency> <mMaxLatency>790272</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_245"> <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>2</count> <item_version>0</item_version> <item>39</item> <item>43</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_246"> <mId>7</mId> <mTag>loop_width</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>52</item> <item>59</item> <item>64</item> <item>79</item> </basic_blocks> <mII>1</mII> <mDepth>2</mDepth> <mMinTripCount>1024</mMinTripCount> <mMaxTripCount>1024</mMaxTripCount> <mMinLatency>1024</mMinLatency> <mMaxLatency>1024</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_247"> <mId>8</mId> <mTag>Region 3</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>81</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_248"> <mId>9</mId> <mTag>loop_wait_for_eol</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>86</item> <item>96</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>0</mMinTripCount> <mMaxTripCount>0</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_249"> <mId>10</mId> <mTag>Region 4</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>99</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_250"> <mId>11</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>101</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_251"> <states class_id="25" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_252"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_253"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_254"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_255"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_256"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_257"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_258"> <id>2</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_259"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_260"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_261"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_262"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_263"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_264"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_265"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_266"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_267"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_268"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_269"> <id>3</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_270"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_271"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_272"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_273"> <id>4</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_274"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_275"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_276"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_277"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_278"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_279"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_280"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_281"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_282"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_283"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_284"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_285"> <id>5</id> <operations> <count>21</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_286"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_287"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_288"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_289"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_290"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_291"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_292"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_293"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_294"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_295"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_296"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_297"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_298"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_299"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_300"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_301"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_302"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_303"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_304"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_305"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_306"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_307"> <id>6</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_308"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_309"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_310"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_311"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_312"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_313"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_314"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_315"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_316"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_317"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_318"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_319"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_320"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_321"> <id>8</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_322"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_323"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_324"> <id>84</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_325"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_326"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_327"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_328"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_329"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_330"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_331"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_332"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_333"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_334"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_335"> <id>9</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_336"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_337"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_338"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>-1</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="_339"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_340"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</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>35</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_341"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_342"> <inState>9</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_343"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>23</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_344"> <inState>2</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>23</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_345"> <inState>6</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_346"> <inState>5</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>48</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_347"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>48</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_348"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>84</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_349"> <inState>8</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>84</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="_350"> <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>24</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>AXI_video_strm_V_data_V_0_load_A ( 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>1</second> </item> </second> </item> <item> <first>AXI_video_strm_V_data_V_0_load_B ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>AXI_video_strm_V_data_V_0_state_cmp_full ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</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>AXI_video_strm_V_last_V_0_load_A ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>AXI_video_strm_V_last_V_0_load_B ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>AXI_video_strm_V_last_V_0_state_cmp_full ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</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>AXI_video_strm_V_user_V_0_load_A ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>AXI_video_strm_V_user_V_0_load_B ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>AXI_video_strm_V_user_V_0_state_cmp_full ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_block_pp1_stage0_01001 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_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>1</second> </item> </second> </item> <item> <first>ap_block_state5_pp1_stage0_iter0 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_block_state6_pp1_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>1</second> </item> </second> </item> <item> <first>ap_block_state8 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_condition_559 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_condition_639 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_pp1 ( 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_pp1_iter1 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</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_predicate_op50_read_state5 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>brmerge_fu_352_p2 ( 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_325_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>10</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>5</second> </item> </second> </item> <item> <first>exitcond_fu_337_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>12</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>5</second> </item> </second> </item> <item> <first>i_V_fu_331_p2 ( + ) </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>10</second> </item> </second> </item> <item> <first>j_V_fu_343_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>0</second> </item> <item> <first>LUT</first> <second>11</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>31</count> <item_version>0</item_version> <item> <first>AXI_video_strm_V_data_V_0_data_out</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>48</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>AXI_video_strm_V_data_V_0_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>AXI_video_strm_V_dest_V_0_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>AXI_video_strm_V_last_V_0_data_out</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>3</second> </item> </second> </item> <item> <first>AXI_video_strm_V_last_V_0_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>AXI_video_strm_V_user_V_0_data_out</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>3</second> </item> </second> </item> <item> <first>AXI_video_strm_V_user_V_0_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <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>5</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>3</second> </item> </second> </item> <item> <first>ap_enable_reg_pp1_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>3</second> </item> </second> </item> <item> <first>ap_phi_mux_axi_data_V_1_phi_fu_216_p4</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>48</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>ap_phi_mux_eol_1_phi_fu_205_p4</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>3</second> </item> </second> </item> <item> <first>ap_phi_mux_eol_phi_fu_239_p4</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>3</second> </item> </second> </item> <item> <first>ap_phi_mux_p_Val2_s_phi_fu_264_p4</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>72</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>axi_data_V1_reg_181</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>48</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>axi_data_V_1_reg_213</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>48</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>axi_data_V_3_reg_284</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>48</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>axi_last_V1_reg_171</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>3</second> </item> </second> </item> <item> <first>axi_last_V_2_reg_247</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>3</second> </item> </second> </item> <item> <first>axi_last_V_3_reg_272</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>3</second> </item> </second> </item> <item> <first>eol_1_reg_202</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>3</second> </item> </second> </item> <item> <first>eol_2_reg_296</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>3</second> </item> </second> </item> <item> <first>eol_reg_235</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>3</second> </item> </second> </item> <item> <first>img_data_stream_0_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>3</second> </item> </second> </item> <item> <first>img_data_stream_1_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>3</second> </item> </second> </item> <item> <first>img_data_stream_2_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>3</second> </item> </second> </item> <item> <first>inStream_TDATA_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>3</second> </item> </second> </item> <item> <first>p_Val2_s_reg_260</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>24</second> </item> <item> <first>(2Count)</first> <second>72</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>real_start</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>3</second> </item> </second> </item> <item> <first>t_V_5_reg_224</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>3</second> </item> </second> </item> <item> <first>t_V_reg_191</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>10</second> </item> <item> <first>(2Count)</first> <second>20</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>41</count> <item_version>0</item_version> <item> <first>AXI_video_strm_V_data_V_0_payload_A</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>AXI_video_strm_V_data_V_0_payload_B</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>AXI_video_strm_V_data_V_0_sel_rd</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>AXI_video_strm_V_data_V_0_sel_wr</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>AXI_video_strm_V_data_V_0_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>AXI_video_strm_V_dest_V_0_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>AXI_video_strm_V_last_V_0_payload_A</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>AXI_video_strm_V_last_V_0_payload_B</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>AXI_video_strm_V_last_V_0_sel_rd</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>AXI_video_strm_V_last_V_0_sel_wr</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>AXI_video_strm_V_last_V_0_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>AXI_video_strm_V_user_V_0_payload_A</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>AXI_video_strm_V_user_V_0_payload_B</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>AXI_video_strm_V_user_V_0_sel_rd</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>AXI_video_strm_V_user_V_0_sel_wr</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>AXI_video_strm_V_user_V_0_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <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_enable_reg_pp1_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_pp1_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>axi_data_V1_reg_181</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>axi_data_V_1_reg_213</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>axi_data_V_3_reg_284</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>axi_last_V1_reg_171</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>axi_last_V_2_reg_247</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>axi_last_V_3_reg_272</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>eol_1_reg_202</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>eol_2_reg_296</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>eol_reg_235</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_reg_416</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_V_reg_411</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>10</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>10</second> </item> </second> </item> <item> <first>p_Val2_s_reg_260</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>sof_1_fu_128</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>start_once_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>t_V_5_reg_224</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>t_V_reg_191</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>10</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>10</second> </item> </second> </item> <item> <first>tmp_46_reg_434</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>tmp_47_reg_439</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>tmp_68_reg_429</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>tmp_data_V_reg_387</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>24</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>24</second> </item> </second> </item> <item> <first>tmp_last_V_reg_395</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>0</count> <item_version>0</item_version> </dp_dsp_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>brmerge_fu_352_p2 ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>exitcond1_fu_325_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>exitcond_fu_337_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>i_V_fu_331_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>j_V_fu_343_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>50</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>51</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>15</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>35</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>42</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>3</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="46" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>16</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>31</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>39</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>43</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>52</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>59</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>64</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>79</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>81</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>86</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>96</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>99</first> <second> <first>7</first> <second>7</second> </second> </item> <item> <first>101</first> <second> <first>3</first> <second>3</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="50" tracking_level="1" version="0" object_id="_351"> <region_name>loop_wait_for_start</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>27</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>1</pipe_depth> </item> <item class_id_reference="50" object_id="_352"> <region_name>loop_width</region_name> <basic_blocks> <count>4</count> <item_version>0</item_version> <item>52</item> <item>59</item> <item>64</item> <item>79</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="_353"> <region_name>hls_label_2</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>79</item> </basic_blocks> <nodes> <count>6</count> <item_version>0</item_version> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> </nodes> <anchor_node>70</anchor_node> <region_type>1</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> <item class_id_reference="50" object_id="_354"> <region_name>loop_wait_for_eol</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>86</item> <item>96</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>1</pipe_depth> </item> </regions> <dp_fu_nodes class_id="51" tracking_level="0" version="0"> <count>31</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>128</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>132</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> <item> <first>150</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>157</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>164</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>184</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>195</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>205</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>216</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>228</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>239</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>252</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>264</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>288</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>306</first> <second> <count>3</count> <item_version>0</item_version> <item>22</item> <item>61</item> <item>92</item> </second> </item> <item> <first>311</first> <second> <count>3</count> <item_version>0</item_version> <item>24</item> <item>62</item> <item>93</item> </second> </item> <item> <first>316</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>320</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>325</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>331</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>337</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>343</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>349</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>352</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>358</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>362</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>372</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>382</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="54" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>axi_data_V1_phi_fu_184</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>axi_data_V_1_phi_fu_216</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>axi_data_V_3_phi_fu_288</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>axi_last_V1_phi_fu_174</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>axi_last_V_2_phi_fu_252</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>axi_last_V_3_phi_fu_276</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>brmerge_fu_352</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>eol_1_phi_fu_205</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>eol_2_phi_fu_299</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>eol_phi_fu_239</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>exitcond1_fu_325</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>exitcond_fu_337</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>grp_fu_306</first> <second> <count>3</count> <item_version>0</item_version> <item>22</item> <item>61</item> <item>92</item> </second> </item> <item> <first>grp_fu_311</first> <second> <count>3</count> <item_version>0</item_version> <item>24</item> <item>62</item> <item>93</item> </second> </item> <item> <first>i_V_fu_331</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>j_V_fu_343</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>p_Val2_s_phi_fu_264</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>sof_1_fu_128</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>t_V_5_phi_fu_228</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>t_V_phi_fu_195</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_46_fu_362</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_47_fu_372</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>tmp_68_fu_358</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_user_V_fu_316</first> <second> <count>1</count> <item_version>0</item_version> <item>23</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_26_store_fu_320</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>StgValue_59_store_fu_382</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>StgValue_65_write_fu_150</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>StgValue_66_write_fu_157</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>StgValue_67_write_fu_164</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>grp_read_fu_132</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> <item> <first>sof_1_load_load_fu_349</first> <second> <count>1</count> <item_version>0</item_version> <item>53</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>25</count> <item_version>0</item_version> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>213</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>224</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>247</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>260</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>272</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>284</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>296</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>387</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>395</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>400</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>407</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>411</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>416</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>420</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>425</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>429</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>434</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>439</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>444</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>449</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>25</count> <item_version>0</item_version> <item> <first>axi_data_V1_reg_181</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>axi_data_V_1_reg_213</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>axi_data_V_3_reg_284</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>axi_last_V1_reg_171</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>axi_last_V_2_reg_247</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>axi_last_V_3_reg_272</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>brmerge_reg_425</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>eol_1_reg_202</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>eol_2_reg_296</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>eol_reg_235</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>exitcond1_reg_407</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>exitcond_reg_416</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>i_V_reg_411</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>j_V_reg_420</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>p_Val2_s_reg_260</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>sof_1_reg_400</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>t_V_5_reg_224</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>t_V_reg_191</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_46_reg_434</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_47_reg_439</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>tmp_68_reg_429</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_data_V_2_reg_444</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>tmp_data_V_reg_387</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_last_V_2_reg_449</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>tmp_last_V_reg_395</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>12</count> <item_version>0</item_version> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>213</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>224</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>247</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>260</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>272</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>284</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>296</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>12</count> <item_version>0</item_version> <item> <first>axi_data_V1_reg_181</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>axi_data_V_1_reg_213</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>axi_data_V_3_reg_284</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>axi_last_V1_reg_171</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>axi_last_V_2_reg_247</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>axi_last_V_3_reg_272</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>eol_1_reg_202</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>eol_2_reg_296</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>eol_reg_235</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>p_Val2_s_reg_260</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>t_V_5_reg_224</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>t_V_reg_191</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="57" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="58" tracking_level="0" version="0"> <first>AXI_video_strm_V_data_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>AXI_video_strm_V_dest_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>AXI_video_strm_V_id_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>AXI_video_strm_V_keep_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>AXI_video_strm_V_last_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>AXI_video_strm_V_strb_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>AXI_video_strm_V_user_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>3</count> <item_version>0</item_version> <item>21</item> <item>60</item> <item>91</item> </second> </item> </second> </item> <item> <first>img_data_stream_0_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>72</item> </second> </item> </second> </item> <item> <first>img_data_stream_1_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>73</item> </second> </item> </second> </item> <item> <first>img_data_stream_2_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>74</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="59" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>8</first> <second>FIFO</second> </item> <item> <first>9</first> <second>FIFO</second> </item> <item> <first>10</first> <second>FIFO</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . C H E C K E D _ P O O L S -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992,1993,1994,1995,1996 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Storage_Pools; package System.Checked_Pools is type Checked_Pool is abstract new System.Storage_Pools.Root_Storage_Pool with private; -- Equivalent of storage pools with the addition that Dereference is -- called on each implicit or explicit dereference of a pointer which -- has such a storage pool procedure Allocate (Pool : in out Checked_Pool; Storage_Address : out Address; Size_In_Storage_Elements : in System.Storage_Elements.Storage_Count; Alignment : in System.Storage_Elements.Storage_Count) is abstract; procedure Deallocate (Pool : in out Checked_Pool; Storage_Address : in Address; Size_In_Storage_Elements : in System.Storage_Elements.Storage_Count; Alignment : in System.Storage_Elements.Storage_Count) is abstract; function Storage_Size (Pool : Checked_Pool) return System.Storage_Elements.Storage_Count is abstract; procedure Dereference (Pool : in out Checked_Pool; Storage_Address : in Address; Size_In_Storage_Elements : in System.Storage_Elements.Storage_Count; Alignment : in System.Storage_Elements.Storage_Count) is abstract; -- Called each time a pointer to a checked pool is dereferenced private type Checked_Pool is abstract new System.Storage_Pools.Root_Storage_Pool with null record; end System.Checked_Pools;
----------------------------------------------------------------------- -- util-encoders-lzma -- LZMA compression and decompression -- Copyright (C) 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 Lzma.Check; with Lzma.Container; with Interfaces.C; package body Util.Encoders.Lzma is use type Interfaces.C.size_t; use type Ada.Streams.Stream_Element_Offset; use type Base.lzma_ret; subtype Offset is Ada.Streams.Stream_Element_Offset; -- ------------------------------ -- Compress the binary input stream represented by <b>Data</b> by using -- the LZMA compression into the output stream <b>Into</b>. -- -- If the transformer does not have enough room to write the result, -- it must return in <b>Encoded</b> the index of the last encoded -- position in the <b>Data</b> stream. -- -- The transformer returns in <b>Last</b> the last valid position -- in the output stream <b>Into</b>. -- -- The <b>Encoding_Error</b> exception is raised if the input -- stream cannot be transformed. -- ------------------------------ overriding procedure Transform (E : in out Compress; Data : in Ada.Streams.Stream_Element_Array; Into : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset; Encoded : out Ada.Streams.Stream_Element_Offset) is Result : Base.lzma_ret; begin E.Stream.next_out := Into (Into'First)'Unchecked_Access; E.Stream.avail_out := Into'Length; E.Stream.next_in := Data (Data'First)'Unrestricted_Access; E.Stream.avail_in := Interfaces.C.size_t (Data'Length); loop Result := Base.lzma_code (E.Stream'Unchecked_Access, Base.LZMA_RUN); -- Write the output data when the buffer is full or we reached the end of stream. if E.Stream.avail_out = 0 or E.Stream.avail_in = 0 or Result = Base.LZMA_STREAM_END then Last := Into'First + Into'Length - Offset (E.Stream.avail_out) - 1; Encoded := Data'First + Data'Length - Offset (E.Stream.avail_in); return; end if; exit when Result /= Base.LZMA_OK; end loop; Encoded := Into'First; end Transform; -- ------------------------------ -- Finish compression of the input array. -- ------------------------------ overriding procedure Finish (E : in out Compress; Into : in out Ada.Streams.Stream_Element_Array; Last : in out Ada.Streams.Stream_Element_Offset) is Result : Base.lzma_ret; pragma Unreferenced (Result); begin E.Stream.next_out := Into (Into'First)'Unchecked_Access; E.Stream.avail_out := Into'Length; E.Stream.next_in := null; E.Stream.avail_in := 0; Result := Base.lzma_code (E.Stream'Unchecked_Access, Base.LZMA_FINISH); Last := Into'First + Into'Length - Offset (E.Stream.avail_out) - 1; end Finish; overriding procedure Initialize (E : in out Compress) is Result : Base.lzma_ret; pragma Unreferenced (Result); begin Result := Container.lzma_easy_encoder (E.Stream'Unchecked_Access, 6, Check.LZMA_CHECK_CRC64); end Initialize; overriding procedure Finalize (E : in out Compress) is begin Base.lzma_end (E.Stream'Unchecked_Access); end Finalize; end Util.Encoders.Lzma;
with Ada.Text_IO; procedure HelloWorld is begin Ada.Text_IO.Put_Line("Hello, world!"); end HelloWorld;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Real_Range_Specifications; with Program.Elements.Ordinary_Fixed_Point_Types; with Program.Element_Visitors; package Program.Nodes.Ordinary_Fixed_Point_Types is pragma Preelaborate; type Ordinary_Fixed_Point_Type is new Program.Nodes.Node and Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type and Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Text with private; function Create (Delta_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Delta_Expression : not null Program.Elements.Expressions .Expression_Access; Real_Range : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access) return Ordinary_Fixed_Point_Type; type Implicit_Ordinary_Fixed_Point_Type is new Program.Nodes.Node and Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type with private; function Create (Delta_Expression : not null Program.Elements.Expressions .Expression_Access; Real_Range : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Ordinary_Fixed_Point_Type with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Ordinary_Fixed_Point_Type is abstract new Program.Nodes.Node and Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type with record Delta_Expression : not null Program.Elements.Expressions .Expression_Access; Real_Range : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access; end record; procedure Initialize (Self : in out Base_Ordinary_Fixed_Point_Type'Class); overriding procedure Visit (Self : not null access Base_Ordinary_Fixed_Point_Type; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Delta_Expression (Self : Base_Ordinary_Fixed_Point_Type) return not null Program.Elements.Expressions.Expression_Access; overriding function Real_Range (Self : Base_Ordinary_Fixed_Point_Type) return not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access; overriding function Is_Ordinary_Fixed_Point_Type (Self : Base_Ordinary_Fixed_Point_Type) return Boolean; overriding function Is_Type_Definition (Self : Base_Ordinary_Fixed_Point_Type) return Boolean; overriding function Is_Definition (Self : Base_Ordinary_Fixed_Point_Type) return Boolean; type Ordinary_Fixed_Point_Type is new Base_Ordinary_Fixed_Point_Type and Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Text with record Delta_Token : not null Program.Lexical_Elements.Lexical_Element_Access; end record; overriding function To_Ordinary_Fixed_Point_Type_Text (Self : in out Ordinary_Fixed_Point_Type) return Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Text_Access; overriding function Delta_Token (Self : Ordinary_Fixed_Point_Type) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Ordinary_Fixed_Point_Type is new Base_Ordinary_Fixed_Point_Type with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Ordinary_Fixed_Point_Type_Text (Self : in out Implicit_Ordinary_Fixed_Point_Type) return Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Ordinary_Fixed_Point_Type) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Ordinary_Fixed_Point_Type) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Ordinary_Fixed_Point_Type) return Boolean; end Program.Nodes.Ordinary_Fixed_Point_Types;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package Matreshka.Internals.Unicode.Characters is pragma Pure; end Matreshka.Internals.Unicode.Characters;
----------------------------------------------------------------------- -- util-http-clients-curl-tests -- HTTP unit tests for AWS implementation -- Copyright (C) 2012, 2019 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.Http.Clients.AWS; with Util.Http.Clients.Tests; package Util.Http.Clients.AWS.Tests is new Util.Http.Clients.Tests.Http_Tests (Util.Http.Clients.AWS.Register, "aws");
with Ada.Numerics.Discrete_Random; package body Alea is subtype Intervalle is Integer range Lower_Bound..Upper_Bound; package Generateur_P is new Ada.Numerics.Discrete_Random (Intervalle); use Generateur_P; Generateur : Generateur_P.Generator; procedure Get_Random_Number (Resultat : out Integer) is begin Resultat := Random (Generateur); end Get_Random_Number; begin Reset(Generateur); end Alea;
-- This file is generated by SWIG. Please do *not* modify by hand. -- with swig; with interfaces.C; package speech_tools_c is -- EST_Wave -- subtype EST_Wave is swig.incomplete_class; type EST_Wave_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Wave; -- EST_String -- subtype EST_String is swig.incomplete_class; type EST_String_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_String; -- EST_Item_featfunc -- subtype EST_Item_featfunc is swig.incomplete_class; type EST_Item_featfunc_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Item_featfunc; -- EST_Item -- subtype EST_Item is swig.incomplete_class; type EST_Item_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Item; -- EST_Val -- subtype EST_Val is swig.incomplete_class; type EST_Val_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Val; -- LISP -- subtype LISP is swig.incomplete_class; type LISP_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.LISP; -- EST_Ngrammar -- subtype EST_Ngrammar is swig.incomplete_class; type EST_Ngrammar_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Ngrammar; -- EST_WFST -- subtype EST_WFST is swig.incomplete_class; type EST_WFST_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_WFST; -- EST_Utterance -- subtype EST_Utterance is swig.incomplete_class; type EST_Utterance_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Utterance; -- UnitDatabase -- subtype UnitDatabase is swig.incomplete_class; type UnitDatabase_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.UnitDatabase; end speech_tools_c;
------------------------------------------------------------------------------ -- -- -- 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.DG.Canvases; with AMF.DG.Circles; with AMF.DG.Clip_Paths; with AMF.DG.Ellipses; with AMF.DG.Groups; with AMF.DG.Images; with AMF.DG.Linear_Gradients; with AMF.DG.Lines; with AMF.DG.Marked_Elements; with AMF.DG.Markers; with AMF.DG.Paths; with AMF.DG.Patterns; with AMF.DG.Polygons; with AMF.DG.Polylines; with AMF.DG.Radial_Gradients; with AMF.DG.Rectangles; with AMF.DG.Styles; with AMF.DG.Texts; package AMF.Visitors.DG_Iterators is pragma Preelaborate; type DG_Iterator is limited interface and AMF.Visitors.Abstract_Iterator; not overriding procedure Visit_Canvas (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Canvases.DG_Canvas_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Circle (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Circles.DG_Circle_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Clip_Path (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Clip_Paths.DG_Clip_Path_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Ellipse (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Ellipses.DG_Ellipse_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Group (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Groups.DG_Group_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Image (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Images.DG_Image_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Line (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Lines.DG_Line_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Linear_Gradient (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Linear_Gradients.DG_Linear_Gradient_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Marked_Element (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Marked_Elements.DG_Marked_Element_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Marker (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Markers.DG_Marker_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Path (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Paths.DG_Path_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Pattern (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Patterns.DG_Pattern_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Polygon (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Polygons.DG_Polygon_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Polyline (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Polylines.DG_Polyline_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Radial_Gradient (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Radial_Gradients.DG_Radial_Gradient_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Rectangle (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Rectangles.DG_Rectangle_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Style (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Styles.DG_Style_Access; Control : in out AMF.Visitors.Traverse_Control) is null; not overriding procedure Visit_Text (Self : in out DG_Iterator; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Element : not null AMF.DG.Texts.DG_Text_Access; Control : in out AMF.Visitors.Traverse_Control) is null; end AMF.Visitors.DG_Iterators;
-- Copyright 2011-2014 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 body Dn is procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Dn;
with Interfaces; package body Fmt.Generic_Decimal_Fixed_Point_Argument is subtype uint64_t is Interfaces.Unsigned_64; Scale : constant Long_Long_Integer := 10 ** Fixed_Point_Type'Scale; To_Char : constant array(uint64_t range 0..9) of Character := "0123456789"; function To_Long_Long_Integer (X : Fixed_Point_Type) return Long_Long_Integer is use Interfaces; begin case Fixed_Point_Type'Size is when 0 .. 8 => declare i : Integer_8 with Address => X'Address; begin return Long_Long_Integer(i); end; when 9 .. 16 => declare i : Integer_16 with Address => X'Address; begin return Long_Long_Integer(i); end; when 17 .. 32 => declare i : Integer_32 with Address => X'Address; begin return Long_Long_Integer(i); end; when others => declare i : Integer_64 with Address => X'Address; begin return Long_Long_Integer(i); end; end case; end To_Long_Long_Integer; function To_Argument (X : Fixed_Point_Type) return Argument_Type'Class is begin return Fixed_Point_Argument_Type'(Value => X, others => <>); end To_Argument; function "&" (Args : Arguments; X : Fixed_Point_Type) return Arguments is begin return Args & To_Argument(X); end "&"; overriding procedure Parse (Self : in out Fixed_Point_Argument_Type; Edit : String) is procedure Conf (K, V : String) is begin if K'Length /= 1 or else V'Length = 0 then return; end if; case K(K'First) is when 'a' => if Is_Decimal_Number(V) then Self.Aft := Natural'Value(V); end if; when 'w' => if Is_Decimal_Number(V) then Self.Width := Natural'Value(V); end if; when others => null; end case; end Conf; begin Parse_KV_Edit(Edit, Conf'Access); end Parse; overriding function Get_Length (Self : in out Fixed_Point_Argument_Type) return Natural is use Interfaces; begin if Self.Width /= 0 then return Self.Width; else declare X : constant Long_Long_Integer := To_Long_Long_Integer(Self.Value); Y : Unsigned_64 := Safe_Abs(X); L : Natural := 1 + Self.Aft; begin for I in 1 .. Self.Aft loop exit when Y = 0; Y := Y / 10; end loop; for I in 1 .. Self.Fore loop Y := Y / 10; L := L + 1; exit when Y = 0; end loop; if X < 0 then L := L + 1; end if; return L; end; end if; end Get_Length; overriding procedure Put ( Self : in out Fixed_Point_Argument_Type; Edit : String; To : in out String) is use Interfaces; T : constant Natural := To'Last + 1; H : constant Natural := To'First; X : constant Long_Long_Integer := To_Long_Long_Integer(Self.Value); Y : Unsigned_64 := Safe_Abs(X); L : Natural := To'Last; A : Natural; begin -- output aft -- if user defined aft > real aft, padding with 0 if Self.Aft > Fixed_Point_Type'Aft then -- padding exceed aft with '0' for I in Fixed_Point_Type'Aft + 1 .. Self.AFt loop To(L) := '0'; L := L - 1; if L < H then return; end if; end loop; A := Fixed_Point_Type'Aft; else -- skip invisiable digits for I in Self.Aft + 1 .. Fixed_Point_Type'Aft loop Y := Y / 10; end loop; A := Self.Aft; end if; for I in 1 .. A loop To(L) := To_Char(Y mod 10); Y := Y / 10; L := L - 1; if L < H then return; end if; exit when Y = 0; end loop; -- output decimal point To(L) := '.'; L := L - 1; if L < H then return; end if; -- output fore for I in Natural range 1 .. Self.Fore loop To(L) := To_Char(Y mod 10); Y := Y / 10; L := L - 1; if L < H then return; end if; exit when Y = 0; end loop; -- output sign if L < H then return; end if; if X < 0 then To(L) := '-'; L := L - 1; end if; if L >= To'First then To(To'First .. L) := (others => Self.Fill); end if; end Put; end Fmt.Generic_Decimal_Fixed_Point_Argument;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, 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 stm32f469i_discovery_audio.c -- -- @author MCD Application Team -- ------------------------------------------------------------------------------ with Ada.Real_Time; use Ada.Real_Time; with HAL; use HAL; with STM32; use STM32; with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with STM32.GPIO; use STM32.GPIO; with STM32.DMA; use STM32.DMA; with STM32.SAI; use STM32.SAI; with STM32.Setup; package body Audio is SAI1_MCLK_A : GPIO_Point renames PG7; SAI1_SCK_A : GPIO_Point renames PE5; SAI1_SD_A : GPIO_Point renames PE6; SAI1_FS_A : GPIO_Point renames PE4; SAI_Pins : constant GPIO_Points := (SAI1_MCLK_A, SAI1_SCK_A, SAI1_SD_A, SAI1_FS_A); SAI_Pins_AF : GPIO_Alternate_Function renames GPIO_AF_SAI1_6; Audio_Reset_Pin : GPIO_Point renames PE2; -- SAI in/out conf SAI_Out_Block : SAI_Block renames Block_A; procedure Set_Audio_Clock (Freq : Audio_Frequency); procedure Initialize_Audio_Out_Pins; procedure Initialize_SAI_Out (Freq : Audio_Frequency); procedure Initialize_Audio_I2C; procedure Reset (This : in out CS43L22_Audio_Device); --------------------- -- Set_Audio_Clock -- --------------------- procedure Set_Audio_Clock (Freq : Audio_Frequency) is begin -- Two groups of frequencies: the 44kHz family and the 48kHz family -- The Actual audio frequency is calculated then with the following -- formula: -- Master_Clock = 256 * FS = SAI_CK / Master_Clock_Divider -- We need to find a value of SAI_CK that allows such integer master -- clock divider case Freq is when Audio_Freq_11kHz | Audio_Freq_22kHz | Audio_Freq_32kHz | Audio_Freq_44kHz => -- HSE/PLLM = 1MHz = PLLI2S VCO Input Configure_SAI_I2S_Clock (Audio_SAI, PLLI2SN => 429, -- VCO Output = 429MHz PLLI2SQ => 2, -- SAI Clk(First level) = 214.5 MHz PLLI2SDIVQ => 19); -- I2S Clk = 215.4 / 19 = 11.289 MHz when Audio_Freq_8kHz | Audio_Freq_16kHz | Audio_Freq_48kHz | Audio_Freq_96kHz => Configure_SAI_I2S_Clock (Audio_SAI, PLLI2SN => 344, -- VCO Output = 344MHz PLLI2SQ => 7, -- SAI Clk(First level) = 49.142 MHz PLLI2SDIVQ => 1); -- I2S Clk = 49.142 MHz end case; end Set_Audio_Clock; ------------------------------- -- Initialize_Audio_Out_Pins -- ------------------------------- procedure Initialize_Audio_Out_Pins is begin Enable_Clock (Audio_Reset_Pin); Configure_IO (Audio_Reset_Pin, (Mode => Mode_Out, Output_Type => Push_Pull, Speed => Speed_High, Resistors => Floating)); Set (Audio_Reset_Pin); Enable_Clock (Audio_SAI); Enable_Clock (SAI_Pins); Configure_IO (SAI_Pins, (Mode => Mode_AF, AF => SAI_Pins_AF, AF_Output_Type => Push_Pull, AF_Speed => Speed_High, Resistors => Floating)); Enable_Clock (Audio_DMA); -- Configure the DMA channel to the SAI peripheral Disable (Audio_DMA, Audio_DMA_Out_Stream); Configure (Audio_DMA, Audio_DMA_Out_Stream, (Channel => Audio_DMA_Out_Channel, Direction => Memory_To_Peripheral, Increment_Peripheral_Address => False, Increment_Memory_Address => True, Peripheral_Data_Format => HalfWords, Memory_Data_Format => HalfWords, Operation_Mode => Circular_Mode, Priority => Priority_High, FIFO_Enabled => True, FIFO_Threshold => FIFO_Threshold_Full_Configuration, Memory_Burst_Size => Memory_Burst_Single, Peripheral_Burst_Size => Peripheral_Burst_Single)); Clear_All_Status (Audio_DMA, Audio_DMA_Out_Stream); end Initialize_Audio_Out_Pins; ------------------------ -- Initialize_SAI_Out -- ------------------------ procedure Initialize_SAI_Out (Freq : Audio_Frequency) is begin STM32.SAI.Disable (Audio_SAI, SAI_Out_Block); STM32.SAI.Configure_Audio_Block (Audio_SAI, SAI_Out_Block, Frequency => Audio_Frequency'Enum_Rep (Freq), Stereo_Mode => Stereo, Mode => Master_Transmitter, MCD_Enabled => True, Protocol => Free_Protocol, Data_Size => Data_16b, Endianness => Data_MSB_First, Clock_Strobing => Clock_Strobing_Falling_Edge, Synchronization => Asynchronous_Mode, Output_Drive => Drive_Immediate, FIFO_Threshold => FIFO_1_Quarter_Full); STM32.SAI.Configure_Block_Frame (Audio_SAI, SAI_Out_Block, Frame_Length => 64, Frame_Active => 32, Frame_Sync => FS_Frame_And_Channel_Identification, FS_Polarity => FS_Active_Low, FS_Offset => Before_First_Bit); STM32.SAI.Configure_Block_Slot (Audio_SAI, SAI_Out_Block, First_Bit_Offset => 0, Slot_Size => Data_Size, Number_Of_Slots => 4, Enabled_Slots => Slot_0 or Slot_2); STM32.SAI.Enable (Audio_SAI, SAI_Out_Block); end Initialize_SAI_Out; -------------------------- -- Initialize_Audio_I2C -- -------------------------- procedure Initialize_Audio_I2C is begin Initialize_I2C_GPIO (Audio_I2C); STM32.Setup.Setup_I2C_Master (Port => Audio_I2C, SDA => Audio_I2C_SDA, SCL => Audio_I2C_SCL, SDA_AF => Audio_I2C_AF, SCL_AF => Audio_I2C_AF, Clock_Speed => 100_000); end Initialize_Audio_I2C; ---------------- -- Initialize -- ---------------- procedure Initialize_Audio_Out (This : in out CS43L22_Audio_Device; Volume : Audio_Volume; Frequency : Audio_Frequency) is begin STM32.SAI.Deinitialize (Audio_SAI, SAI_Out_Block); Set_Audio_Clock (Frequency); -- Initialize the SAI Initialize_Audio_Out_Pins; Initialize_SAI_Out (Frequency); -- Initialize the I2C Port to send commands to the driver Initialize_Audio_I2C; if This.Device.Read_ID /= CS43L22.CS43L22_ID then raise Constraint_Error with "Invalid ID received from the Audio Code"; end if; This.Reset; This.Device.Init (Output => CS43L22.Auto, Volume => UInt8 (Volume), Frequency => HAL.Audio.Audio_Frequency'Enum_Val (Audio_Frequency'Enum_Rep (Frequency))); end Initialize_Audio_Out; ----------- -- Reset -- ----------- procedure Reset (This : in out CS43L22_Audio_Device) is pragma Unreferenced (This); begin Clear (Audio_Reset_Pin); delay until Clock + Milliseconds (5); Set (Audio_Reset_Pin); delay until Clock + Milliseconds (5); end Reset; ---------- -- Play -- ---------- procedure Play (This : in out CS43L22_Audio_Device; Buffer : Audio_Buffer) is begin This.Device.Play; Start_Transfer_with_Interrupts (This => Audio_DMA, Stream => Audio_DMA_Out_Stream, Source => Buffer (Buffer'First)'Address, Destination => Audio_SAI.ADR'Address, Data_Count => Buffer'Length, Enabled_Interrupts => (Half_Transfer_Complete_Interrupt => True, Transfer_Complete_Interrupt => True, others => False)); Enable (Audio_SAI, SAI_Out_Block); Enable_DMA (Audio_SAI, SAI_Out_Block); end Play; ----------- -- Pause -- ----------- procedure Pause (This : in out CS43L22_Audio_Device) is begin This.Device.Pause; DMA_Pause (Audio_SAI, SAI_Out_Block); end Pause; ------------ -- Resume -- ------------ procedure Resume (This : in out CS43L22_Audio_Device) is begin This.Device.Resume; DMA_Resume (Audio_SAI, SAI_Out_Block); end Resume; ---------- -- Stop -- ---------- procedure Stop (This : in out CS43L22_Audio_Device) is begin This.Device.Stop; DMA_Stop (Audio_SAI, SAI_Out_Block); STM32.DMA.Disable (Audio_DMA, Audio_DMA_Out_Stream); STM32.DMA.Clear_All_Status (Audio_DMA, Audio_DMA_Out_Stream); end Stop; ---------------- -- Set_Volume -- ---------------- procedure Set_Volume (This : in out CS43L22_Audio_Device; Volume : Audio_Volume) is begin This.Device.Set_Volume (UInt8 (Volume)); end Set_Volume; ------------------- -- Set_Frequency -- ------------------- procedure Set_Frequency (This : in out CS43L22_Audio_Device; Frequency : Audio_Frequency) is pragma Unreferenced (This); begin Set_Audio_Clock (Frequency); STM32.SAI.Disable (Audio_SAI, SAI_Out_Block); Initialize_SAI_Out (Frequency); STM32.SAI.Enable (Audio_SAI, SAI_Out_Block); end Set_Frequency; end Audio;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- SYSTEM.PUT_IMAGES -- -- -- -- S p e c -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Text_Output; with System.Unsigned_Types; package System.Put_Images with Pure is -- This package contains subprograms that are called by the generated code -- for the 'Put_Image attribute. -- -- For an integer type that fits in Integer, the actual parameter is -- converted to Integer, and Put_Image_Integer is called. For larger types, -- Put_Image_Long_Long_Integer is used. Other numeric types are treated -- similarly. Access values are unchecked-converted to either Thin_Pointer -- or Fat_Pointer, and Put_Image_Thin_Pointer or Put_Image_Fat_Pointer is -- called. The Before/Between/After procedures are called before printing -- the components of a composite type, between pairs of components, and -- after them. See Exp_Put_Image in the compiler for details of these -- calls. pragma Preelaborate; subtype Sink is Ada.Strings.Text_Output.Sink; procedure Put_Image_Integer (S : in out Sink'Class; X : Integer); procedure Put_Image_Long_Long_Integer (S : in out Sink'Class; X : Long_Long_Integer); subtype Unsigned is System.Unsigned_Types.Unsigned; subtype Long_Long_Unsigned is System.Unsigned_Types.Long_Long_Unsigned; procedure Put_Image_Unsigned (S : in out Sink'Class; X : Unsigned); procedure Put_Image_Long_Long_Unsigned (S : in out Sink'Class; X : Long_Long_Unsigned); type Byte is new Character with Alignment => 1; type Byte_String is array (Positive range <>) of Byte with Alignment => 1; type Thin_Pointer is access all Byte with Storage_Size => 0; type Fat_Pointer is access all Byte_String with Storage_Size => 0; procedure Put_Image_Thin_Pointer (S : in out Sink'Class; X : Thin_Pointer); procedure Put_Image_Fat_Pointer (S : in out Sink'Class; X : Fat_Pointer); -- Print "null", or the address of the designated object as an unsigned -- hexadecimal integer. procedure Put_Image_Access_Subp (S : in out Sink'Class; X : Thin_Pointer); -- For access-to-subprogram types procedure Put_Image_Access_Prot_Subp (S : in out Sink'Class; X : Thin_Pointer); -- For access-to-protected-subprogram types procedure Put_Image_String (S : in out Sink'Class; X : String); procedure Put_Image_Wide_String (S : in out Sink'Class; X : Wide_String); procedure Put_Image_Wide_Wide_String (S : in out Sink'Class; X : Wide_Wide_String); procedure Array_Before (S : in out Sink'Class); procedure Array_Between (S : in out Sink'Class); procedure Array_After (S : in out Sink'Class); procedure Simple_Array_Between (S : in out Sink'Class); -- For "simple" arrays, where we don't want a newline between every -- component. procedure Record_Before (S : in out Sink'Class); procedure Record_Between (S : in out Sink'Class); procedure Record_After (S : in out Sink'Class); procedure Put_Arrow (S : in out Sink'Class); procedure Put_Image_Unknown (S : in out Sink'Class; Type_Name : String); -- For Put_Image of types that don't have the attribute, such as type -- Sink. end System.Put_Images;
-- package pc_2_coeff_20 -- -- Predictor_Rule : Integration_Rule renames Predictor_32_20; -- -- Corrector_Rule : Integration_Rule renames Corrector_33_20; -- -- Final_Step_Corrector : Real renames Final_Step_Corrector_33_20; generic type Real is digits <>; package pc_2_coeff_20 is subtype PC_Rule_Range is Integer range 0..31; type Integration_Rule is array(PC_Rule_Range) of Real; Starting_Id_of_First_Deriv_of_Y : constant PC_Rule_Range := 15; -- Center_Integration Rule, applied to (d/dt)**2 Y, takes a dY/dt here, and -- Integrates it one indice forward. Extrap_Factor: constant Real := 1.0 / 18.4; --using 20 order center integr. Corrector_33_20 : constant Integration_Rule := ( -8.55174773365542810125247903441564880E-4, 1.08799020509215653999792415002138806E-2, -5.98807243948632167226495496188008202E-2, 1.81488244958372219606123531287673514E-1, -3.09797512122888357321010504493372402E-1, 2.34403050273857971510590645531000542E-1, 9.79330522148025227287594602166299163E-2, -2.77633074988893655940917386903055705E-1, -1.68140788180143672682016210371683483E-2, 2.74388089831285514600129857755410670E-1, 2.42092847609618613267021265005431658E-2, -2.66016510267988522967136454952130358E-1, -7.82198779500683939243870921110280431E-2, 2.30528604881633225444771511001426156E-1, 1.32752900227021806218154527276514406E-1, -1.08633881162194363314746581547842899E-1, 1.88212765588327200749334042985019967E-1, 9.95407129402333404744846988537650387E-1, 1.45715395435233336079808363815157167E+0, 1.08867569153654151597403791053467495E+0, 5.68803773336973771436036563831289386E-1, 7.90282029197709581840721356274557683E-1, 1.41312770198894658653930470398104117E+0, 1.30251010240006755023323114993325085E+0, 5.60116554132292653591867459376320719E-1, 6.69718155148611411378976413930281279E-1, 1.59160406112984439522301118168937892E+0, 1.14338340854186182605157194557314430E+0, 1.28871618852683062320854062951279782E-1, 1.89739203673310992720763368551517101E+0, 4.93612805842445046458910141101008804E-1, 1.08617699811391691117663539822936064E+0 ); Final_Step_Corrector_33_20 : constant Real := 5.62189189814215277089068949024263372E-2; Predictor_31_20 : constant Integration_Rule := ( 0.0, 3.71108727678097765120276726234553336E-2, -5.06038283780681331759837219918580977E-1, 3.03190033247460216356241305150918101E+0, -1.02624653725186416859975775449901825E+1, 2.06141703499560139778153446612572425E+1, -2.19764888153009101002691735643159697E+1, 3.13103774290675475015870359794024959E+0, 1.93912629451531651643560470483880988E+1, -1.20519587833962811897580363143414478E+1, -1.62152600610790555528930054173145064E+1, 1.44034717082396648519595462951296246E+1, 1.62644082542022744526141395569760920E+1, -1.39480178119209560443676610096029311E+1, -1.85973168657304870015791067712523361E+1, 1.16857820996661055425682810828858984E+1, 2.22125383601620792778873230835801331E+1, -7.09700161239051889272953492931020167E+0, -2.37739076860647447532838799110126126E+1, 5.25733965636968199667570737237860034E+0, 2.87371707883292842124818226417648031E+1, -1.10196084133390662939033673460655251E+0, -3.01058675313311579880796252087668176E+1, 5.85282658159192545881160005723940358E+0, 3.59569294918921372966362335168302678E+1, -1.84771402800733597472621108139022118E+1, -2.90750967868685422705864101221125547E+1, 5.52922950325299794199805546971515784E+1, -4.06384245478824130835629088322035513E+1, 2.00982837254447949145367808103200651E+1, -4.52219057730644796527546378915980965E+0, 1.88260791529183098023814303683557297E+0 ); Center_Integration_32_20 : constant Integration_Rule := ( 3.15713968194170133919540213875143917E-5, -4.68054008955732353100985646310188096E-4, 3.07872579249862231519513009405313968E-3, -1.15997994611621236175002511977323250E-2, 2.65427741706869908147987953876501056E-2, -3.41143206815192906544786599038747983E-2, 1.20645063820463013734131783866792169E-2, 2.94493218168506239920090546327231263E-2, -3.18445717486473259824967360646315308E-2, -2.50397085225343097687547550717275702E-2, 4.76987615793932385807965774292440943E-2, 3.07886851486023175023595502260427314E-2, -7.38315319596948536351414208989101596E-2, -6.07773034846435767063660851642605318E-2, 1.69131632098663497836012986946412281E-1, 4.18889311481596203289861666823254893E-1, 4.18889311481596203289861666823254893E-1, 1.69131632098663497836012986946412281E-1, -6.07773034846435767063660851642605318E-2, -7.38315319596948536351414208989101596E-2, 3.07886851486023175023595502260427314E-2, 4.76987615793932385807965774292440943E-2, -2.50397085225343097687547550717275702E-2, -3.18445717486473259824967360646315308E-2, 2.94493218168506239920090546327231263E-2, 1.20645063820463013734131783866792169E-2, -3.41143206815192906544786599038747983E-2, 2.65427741706869908147987953876501056E-2, -1.15997994611621236175002511977323250E-2, 3.07872579249862231519513009405313968E-3, -4.68054008955732353100985646310188096E-4, 3.15713968194170133919540213875143917E-5 ); Center_Integration_32_22 : constant Integration_Rule := ( -5.48186298516234652810704051430422655E-6, 9.83867415088779031208187158666710319E-5, -8.07566491514156651234056438130100106E-4, 3.97340757417976466081704231342063697E-3, -1.28356892096129410337836800376618841E-2, 2.76864991077874453604989378001785406E-2, -3.73245825355348862199480292460505598E-2, 2.12653218023217359291463822190892211E-2, 2.13745306335366393296921989209611924E-2, -4.56656788294881115637614729100805322E-2, 3.89437307673685355200946981995831816E-3, 6.22684247056539251232690828593738376E-2, -3.61385003611128933128201417801336908E-2, -9.55657510587708441101932722470146491E-2, 1.33596784912141525960540060966517392E-1, 4.54185521795152227419174766084219910E-1, 4.54185521795152227419174766084219910E-1, 1.33596784912141525960540060966517392E-1, -9.55657510587708441101932722470146491E-2, -3.61385003611128933128201417801336908E-2, 6.22684247056539251232690828593738376E-2, 3.89437307673685355200946981995831816E-3, -4.56656788294881115637614729100805322E-2, 2.13745306335366393296921989209611924E-2, 2.12653218023217359291463822190892211E-2, -3.73245825355348862199480292460505598E-2, 2.76864991077874453604989378001785406E-2, -1.28356892096129410337836800376618841E-2, 3.97340757417976466081704231342063697E-3, -8.07566491514156651234056438130100106E-4, 9.83867415088779031208187158666710319E-5, -5.48186298516234652810704051430422655E-6 ); Center_to_End_Integration_32_20 : constant Integration_Rule := ( -2.86386061369796720288602153765466086E-3, 3.77465669564208701988194199064386183E-2, -2.16918716521626019186490223558167110E-1, 6.95426774390568532091465095269529112E-1, -1.29019469338161323733227504692181277E+0, 1.17298162653774707488654908953634099E+0, 1.37888543617482416082540041836111787E-1, -1.23211215373380283866528411256821590E+0, 3.14045424246911795127273180916596717E-1, 1.17432311655916972040956457499680797E+0, -3.64763399153107025837257593340386960E-1, -1.21280637011119196098904355440304660E+0, 1.82342156243146214443817819223431585E-1, 1.26500802055743604130463842953293533E+0, 2.04988866876595023257807452491015192E-1, -8.92041637190838025750940136713437543E-1, 3.67258034718844737504853759591653078E-1, 2.41065548250948746044603686271139350E+0, 2.01624831177845769971589032829444510E+0, -2.17574984937012348001512229695676207E-1, -3.84187387520669853052532264096051345E-1, 2.08730620069194768113347525743331340E+0, 2.67001607108536140451921505467397790E+0, -2.23523291208105397640505219542850802E-1, -8.00131026645121829127853190651542875E-1, 3.00262104565864983476416014660867486E+0, 2.15056777830019161263448757485324027E+0, -2.61092517941099763297880878634545940E+0, 4.40625889845489387749214282954584149E+0, -9.31878416636917660438034239401347078E-1, 1.82120219150496018217931474409591347E+0, 2.63036006376429618011370957257988852E-1 ); Center_to_End_Integration : Integration_Rule renames Center_to_End_Integration_32_20; Predictor_Rule : Integration_Rule renames Predictor_31_20; Corrector_Rule : Integration_Rule renames Corrector_33_20; Center_Integration : Integration_Rule renames Center_Integration_32_20; Final_Step_Corrector : Real renames Final_Step_Corrector_33_20; end pc_2_coeff_20;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_destroy_pbuffer_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; pbuffer : aliased xcb.xcb_glx_pbuffer_t; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_destroy_pbuffer_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_destroy_pbuffer_request_t.Item, Element_Array => xcb.xcb_glx_destroy_pbuffer_request_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_destroy_pbuffer_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_destroy_pbuffer_request_t.Pointer, Element_Array => xcb.xcb_glx_destroy_pbuffer_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_destroy_pbuffer_request_t;
package body procedure_body_stub is procedure Inner is separate; end procedure_body_stub;