CombinedText stringlengths 4 3.42M |
|---|
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
private package Ada_Pretty.Clauses is
type Aspect is new Node with private;
function New_Aspect
(Name : not null Node_Access;
Value : Node_Access) return Node'Class;
type Pragma_Node is new Node with private;
function New_Pragma
(Name : not null Node_Access;
Arguments : Node_Access) return Node'Class;
type With_Clause is new Node with private;
function New_With
(Name : not null Node_Access;
Is_Limited : Boolean;
Is_Private : Boolean) return Node'Class;
type Use_Clause is new Node with private;
function New_Use
(Name : not null Node_Access;
Use_Type : Boolean) return Node'Class;
private
type Aspect is new Node with record
Name : not null Node_Access;
Value : Node_Access;
end record;
overriding function Document
(Self : Aspect;
Printer : not null access League.Pretty_Printers.Printer'Class;
Pad : Natural)
return League.Pretty_Printers.Document;
overriding function Join
(Self : Aspect;
List : Node_Access_Array;
Pad : Natural;
Printer : not null access League.Pretty_Printers.Printer'Class)
return League.Pretty_Printers.Document;
overriding function Max_Pad (Self : Aspect) return Natural is
(Self.Name.Max_Pad);
type Pragma_Node is new Declaration with record
Name : not null Node_Access;
Arguments : Node_Access;
end record;
overriding function Document
(Self : Pragma_Node;
Printer : not null access League.Pretty_Printers.Printer'Class;
Pad : Natural)
return League.Pretty_Printers.Document;
type With_Clause is new Node with record
Name : not null Node_Access;
Is_Limited : Boolean;
Is_Private : Boolean;
end record;
overriding function Document
(Self : With_Clause;
Printer : not null access League.Pretty_Printers.Printer'Class;
Pad : Natural)
return League.Pretty_Printers.Document;
type Use_Clause is new Node with record
Name : not null Node_Access;
Use_Type : Boolean;
end record;
overriding function Document
(Self : Use_Clause;
Printer : not null access League.Pretty_Printers.Printer'Class;
Pad : Natural)
return League.Pretty_Printers.Document;
end Ada_Pretty.Clauses;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . P A C K _ 0 9 --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with System.Storage_Elements;
with System.Unsigned_Types;
package body System.Pack_09 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_09;
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_09 --
------------
function Get_09
(Arr : System.Address;
N : Natural;
Rev_SSO : Boolean) return Bits_09
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_09;
------------
-- Set_09 --
------------
procedure Set_09
(Arr : System.Address;
N : Natural;
E : Bits_09;
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_09;
end System.Pack_09;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ T E X T _ I O . E N U M E R A T I O N _ I O --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- --
--
--
--
--
--
--
--
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- In Ada 95, the package Ada.Wide_Text_IO.Enumeration_IO is a subpackage
-- of Wide_Text_IO. In GNAT we make it a child package to avoid loading the
-- necessary code if Enumeration_IO is not instantiated. See the routine
-- Rtsfind.Text_IO_Kludge for a description of how we patch up the difference
-- in semantics so that it is invisible to the Ada programmer.
private generic
type Enum is (<>);
package Ada.Wide_Text_IO.Enumeration_IO is
Default_Width : Field := 0;
Default_Setting : Type_Set := Upper_Case;
procedure Get (File : File_Type; Item : out Enum);
procedure Get (Item : out Enum);
procedure Put
(File : File_Type;
Item : Enum;
Width : Field := Default_Width;
Set : Type_Set := Default_Setting);
procedure Put
(Item : Enum;
Width : Field := Default_Width;
Set : Type_Set := Default_Setting);
procedure Get
(From : Wide_String;
Item : out Enum;
Last : out Positive);
procedure Put
(To : out Wide_String;
Item : Enum;
Set : Type_Set := Default_Setting);
end Ada.Wide_Text_IO.Enumeration_IO;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of 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. --
-- --
------------------------------------------------------------------------------
-- This a buffer-less driver for the ST7735R LCD. No pixels are stored in RAM
-- which means low memory consumption but also slow operations.
--
-- Please use ST7735R.RAM_Framebuffer for a faster implementation.
with HAL; use HAL;
with HAL.SPI; use HAL.SPI;
with HAL.GPIO; use HAL.GPIO;
with HAL.Framebuffer; use HAL.Framebuffer;
with HAL.Bitmap; use HAL.Bitmap;
with HAL.Time;
with Soft_Drawing_Bitmap; use Soft_Drawing_Bitmap;
with System;
package ST7735R is
type ST7735R_Screen
(Port : not null Any_SPI_Port;
CS : not null Any_GPIO_Point;
RS : not null Any_GPIO_Point;
RST : not null Any_GPIO_Point;
Time : not null HAL.Time.Any_Delays)
is limited new HAL.Framebuffer.Frame_Buffer_Display with private;
type Any_ST7735R_Device is access all ST7735R_Screen'Class;
procedure Initialize (LCD : in out ST7735R_Screen);
overriding
function Initialized (LCD : ST7735R_Screen) return Boolean;
procedure Turn_On (LCD : ST7735R_Screen);
procedure Turn_Off (LCD : ST7735R_Screen);
procedure Display_Inversion_On (LCD : ST7735R_Screen);
procedure Display_Inversion_Off (LCD : ST7735R_Screen);
procedure Gamma_Set (LCD : ST7735R_Screen; Gamma_Curve : UInt4);
type Pixel_Format is (Pixel_12bits, Pixel_16bits, Pixel_18bits);
procedure Set_Pixel_Format (LCD : ST7735R_Screen; Pix_Fmt : Pixel_Format);
type RGB_BGR_Order is (RGB_Order, BGR_Order)
with Size => 1;
type Vertical_Refresh_Order is (Vertical_Refresh_Top_Bottom,
Vertical_Refresh_Botton_Top)
with Size => 1;
type Horizontal_Refresh_Order is (Horizontal_Refresh_Left_Right,
Horizontal_Refresh_Right_Left)
with Size => 1;
type Row_Address_Order is (Row_Address_Top_Bottom,
Row_Address_Bottom_Top)
with Size => 1;
type Column_Address_Order is (Column_Address_Left_Right,
Column_Address_Right_Left)
with Size => 1;
procedure Set_Memory_Data_Access
(LCD : ST7735R_Screen;
Color_Order : RGB_BGR_Order;
Vertical : Vertical_Refresh_Order;
Horizontal : Horizontal_Refresh_Order;
Row_Addr_Order : Row_Address_Order;
Column_Addr_Order : Column_Address_Order;
Row_Column_Exchange : Boolean);
procedure Set_Frame_Rate_Normal
(LCD : ST7735R_Screen;
RTN : UInt4;
Front_Porch : UInt6;
Back_Porch : UInt6);
procedure Set_Frame_Rate_Idle
(LCD : ST7735R_Screen;
RTN : UInt4;
Front_Porch : UInt6;
Back_Porch : UInt6);
procedure Set_Frame_Rate_Partial_Full
(LCD : ST7735R_Screen;
RTN_Part : UInt4;
Front_Porch_Part : UInt6;
Back_Porch_Part : UInt6;
RTN_Full : UInt4;
Front_Porch_Full : UInt6;
Back_Porch_Full : UInt6);
type Inversion_Control is (Dot_Inversion, Line_Inversion);
procedure Set_Inversion_Control
(LCD : ST7735R_Screen;
Normal, Idle, Full_Partial : Inversion_Control);
procedure Set_Power_Control_1
(LCD : ST7735R_Screen;
AVDD : UInt3;
VRHP : UInt5;
VRHN : UInt5;
MODE : UInt2);
procedure Set_Power_Control_2
(LCD : ST7735R_Screen;
VGH25 : UInt2;
VGSEL : UInt2;
VGHBT : UInt2);
procedure Set_Power_Control_3
(LCD : ST7735R_Screen;
P1, P2 : UInt8);
procedure Set_Power_Control_4
(LCD : ST7735R_Screen;
P1, P2 : UInt8);
procedure Set_Power_Control_5
(LCD : ST7735R_Screen;
P1, P2 : UInt8);
procedure Set_Vcom (LCD : ST7735R_Screen; VCOMS : UInt6);
procedure Set_Column_Address (LCD : ST7735R_Screen; X_Start, X_End : UInt16);
procedure Set_Row_Address (LCD : ST7735R_Screen; Y_Start, Y_End : UInt16);
procedure Set_Address (LCD : ST7735R_Screen;
X_Start, X_End, Y_Start, Y_End : UInt16);
procedure Set_Pixel (LCD : ST7735R_Screen;
X, Y : UInt16;
Color : UInt16);
function Pixel (LCD : ST7735R_Screen;
X, Y : UInt16)
return UInt16;
procedure Write_Raw_Pixels (LCD : ST7735R_Screen;
Data : in out HAL.UInt8_Array);
procedure Write_Raw_Pixels (LCD : ST7735R_Screen;
Data : in out HAL.UInt16_Array);
overriding
function Max_Layers
(Display : ST7735R_Screen) return Positive;
overriding
function Supported
(Display : ST7735R_Screen;
Mode : FB_Color_Mode) return Boolean;
overriding
procedure Set_Orientation
(Display : in out ST7735R_Screen;
Orientation : Display_Orientation);
overriding
procedure Set_Mode
(Display : in out ST7735R_Screen;
Mode : Wait_Mode);
overriding
function Width
(Display : ST7735R_Screen) return Positive;
overriding
function Height
(Display : ST7735R_Screen) return Positive;
overriding
function Swapped
(Display : ST7735R_Screen) return Boolean;
-- Whether X/Y coordinates are considered Swapped by the drawing primitives
-- This simulates Landscape/Portrait orientation on displays not supporting
-- hardware orientation change
overriding
procedure Set_Background
(Display : ST7735R_Screen; R, G, B : UInt8);
overriding
procedure Initialize_Layer
(Display : in out ST7735R_Screen;
Layer : Positive;
Mode : FB_Color_Mode;
X : Natural := 0;
Y : Natural := 0;
Width : Positive := Positive'Last;
Height : Positive := Positive'Last);
-- All layers are double buffered, so an explicit call to Update_Layer
-- needs to be performed to actually display the current buffer attached
-- to the layer.
-- Alloc is called to create the actual buffer.
overriding
function Initialized
(Display : ST7735R_Screen;
Layer : Positive) return Boolean;
overriding
procedure Update_Layer
(Display : in out ST7735R_Screen;
Layer : Positive;
Copy_Back : Boolean := False);
-- Updates the layer so that the hidden buffer is displayed.
overriding
procedure Update_Layers
(Display : in out ST7735R_Screen);
-- Updates all initialized layers at once with their respective hidden
-- buffer
overriding
function Color_Mode
(Display : ST7735R_Screen;
Layer : Positive) return FB_Color_Mode;
-- Retrieves the current color mode for the layer.
overriding
function Hidden_Buffer
(Display : in out ST7735R_Screen;
Layer : Positive) return not null HAL.Bitmap.Any_Bitmap_Buffer;
-- Retrieves the current hidden buffer for the layer.
overriding
function Pixel_Size
(Display : ST7735R_Screen;
Layer : Positive) return Positive;
-- Retrieves the current hidden buffer for the layer.
private
Screen_Width : constant := 128;
Screen_Height : constant := 160;
for RGB_BGR_Order use
(RGB_Order => 0,
BGR_Order => 1);
for Vertical_Refresh_Order use
(Vertical_Refresh_Top_Bottom => 0,
Vertical_Refresh_Botton_Top => 1);
for Horizontal_Refresh_Order use
(Horizontal_Refresh_Left_Right => 0,
Horizontal_Refresh_Right_Left => 1);
for Row_Address_Order use
(Row_Address_Top_Bottom => 0,
Row_Address_Bottom_Top => 1);
for Column_Address_Order use
(Column_Address_Left_Right => 0,
Column_Address_Right_Left => 1);
type ST7735R_Bitmap_Buffer is new Soft_Drawing_Bitmap_Buffer with record
LCD : Any_ST7735R_Device := null;
Native_Source : UInt32;
end record;
overriding
function Width (Buffer : ST7735R_Bitmap_Buffer) return Natural is
(Screen_Width);
overriding
function Height (Buffer : ST7735R_Bitmap_Buffer) return Natural is
(Screen_Height);
overriding
function Swapped (Buffer : ST7735R_Bitmap_Buffer) return Boolean is
(False);
overriding
function Color_Mode (Buffer : ST7735R_Bitmap_Buffer) return Bitmap_Color_Mode is
(RGB_565);
overriding
function Mapped_In_RAM (Buffer : ST7735R_Bitmap_Buffer) return Boolean is
(False);
overriding
function Memory_Address (Buffer : ST7735R_Bitmap_Buffer) return System.Address is
(System.Null_Address);
overriding
procedure Set_Source (Buffer : in out ST7735R_Bitmap_Buffer;
Native : UInt32);
overriding
function Source
(Buffer : ST7735R_Bitmap_Buffer)
return UInt32;
overriding
procedure Set_Pixel
(Buffer : in out ST7735R_Bitmap_Buffer;
Pt : Point)
with Pre => Buffer.LCD /= null;
overriding
procedure Set_Pixel_Blend
(Buffer : in out ST7735R_Bitmap_Buffer;
Pt : Point)
with Pre => Buffer.LCD /= null;
overriding
function Pixel
(Buffer : ST7735R_Bitmap_Buffer;
Pt : Point)
return UInt32
with Pre => Buffer.LCD /= null;
overriding
function Buffer_Size (Buffer : ST7735R_Bitmap_Buffer) return Natural is
(0);
type ST7735R_Screen
(Port : not null Any_SPI_Port;
CS : not null Any_GPIO_Point;
RS : not null Any_GPIO_Point;
RST : not null Any_GPIO_Point;
Time : not null HAL.Time.Any_Delays)
is limited new HAL.Framebuffer.Frame_Buffer_Display with record
Initialized : Boolean := True;
Layer : aliased ST7735R_Bitmap_Buffer;
end record;
end ST7735R;
|
-- 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 = "ThreatMiner"
type = "api"
function start()
setratelimit(8)
end
function vertical(ctx, domain)
local page, err = request(ctx, {
url=buildurl(domain),
headers={['Content-Type']="application/json"},
})
if (err ~= nil and err ~= "") then
return
end
local resp = json.decode(page)
if (resp == nil or resp['status_code'] ~= "200" or resp['status_message'] ~= "Results found." or #(resp.results) == 0) then
return
end
for i, sub in pairs(resp.results) do
sendnames(ctx, sub)
end
end
function buildurl(domain)
return "https://api.threatminer.org/v2/domain.php?q=" .. domain .. "&api=True&rt=5"
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
|
with Ada.Text_IO, Ada.Calendar, System;
use Ada.Text_IO, Ada.Calendar, System;
procedure Planificador_Ciclico_Con_Prioridades is
Comienzo : Time := Clock; -- hora de comienzo
-- Tarea principal
task Principal is
entry Ejecutar (Id: in Integer; Tiempo : in Integer);
end Principal;
task body Principal is
Semaforo : Integer := 1;
begin
Put_Line("Principal - preparada");
loop
select
when Semaforo = 1 =>
accept Ejecutar (Id : in Integer; Tiempo : in Integer) do
Semaforo := 0;
Put_Line("+++Inicio Tarea" & Integer'Image(Id) & " " &
Duration'Image(Clock-Comienzo));
delay Duration(Tiempo);
Put_Line("+++Fin Tarea" & Integer'Image(Id) & " " &
Duration'Image(Clock-Comienzo));
Semaforo := 1;
end Ejecutar;
end select;
end loop;
end Principal;
-- Tareas dinamicas periodicas del planificador
task type Tarea_Periodica(Id: Integer; T: Integer; D: Integer; C: Integer;
Pri: System.Priority) is
pragma Priority(Pri);
end Tarea_Periodica;
type Tarea_Dinamica is access Tarea_Periodica;
-- Cuerpo de las Tareas Periodicas
task body Tarea_Periodica is
Periodo : constant Duration := Duration(T); -- Segundos
Proximo_Periodo : Time := Clock;
begin
Loopgg
-- Acciones Tarea
Principal.Ejecutar(Id, C);
-- Calculo del tiempo de nueva accion
Proximo_Periodo := Proximo_Periodo + Periodo;
delay until Proximo_Periodo;
end loop;
end Tarea_Periodica;
-- Definicion de las tareas
Tarea_1 : Tarea_Dinamica;
Tarea_2 : Tarea_Dinamica;
Tarea_3 : Tarea_Dinamica;
begin
Put_Line("Inicio Planificador con prioridades");
-- Inicio de las tareas (Id, Periodo, Plazo, Tiempo de Ejecucion, Prioridad)
Tarea_1 := new Tarea_Periodica(1, 4, 4, 1, 6);
Tarea_2 := new Tarea_Periodica(2, 5, 5, 2, 9);
Tarea_3 := new Tarea_Periodica(3, 10, 10, 1, 12);
end Planificador_Ciclico_Con_Prioridades;
|
package BTree is
procedure main;
end BTree;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . S T R I N G S . W I D E _ M A P S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2011, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Finalization;
package Ada.Strings.Wide_Maps is
pragma Preelaborate;
-------------------------------------
-- Wide Character Set Declarations --
-------------------------------------
type Wide_Character_Set is private;
pragma Preelaborable_Initialization (Wide_Character_Set);
-- Representation for a set of Wide_Character values:
Null_Set : constant Wide_Character_Set;
------------------------------------------
-- Constructors for Wide Character Sets --
------------------------------------------
type Wide_Character_Range is record
Low : Wide_Character;
High : Wide_Character;
end record;
-- Represents Wide_Character range Low .. High
type Wide_Character_Ranges is
array (Positive range <>) of Wide_Character_Range;
function To_Set
(Ranges : Wide_Character_Ranges) return Wide_Character_Set;
function To_Set
(Span : Wide_Character_Range) return Wide_Character_Set;
function To_Ranges
(Set : Wide_Character_Set) return Wide_Character_Ranges;
---------------------------------------
-- Operations on Wide Character Sets --
---------------------------------------
function "=" (Left, Right : Wide_Character_Set) return Boolean;
function "not"
(Right : Wide_Character_Set) return Wide_Character_Set;
function "and"
(Left, Right : Wide_Character_Set) return Wide_Character_Set;
function "or"
(Left, Right : Wide_Character_Set) return Wide_Character_Set;
function "xor"
(Left, Right : Wide_Character_Set) return Wide_Character_Set;
function "-"
(Left, Right : Wide_Character_Set) return Wide_Character_Set;
function Is_In
(Element : Wide_Character;
Set : Wide_Character_Set) return Boolean;
function Is_Subset
(Elements : Wide_Character_Set;
Set : Wide_Character_Set) return Boolean;
function "<="
(Left : Wide_Character_Set;
Right : Wide_Character_Set) return Boolean
renames Is_Subset;
subtype Wide_Character_Sequence is Wide_String;
-- Alternative representation for a set of character values
function To_Set
(Sequence : Wide_Character_Sequence) return Wide_Character_Set;
function To_Set
(Singleton : Wide_Character) return Wide_Character_Set;
function To_Sequence
(Set : Wide_Character_Set) return Wide_Character_Sequence;
-----------------------------------------
-- Wide Character Mapping Declarations --
-----------------------------------------
type Wide_Character_Mapping is private;
pragma Preelaborable_Initialization (Wide_Character_Mapping);
-- Representation for a wide character to wide character mapping:
function Value
(Map : Wide_Character_Mapping;
Element : Wide_Character) return Wide_Character;
Identity : constant Wide_Character_Mapping;
---------------------------------
-- Operations on Wide Mappings --
---------------------------------
function To_Mapping
(From, To : Wide_Character_Sequence) return Wide_Character_Mapping;
function To_Domain
(Map : Wide_Character_Mapping) return Wide_Character_Sequence;
function To_Range
(Map : Wide_Character_Mapping) return Wide_Character_Sequence;
type Wide_Character_Mapping_Function is
access function (From : Wide_Character) return Wide_Character;
private
package AF renames Ada.Finalization;
------------------------------------------
-- Representation of Wide_Character_Set --
------------------------------------------
-- A wide character set is represented as a sequence of wide character
-- ranges (i.e. an object of type Wide_Character_Ranges) in which the
-- following hold:
-- The lower bound is 1
-- The ranges are in order by increasing Low values
-- The ranges are non-overlapping and discontigous
-- A character value is in the set if it is contained in one of the
-- ranges. The actual Wide_Character_Set value is a controlled pointer
-- to this Wide_Character_Ranges value. The use of a controlled type
-- is necessary to prevent storage leaks.
type Wide_Character_Ranges_Access is access all Wide_Character_Ranges;
type Wide_Character_Set is new AF.Controlled with record
Set : Wide_Character_Ranges_Access;
end record;
pragma Finalize_Storage_Only (Wide_Character_Set);
-- This avoids useless finalizations, and, more importantly avoids
-- incorrect attempts to finalize constants that are statically
-- declared here and in Ada.Strings.Wide_Maps, which is incorrect.
overriding procedure Initialize (Object : in out Wide_Character_Set);
overriding procedure Adjust (Object : in out Wide_Character_Set);
overriding procedure Finalize (Object : in out Wide_Character_Set);
Null_Range : aliased constant Wide_Character_Ranges :=
(1 .. 0 => (Low => ' ', High => ' '));
Null_Set : constant Wide_Character_Set :=
(AF.Controlled with
Set => Null_Range'Unrestricted_Access);
----------------------------------------------
-- Representation of Wide_Character_Mapping --
----------------------------------------------
-- A wide character mapping is represented as two strings of equal
-- length, where any character appearing in Domain is mapped to the
-- corresponding character in Rangev. A character not appearing in
-- Domain is mapped to itself. The characters in Domain are sorted
-- in ascending order.
-- The actual Wide_Character_Mapping value is a controlled record
-- that contains a pointer to a discriminated record containing the
-- range and domain values.
-- Note: this representation is canonical, and the values stored in
-- Domain and Rangev are exactly the values that are returned by the
-- functions To_Domain and To_Range. The use of a controlled type is
-- necessary to prevent storage leaks.
type Wide_Character_Mapping_Values (Length : Natural) is record
Domain : Wide_Character_Sequence (1 .. Length);
Rangev : Wide_Character_Sequence (1 .. Length);
end record;
type Wide_Character_Mapping_Values_Access is
access all Wide_Character_Mapping_Values;
type Wide_Character_Mapping is new AF.Controlled with record
Map : Wide_Character_Mapping_Values_Access;
end record;
pragma Finalize_Storage_Only (Wide_Character_Mapping);
-- This avoids useless finalizations, and, more importantly avoids
-- incorrect attempts to finalize constants that are statically
-- declared here and in Ada.Strings.Wide_Maps, which is incorrect.
overriding procedure Initialize (Object : in out Wide_Character_Mapping);
overriding procedure Adjust (Object : in out Wide_Character_Mapping);
overriding procedure Finalize (Object : in out Wide_Character_Mapping);
Null_Map : aliased constant Wide_Character_Mapping_Values :=
(Length => 0,
Domain => "",
Rangev => "");
Identity : constant Wide_Character_Mapping :=
(AF.Controlled with
Map => Null_Map'Unrestricted_Access);
end Ada.Strings.Wide_Maps;
|
-----------------------------------------------------------------------
-- asf-views-facelets -- Facelets representation and management
-- Copyright (C) 2009, 2010, 2011, 2014, 2015, 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 Ada.Calendar;
with ASF.Views.Nodes;
with ASF.Contexts.Facelets;
with ASF.Factory;
with ASF.Components.Base;
with Ada.Finalization;
private with Ada.Strings.Unbounded;
private with Ada.Containers.Hashed_Sets;
private with Util.Refs;
private with Ada.Strings.Hash;
-- The <b>ASF.Views.Facelets</b> package contains the facelet factory
-- responsible for getting the facelet tree from a facelet name.
-- The facelets (or *.xhtml) files are loaded by the reader to form
-- a tag node tree which is cached by the factory. The facelet factory
-- is shared by multiple requests and threads.
package ASF.Views.Facelets is
type Facelet is private;
-- Returns True if the facelet is null/empty.
function Is_Null (F : Facelet) return Boolean;
-- ------------------------------
-- Facelet factory
-- ------------------------------
-- The facelet factory allows to retrieve the node tree to build the
-- component tree. The node tree can be shared by several component trees.
-- The node tree is initialized from the <b>XHTML</b> view file. It is put
-- in a cache to avoid loading and parsing the file several times.
type Facelet_Factory is limited private;
-- Get the facelet identified by the given name. If the facelet is already
-- loaded, the cached value is returned. The facelet file is searched in
-- a set of directories configured in the facelet factory.
procedure Find_Facelet (Factory : in out Facelet_Factory;
Name : in String;
Context : in ASF.Contexts.Facelets.Facelet_Context'Class;
Result : out Facelet);
-- Create the component tree from the facelet view.
procedure Build_View (View : in Facelet;
Context : in out ASF.Contexts.Facelets.Facelet_Context'Class;
Root : in ASF.Components.Base.UIComponent_Access);
-- Initialize the facelet factory.
-- Set the search directories for facelet files.
-- Set the ignore white space configuration when reading XHTML files.
-- Set the ignore empty lines configuration when reading XHTML files.
-- Set the escape unknown tags configuration when reading XHTML files.
procedure Initialize (Factory : in out Facelet_Factory;
Components : access ASF.Factory.Component_Factory;
Paths : in String;
Ignore_White_Spaces : in Boolean;
Ignore_Empty_Lines : in Boolean;
Escape_Unknown_Tags : in Boolean);
-- Find the facelet file in one of the facelet directories.
-- Returns the path to be used for reading the facelet file.
function Find_Facelet_Path (Factory : in Facelet_Factory;
Name : in String) return String;
-- Clear the facelet cache
procedure Clear_Cache (Factory : in out Facelet_Factory);
private
use Ada.Strings.Unbounded;
CHECK_FILE_DELAY : constant := 10.0;
type Facelet_Type (Len : Natural) is limited new Util.Refs.Ref_Entity with record
Root : ASF.Views.Nodes.Tag_Node_Access;
File : ASF.Views.File_Info_Access;
Modify_Time : Ada.Calendar.Time;
Check_Time : Ada.Calendar.Time;
Name : String (1 .. Len);
end record;
type Facelet_Access is access all Facelet_Type;
package Ref is
new Util.Refs.Indefinite_References (Facelet_Type, Facelet_Access);
type Facelet is record
Facelet : Facelet_Access;
end record;
Empty : constant Facelet := (others => <>);
function Hash (Item : in Facelet_Access) return Ada.Containers.Hash_Type is
(Ada.Strings.Hash (Item.Name));
function Compare (Left, Right : in Facelet_Access) return Boolean is
(Left.Name = Right.Name);
-- Tag library map indexed on the library namespace.
package Facelet_Sets is new
Ada.Containers.Hashed_Sets (Element_Type => Facelet_Access,
Hash => Hash,
Equivalent_Elements => Compare);
use Facelet_Sets;
protected type Facelet_Cache is
-- Find the facelet entry associated with the given name.
function Find (Name : in String) return Facelet_Access;
-- Insert or replace the facelet entry associated with the given name.
procedure Insert (Facelet : in Facelet_Access);
-- Clear the cache.
procedure Clear;
private
Map : Facelet_Sets.Set;
end Facelet_Cache;
type Facelet_Factory is new Ada.Finalization.Limited_Controlled with record
Paths : Unbounded_String := To_Unbounded_String ("");
-- The facelet cache.
Map : Facelet_Cache;
-- The component factory
Factory : access ASF.Factory.Component_Factory;
-- Whether the unknown tags are escaped using XML escape rules.
Escape_Unknown_Tags : Boolean := True;
-- Whether white spaces can be ignored.
Ignore_White_Spaces : Boolean := True;
-- Whether empty lines should be ignored (when white spaces are kept).
Ignore_Empty_Lines : Boolean := True;
end record;
-- Free the storage held by the factory cache.
overriding
procedure Finalize (Factory : in out Facelet_Factory);
end ASF.Views.Facelets;
|
-- { dg-do compile }
-- { dg-options "-gnatws -O" }
with Unchecked_Conversion;
package body loop_unchecked_conversion is
type Byte is mod 2**8;
type List is array (Natural range <>) of Byte;
subtype Integer_List is List (1 .. 4);
function Integer_Down is new
Unchecked_Conversion (Source => Integer, Target => Integer_List);
type Storage (Size : Integer) is
record
Data : List (1 .. Size);
end record;
type Storage_Pointer is access Storage;
The_Data_Storage : Storage_Pointer;
procedure slice is
begin
for I in 0 .. 1 loop
The_Data_Storage.Data (I+1 .. I+4) := Integer_Down (I);
end loop;
end;
end loop_unchecked_conversion;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . F L O A T _ W I D E _ T E X T _ I O --
-- --
-- S p e c --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
with Ada.Wide_Text_IO;
package Ada.Float_Wide_Text_IO is
new Ada.Wide_Text_IO.Float_IO (Float);
|
with impact.d3.Shape.convex.internal.polyhedral;
-- #include "impact.d3.Shape.convex.internal.polyhedral.h"
-- #include "BulletCollision/BroadphaseCollision/impact.d3.collision.Proxy.h" // for the types
-- #include "LinearMath/btAlignedObjectArray.h"
package impact.d3.Shape.convex.internal.polyhedral.point_cloud
--
-- The impact.d3.Shape.convex.internal.polyhedral.point_cloud implements an implicit convex hull of an array of vertices.
--
is
type Item is new impact.d3.Shape.convex.internal.polyhedral.btPolyhedralConvexAabbCachingShape with private;
--- Forge
--
function to_point_cloud_Shape return Item;
-- impact.d3.Shape.convex.internal.polyhedral.point_cloud()
-- {
-- m_localScaling.setValue(1.f,1.f,1.f);
-- m_shapeType = CONVEX_POINT_CLOUD_SHAPE_PROXYTYPE;
-- m_unscaledPoints = 0;
-- m_numPoints = 0;
-- }
function to_point_cloud_Shape (points : access Vector_3_Array;
numPoints : in Natural;
localScaling : in math.Vector_3;
computeAabb : in Boolean := True) return Item;
-- impact.d3.Shape.convex.internal.polyhedral.point_cloud(impact.d3.Vector* points,int numPoints, const impact.d3.Vector& localScaling,bool computeAabb = true)
-- {
-- m_localScaling = localScaling;
-- m_shapeType = CONVEX_POINT_CLOUD_SHAPE_PROXYTYPE;
-- m_unscaledPoints = points;
-- m_numPoints = numPoints;
--
-- if (computeAabb)
-- recalcLocalAabb();
-- }
overriding function getName (Self : in Item) return String;
-- //debugging
-- virtual const char* getName()const {return "ConvexPointCloud";}
overriding function getNumVertices (Self : in Item) return Integer;
overriding function getNumEdges (Self : in Item) return Integer;
overriding function getNumPlanes (Self : in Item) return Integer;
overriding procedure getVertex (Self : in Item; i : in Integer;
vtx : out math.Vector_3);
overriding procedure getEdge (Self : in Item; i : in Integer;
pa, pb : out math.Vector_3);
overriding procedure getPlane (Self : in Item; planeNormal : out math.Vector_3;
planeSupport : out math.Vector_3;
i : in Integer );
overriding function isInside (Self : in Item; pt : in math.Vector_3;
tolerance : in math.Real) return Boolean;
procedure setPoints (Self : in out Item; points : access Vector_3_Array;
numPoints : in Natural;
computeAabb : in Boolean := True;
localScaling : in math.Vector_3 := (1.0, 1.0, 1.0));
-- void setPoints (impact.d3.Vector* points, int numPoints, bool computeAabb = true,const impact.d3.Vector& localScaling=impact.d3.Vector(1.f,1.f,1.f))
-- {
-- m_unscaledPoints = points;
-- m_numPoints = numPoints;
-- m_localScaling = localScaling;
--
-- if (computeAabb)
-- recalcLocalAabb();
-- }
function getUnscaledPoints (Self : in Item) return access Vector_3_Array;
-- SIMD_FORCE_INLINE impact.d3.Vector* getUnscaledPoints()
-- {
-- return m_unscaledPoints;
-- }
function getNumPoints (Self : in Item) return Natural;
-- SIMD_FORCE_INLINE int getNumPoints() const
-- {
-- return m_numPoints;
-- }
function getScaledPoint (Self : in Item; index : Positive) return math.Vector_3;
-- SIMD_FORCE_INLINE impact.d3.Vector getScaledPoint( int index) const
-- {
-- return m_unscaledPoints[index] * m_localScaling;
-- }
overriding function localGetSupportingVertex (Self : in Item; vec : in math.Vector_3) return math.Vector_3;
overriding function localGetSupportingVertexWithoutMargin (Self : in Item; vec : in math.Vector_3) return math.Vector_3;
overriding procedure batchedUnitVectorGetSupportingVertexWithoutMargin (Self : in Item; vectors : in Vector_3_array;
supportVerticesOut : out Vector_3_array;
numVectors : in Integer);
overriding procedure setLocalScaling (Self : in out Item; scaling : in math.Vector_3);
--
-- In case we receive negative scaling.
private
type Item is new impact.d3.Shape.convex.internal.polyhedral.btPolyhedralConvexAabbCachingShape with
record
m_unscaledPoints : access Vector_3_Array;
m_numPoints : Natural;
end record;
end impact.d3.Shape.convex.internal.polyhedral.point_cloud;
|
<?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>honeybee</name>
<ret_bitwidth>64</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>6</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>edge_p1_x</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>edge_y.p1.x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</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>edge_p1_y</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>edge_y.p1.z</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_3">
<Value>
<Obj>
<type>1</type>
<id>3</id>
<name>edge_p1_z</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>edge_y.p1.y</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_4">
<Value>
<Obj>
<type>1</type>
<id>4</id>
<name>edge_p2_x</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>edge_y.p2.x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_5">
<Value>
<Obj>
<type>1</type>
<id>5</id>
<name>edge_p2_y</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>edge_y.p2.z</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_6">
<Value>
<Obj>
<type>1</type>
<id>6</id>
<name>edge_p2_z</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>edge_y.p2.y</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>12</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name>edge_p2_z_read</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="10" tracking_level="0" version="0">
<first>/mnt/hgfs/Thesis/HoneyBee</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>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>29</item>
<item>30</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>1</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>16</id>
<name>edge_p2_y_read</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>31</item>
<item>32</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="_9">
<Value>
<Obj>
<type>0</type>
<id>17</id>
<name>edge_p2_x_read</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>34</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>3</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>18</id>
<name>edge_p1_z_read</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>35</item>
<item>36</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>4</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name>edge_p1_y_read</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>38</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>5</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>20</id>
<name>edge_p1_x_read</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>39</item>
<item>40</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>6</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>21</id>
<name>collisions_z</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>155</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>155</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>collisions_z</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>7</count>
<item_version>0</item_version>
<item>42</item>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
<item>47</item>
<item>48</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>8.75</m_delay>
<m_topoIndex>7</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name>collisions_y</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>collisions_y</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>7</count>
<item_version>0</item_version>
<item>50</item>
<item>51</item>
<item>52</item>
<item>53</item>
<item>54</item>
<item>55</item>
<item>56</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>8.75</m_delay>
<m_topoIndex>8</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>23</id>
<name>collisions_x</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>157</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>collisions_x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>7</count>
<item_version>0</item_version>
<item>58</item>
<item>59</item>
<item>60</item>
<item>61</item>
<item>62</item>
<item>63</item>
<item>64</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>8.75</m_delay>
<m_topoIndex>9</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>24</id>
<name>or_ln159</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>159</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>159</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>65</item>
<item>66</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.00</m_delay>
<m_topoIndex>10</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>25</id>
<name>collisions</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>159</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>159</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>collisions</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>67</item>
<item>68</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>11</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>26</id>
<name>_ln160</name>
<fileName>src/honeybee.c</fileName>
<fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory>
<lineNumber>160</lineNumber>
<contextFuncName>honeybee</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/mnt/hgfs/Thesis/HoneyBee</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>src/honeybee.c</first>
<second>honeybee</second>
</first>
<second>160</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>69</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>12</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</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="_19">
<Value>
<Obj>
<type>2</type>
<id>41</id>
<name>checkAxis_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>
<bitwidth>64</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:checkAxis.2></content>
</item>
<item class_id_reference="16" object_id="_20">
<Value>
<Obj>
<type>2</type>
<id>49</id>
<name>checkAxis_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>
<bitwidth>64</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:checkAxis.0></content>
</item>
<item class_id_reference="16" object_id="_21">
<Value>
<Obj>
<type>2</type>
<id>57</id>
<name>checkAxis_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>
<bitwidth>64</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:checkAxis.1></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="_22">
<Obj>
<type>3</type>
<id>27</id>
<name>honeybee</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>12</count>
<item_version>0</item_version>
<item>15</item>
<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>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>32</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_23">
<id>30</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>15</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_24">
<id>32</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>16</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_25">
<id>34</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>17</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_26">
<id>36</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>18</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_27">
<id>38</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>19</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_28">
<id>40</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>20</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_29">
<id>42</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_30">
<id>43</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_31">
<id>44</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_32">
<id>45</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_33">
<id>46</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_34">
<id>47</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_35">
<id>48</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_36">
<id>50</id>
<edge_type>1</edge_type>
<source_obj>49</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_37">
<id>51</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_38">
<id>52</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_39">
<id>53</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_40">
<id>54</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_41">
<id>55</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_42">
<id>56</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_43">
<id>58</id>
<edge_type>1</edge_type>
<source_obj>57</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_44">
<id>59</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_45">
<id>60</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_46">
<id>61</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_47">
<id>62</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_48">
<id>63</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_49">
<id>64</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_50">
<id>65</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="_51">
<id>66</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="_52">
<id>67</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="_53">
<id>68</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>25</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_54">
<id>69</id>
<edge_type>1</edge_type>
<source_obj>25</source_obj>
<sink_obj>26</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_55">
<mId>1</mId>
<mTag>honeybee</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>27</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>205</mMinLatency>
<mMaxLatency>205</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>12</count>
<item_version>0</item_version>
<item class_id="27" tracking_level="0" version="0">
<first>15</first>
<second class_id="28" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>16</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>17</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>18</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>23</first>
<second>
<first>0</first>
<second>1</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>
</node_label_latency>
<bblk_ent_exit class_id="29" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="0" version="0">
<first>27</first>
<second class_id="31" tracking_level="0" version="0">
<first>0</first>
<second>1</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="32" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</regions>
<dp_fu_nodes class_id="33" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="34" 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="35" 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="36" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_port_io_nodes>
<port2core class_id="37" 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>
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013-2014, Vadim Godunko <vgodunko@gmail.com> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Nodes;
package body XML.DOM.Visitors is
-----------
-- Visit --
-----------
procedure Visit
(Self : in out Abstract_Iterator'Class;
Visitor : in out Abstract_Visitor'Class;
Node : not null XML.DOM.Nodes.DOM_Node_Access;
Control : in out Traverse_Control)
is
N : Matreshka.DOM_Nodes.Node'Class
renames Matreshka.DOM_Nodes.Node'Class (Node.all);
begin
N.Enter_Node (Visitor, Control);
if Control = Continue then
N.Visit_Node (Self, Visitor, Control);
end if;
if Control in Continue | Abandon_Children | Abandon_Sibling then
if Control = Abandon_Children then
Control := Continue;
end if;
N.Leave_Node (Visitor, Control);
end if;
if Control = Abandon_Children then
Control := Continue;
end if;
end Visit;
-------------------------
-- Visit_CDATA_Section --
-------------------------
overriding procedure Visit_CDATA_Section
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.CDATA_Sections.DOM_CDATA_Section_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_CDATA_Section;
--------------------
-- Visit_Children --
--------------------
procedure Visit_Children
(Self : in out Abstract_Iterator'Class;
Visitor : in out Abstract_Visitor'Class;
Node : not null access XML.DOM.Nodes.DOM_Node'Class;
Control : in out Traverse_Control)
is
use type XML.DOM.Nodes.DOM_Node_Access;
Child : XML.DOM.Nodes.DOM_Node_Access := Node.Get_First_Child;
begin
while Child /= null loop
Self.Visit (Visitor, Child, Control);
if Control = Abandon_Sibling then
Control := Continue;
exit;
elsif Control = Terminate_Immediately then
exit;
end if;
Child := Child.Get_Next_Sibling;
end loop;
end Visit_Children;
-------------------
-- Visit_Comment --
-------------------
overriding procedure Visit_Comment
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Comments.DOM_Comment_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Comment;
--------------------
-- Visit_Document --
--------------------
overriding procedure Visit_Document
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Documents.DOM_Document_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Document;
-----------------------------
-- Visit_Document_Fragment --
-----------------------------
overriding procedure Visit_Document_Fragment
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node :
not null XML.DOM.Document_Fragments.DOM_Document_Fragment_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Document_Fragment;
-------------------------
-- Visit_Document_Type --
-------------------------
overriding procedure Visit_Document_Type
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Document_Types.DOM_Document_Type_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Document_Type;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Elements.DOM_Element_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Element;
------------------
-- Visit_Entity --
------------------
overriding procedure Visit_Entity
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Entities.DOM_Entity_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Entity;
----------------------------
-- Visit_Entity_Reference --
----------------------------
overriding procedure Visit_Entity_Reference
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Entity_References.DOM_Entity_Reference_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Entity_Reference;
--------------------
-- Visit_Notation --
--------------------
overriding procedure Visit_Notation
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Notations.DOM_Notation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Notation;
----------------------------------
-- Visit_Processing_Instruction --
----------------------------------
overriding procedure Visit_Processing_Instruction
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null
XML.DOM.Processing_Instructions.DOM_Processing_Instruction_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Processing_Instruction;
----------------
-- Visit_Text --
----------------
overriding procedure Visit_Text
(Self : in out Default_Iterator;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Node : not null XML.DOM.Texts.DOM_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
Self.Visit_Children (Visitor, Node, Control);
end Visit_Text;
end XML.DOM.Visitors;
|
----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 Dmitriy Anisimkov --
-- --
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib-thin.ads,v 1.1.1.1 2012/03/29 17:21:39 uid42307 Exp $
with Interfaces.C.Strings;
with System;
private package ZLib.Thin is
-- From zconf.h
MAX_MEM_LEVEL : constant := 9; -- zconf.h:105
-- zconf.h:105
MAX_WBITS : constant := 15; -- zconf.h:115
-- 32K LZ77 window
-- zconf.h:115
SEEK_SET : constant := 8#0000#; -- zconf.h:244
-- Seek from beginning of file.
-- zconf.h:244
SEEK_CUR : constant := 1; -- zconf.h:245
-- Seek from current position.
-- zconf.h:245
SEEK_END : constant := 2; -- zconf.h:246
-- Set file pointer to EOF plus "offset"
-- zconf.h:246
type Byte is new Interfaces.C.unsigned_char; -- 8 bits
-- zconf.h:214
type UInt is new Interfaces.C.unsigned; -- 16 bits or more
-- zconf.h:216
type Int is new Interfaces.C.int;
type ULong is new Interfaces.C.unsigned_long; -- 32 bits or more
-- zconf.h:217
subtype Chars_Ptr is Interfaces.C.Strings.chars_ptr;
type ULong_Access is access ULong;
type Int_Access is access Int;
subtype Voidp is System.Address; -- zconf.h:232
subtype Byte_Access is Voidp;
Nul : constant Voidp := System.Null_Address;
-- end from zconf
Z_NO_FLUSH : constant := 8#0000#; -- zlib.h:125
-- zlib.h:125
Z_PARTIAL_FLUSH : constant := 1; -- zlib.h:126
-- will be removed, use
-- Z_SYNC_FLUSH instead
-- zlib.h:126
Z_SYNC_FLUSH : constant := 2; -- zlib.h:127
-- zlib.h:127
Z_FULL_FLUSH : constant := 3; -- zlib.h:128
-- zlib.h:128
Z_FINISH : constant := 4; -- zlib.h:129
-- zlib.h:129
Z_OK : constant := 8#0000#; -- zlib.h:132
-- zlib.h:132
Z_STREAM_END : constant := 1; -- zlib.h:133
-- zlib.h:133
Z_NEED_DICT : constant := 2; -- zlib.h:134
-- zlib.h:134
Z_ERRNO : constant := -1; -- zlib.h:135
-- zlib.h:135
Z_STREAM_ERROR : constant := -2; -- zlib.h:136
-- zlib.h:136
Z_DATA_ERROR : constant := -3; -- zlib.h:137
-- zlib.h:137
Z_MEM_ERROR : constant := -4; -- zlib.h:138
-- zlib.h:138
Z_BUF_ERROR : constant := -5; -- zlib.h:139
-- zlib.h:139
Z_VERSION_ERROR : constant := -6; -- zlib.h:140
-- zlib.h:140
Z_NO_COMPRESSION : constant := 8#0000#; -- zlib.h:145
-- zlib.h:145
Z_BEST_SPEED : constant := 1; -- zlib.h:146
-- zlib.h:146
Z_BEST_COMPRESSION : constant := 9; -- zlib.h:147
-- zlib.h:147
Z_DEFAULT_COMPRESSION : constant := -1; -- zlib.h:148
-- zlib.h:148
Z_FILTERED : constant := 1; -- zlib.h:151
-- zlib.h:151
Z_HUFFMAN_ONLY : constant := 2; -- zlib.h:152
-- zlib.h:152
Z_DEFAULT_STRATEGY : constant := 8#0000#; -- zlib.h:153
-- zlib.h:153
Z_BINARY : constant := 8#0000#; -- zlib.h:156
-- zlib.h:156
Z_ASCII : constant := 1; -- zlib.h:157
-- zlib.h:157
Z_UNKNOWN : constant := 2; -- zlib.h:158
-- zlib.h:158
Z_DEFLATED : constant := 8; -- zlib.h:161
-- zlib.h:161
Z_NULL : constant := 8#0000#; -- zlib.h:164
-- for initializing zalloc, zfree, opaque
-- zlib.h:164
type gzFile is new Voidp; -- zlib.h:646
type Z_Stream is private;
type Z_Streamp is access all Z_Stream; -- zlib.h:89
type alloc_func is access function
(Opaque : Voidp;
Items : UInt;
Size : UInt)
return Voidp; -- zlib.h:63
type free_func is access procedure (opaque : Voidp; address : Voidp);
function zlibVersion return Chars_Ptr;
function Deflate (strm : Z_Streamp; flush : Int) return Int;
function DeflateEnd (strm : Z_Streamp) return Int;
function Inflate (strm : Z_Streamp; flush : Int) return Int;
function InflateEnd (strm : Z_Streamp) return Int;
function deflateSetDictionary
(strm : Z_Streamp;
dictionary : Byte_Access;
dictLength : UInt)
return Int;
function deflateCopy (dest : Z_Streamp; source : Z_Streamp) return Int;
-- zlib.h:478
function deflateReset (strm : Z_Streamp) return Int; -- zlib.h:495
function deflateParams
(strm : Z_Streamp;
level : Int;
strategy : Int)
return Int; -- zlib.h:506
function inflateSetDictionary
(strm : Z_Streamp;
dictionary : Byte_Access;
dictLength : UInt)
return Int; -- zlib.h:548
function inflateSync (strm : Z_Streamp) return Int; -- zlib.h:565
function inflateReset (strm : Z_Streamp) return Int; -- zlib.h:580
function compress
(dest : Byte_Access;
destLen : ULong_Access;
source : Byte_Access;
sourceLen : ULong)
return Int; -- zlib.h:601
function compress2
(dest : Byte_Access;
destLen : ULong_Access;
source : Byte_Access;
sourceLen : ULong;
level : Int)
return Int; -- zlib.h:615
function uncompress
(dest : Byte_Access;
destLen : ULong_Access;
source : Byte_Access;
sourceLen : ULong)
return Int;
function gzopen (path : Chars_Ptr; mode : Chars_Ptr) return gzFile;
function gzdopen (fd : Int; mode : Chars_Ptr) return gzFile;
function gzsetparams
(file : gzFile;
level : Int;
strategy : Int)
return Int;
function gzread
(file : gzFile;
buf : Voidp;
len : UInt)
return Int;
function gzwrite
(file : in gzFile;
buf : in Voidp;
len : in UInt)
return Int;
function gzprintf (file : in gzFile; format : in Chars_Ptr) return Int;
function gzputs (file : in gzFile; s : in Chars_Ptr) return Int;
function gzgets
(file : gzFile;
buf : Chars_Ptr;
len : Int)
return Chars_Ptr;
function gzputc (file : gzFile; char : Int) return Int;
function gzgetc (file : gzFile) return Int;
function gzflush (file : gzFile; flush : Int) return Int;
function gzseek
(file : gzFile;
offset : Int;
whence : Int)
return Int;
function gzrewind (file : gzFile) return Int;
function gztell (file : gzFile) return Int;
function gzeof (file : gzFile) return Int;
function gzclose (file : gzFile) return Int;
function gzerror (file : gzFile; errnum : Int_Access) return Chars_Ptr;
function adler32
(adler : ULong;
buf : Byte_Access;
len : UInt)
return ULong;
function crc32
(crc : ULong;
buf : Byte_Access;
len : UInt)
return ULong;
function deflateInit
(strm : Z_Streamp;
level : Int;
version : Chars_Ptr;
stream_size : Int)
return Int;
function deflateInit2
(strm : Z_Streamp;
level : Int;
method : Int;
windowBits : Int;
memLevel : Int;
strategy : Int;
version : Chars_Ptr;
stream_size : Int)
return Int;
function Deflate_Init
(strm : Z_Streamp;
level : Int;
method : Int;
windowBits : Int;
memLevel : Int;
strategy : Int)
return Int;
pragma Inline (Deflate_Init);
function inflateInit
(strm : Z_Streamp;
version : Chars_Ptr;
stream_size : Int)
return Int;
function inflateInit2
(strm : in Z_Streamp;
windowBits : in Int;
version : in Chars_Ptr;
stream_size : in Int)
return Int;
function inflateBackInit
(strm : in Z_Streamp;
windowBits : in Int;
window : in Byte_Access;
version : in Chars_Ptr;
stream_size : in Int)
return Int;
-- Size of window have to be 2**windowBits.
function Inflate_Init (strm : Z_Streamp; windowBits : Int) return Int;
pragma Inline (Inflate_Init);
function zError (err : Int) return Chars_Ptr;
function inflateSyncPoint (z : Z_Streamp) return Int;
function get_crc_table return ULong_Access;
-- Interface to the available fields of the z_stream structure.
-- The application must update next_in and avail_in when avail_in has
-- dropped to zero. It must update next_out and avail_out when avail_out
-- has dropped to zero. The application must initialize zalloc, zfree and
-- opaque before calling the init function.
procedure Set_In
(Strm : in out Z_Stream;
Buffer : in Voidp;
Size : in UInt);
pragma Inline (Set_In);
procedure Set_Out
(Strm : in out Z_Stream;
Buffer : in Voidp;
Size : in UInt);
pragma Inline (Set_Out);
procedure Set_Mem_Func
(Strm : in out Z_Stream;
Opaque : in Voidp;
Alloc : in alloc_func;
Free : in free_func);
pragma Inline (Set_Mem_Func);
function Last_Error_Message (Strm : in Z_Stream) return String;
pragma Inline (Last_Error_Message);
function Avail_Out (Strm : in Z_Stream) return UInt;
pragma Inline (Avail_Out);
function Avail_In (Strm : in Z_Stream) return UInt;
pragma Inline (Avail_In);
function Total_In (Strm : in Z_Stream) return ULong;
pragma Inline (Total_In);
function Total_Out (Strm : in Z_Stream) return ULong;
pragma Inline (Total_Out);
function inflateCopy
(dest : in Z_Streamp;
Source : in Z_Streamp)
return Int;
function compressBound (Source_Len : in ULong) return ULong;
function deflateBound
(Strm : in Z_Streamp;
Source_Len : in ULong)
return ULong;
function gzungetc (C : in Int; File : in gzFile) return Int;
function zlibCompileFlags return ULong;
private
type Z_Stream is record -- zlib.h:68
Next_In : Voidp := Nul; -- next input byte
Avail_In : UInt := 0; -- number of bytes available at next_in
Total_In : ULong := 0; -- total nb of input bytes read so far
Next_Out : Voidp := Nul; -- next output byte should be put there
Avail_Out : UInt := 0; -- remaining free space at next_out
Total_Out : ULong := 0; -- total nb of bytes output so far
msg : Chars_Ptr; -- last error message, NULL if no error
state : Voidp; -- not visible by applications
zalloc : alloc_func := null; -- used to allocate the internal state
zfree : free_func := null; -- used to free the internal state
opaque : Voidp; -- private data object passed to
-- zalloc and zfree
data_type : Int; -- best guess about the data type:
-- ascii or binary
adler : ULong; -- adler32 value of the uncompressed
-- data
reserved : ULong; -- reserved for future use
end record;
pragma Convention (C, Z_Stream);
pragma Import (C, zlibVersion, "zlibVersion");
pragma Import (C, Deflate, "deflate");
pragma Import (C, DeflateEnd, "deflateEnd");
pragma Import (C, Inflate, "inflate");
pragma Import (C, InflateEnd, "inflateEnd");
pragma Import (C, deflateSetDictionary, "deflateSetDictionary");
pragma Import (C, deflateCopy, "deflateCopy");
pragma Import (C, deflateReset, "deflateReset");
pragma Import (C, deflateParams, "deflateParams");
pragma Import (C, inflateSetDictionary, "inflateSetDictionary");
pragma Import (C, inflateSync, "inflateSync");
pragma Import (C, inflateReset, "inflateReset");
pragma Import (C, compress, "compress");
pragma Import (C, compress2, "compress2");
pragma Import (C, uncompress, "uncompress");
pragma Import (C, gzopen, "gzopen");
pragma Import (C, gzdopen, "gzdopen");
pragma Import (C, gzsetparams, "gzsetparams");
pragma Import (C, gzread, "gzread");
pragma Import (C, gzwrite, "gzwrite");
pragma Import (C, gzprintf, "gzprintf");
pragma Import (C, gzputs, "gzputs");
pragma Import (C, gzgets, "gzgets");
pragma Import (C, gzputc, "gzputc");
pragma Import (C, gzgetc, "gzgetc");
pragma Import (C, gzflush, "gzflush");
pragma Import (C, gzseek, "gzseek");
pragma Import (C, gzrewind, "gzrewind");
pragma Import (C, gztell, "gztell");
pragma Import (C, gzeof, "gzeof");
pragma Import (C, gzclose, "gzclose");
pragma Import (C, gzerror, "gzerror");
pragma Import (C, adler32, "adler32");
pragma Import (C, crc32, "crc32");
pragma Import (C, deflateInit, "deflateInit_");
pragma Import (C, inflateInit, "inflateInit_");
pragma Import (C, deflateInit2, "deflateInit2_");
pragma Import (C, inflateInit2, "inflateInit2_");
pragma Import (C, zError, "zError");
pragma Import (C, inflateSyncPoint, "inflateSyncPoint");
pragma Import (C, get_crc_table, "get_crc_table");
-- since zlib 1.2.0:
pragma Import (C, inflateCopy, "inflateCopy");
pragma Import (C, compressBound, "compressBound");
pragma Import (C, deflateBound, "deflateBound");
pragma Import (C, gzungetc, "gzungetc");
pragma Import (C, zlibCompileFlags, "zlibCompileFlags");
pragma Import (C, inflateBackInit, "inflateBackInit_");
-- I stopped binding the inflateBack routines, becouse realize that
-- it does not support zlib and gzip headers for now, and have no
-- symmetric deflateBack routines.
-- ZLib-Ada is symmetric regarding deflate/inflate data transformation
-- and has a similar generic callback interface for the
-- deflate/inflate transformation based on the regular Deflate/Inflate
-- routines.
-- pragma Import (C, inflateBack, "inflateBack");
-- pragma Import (C, inflateBackEnd, "inflateBackEnd");
end ZLib.Thin;
|
M:lab1_1
F:G$SYSCLK_Init$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$UART0_Init$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$Sys_Init$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$putchar$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$getchar$0$0({2}DF,SC:U),C,0,0,0,0,0
F:G$getchar_nw$0$0({2}DF,SC:U),C,0,0,0,0,0
F:G$main$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$Port_Init$0$0({2}DF,SV:S),Z,0,0,0,0,0
F:G$Set_outputs$0$0({2}DF,SV:S),Z,0,0,0,0,0
F:G$sensor1$0$0({2}DF,SI:S),Z,0,0,0,0,0
F:G$sensor2$0$0({2}DF,SI:S),Z,0,0,0,0,0
S:Llab1_1.getchar$c$1$10({1}SC:U),R,0,0,[]
S:Llab1_1.getchar_nw$c$1$12({1}SC:U),R,0,0,[]
S:G$P0$0$0({1}SC:U),I,0,0
S:G$SP$0$0({1}SC:U),I,0,0
S:G$DPL$0$0({1}SC:U),I,0,0
S:G$DPH$0$0({1}SC:U),I,0,0
S:G$P4$0$0({1}SC:U),I,0,0
S:G$P5$0$0({1}SC:U),I,0,0
S:G$P6$0$0({1}SC:U),I,0,0
S:G$PCON$0$0({1}SC:U),I,0,0
S:G$TCON$0$0({1}SC:U),I,0,0
S:G$TMOD$0$0({1}SC:U),I,0,0
S:G$TL0$0$0({1}SC:U),I,0,0
S:G$TL1$0$0({1}SC:U),I,0,0
S:G$TH0$0$0({1}SC:U),I,0,0
S:G$TH1$0$0({1}SC:U),I,0,0
S:G$CKCON$0$0({1}SC:U),I,0,0
S:G$PSCTL$0$0({1}SC:U),I,0,0
S:G$P1$0$0({1}SC:U),I,0,0
S:G$TMR3CN$0$0({1}SC:U),I,0,0
S:G$TMR3RLL$0$0({1}SC:U),I,0,0
S:G$TMR3RLH$0$0({1}SC:U),I,0,0
S:G$TMR3L$0$0({1}SC:U),I,0,0
S:G$TMR3H$0$0({1}SC:U),I,0,0
S:G$P7$0$0({1}SC:U),I,0,0
S:G$SCON$0$0({1}SC:U),I,0,0
S:G$SCON0$0$0({1}SC:U),I,0,0
S:G$SBUF$0$0({1}SC:U),I,0,0
S:G$SBUF0$0$0({1}SC:U),I,0,0
S:G$SPI0CFG$0$0({1}SC:U),I,0,0
S:G$SPI0DAT$0$0({1}SC:U),I,0,0
S:G$ADC1$0$0({1}SC:U),I,0,0
S:G$SPI0CKR$0$0({1}SC:U),I,0,0
S:G$CPT0CN$0$0({1}SC:U),I,0,0
S:G$CPT1CN$0$0({1}SC:U),I,0,0
S:G$P2$0$0({1}SC:U),I,0,0
S:G$EMI0TC$0$0({1}SC:U),I,0,0
S:G$EMI0CF$0$0({1}SC:U),I,0,0
S:G$PRT0CF$0$0({1}SC:U),I,0,0
S:G$P0MDOUT$0$0({1}SC:U),I,0,0
S:G$PRT1CF$0$0({1}SC:U),I,0,0
S:G$P1MDOUT$0$0({1}SC:U),I,0,0
S:G$PRT2CF$0$0({1}SC:U),I,0,0
S:G$P2MDOUT$0$0({1}SC:U),I,0,0
S:G$PRT3CF$0$0({1}SC:U),I,0,0
S:G$P3MDOUT$0$0({1}SC:U),I,0,0
S:G$IE$0$0({1}SC:U),I,0,0
S:G$SADDR0$0$0({1}SC:U),I,0,0
S:G$ADC1CN$0$0({1}SC:U),I,0,0
S:G$ADC1CF$0$0({1}SC:U),I,0,0
S:G$AMX1SL$0$0({1}SC:U),I,0,0
S:G$P3IF$0$0({1}SC:U),I,0,0
S:G$SADEN1$0$0({1}SC:U),I,0,0
S:G$EMI0CN$0$0({1}SC:U),I,0,0
S:G$_XPAGE$0$0({1}SC:U),I,0,0
S:G$P3$0$0({1}SC:U),I,0,0
S:G$OSCXCN$0$0({1}SC:U),I,0,0
S:G$OSCICN$0$0({1}SC:U),I,0,0
S:G$P74OUT$0$0({1}SC:U),I,0,0
S:G$FLSCL$0$0({1}SC:U),I,0,0
S:G$FLACL$0$0({1}SC:U),I,0,0
S:G$IP$0$0({1}SC:U),I,0,0
S:G$SADEN0$0$0({1}SC:U),I,0,0
S:G$AMX0CF$0$0({1}SC:U),I,0,0
S:G$AMX0SL$0$0({1}SC:U),I,0,0
S:G$ADC0CF$0$0({1}SC:U),I,0,0
S:G$P1MDIN$0$0({1}SC:U),I,0,0
S:G$ADC0L$0$0({1}SC:U),I,0,0
S:G$ADC0H$0$0({1}SC:U),I,0,0
S:G$SMB0CN$0$0({1}SC:U),I,0,0
S:G$SMB0STA$0$0({1}SC:U),I,0,0
S:G$SMB0DAT$0$0({1}SC:U),I,0,0
S:G$SMB0ADR$0$0({1}SC:U),I,0,0
S:G$ADC0GTL$0$0({1}SC:U),I,0,0
S:G$ADC0GTH$0$0({1}SC:U),I,0,0
S:G$ADC0LTL$0$0({1}SC:U),I,0,0
S:G$ADC0LTH$0$0({1}SC:U),I,0,0
S:G$T2CON$0$0({1}SC:U),I,0,0
S:G$T4CON$0$0({1}SC:U),I,0,0
S:G$RCAP2L$0$0({1}SC:U),I,0,0
S:G$RCAP2H$0$0({1}SC:U),I,0,0
S:G$TL2$0$0({1}SC:U),I,0,0
S:G$TH2$0$0({1}SC:U),I,0,0
S:G$SMB0CR$0$0({1}SC:U),I,0,0
S:G$PSW$0$0({1}SC:U),I,0,0
S:G$REF0CN$0$0({1}SC:U),I,0,0
S:G$DAC0L$0$0({1}SC:U),I,0,0
S:G$DAC0H$0$0({1}SC:U),I,0,0
S:G$DAC0CN$0$0({1}SC:U),I,0,0
S:G$DAC1L$0$0({1}SC:U),I,0,0
S:G$DAC1H$0$0({1}SC:U),I,0,0
S:G$DAC1CN$0$0({1}SC:U),I,0,0
S:G$PCA0CN$0$0({1}SC:U),I,0,0
S:G$PCA0MD$0$0({1}SC:U),I,0,0
S:G$PCA0CPM0$0$0({1}SC:U),I,0,0
S:G$PCA0CPM1$0$0({1}SC:U),I,0,0
S:G$PCA0CPM2$0$0({1}SC:U),I,0,0
S:G$PCA0CPM3$0$0({1}SC:U),I,0,0
S:G$PCA0CPM4$0$0({1}SC:U),I,0,0
S:G$ACC$0$0({1}SC:U),I,0,0
S:G$XBR0$0$0({1}SC:U),I,0,0
S:G$XBR1$0$0({1}SC:U),I,0,0
S:G$XBR2$0$0({1}SC:U),I,0,0
S:G$RCAP4L$0$0({1}SC:U),I,0,0
S:G$RCAP4H$0$0({1}SC:U),I,0,0
S:G$EIE1$0$0({1}SC:U),I,0,0
S:G$EIE2$0$0({1}SC:U),I,0,0
S:G$ADC0CN$0$0({1}SC:U),I,0,0
S:G$PCA0L$0$0({1}SC:U),I,0,0
S:G$PCA0CPL0$0$0({1}SC:U),I,0,0
S:G$PCA0CPL1$0$0({1}SC:U),I,0,0
S:G$PCA0CPL2$0$0({1}SC:U),I,0,0
S:G$PCA0CPL3$0$0({1}SC:U),I,0,0
S:G$PCA0CPL4$0$0({1}SC:U),I,0,0
S:G$RSTSRC$0$0({1}SC:U),I,0,0
S:G$B$0$0({1}SC:U),I,0,0
S:G$SCON1$0$0({1}SC:U),I,0,0
S:G$SBUF1$0$0({1}SC:U),I,0,0
S:G$SADDR1$0$0({1}SC:U),I,0,0
S:G$TL4$0$0({1}SC:U),I,0,0
S:G$TH4$0$0({1}SC:U),I,0,0
S:G$EIP1$0$0({1}SC:U),I,0,0
S:G$EIP2$0$0({1}SC:U),I,0,0
S:G$SPI0CN$0$0({1}SC:U),I,0,0
S:G$PCA0H$0$0({1}SC:U),I,0,0
S:G$PCA0CPH0$0$0({1}SC:U),I,0,0
S:G$PCA0CPH1$0$0({1}SC:U),I,0,0
S:G$PCA0CPH2$0$0({1}SC:U),I,0,0
S:G$PCA0CPH3$0$0({1}SC:U),I,0,0
S:G$PCA0CPH4$0$0({1}SC:U),I,0,0
S:G$WDTCN$0$0({1}SC:U),I,0,0
S:G$TMR0$0$0({2}SI:U),I,0,0
S:G$TMR1$0$0({2}SI:U),I,0,0
S:G$TMR2$0$0({2}SI:U),I,0,0
S:G$RCAP2$0$0({2}SI:U),I,0,0
S:G$TMR3$0$0({2}SI:U),I,0,0
S:G$TMR3RL$0$0({2}SI:U),I,0,0
S:G$TMR4$0$0({2}SI:U),I,0,0
S:G$RCAP4$0$0({2}SI:U),I,0,0
S:G$ADC0$0$0({2}SI:U),I,0,0
S:G$ADC0GT$0$0({2}SI:U),I,0,0
S:G$ADC0LT$0$0({2}SI:U),I,0,0
S:G$DAC0$0$0({2}SI:U),I,0,0
S:G$DAC1$0$0({2}SI:U),I,0,0
S:G$PCA0$0$0({2}SI:U),I,0,0
S:G$PCA0CP0$0$0({2}SI:U),I,0,0
S:G$PCA0CP1$0$0({2}SI:U),I,0,0
S:G$PCA0CP2$0$0({2}SI:U),I,0,0
S:G$PCA0CP3$0$0({2}SI:U),I,0,0
S:G$PCA0CP4$0$0({2}SI:U),I,0,0
S:G$P0_0$0$0({1}SX:U),J,0,0
S:G$P0_1$0$0({1}SX:U),J,0,0
S:G$P0_2$0$0({1}SX:U),J,0,0
S:G$P0_3$0$0({1}SX:U),J,0,0
S:G$P0_4$0$0({1}SX:U),J,0,0
S:G$P0_5$0$0({1}SX:U),J,0,0
S:G$P0_6$0$0({1}SX:U),J,0,0
S:G$P0_7$0$0({1}SX:U),J,0,0
S:G$IT0$0$0({1}SX:U),J,0,0
S:G$IE0$0$0({1}SX:U),J,0,0
S:G$IT1$0$0({1}SX:U),J,0,0
S:G$IE1$0$0({1}SX:U),J,0,0
S:G$TR0$0$0({1}SX:U),J,0,0
S:G$TF0$0$0({1}SX:U),J,0,0
S:G$TR1$0$0({1}SX:U),J,0,0
S:G$TF1$0$0({1}SX:U),J,0,0
S:G$P1_0$0$0({1}SX:U),J,0,0
S:G$P1_1$0$0({1}SX:U),J,0,0
S:G$P1_2$0$0({1}SX:U),J,0,0
S:G$P1_3$0$0({1}SX:U),J,0,0
S:G$P1_4$0$0({1}SX:U),J,0,0
S:G$P1_5$0$0({1}SX:U),J,0,0
S:G$P1_6$0$0({1}SX:U),J,0,0
S:G$P1_7$0$0({1}SX:U),J,0,0
S:G$RI$0$0({1}SX:U),J,0,0
S:G$RI0$0$0({1}SX:U),J,0,0
S:G$TI$0$0({1}SX:U),J,0,0
S:G$TI0$0$0({1}SX:U),J,0,0
S:G$RB8$0$0({1}SX:U),J,0,0
S:G$RB80$0$0({1}SX:U),J,0,0
S:G$TB8$0$0({1}SX:U),J,0,0
S:G$TB80$0$0({1}SX:U),J,0,0
S:G$REN$0$0({1}SX:U),J,0,0
S:G$REN0$0$0({1}SX:U),J,0,0
S:G$SM2$0$0({1}SX:U),J,0,0
S:G$SM20$0$0({1}SX:U),J,0,0
S:G$MCE0$0$0({1}SX:U),J,0,0
S:G$SM1$0$0({1}SX:U),J,0,0
S:G$SM10$0$0({1}SX:U),J,0,0
S:G$SM0$0$0({1}SX:U),J,0,0
S:G$SM00$0$0({1}SX:U),J,0,0
S:G$S0MODE$0$0({1}SX:U),J,0,0
S:G$P2_0$0$0({1}SX:U),J,0,0
S:G$P2_1$0$0({1}SX:U),J,0,0
S:G$P2_2$0$0({1}SX:U),J,0,0
S:G$P2_3$0$0({1}SX:U),J,0,0
S:G$P2_4$0$0({1}SX:U),J,0,0
S:G$P2_5$0$0({1}SX:U),J,0,0
S:G$P2_6$0$0({1}SX:U),J,0,0
S:G$P2_7$0$0({1}SX:U),J,0,0
S:G$EX0$0$0({1}SX:U),J,0,0
S:G$ET0$0$0({1}SX:U),J,0,0
S:G$EX1$0$0({1}SX:U),J,0,0
S:G$ET1$0$0({1}SX:U),J,0,0
S:G$ES0$0$0({1}SX:U),J,0,0
S:G$ES$0$0({1}SX:U),J,0,0
S:G$ET2$0$0({1}SX:U),J,0,0
S:G$EA$0$0({1}SX:U),J,0,0
S:G$P3_0$0$0({1}SX:U),J,0,0
S:G$P3_1$0$0({1}SX:U),J,0,0
S:G$P3_2$0$0({1}SX:U),J,0,0
S:G$P3_3$0$0({1}SX:U),J,0,0
S:G$P3_4$0$0({1}SX:U),J,0,0
S:G$P3_5$0$0({1}SX:U),J,0,0
S:G$P3_6$0$0({1}SX:U),J,0,0
S:G$P3_7$0$0({1}SX:U),J,0,0
S:G$PX0$0$0({1}SX:U),J,0,0
S:G$PT0$0$0({1}SX:U),J,0,0
S:G$PX1$0$0({1}SX:U),J,0,0
S:G$PT1$0$0({1}SX:U),J,0,0
S:G$PS0$0$0({1}SX:U),J,0,0
S:G$PS$0$0({1}SX:U),J,0,0
S:G$PT2$0$0({1}SX:U),J,0,0
S:G$SMBTOE$0$0({1}SX:U),J,0,0
S:G$SMBFTE$0$0({1}SX:U),J,0,0
S:G$AA$0$0({1}SX:U),J,0,0
S:G$SI$0$0({1}SX:U),J,0,0
S:G$STO$0$0({1}SX:U),J,0,0
S:G$STA$0$0({1}SX:U),J,0,0
S:G$ENSMB$0$0({1}SX:U),J,0,0
S:G$BUSY$0$0({1}SX:U),J,0,0
S:G$CPRL2$0$0({1}SX:U),J,0,0
S:G$CT2$0$0({1}SX:U),J,0,0
S:G$TR2$0$0({1}SX:U),J,0,0
S:G$EXEN2$0$0({1}SX:U),J,0,0
S:G$TCLK$0$0({1}SX:U),J,0,0
S:G$RCLK$0$0({1}SX:U),J,0,0
S:G$EXF2$0$0({1}SX:U),J,0,0
S:G$TF2$0$0({1}SX:U),J,0,0
S:G$P$0$0({1}SX:U),J,0,0
S:G$F1$0$0({1}SX:U),J,0,0
S:G$OV$0$0({1}SX:U),J,0,0
S:G$RS0$0$0({1}SX:U),J,0,0
S:G$RS1$0$0({1}SX:U),J,0,0
S:G$F0$0$0({1}SX:U),J,0,0
S:G$AC$0$0({1}SX:U),J,0,0
S:G$CY$0$0({1}SX:U),J,0,0
S:G$CCF0$0$0({1}SX:U),J,0,0
S:G$CCF1$0$0({1}SX:U),J,0,0
S:G$CCF2$0$0({1}SX:U),J,0,0
S:G$CCF3$0$0({1}SX:U),J,0,0
S:G$CCF4$0$0({1}SX:U),J,0,0
S:G$CR$0$0({1}SX:U),J,0,0
S:G$CF$0$0({1}SX:U),J,0,0
S:G$ADLJST$0$0({1}SX:U),J,0,0
S:G$AD0LJST$0$0({1}SX:U),J,0,0
S:G$ADWINT$0$0({1}SX:U),J,0,0
S:G$AD0WINT$0$0({1}SX:U),J,0,0
S:G$ADSTM0$0$0({1}SX:U),J,0,0
S:G$AD0CM0$0$0({1}SX:U),J,0,0
S:G$ADSTM1$0$0({1}SX:U),J,0,0
S:G$AD0CM1$0$0({1}SX:U),J,0,0
S:G$ADBUSY$0$0({1}SX:U),J,0,0
S:G$AD0BUSY$0$0({1}SX:U),J,0,0
S:G$ADCINT$0$0({1}SX:U),J,0,0
S:G$AD0INT$0$0({1}SX:U),J,0,0
S:G$ADCTM$0$0({1}SX:U),J,0,0
S:G$AD0TM$0$0({1}SX:U),J,0,0
S:G$ADCEN$0$0({1}SX:U),J,0,0
S:G$AD0EN$0$0({1}SX:U),J,0,0
S:G$SPIEN$0$0({1}SX:U),J,0,0
S:G$MSTEN$0$0({1}SX:U),J,0,0
S:G$SLVSEL$0$0({1}SX:U),J,0,0
S:G$TXBSY$0$0({1}SX:U),J,0,0
S:G$RXOVRN$0$0({1}SX:U),J,0,0
S:G$MODF$0$0({1}SX:U),J,0,0
S:G$WCOL$0$0({1}SX:U),J,0,0
S:G$SPIF$0$0({1}SX:U),J,0,0
S:G$LED0$0$0({1}SX:U),J,0,0
S:G$BILED0$0$0({1}SX:U),J,0,0
S:G$BILED1$0$0({1}SX:U),J,0,0
S:G$BUZZER$0$0({1}SX:U),J,0,0
S:G$SS$0$0({1}SX:U),J,0,0
S:G$PB1$0$0({1}SX:U),J,0,0
S:G$PB2$0$0({1}SX:U),J,0,0
S:G$SYSCLK_Init$0$0({2}DF,SV:S),C,0,0
S:G$UART0_Init$0$0({2}DF,SV:S),C,0,0
S:G$Sys_Init$0$0({2}DF,SV:S),C,0,0
S:G$getchar_nw$0$0({2}DF,SC:U),C,0,0
S:G$_print_format$0$0({2}DF,SI:S),C,0,0
S:G$printf_small$0$0({2}DF,SV:S),C,0,0
S:G$printf$0$0({2}DF,SI:S),C,0,0
S:G$vprintf$0$0({2}DF,SI:S),C,0,0
S:G$sprintf$0$0({2}DF,SI:S),C,0,0
S:G$vsprintf$0$0({2}DF,SI:S),C,0,0
S:G$puts$0$0({2}DF,SI:S),C,0,0
S:G$getchar$0$0({2}DF,SC:U),C,0,0
S:G$putchar$0$0({2}DF,SV:S),C,0,0
S:G$printf_fast$0$0({2}DF,SV:S),C,0,0
S:G$printf_fast_f$0$0({2}DF,SV:S),C,0,0
S:G$printf_tiny$0$0({2}DF,SV:S),C,0,0
S:G$main$0$0({2}DF,SV:S),C,0,0
S:Flab1_1$__str_0$0$0({23}DA23d,SC:S),D,0,0
S:Flab1_1$__str_1$0$0({22}DA22d,SC:S),D,0,0
S:Flab1_1$__str_2$0$0({42}DA42d,SC:S),D,0,0
S:Flab1_1$__str_3$0$0({48}DA48d,SC:S),D,0,0
S:Flab1_1$__str_4$0$0({48}DA48d,SC:S),D,0,0
|
-- RUN: %llvmgcc -S -g %s
package Debug_Var_Size is
subtype Length_Type is Positive range 1 .. 64;
type T (Length : Length_Type := 1) is record
Varying_Length : String (1 .. Length);
Fixed_Length : Boolean;
end record;
end;
|
package FLTK.Images.Pixmaps.XPM is
type XPM_Image is new Pixmap with private;
type XPM_Image_Reference (Data : not null access XPM_Image'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(Filename : in String)
return XPM_Image;
end Forge;
private
type XPM_Image is new Pixmap with null record;
overriding procedure Finalize
(This : in out XPM_Image);
end FLTK.Images.Pixmaps.XPM;
|
<?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>hls_target</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>4</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>hw_input_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>hw_input.V.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</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>hw_input_V_last_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_input.V.last.V</originalName>
<rtlName></rtlName>
<coreName></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="_3">
<Value>
<Obj>
<type>1</type>
<id>3</id>
<name>hw_output_V_value_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_output.V.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<direction>1</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_4">
<Value>
<Obj>
<type>1</type>
<id>4</id>
<name>hw_output_V_last_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_output.V.last.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<direction>1</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_5">
<Value>
<Obj>
<type>0</type>
<id>11</id>
<name>p_hw_input_stencil_st</name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory>
<lineNumber>52</lineNumber>
<contextFuncName>hls_target</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/sharpen</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>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>52</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>_hw_input_stencil_stream.V.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>72</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_6">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name>p_hw_input_stencil_st_3</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>72</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name>p_hw_input_stencil_st_4</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>72</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>23</id>
<name>p_delayed_input_stenc</name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory>
<lineNumber>82</lineNumber>
<contextFuncName>hls_target</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/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>82</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>_delayed_input_stencil_stream.V.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>27</id>
<name>p_mul_stencil_stream_s</name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory>
<lineNumber>190</lineNumber>
<contextFuncName>hls_target</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/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>190</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>_mul_stencil_stream.V.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>45</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name></name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory>
<lineNumber>56</lineNumber>
<contextFuncName>hls_target</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/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>56</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>47</item>
<item>48</item>
<item>49</item>
<item>50</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>34</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>6</count>
<item_version>0</item_version>
<item>52</item>
<item>53</item>
<item>54</item>
<item>55</item>
<item>329</item>
<item>330</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>35</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>57</item>
<item>58</item>
<item>59</item>
<item>327</item>
<item>331</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>36</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>61</item>
<item>62</item>
<item>63</item>
<item>328</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>37</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>65</item>
<item>66</item>
<item>67</item>
<item>68</item>
<item>69</item>
<item>325</item>
<item>326</item>
<item>332</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name></name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory>
<lineNumber>343</lineNumber>
<contextFuncName>hls_target</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/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>343</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>6</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_16">
<Value>
<Obj>
<type>2</type>
<id>40</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>1</content>
</item>
<item class_id_reference="16" object_id="_17">
<Value>
<Obj>
<type>2</type>
<id>46</id>
<name>linebuffer_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>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:linebuffer.1></content>
</item>
<item class_id_reference="16" object_id="_18">
<Value>
<Obj>
<type>2</type>
<id>51</id>
<name>Loop_1_proc</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><constant:Loop_1_proc></content>
</item>
<item class_id_reference="16" object_id="_19">
<Value>
<Obj>
<type>2</type>
<id>56</id>
<name>Loop_2_proc</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><constant:Loop_2_proc></content>
</item>
<item class_id_reference="16" object_id="_20">
<Value>
<Obj>
<type>2</type>
<id>60</id>
<name>Loop_3_proc</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><constant:Loop_3_proc></content>
</item>
<item class_id_reference="16" object_id="_21">
<Value>
<Obj>
<type>2</type>
<id>64</id>
<name>Loop_4_proc</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><constant:Loop_4_proc></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="_22">
<Obj>
<type>3</type>
<id>39</id>
<name>hls_target</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>11</count>
<item_version>0</item_version>
<item>11</item>
<item>15</item>
<item>19</item>
<item>23</item>
<item>27</item>
<item>33</item>
<item>34</item>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>32</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_23">
<id>41</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_24">
<id>42</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_25">
<id>43</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_26">
<id>44</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>23</sink_obj>
</item>
<item class_id_reference="20" object_id="_27">
<id>45</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>27</sink_obj>
</item>
<item class_id_reference="20" object_id="_28">
<id>47</id>
<edge_type>1</edge_type>
<source_obj>46</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_29">
<id>48</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_30">
<id>49</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_31">
<id>50</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_32">
<id>52</id>
<edge_type>1</edge_type>
<source_obj>51</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_33">
<id>53</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_34">
<id>54</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_35">
<id>55</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_36">
<id>57</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_37">
<id>58</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_38">
<id>59</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_39">
<id>61</id>
<edge_type>1</edge_type>
<source_obj>60</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_40">
<id>62</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_41">
<id>63</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_42">
<id>65</id>
<edge_type>1</edge_type>
<source_obj>64</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_43">
<id>66</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_44">
<id>67</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_45">
<id>68</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_46">
<id>69</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_47">
<id>325</id>
<edge_type>4</edge_type>
<source_obj>36</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_48">
<id>326</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_49">
<id>327</id>
<edge_type>4</edge_type>
<source_obj>34</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_50">
<id>328</id>
<edge_type>4</edge_type>
<source_obj>34</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_51">
<id>329</id>
<edge_type>4</edge_type>
<source_obj>33</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_52">
<id>330</id>
<edge_type>4</edge_type>
<source_obj>33</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_53">
<id>331</id>
<edge_type>4</edge_type>
<source_obj>34</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_54">
<id>332</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>37</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="_55">
<mId>1</mId>
<mTag>hls_target</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>39</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="_56">
<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>5</count>
<item_version>0</item_version>
<item class_id="26" tracking_level="1" version="0" object_id="_57">
<type>0</type>
<name>linebuffer_1_U0</name>
<ssdmobj_id>33</ssdmobj_id>
<pins class_id="27" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="1" version="0" object_id="_58">
<port class_id="29" tracking_level="1" version="0" object_id="_59">
<name>in_axi_stream_V_value_V</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id="30" tracking_level="1" version="0" object_id="_60">
<type>0</type>
<name>linebuffer_1_U0</name>
<ssdmobj_id>33</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_61">
<port class_id_reference="29" object_id="_62">
<name>in_axi_stream_V_last_V</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_60"></inst>
</item>
<item class_id_reference="28" object_id="_63">
<port class_id_reference="29" object_id="_64">
<name>out_stream_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_60"></inst>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_65">
<type>0</type>
<name>Loop_1_proc_U0</name>
<ssdmobj_id>34</ssdmobj_id>
<pins>
<count>3</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_66">
<port class_id_reference="29" object_id="_67">
<name>p_hw_input_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id="_68">
<type>0</type>
<name>Loop_1_proc_U0</name>
<ssdmobj_id>34</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_69">
<port class_id_reference="29" object_id="_70">
<name>p_hw_input_stencil_stream_to_delayed_input_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"></inst>
</item>
<item class_id_reference="28" object_id="_71">
<port class_id_reference="29" object_id="_72">
<name>p_hw_input_stencil_stream_to_mul_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"></inst>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_73">
<type>0</type>
<name>Loop_2_proc_U0</name>
<ssdmobj_id>35</ssdmobj_id>
<pins>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_74">
<port class_id_reference="29" object_id="_75">
<name>p_hw_input_stencil_stream_to_delayed_input_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id="_76">
<type>0</type>
<name>Loop_2_proc_U0</name>
<ssdmobj_id>35</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_77">
<port class_id_reference="29" object_id="_78">
<name>p_delayed_input_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_76"></inst>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_79">
<type>0</type>
<name>Loop_3_proc_U0</name>
<ssdmobj_id>36</ssdmobj_id>
<pins>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_80">
<port class_id_reference="29" object_id="_81">
<name>p_hw_input_stencil_stream_to_mul_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id="_82">
<type>0</type>
<name>Loop_3_proc_U0</name>
<ssdmobj_id>36</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_83">
<port class_id_reference="29" object_id="_84">
<name>p_mul_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_82"></inst>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_85">
<type>0</type>
<name>Loop_4_proc_U0</name>
<ssdmobj_id>37</ssdmobj_id>
<pins>
<count>4</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_86">
<port class_id_reference="29" object_id="_87">
<name>hw_output_V_value_V</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id="_88">
<type>0</type>
<name>Loop_4_proc_U0</name>
<ssdmobj_id>37</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_89">
<port class_id_reference="29" object_id="_90">
<name>hw_output_V_last_V</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"></inst>
</item>
<item class_id_reference="28" object_id="_91">
<port class_id_reference="29" object_id="_92">
<name>p_mul_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"></inst>
</item>
<item class_id_reference="28" object_id="_93">
<port class_id_reference="29" object_id="_94">
<name>p_delayed_input_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"></inst>
</item>
</pins>
</item>
</process_list>
<channel_list class_id="31" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="32" tracking_level="1" version="0" object_id="_95">
<type>1</type>
<name>p_hw_input_stencil_st</name>
<ssdmobj_id>11</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>72</bitwidth>
<source class_id_reference="28" object_id="_96">
<port class_id_reference="29" object_id="_97">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_60"></inst>
</source>
<sink class_id_reference="28" object_id="_98">
<port class_id_reference="29" object_id="_99">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"></inst>
</sink>
</item>
<item class_id_reference="32" object_id="_100">
<type>1</type>
<name>p_hw_input_stencil_st_3</name>
<ssdmobj_id>15</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>72</bitwidth>
<source class_id_reference="28" object_id="_101">
<port class_id_reference="29" object_id="_102">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"></inst>
</source>
<sink class_id_reference="28" object_id="_103">
<port class_id_reference="29" object_id="_104">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_76"></inst>
</sink>
</item>
<item class_id_reference="32" object_id="_105">
<type>1</type>
<name>p_hw_input_stencil_st_4</name>
<ssdmobj_id>19</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>72</bitwidth>
<source class_id_reference="28" object_id="_106">
<port class_id_reference="29" object_id="_107">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"></inst>
</source>
<sink class_id_reference="28" object_id="_108">
<port class_id_reference="29" object_id="_109">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_82"></inst>
</sink>
</item>
<item class_id_reference="32" object_id="_110">
<type>1</type>
<name>p_delayed_input_stenc</name>
<ssdmobj_id>23</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>32</bitwidth>
<source class_id_reference="28" object_id="_111">
<port class_id_reference="29" object_id="_112">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_76"></inst>
</source>
<sink class_id_reference="28" object_id="_113">
<port class_id_reference="29" object_id="_114">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"></inst>
</sink>
</item>
<item class_id_reference="32" object_id="_115">
<type>1</type>
<name>p_mul_stencil_stream_s</name>
<ssdmobj_id>27</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>32</bitwidth>
<source class_id_reference="28" object_id="_116">
<port class_id_reference="29" object_id="_117">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_82"></inst>
</source>
<sink class_id_reference="28" object_id="_118">
<port class_id_reference="29" object_id="_119">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"></inst>
</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="-1"></fsm>
<res class_id="-1"></res>
<node_label_latency class_id="36" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="37" tracking_level="0" version="0">
<first>11</first>
<second class_id="38" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>15</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>23</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>27</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>2</first>
<second>1</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>4</first>
<second>1</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>4</first>
<second>1</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>6</first>
<second>1</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>7</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="39" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="40" tracking_level="0" version="0">
<first>39</first>
<second class_id="41" tracking_level="0" version="0">
<first>0</first>
<second>7</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="42" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="43" tracking_level="1" version="0" object_id="_120">
<region_name>hls_target</region_name>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</basic_blocks>
<nodes>
<count>34</count>
<item_version>0</item_version>
<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>
<item>15</item>
<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>
</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="44" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="45" 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="46" 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="47" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_port_io_nodes>
<port2core class_id="48" 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 COMPILER COMPONENTS --
-- --
-- S Y S T E M . E X C E P T I O N S --
-- --
-- S p e c --
-- --
-- Copyright (C) 2006-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. --
-- --
------------------------------------------------------------------------------
pragma Compiler_Unit_Warning;
package System.Exceptions is
pragma Preelaborate;
-- To let Ada.Exceptions "with" us and let us "with" Standard_Library
ZCX_By_Default : constant Boolean;
-- Visible copy to allow Ada.Exceptions to know the exception model
private
type Require_Body;
-- Dummy Taft-amendment type to make it legal (and required) to provide
-- a body for this package.
--
-- We do this because this unit used to have a body in earlier versions
-- of GNAT, and it causes various bootstrap path problems etc if we remove
-- a body, since we may pick up old unwanted bodies.
--
-- Note: we use this standard Ada method of requiring a body rather
-- than the cleaner pragma No_Body because System.Exceptions is a compiler
-- unit, and older bootstrap compilers do not support pragma No_Body. This
-- type can be removed, and s-except.adb can be replaced by a source
-- containing just that pragma, when we decide to move to a 2008 compiler
-- as the minimal bootstrap compiler version. ???
ZCX_By_Default : constant Boolean := System.ZCX_By_Default;
Foreign_Exception : exception;
pragma Unreferenced (Foreign_Exception);
-- This hidden exception is used to represent non-Ada exception to
-- Ada handlers. It is in fact referenced by its linking name.
end System.Exceptions;
|
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
generic
type Parent is abstract new Test_Event_Base with private;
package Apsepp.Test_Event_Class.Generic_Exception_Mixin is
type Child_W_Exception is new Parent with private
with Type_Invariant'Class =>
Child_W_Exception.Exception_Access = null
or else
(
Exception_Identity (Child_W_Exception.Exception_Access.all)
/=
Null_Id
);
overriding
procedure Set (Obj : in out Child_W_Exception; Data : Test_Event_Data);
overriding
procedure Clean_Up (Obj : in out Child_W_Exception);
overriding
function Exception_Access
(Obj : Child_W_Exception) return Exception_Occurrence_Access;
overriding
procedure Free_Exception (Obj : in out Child_W_Exception);
private
type Child_W_Exception is new Parent with record
E : Exception_Occurrence_Access;
end record;
end Apsepp.Test_Event_Class.Generic_Exception_Mixin;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . O S _ I N T E R F A C E --
-- --
-- B o d y --
-- --
-- Copyright (C) 1997-2020, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This is the VxWorks version
-- This package encapsulates all direct interfaces to OS services that are
-- needed by children of System.
package body System.OS_Interface is
use type Interfaces.C.int;
Low_Priority : constant := 255;
-- VxWorks native (default) lowest scheduling priority
-----------------
-- To_Duration --
-----------------
function To_Duration (TS : timespec) return Duration is
begin
return Duration (TS.ts_sec) + Duration (TS.ts_nsec) / 10#1#E9;
end To_Duration;
-----------------
-- To_Timespec --
-----------------
function To_Timespec (D : Duration) return timespec is
S : time_t;
F : Duration;
begin
S := time_t (Long_Long_Integer (D));
F := D - Duration (S);
-- If F is negative due to a round-up, adjust for positive F value
if F < 0.0 then
S := S - 1;
F := F + 1.0;
end if;
return timespec'(ts_sec => S,
ts_nsec => long (Long_Long_Integer (F * 10#1#E9)));
end To_Timespec;
-------------------------
-- To_VxWorks_Priority --
-------------------------
function To_VxWorks_Priority (Priority : int) return int is
begin
return Low_Priority - Priority;
end To_VxWorks_Priority;
--------------------
-- To_Clock_Ticks --
--------------------
-- ??? - For now, we'll always get the system clock rate since it is
-- allowed to be changed during run-time in VxWorks. A better method would
-- be to provide an operation to set it that so we can always know its
-- value.
-- Another thing we should probably allow for is a resultant tick count
-- greater than int'Last. This should probably be a procedure with two
-- output parameters, one in the range 0 .. int'Last, and another
-- representing the overflow count.
function To_Clock_Ticks (D : Duration) return int is
Ticks : Long_Long_Integer;
Rate_Duration : Duration;
Ticks_Duration : Duration;
begin
if D < 0.0 then
return ERROR;
end if;
-- Ensure that the duration can be converted to ticks
-- at the current clock tick rate without overflowing.
Rate_Duration := Duration (sysClkRateGet);
if D > (Duration'Last / Rate_Duration) then
Ticks := Long_Long_Integer (int'Last);
else
Ticks_Duration := D * Rate_Duration;
Ticks := Long_Long_Integer (Ticks_Duration);
if Ticks_Duration > Duration (Ticks) then
Ticks := Ticks + 1;
end if;
if Ticks > Long_Long_Integer (int'Last) then
Ticks := Long_Long_Integer (int'Last);
end if;
end if;
return int (Ticks);
end To_Clock_Ticks;
-----------------------------
-- Binary_Semaphore_Create --
-----------------------------
function Binary_Semaphore_Create return Binary_Semaphore_Id is
begin
return Binary_Semaphore_Id (semBCreate (SEM_Q_FIFO, SEM_EMPTY));
end Binary_Semaphore_Create;
-----------------------------
-- Binary_Semaphore_Delete --
-----------------------------
function Binary_Semaphore_Delete (ID : Binary_Semaphore_Id) return int is
begin
return semDelete (SEM_ID (ID));
end Binary_Semaphore_Delete;
-----------------------------
-- Binary_Semaphore_Obtain --
-----------------------------
function Binary_Semaphore_Obtain (ID : Binary_Semaphore_Id) return int is
begin
return semTake (SEM_ID (ID), WAIT_FOREVER);
end Binary_Semaphore_Obtain;
------------------------------
-- Binary_Semaphore_Release --
------------------------------
function Binary_Semaphore_Release (ID : Binary_Semaphore_Id) return int is
begin
return semGive (SEM_ID (ID));
end Binary_Semaphore_Release;
----------------------------
-- Binary_Semaphore_Flush --
----------------------------
function Binary_Semaphore_Flush (ID : Binary_Semaphore_Id) return int is
begin
return semFlush (SEM_ID (ID));
end Binary_Semaphore_Flush;
----------
-- kill --
----------
function kill (pid : t_id; sig : Signal) return int is
begin
return System.VxWorks.Ext.kill (pid, int (sig));
end kill;
-----------------------
-- Interrupt_Connect --
-----------------------
function Interrupt_Connect
(Vector : Interrupt_Vector;
Handler : Interrupt_Handler;
Parameter : System.Address := System.Null_Address) return int is
begin
return
System.VxWorks.Ext.Interrupt_Connect
(System.VxWorks.Ext.Interrupt_Vector (Vector),
System.VxWorks.Ext.Interrupt_Handler (Handler),
Parameter);
end Interrupt_Connect;
-----------------------
-- Interrupt_Context --
-----------------------
function Interrupt_Context return int is
begin
return System.VxWorks.Ext.Interrupt_Context;
end Interrupt_Context;
--------------------------------
-- Interrupt_Number_To_Vector --
--------------------------------
function Interrupt_Number_To_Vector
(intNum : int) return Interrupt_Vector
is
begin
return Interrupt_Vector
(System.VxWorks.Ext.Interrupt_Number_To_Vector (intNum));
end Interrupt_Number_To_Vector;
-----------------
-- Current_CPU --
-----------------
function Current_CPU return Multiprocessors.CPU is
begin
-- ??? Should use vxworks multiprocessor interface
return Multiprocessors.CPU'First;
end Current_CPU;
end System.OS_Interface;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G N A T . O S _ L I B --
-- --
-- S p e c --
-- --
-- Copyright (C) 1995-2006, 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. --
-- --
------------------------------------------------------------------------------
-- Operating system interface facilities
-- This package contains types and procedures for interfacing to the
-- underlying OS. It is used by the GNAT compiler and by tools associated
-- with the GNAT compiler, and therefore works for the various operating
-- systems to which GNAT has been ported. This package will undoubtedly grow
-- as new services are needed by various tools.
-- This package tends to use fairly low-level Ada in order to not bring in
-- large portions of the RTL. For example, functions return access to string
-- as part of avoiding functions returning unconstrained types.
-- Except where specifically noted, these routines are portable across all
-- GNAT implementations on all supported operating systems.
with System;
with GNAT.Strings;
package GNAT.OS_Lib is
pragma Elaborate_Body (OS_Lib);
-----------------------
-- String Operations --
-----------------------
-- These are reexported from package Strings (which was introduced to
-- avoid different packages declarting different types unnecessarily).
-- See package GNAT.Strings for details.
subtype String_Access is Strings.String_Access;
function "=" (Left, Right : String_Access) return Boolean
renames Strings."=";
procedure Free (X : in out String_Access) renames Strings.Free;
subtype String_List is Strings.String_List;
function "=" (Left, Right : String_List) return Boolean
renames Strings."=";
function "&" (Left : String_Access; Right : String_Access)
return String_List renames Strings."&";
function "&" (Left : String_Access; Right : String_List)
return String_List renames Strings."&";
function "&" (Left : String_List; Right : String_Access)
return String_List renames Strings."&";
function "&" (Left : String_List; Right : String_List)
return String_List renames Strings."&";
subtype String_List_Access is Strings.String_List_Access;
function "=" (Left, Right : String_List_Access) return Boolean
renames Strings."=";
procedure Free (Arg : in out String_List_Access)
renames Strings.Free;
---------------------
-- Time/Date Stuff --
---------------------
type OS_Time is private;
-- The OS's notion of time is represented by the private type OS_Time.
-- This is the type returned by the File_Time_Stamp functions to obtain
-- the time stamp of a specified file. Functions and a procedure (modeled
-- after the similar subprograms in package Calendar) are provided for
-- extracting information from a value of this type. Although these are
-- called GM, the intention is not that they provide GMT times in all
-- cases but rather the actual (time-zone independent) time stamp of the
-- file (of course in Unix systems, this *is* in GMT form).
Invalid_Time : constant OS_Time;
-- A special unique value used to flag an invalid time stamp value
subtype Year_Type is Integer range 1900 .. 2099;
subtype Month_Type is Integer range 1 .. 12;
subtype Day_Type is Integer range 1 .. 31;
subtype Hour_Type is Integer range 0 .. 23;
subtype Minute_Type is Integer range 0 .. 59;
subtype Second_Type is Integer range 0 .. 59;
-- Declarations similar to those in Calendar, breaking down the time
function GM_Year (Date : OS_Time) return Year_Type;
function GM_Month (Date : OS_Time) return Month_Type;
function GM_Day (Date : OS_Time) return Day_Type;
function GM_Hour (Date : OS_Time) return Hour_Type;
function GM_Minute (Date : OS_Time) return Minute_Type;
function GM_Second (Date : OS_Time) return Second_Type;
-- Functions to extract information from OS_Time value
function "<" (X, Y : OS_Time) return Boolean;
function ">" (X, Y : OS_Time) return Boolean;
function ">=" (X, Y : OS_Time) return Boolean;
function "<=" (X, Y : OS_Time) return Boolean;
-- Basic comparison operators on OS_Time with obvious meanings. Note that
-- these have Intrinsic convention, so for example it is not permissible
-- to create accesses to any of these functions.
procedure GM_Split
(Date : OS_Time;
Year : out Year_Type;
Month : out Month_Type;
Day : out Day_Type;
Hour : out Hour_Type;
Minute : out Minute_Type;
Second : out Second_Type);
-- Analogous to the routine of similar name in Calendar, takes an OS_Time
-- and splits it into its component parts with obvious meanings.
----------------
-- File Stuff --
----------------
-- These routines give access to the open/creat/close/read/write level of
-- I/O routines in the typical C library (these functions are not part of
-- the ANSI C standard, but are typically available in all systems). See
-- also package Interfaces.C_Streams for access to the stream level
-- routines.
-- Note on file names. If a file name is passed as type String in any of
-- the following specifications, then the name is a normal Ada string and
-- need not be NUL-terminated. However, a trailing NUL character is
-- permitted, and will be ignored (more accurately, the NUL and any
-- characters that follow it will be ignored).
type File_Descriptor is new Integer;
-- Corresponds to the int file handle values used in the C routines
Standin : constant File_Descriptor := 0;
Standout : constant File_Descriptor := 1;
Standerr : constant File_Descriptor := 2;
-- File descriptors for standard input output files
Invalid_FD : constant File_Descriptor := -1;
-- File descriptor returned when error in opening/creating file;
type Mode is (Binary, Text);
for Mode'Size use Integer'Size;
for Mode use (Binary => 0, Text => 1);
-- Used in all the Open and Create calls to specify if the file is to be
-- opened in binary mode or text mode. In systems like Unix, this has no
-- effect, but in systems capable of text mode translation, the use of
-- Text as the mode parameter causes the system to do CR/LF translation
-- and also to recognize the DOS end of file character on input. The use
-- of Text where appropriate allows programs to take a portable Unix view
-- of DOS-format files and process them appropriately.
function Open_Read
(Name : String;
Fmode : Mode) return File_Descriptor;
-- Open file Name for reading, returning file descriptor File descriptor
-- returned is Invalid_FD if file cannot be opened.
function Open_Read_Write
(Name : String;
Fmode : Mode) return File_Descriptor;
-- Open file Name for both reading and writing, returning file descriptor.
-- File descriptor returned is Invalid_FD if file cannot be opened.
function Create_File
(Name : String;
Fmode : Mode) return File_Descriptor;
-- Creates new file with given name for writing, returning file descriptor
-- for subsequent use in Write calls. File descriptor returned is
-- Invalid_FD if file cannot be successfully created.
function Create_Output_Text_File (Name : String) return File_Descriptor;
-- Creates new text file with given name suitable to redirect standard
-- output, returning file descriptor. File descriptor returned is
-- Invalid_FD if file cannot be successfully created.
function Create_New_File
(Name : String;
Fmode : Mode) return File_Descriptor;
-- Create new file with given name for writing, returning file descriptor
-- for subsequent use in Write calls. This differs from Create_File in
-- that it fails if the file already exists. File descriptor returned is
-- Invalid_FD if the file exists or cannot be created.
Temp_File_Len : constant Integer := 12;
-- Length of name returned by Create_Temp_File call (GNAT-XXXXXX & NUL)
subtype Temp_File_Name is String (1 .. Temp_File_Len);
-- String subtype set by Create_Temp_File
procedure Create_Temp_File
(FD : out File_Descriptor;
Name : out Temp_File_Name);
-- Create and open for writing a temporary file in the current working
-- directory. The name of the file and the File Descriptor are returned.
-- The File Descriptor returned is Invalid_FD in the case of failure. No
-- mode parameter is provided. Since this is a temporary file, there is no
-- point in doing text translation on it.
--
-- On some OSes, the maximum number of temp files that can be created with
-- this procedure may be limited. When the maximum is reached, this
-- procedure returns Invalid_FD. On some OSes, there may be a race
-- condition between processes trying to create temp files at the same
-- time in the same directory using this procedure.
procedure Create_Temp_File
(FD : out File_Descriptor;
Name : out String_Access);
-- Create and open for writing a temporary file in the current working
-- directory. The name of the file and the File Descriptor are returned.
-- No mode parameter is provided. Since this is a temporary file, there is
-- no point in doing text translation on it. It is the responsibility of
-- the caller to deallocate the access value returned in Name.
--
-- This procedure will always succeed if the current working directory is
-- writable. If the current working directory is not writable, then
-- Invalid_FD is returned for the file descriptor and null for the Name.
-- There is no race condition problem between processes trying to create
-- temp files at the same time in the same directory.
procedure Close (FD : File_Descriptor; Status : out Boolean);
-- Close file referenced by FD. Status is False if the underlying service
-- failed. Reasons for failure include: disk full, disk quotas exceeded
-- and invalid file descriptor (the file may have been closed twice).
procedure Close (FD : File_Descriptor);
-- Close file referenced by FD. This form is used when the caller wants to
-- ignore any possible error (see above for error cases).
procedure Set_Close_On_Exec
(FD : File_Descriptor;
Close_On_Exec : Boolean;
Status : out Boolean);
-- When Close_On_Exec is True, mark FD to be closed automatically when new
-- program is executed by the calling process (i.e. prevent FD from being
-- inherited by child processes). When Close_On_Exec is False, mark FD to
-- not be closed on exec (i.e. allow it to be inherited). Status is False
-- if the operation could not be performed.
procedure Delete_File (Name : String; Success : out Boolean);
-- Deletes file. Success is set True or False indicating if the delete is
-- successful.
procedure Rename_File
(Old_Name : String;
New_Name : String;
Success : out Boolean);
-- Rename a file. Success is set True or False indicating if the rename is
-- successful or not.
-- The following defines the mode for the Copy_File procedure below. Note
-- that "time stamps and other file attributes" in the descriptions below
-- refers to the creation and last modification times, and also the file
-- access (read/write/execute) status flags.
type Copy_Mode is
(Copy,
-- Copy the file. It is an error if the target file already exists. The
-- time stamps and other file attributes are preserved in the copy.
Overwrite,
-- If the target file exists, the file is replaced otherwise the file
-- is just copied. The time stamps and other file attributes are
-- preserved in the copy.
Append);
-- If the target file exists, the contents of the source file is
-- appended at the end. Otherwise the source file is just copied. The
-- time stamps and other file attributes are are preserved if the
-- destination file does not exist.
type Attribute is
(Time_Stamps,
-- Copy time stamps from source file to target file. All other
-- attributes are set to normal default values for file creation.
Full,
-- All attributes are copied from the source file to the target file.
-- This includes the timestamps, and for example also includes
-- read/write/execute attributes in Unix systems.
None);
-- No attributes are copied. All attributes including the time stamp
-- values are set to normal default values for file creation.
-- Note: The default is Time_Stamps, which corresponds to the normal
-- default on Windows style systems. Full corresponds to the typical
-- effect of "cp -p" on Unix systems, and None corresponds to the typical
-- effect of "cp" on Unix systems.
-- Note: Time_Stamps and Full are not supported on VMS and VxWorks
procedure Copy_File
(Name : String;
Pathname : String;
Success : out Boolean;
Mode : Copy_Mode := Copy;
Preserve : Attribute := Time_Stamps);
-- Copy a file. Name must designate a single file (no wild cards allowed).
-- Pathname can be a filename or directory name. In the latter case Name
-- is copied into the directory preserving the same file name. Mode
-- defines the kind of copy, see above with the default being a normal
-- copy in which the target file must not already exist. Success is set to
-- True or False indicating if the copy is successful (depending on the
-- specified Mode).
--
-- Note: this procedure is only supported to a very limited extent on VMS.
-- The only supported mode is Overwrite, and the only supported value for
-- Preserve is None, resulting in the default action which for Overwrite
-- is to leave attributes unchanged. Furthermore, the copy only works for
-- simple text files.
procedure Copy_Time_Stamps (Source, Dest : String; Success : out Boolean);
-- Copy Source file time stamps (last modification and last access time
-- stamps) to Dest file. Source and Dest must be valid filenames,
-- furthermore Dest must be writable. Success will be set to True if the
-- operation was successful and False otherwise.
--
-- Note: this procedure is not supported on VMS and VxWorks. On these
-- platforms, Success is always set to False.
function Read
(FD : File_Descriptor;
A : System.Address;
N : Integer) return Integer;
-- Read N bytes to address A from file referenced by FD. Returned value is
-- count of bytes actually read, which can be less than N at EOF.
function Write
(FD : File_Descriptor;
A : System.Address;
N : Integer) return Integer;
-- Write N bytes from address A to file referenced by FD. The returned
-- value is the number of bytes written, which can be less than N if a
-- disk full condition was detected.
Seek_Cur : constant := 1;
Seek_End : constant := 2;
Seek_Set : constant := 0;
-- Used to indicate origin for Lseek call
procedure Lseek
(FD : File_Descriptor;
offset : Long_Integer;
origin : Integer);
pragma Import (C, Lseek, "__gnat_lseek");
-- Sets the current file pointer to the indicated offset value, relative
-- to the current position (origin = SEEK_CUR), end of file (origin =
-- SEEK_END), or start of file (origin = SEEK_SET).
function File_Length (FD : File_Descriptor) return Long_Integer;
pragma Import (C, File_Length, "__gnat_file_length");
-- Get length of file from file descriptor FD
function File_Time_Stamp (Name : String) return OS_Time;
-- Given the name of a file or directory, Name, obtains and returns the
-- time stamp. This function can be used for an unopened file. Returns
-- Invalid_Time is Name doesn't correspond to an existing file.
function File_Time_Stamp (FD : File_Descriptor) return OS_Time;
-- Get time stamp of file from file descriptor FD Returns Invalid_Time is
-- FD doesn't correspond to an existing file.
function Normalize_Pathname
(Name : String;
Directory : String := "";
Resolve_Links : Boolean := True;
Case_Sensitive : Boolean := True) return String;
-- Returns a file name as an absolute path name, resolving all relative
-- directories, and symbolic links. The parameter Directory is a fully
-- resolved path name for a directory, or the empty string (the default).
-- Name is the name of a file, which is either relative to the given
-- directory name, if Directory is non-null, or to the current working
-- directory if Directory is null. The result returned is the normalized
-- name of the file. For most cases, if two file names designate the same
-- file through different paths, Normalize_Pathname will return the same
-- canonical name in both cases. However, there are cases when this is not
-- true; for example, this is not true in Unix for two hard links
-- designating the same file.
--
-- On Windows, the returned path will start with a drive letter except
-- when Directory is not empty and does not include a drive letter. If
-- Directory is empty (the default) and Name is a relative path or an
-- absolute path without drive letter, the letter of the current drive
-- will start the returned path. If Case_Sensitive is True (the default),
-- then this drive letter will be forced to upper case ("C:\...").
--
-- If Resolve_Links is set to True, then the symbolic links, on systems
-- that support them, will be fully converted to the name of the file or
-- directory pointed to. This is slightly less efficient, since it
-- requires system calls.
--
-- If Name cannot be resolved or is null on entry (for example if there is
-- symbolic link circularity, e.g. A is a symbolic link for B, and B is a
-- symbolic link for A), then Normalize_Pathname returns an empty string.
--
-- In VMS, if Name follows the VMS syntax file specification, it is first
-- converted into Unix syntax. If the conversion fails, Normalize_Pathname
-- returns an empty string.
--
-- For case-sensitive file systems, the value of Case_Sensitive parameter
-- is ignored. For file systems that are not case-sensitive, such as
-- Windows and OpenVMS, if this parameter is set to False, then the file
-- and directory names are folded to lower case. This allows checking
-- whether two files are the same by applying this function to their names
-- and comparing the results. If Case_Sensitive is set to True, this
-- function does not change the casing of file and directory names.
function Is_Absolute_Path (Name : String) return Boolean;
-- Returns True if Name is an absolute path name, i.e. it designates a
-- file or directory absolutely rather than relative to another directory.
function Is_Regular_File (Name : String) return Boolean;
-- Determines if the given string, Name, is the name of an existing
-- regular file. Returns True if so, False otherwise. Name may be an
-- absolute path name or a relative path name, including a simple file
-- name. If it is a relative path name, it is relative to the current
-- working directory.
function Is_Directory (Name : String) return Boolean;
-- Determines if the given string, Name, is the name of a directory.
-- Returns True if so, False otherwise. Name may be an absolute path
-- name or a relative path name, including a simple file name. If it is
-- a relative path name, it is relative to the current working directory.
function Is_Readable_File (Name : String) return Boolean;
-- Determines if the given string, Name, is the name of an existing file
-- that is readable. Returns True if so, False otherwise. Note that this
-- function simply interrogates the file attributes (e.g. using the C
-- function stat), so it does not indicate a situation in which a file may
-- not actually be readable due to some other process having exclusive
-- access.
function Is_Writable_File (Name : String) return Boolean;
-- Determines if the given string, Name, is the name of an existing file
-- that is writable. Returns True if so, False otherwise. Note that this
-- function simply interrogates the file attributes (e.g. using the C
-- function stat), so it does not indicate a situation in which a file may
-- not actually be writeable due to some other process having exclusive
-- access.
function Is_Symbolic_Link (Name : String) return Boolean;
-- Determines if the given string, Name, is the path of a symbolic link on
-- systems that support it. Returns True if so, False if the path is not a
-- symbolic link or if the system does not support symbolic links.
--
-- A symbolic link is an indirect pointer to a file; its directory entry
-- contains the name of the file to which it is linked. Symbolic links may
-- span file systems and may refer to directories.
procedure Set_Writable (Name : String);
-- Change the permissions on the named file to make it writable
-- for its owner.
procedure Set_Read_Only (Name : String);
-- Change the permissions on the named file to make it non-writable
-- for its owner.
procedure Set_Executable (Name : String);
-- Change the permissions on the named file to make it executable
-- for its owner.
function Locate_Exec_On_Path
(Exec_Name : String) return String_Access;
-- Try to locate an executable whose name is given by Exec_Name in the
-- directories listed in the environment Path. If the Exec_Name doesn't
-- have the executable suffix, it will be appended before the search.
-- Otherwise works like Locate_Regular_File below.
--
-- Note that this function allocates some memory for the returned value.
-- This memory needs to be deallocated after use.
function Locate_Regular_File
(File_Name : String;
Path : String) return String_Access;
-- Try to locate a regular file whose name is given by File_Name in the
-- directories listed in Path. If a file is found, its full pathname is
-- returned; otherwise, a null pointer is returned. If the File_Name given
-- is an absolute pathname, then Locate_Regular_File just checks that the
-- file exists and is a regular file. Otherwise, if the File_Name given
-- includes directory information, Locate_Regular_File first checks if the
-- file exists relative to the current directory. If it does not, or if
-- the File_Name given is a simple file name, the Path argument is parsed
-- according to OS conventions, and for each directory in the Path a check
-- is made if File_Name is a relative pathname of a regular file from that
-- directory.
--
-- Note that this function allocates some memory for the returned value.
-- This memory needs to be deallocated after use.
function Get_Debuggable_Suffix return String_Access;
-- Return the debuggable suffix convention. Usually this is the same as
-- the convention for Get_Executable_Suffix. The result is allocated on
-- the heap and should be freed after use to avoid storage leaks.
function Get_Target_Debuggable_Suffix return String_Access;
-- Return the target debuggable suffix convention. Usually this is the
-- same as the convention for Get_Executable_Suffix. The result is
-- allocated on the heap and should be freed after use to avoid storage
-- leaks.
function Get_Executable_Suffix return String_Access;
-- Return the executable suffix convention. The result is allocated on the
-- heap and should be freed after use to avoid storage leaks.
function Get_Object_Suffix return String_Access;
-- Return the object suffix convention. The result is allocated on the heap
-- and should be freed after use to avoid storage leaks.
function Get_Target_Executable_Suffix return String_Access;
-- Return the target executable suffix convention. The result is allocated
-- on the heap and should be freed after use to avoid storage leaks.
function Get_Target_Object_Suffix return String_Access;
-- Return the target object suffix convention. The result is allocated on
-- the heap and should be freed after use to avoid storage leaks.
-- The following section contains low-level routines using addresses to
-- pass file name and executable name. In each routine the name must be
-- Nul-Terminated. For complete documentation refer to the equivalent
-- routine (using String in place of C_File_Name) defined above.
subtype C_File_Name is System.Address;
-- This subtype is used to document that a parameter is the address of a
-- null-terminated string containing the name of a file.
-- All the following functions need comments ???
function Open_Read
(Name : C_File_Name;
Fmode : Mode) return File_Descriptor;
function Open_Read_Write
(Name : C_File_Name;
Fmode : Mode) return File_Descriptor;
function Create_File
(Name : C_File_Name;
Fmode : Mode) return File_Descriptor;
function Create_New_File
(Name : C_File_Name;
Fmode : Mode) return File_Descriptor;
procedure Delete_File (Name : C_File_Name; Success : out Boolean);
procedure Rename_File
(Old_Name : C_File_Name;
New_Name : C_File_Name;
Success : out Boolean);
procedure Copy_File
(Name : C_File_Name;
Pathname : C_File_Name;
Success : out Boolean;
Mode : Copy_Mode := Copy;
Preserve : Attribute := Time_Stamps);
procedure Copy_Time_Stamps
(Source, Dest : C_File_Name;
Success : out Boolean);
function File_Time_Stamp (Name : C_File_Name) return OS_Time;
-- Returns Invalid_Time is Name doesn't correspond to an existing file
function Is_Regular_File (Name : C_File_Name) return Boolean;
function Is_Directory (Name : C_File_Name) return Boolean;
function Is_Readable_File (Name : C_File_Name) return Boolean;
function Is_Writable_File (Name : C_File_Name) return Boolean;
function Is_Symbolic_Link (Name : C_File_Name) return Boolean;
function Locate_Regular_File
(File_Name : C_File_Name;
Path : C_File_Name)
return String_Access;
------------------
-- Subprocesses --
------------------
subtype Argument_List is String_List;
-- Type used for argument list in call to Spawn. The lower bound of the
-- array should be 1, and the length of the array indicates the number of
-- arguments.
subtype Argument_List_Access is String_List_Access;
-- Type used to return Argument_List without dragging in secondary stack.
-- Note that there is a Free procedure declared for this subtype which
-- frees the array and all referenced strings.
procedure Normalize_Arguments (Args : in out Argument_List);
-- Normalize all arguments in the list. This ensure that the argument list
-- is compatible with the running OS and will works fine with Spawn and
-- Non_Blocking_Spawn for example. If Normalize_Arguments is called twice
-- on the same list it will do nothing the second time. Note that Spawn
-- and Non_Blocking_Spawn call Normalize_Arguments automatically, but
-- since there is a guarantee that a second call does nothing, this
-- internal call will have no effect if Normalize_Arguments is called
-- before calling Spawn. The call to Normalize_Arguments assumes that the
-- individual referenced arguments in Argument_List are on the heap, and
-- may free them and reallocate if they are modified.
procedure Spawn
(Program_Name : String;
Args : Argument_List;
Success : out Boolean);
-- This procedure spawns a program with a given list of arguments. The
-- first parameter of is the name of the executable. The second parameter
-- contains the arguments to be passed to this program. Success is False
-- if the named program could not be spawned or its execution completed
-- unsuccessfully. Note that the caller will be blocked until the
-- execution of the spawned program is complete. For maximum portability,
-- use a full path name for the Program_Name argument. On some systems
-- (notably Unix systems) a simple file name may also work (if the
-- executable can be located in the path).
--
-- "Spawn" should not be used in tasking applications. Why not??? More
-- documentation would be helpful here ??? Is it really tasking programs,
-- or tasking activity that cause trouble ???
--
-- Note: Arguments in Args that contain spaces and/or quotes such as
-- "--GCC=gcc -v" or "--GCC=""gcc -v""" are not portable across all
-- operating systems, and would not have the desired effect if they were
-- passed directly to the operating system. To avoid this problem, Spawn
-- makes an internal call to Normalize_Arguments, which ensures that such
-- arguments are modified in a manner that ensures that the desired effect
-- is obtained on all operating systems. The caller may call
-- Normalize_Arguments explicitly before the call (e.g. to print out the
-- exact form of arguments passed to the operating system). In this case
-- the guarantee a second call to Normalize_Arguments has no effect
-- ensures that the internal call will not affect the result. Note that
-- the implicit call to Normalize_Arguments may free and reallocate some
-- of the individual arguments.
--
-- This function will always set Success to False under VxWorks and other
-- similar operating systems which have no notion of the concept of
-- dynamically executable file.
function Spawn
(Program_Name : String;
Args : Argument_List)
return Integer;
-- Similar to the above procedure, but returns the actual status returned
-- by the operating system, or -1 under VxWorks and any other similar
-- operating systems which have no notion of separately spawnable programs.
--
-- "Spawn" should not be used in tasking applications.
procedure Spawn
(Program_Name : String;
Args : Argument_List;
Output_File_Descriptor : File_Descriptor;
Return_Code : out Integer;
Err_To_Out : Boolean := True);
-- Similar to the procedure above, but redirects the output to the file
-- designated by Output_File_Descriptor. If Err_To_Out is True, then the
-- Standard Error output is also redirected.
-- Return_Code is set to the status code returned by the operating system
--
-- "Spawn" should not be used in tasking applications.
procedure Spawn
(Program_Name : String;
Args : Argument_List;
Output_File : String;
Success : out Boolean;
Return_Code : out Integer;
Err_To_Out : Boolean := True);
-- Similar to the procedure above, but saves the output of the command to
-- a file with the name Output_File.
--
-- Success is set to True if the command is executed and its output
-- successfully written to the file. If Success is True, then Return_Code
-- will be set to the status code returned by the operating system.
-- Otherwise, Return_Code is undefined.
--
-- "Spawn" should not be used in tasking applications.
type Process_Id is private;
-- A private type used to identify a process activated by the following
-- non-blocking call. The only meaningful operation on this type is a
-- comparison for equality.
Invalid_Pid : constant Process_Id;
-- A special value used to indicate errors, as described below
function Non_Blocking_Spawn
(Program_Name : String;
Args : Argument_List)
return Process_Id;
-- This is a non blocking call. The Process_Id of the spawned process is
-- returned. Parameters are to be used as in Spawn. If Invalid_Pid is
-- returned the program could not be spawned.
--
-- "Non_Blocking_Spawn" should not be used in tasking applications.
--
-- This function will always return Invalid_Pid under VxWorks, since there
-- is no notion of executables under this OS.
function Non_Blocking_Spawn
(Program_Name : String;
Args : Argument_List;
Output_File_Descriptor : File_Descriptor;
Err_To_Out : Boolean := True) return Process_Id;
-- Similar to the procedure above, but redirects the output to the file
-- designated by Output_File_Descriptor. If Err_To_Out is True, then the
-- Standard Error output is also redirected. Invalid_Pid is returned
-- if the program could not be spawned successfully.
--
-- "Non_Blocking_Spawn" should not be used in tasking applications.
--
-- This function will always return Invalid_Pid under VxWorks, since there
-- is no notion of executables under this OS.
function Non_Blocking_Spawn
(Program_Name : String;
Args : Argument_List;
Output_File : String;
Err_To_Out : Boolean := True)
return Process_Id;
-- Similar to the procedure above, but saves the output of the command to
-- a file with the name Output_File.
--
-- Success is set to True if the command is executed and its output
-- successfully written to the file. Invalid_Pid is returned if the output
-- file could not be created or if the program could not be spawned
-- successfully.
--
-- "Non_Blocking_Spawn" should not be used in tasking applications.
--
-- This function will always return Invalid_Pid under VxWorks, since there
-- is no notion of executables under this OS.
procedure Wait_Process (Pid : out Process_Id; Success : out Boolean);
-- Wait for the completion of any of the processes created by previous
-- calls to Non_Blocking_Spawn. The caller will be suspended until one of
-- these processes terminates (normally or abnormally). If any of these
-- subprocesses terminates prior to the call to Wait_Process (and has not
-- been returned by a previous call to Wait_Process), then the call to
-- Wait_Process is immediate. Pid identifies the process that has
-- terminated (matching the value returned from Non_Blocking_Spawn).
-- Success is set to True if this sub-process terminated successfully. If
-- Pid = Invalid_Pid, there were no subprocesses left to wait on.
--
-- This function will always set success to False under VxWorks, since
-- there is no notion of executables under this OS.
function Argument_String_To_List
(Arg_String : String) return Argument_List_Access;
-- Take a string that is a program and its arguments and parse it into an
-- Argument_List. Note that the result is allocated on the heap, and must
-- be freed by the programmer (when it is no longer needed) to avoid
-- memory leaks.
-------------------
-- Miscellaneous --
-------------------
function Getenv (Name : String) return String_Access;
-- Get the value of the environment variable. Returns an access to the
-- empty string if the environment variable does not exist or has an
-- explicit null value (in some operating systems these are distinct
-- cases, in others they are not; this interface abstracts away that
-- difference. The argument is allocated on the heap (even in the null
-- case), and needs to be freed explicitly when no longer needed to avoid
-- memory leaks.
procedure Setenv (Name : String; Value : String);
-- Set the value of the environment variable Name to Value. This call
-- modifies the current environment, but does not modify the parent
-- process environment. After a call to Setenv, Getenv (Name) will always
-- return a String_Access referencing the same String as Value. This is
-- true also for the null string case (the actual effect may be to either
-- set an explicit null as the value, or to remove the entry, this is
-- operating system dependent). Note that any following calls to Spawn
-- will pass an environment to the spawned process that includes the
-- changes made by Setenv calls. This procedure is not available on VMS.
procedure OS_Exit (Status : Integer);
pragma Import (C, OS_Exit, "__gnat_os_exit");
pragma No_Return (OS_Exit);
-- Exit to OS with given status code (program is terminated). Note that
-- this is abrupt termination. All tasks are immediately terminated. There
-- is no finalization or other cleanup actions performed.
procedure OS_Abort;
pragma Import (C, OS_Abort, "abort");
pragma No_Return (OS_Abort);
-- Exit to OS signalling an abort (traceback or other appropriate
-- diagnostic information should be given if possible, or entry made to
-- the debugger if that is possible).
function Errno return Integer;
pragma Import (C, Errno, "__get_errno");
-- Return the task-safe last error number
procedure Set_Errno (Errno : Integer);
pragma Import (C, Set_Errno, "__set_errno");
-- Set the task-safe error number
Directory_Separator : constant Character;
-- The character that is used to separate parts of a pathname
Path_Separator : constant Character;
-- The character to separate paths in an environment variable value
private
pragma Import (C, Path_Separator, "__gnat_path_separator");
pragma Import (C, Directory_Separator, "__gnat_dir_separator");
type OS_Time is new Long_Integer;
-- Type used for timestamps in the compiler. This type is used to hold
-- time stamps, but may have a different representation than C's time_t.
-- This type needs to match the declaration of OS_Time in adaint.h.
-- Add pragma Inline statements for comparison operations on OS_Time. It
-- would actually be nice to use pragma Import (Intrinsic) here, but this
-- was not properly supported till GNAT 3.15a, so that would cause
-- bootstrap path problems. To be changed later ???
Invalid_Time : constant OS_Time := -1;
-- This value should match the return valud by __gnat_file_time_*
pragma Inline ("<");
pragma Inline (">");
pragma Inline ("<=");
pragma Inline (">=");
type Process_Id is new Integer;
Invalid_Pid : constant Process_Id := -1;
end GNAT.OS_Lib;
|
separate (SPARKNaCl)
procedure Sanitize_U16 (R : out U16) is
begin
R := 0;
pragma Inspection_Point (R); -- See RM H3.2 (9)
-- Add target-dependent code here to
-- 1. flush and invalidate data cache,
-- 2. wait until writes have committed (e.g. a memory-fence instruction)
-- 3. whatever else is required.
end Sanitize_U16;
|
with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random;
with Ada.Text_IO; use Ada.Text_IO;
procedure Random_Distribution is
Trials : constant := 1_000_000;
type Outcome is (Aleph, Beth, Gimel, Daleth, He, Waw, Zayin, Heth);
Pr : constant array (Outcome) of Uniformly_Distributed :=
(1.0/5.0, 1.0/6.0, 1.0/7.0, 1.0/8.0, 1.0/9.0, 1.0/10.0, 1.0/11.0, 1.0);
Samples : array (Outcome) of Natural := (others => 0);
Value : Uniformly_Distributed;
Dice : Generator;
begin
for Try in 1..Trials loop
Value := Random (Dice);
for I in Pr'Range loop
if Value <= Pr (I) then
Samples (I) := Samples (I) + 1;
exit;
else
Value := Value - Pr (I);
end if;
end loop;
end loop;
-- Printing the results
for I in Pr'Range loop
Put (Outcome'Image (I) & Character'Val (9));
Put (Float'Image (Float (Samples (I)) / Float (Trials)) & Character'Val (9));
if I = Heth then
Put_Line (" rest");
else
Put_Line (Uniformly_Distributed'Image (Pr (I)));
end if;
end loop;
end Random_Distribution;
|
with C_String;
with Interfaces.C;
package body Agar.Core.Event is
package C renames Interfaces.C;
procedure Push_Pointer
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in System.Address)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Pointer
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => Value);
end Push_Pointer;
procedure Push_String
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in String)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
Ch_Value : aliased C.char_array := C.To_C (Value);
begin
Thin.Event.Push_String
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C_String.To_C_String (Ch_Value'Unchecked_Access));
end Push_String;
procedure Push_Integer
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Integer)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Integer
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C.int (Value));
end Push_Integer;
procedure Push_Natural
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Natural)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Unsigned_Integer
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C.unsigned (Value));
end Push_Natural;
procedure Push_Long
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Long_Integer)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Long
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C.long (Value));
end Push_Long;
procedure Push_Long_Natural
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Long_Natural)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Unsigned_Long
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C.unsigned_long (Value));
end Push_Long_Natural;
procedure Push_Float
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Float)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Float
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C.C_float (Value));
end Push_Float;
procedure Push_Long_Float
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Long_Float)
is
Ch_Key : aliased C.char_array := C.To_C (Key);
begin
Thin.Event.Push_Double
(Event => Event,
Key => C_String.To_C_String (Ch_Key'Unchecked_Access),
Value => C.double (Value));
end Push_Long_Float;
procedure Push_Generic_Access
(Event : in Event_Not_Null_Access_t;
Key : in String;
Value : in Element_Access_Type) is
begin
Push_Pointer
(Event => Event,
Key => Key,
Value => Value.all'Address);
end Push_Generic_Access;
end Agar.Core.Event;
|
-- CE3804G.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- OBJECTIVE:
-- CHECK THAT FLOAT_IO GET WHEN SUPPLIED WITH A WIDTH PARAMETER
-- GREATER THAN ZERO READS ONLY THAT MANY CHARACTERS. ALSO CHECK
-- THAT INPUT TERMINATES WHEN A LINE TERMINATOR IS ENCOUNTERED AND
-- THAT DATA_ERROR IS RAISED WHEN THE DATA IS INVALID.
-- APPLICABILITY CRITERIA:
-- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH
-- SUPPORT TEXT FILES.
-- HISTORY:
-- SPS 09/08/82
-- SPS 12/14/82
-- VKG 01/13/83
-- SPS 02/08/83
-- JBG 02/22/84 CHANGED TO .ADA TEST
-- RJW 11/04/86 REVISED TEST TO OUTPUT A NON_APPLICABLE
-- RESULT WHEN FILES ARE NOT SUPPORTED.
-- DWC 09/14/87 SPLIT CASE FOR FIXED_IO INTO CE3804H.ADA AND
-- CORRECTED EXCEPTION HANDLING.
-- LDC 06/01/88 CHANGED TEST VALUE FROM "3.525" TO "3.625".
WITH REPORT;
USE REPORT;
WITH TEXT_IO;
USE TEXT_IO;
PROCEDURE CE3804G IS
INCOMPLETE : EXCEPTION;
BEGIN
TEST ("CE3804G", "CHECK THAT FLOAT_IO GET WHEN SUPPLIED WITH " &
"A WIDTH PARAMETER GREATER THAN ZERO READS " &
"ONLY THAT MANY CHARACTERS. ALSO CHECK THAT " &
"INPUT TERMINATES WHEN A LINE TERMINATOR IS " &
"ENCOUNTERED AND THAT DATA_ERROR IS RAISED " &
"WHEN THE DATA IS INVALID.");
DECLARE
FT : FILE_TYPE;
BEGIN
BEGIN
CREATE (FT, OUT_FILE, LEGAL_FILE_NAME);
EXCEPTION
WHEN USE_ERROR =>
NOT_APPLICABLE ("USE_ERROR RAISED; TEXT CREATE " &
"WITH OUT_FILE MODE");
RAISE INCOMPLETE;
WHEN NAME_ERROR =>
NOT_APPLICABLE ("NAME_ERROR RAISED; TEXT CREATE " &
"WITH OUT_FILE MODE");
RAISE INCOMPLETE;
END;
PUT(FT, "3.259.5 8.52");
NEW_LINE (FT);
PUT (FT, " ");
NEW_LINE (FT);
PUT (FT, ASCII.HT & "9.0");
NEW_LINE (FT);
PUT (FT, "-3.625");
NEW_LINE (FT);
CLOSE (FT);
-- BEGIN TEST
DECLARE
TYPE FL IS DIGITS 4;
PACKAGE FL_IO IS NEW FLOAT_IO (FL);
USE FL_IO;
X : FL;
BEGIN
BEGIN
OPEN (FT, IN_FILE, LEGAL_FILE_NAME);
EXCEPTION
WHEN USE_ERROR =>
NOT_APPLICABLE ("USE_ERROR RAISED; TEXT" &
"OPEN WITH IN_FILE MODE");
RAISE INCOMPLETE;
END;
GET (FT, X, 4);
IF X /= 3.25 THEN
FAILED ("WIDTH CHARACTERS NOT READ - FLOAT");
ELSE
GET (FT, X, 3);
IF X /= 9.5 THEN
FAILED ("WIDTH CHARACTERS NOT READ - " &
"FLOAT 2");
ELSE
GET (FT, X, 4);
IF X /= 8.5 THEN
FAILED ("DIDN'T COUNT LEADING BLANKS " &
"- FLOAT");
ELSE
SKIP_LINE(FT);
BEGIN
GET (FT, X, 2);
FAILED ("DATA_ERROR NOT RAISED - " &
"FLOAT");
EXCEPTION
WHEN DATA_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED"
& " - FLOAT");
END;
SKIP_LINE(FT);
GET (FT, X, 4);
IF X /= 9.0 THEN
FAILED ("GET WITH WIDTH " &
"INCORRECT - 3");
END IF;
SKIP_LINE (FT);
GET (FT, X, 7);
IF X /= -3.625 THEN
FAILED ("WIDTH CHARACTERS NOT " &
"READ - FLOAT 3");
END IF;
END IF;
END IF;
END IF;
BEGIN
DELETE (FT);
EXCEPTION
WHEN USE_ERROR =>
NULL;
END;
END;
EXCEPTION
WHEN INCOMPLETE =>
NULL;
END;
RESULT;
END CE3804G;
|
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 Lionel Draghi <lionel.draghi@free.fr>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- 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 Smk.Definitions; use Smk.Definitions;
with Smk.Files;
with Ada.Calendar;
with Ada.Containers.Doubly_Linked_Lists;
private package Smk.Smkfiles is
-- --------------------------------------------------------------------------
-- Purpose:
-- This package defines and manages the Smkfile (equivalent of the
-- Makefile for make) data structure, and provided related services.
-- --------------------------------------------------------------------------
type Smkfile_Entry is record
Line : Positive;
Section : Section_Names := Default_Section;
Command : Command_Lines := Null_Command_Line;
Was_Run : Boolean := False;
-- used to avoid running the same command for a different reason
-- during the analysis.
end record;
package Smkfile_Entry_Lists is
new Ada.Containers.Doubly_Linked_Lists (Smkfile_Entry, "=");
type Smk_File_Name is new Files.File_Name;
function "+" (Name : Smk_File_Name) return String;
function "+" (Name : String) return Smk_File_Name;
-- --------------------------------------------------------------------------
type Smkfile is record
Name : Smk_File_Name;
Time_Tag : Ada.Calendar.Time;
Entries : Smkfile_Entry_Lists.List;
end record;
-- --------------------------------------------------------------------------
function Load_Smkfile return Smkfile;
-- Load the Makefile provided on command line.
-- --------------------------------------------------------------------------
procedure Dump;
-- Dump Smk understanding of a Makefile, only the useful part of the
-- Current Makefile, that is without any comment or blank line.
-- --------------------------------------------------------------------------
function Contains (The_Smkfile : in Smkfile;
The_Command : in Command_Lines)
return Boolean;
-- --------------------------------------------------------------------------
procedure Add_To_Smkfile (Cmd_Line : String);
end Smk.Smkfiles;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012-2017, 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 UAFLEX.Nodes;
with Ada.Containers;
with Ada.Containers.Ordered_Maps;
with Ada.Strings.Wide_Wide_Fixed;
with Ada.Wide_Wide_Text_IO;
with League.Character_Sets;
with Matreshka.Internals.Unicode.Ucd;
with Matreshka.Internals.Graphs;
-- with Debug;
package body UAFLEX.Generator.Tables is
package Char_Set_Vectors renames
Matreshka.Internals.Finite_Automatons.Vectors;
package Start_Maps renames Matreshka.Internals.Finite_Automatons.Start_Maps;
package State_Maps renames Matreshka.Internals.Finite_Automatons.State_Maps;
subtype State is Matreshka.Internals.Finite_Automatons.State;
use type State;
subtype Character_Class is Matreshka.Internals.Graphs.Edge_Identifier'Base;
subtype First_Stage_Index is
Matreshka.Internals.Unicode.Ucd.First_Stage_Index;
subtype Second_Stage_Index is
Matreshka.Internals.Unicode.Ucd.Second_Stage_Index;
type First_Stage_Array is array (First_Stage_Index) of Natural;
type Second_Stage_Array is array (Second_Stage_Index) of Character_Class;
package Second_Stage_Array_Maps is new Ada.Containers.Ordered_Maps
(Second_Stage_Array, Natural);
--------
-- Go --
--------
procedure Go
(DFA : Matreshka.Internals.Finite_Automatons.DFA;
Dead_End_Map : State_Map;
First_Dead_End : Matreshka.Internals.Finite_Automatons.State;
First_Final : Matreshka.Internals.Finite_Automatons.State;
Unit : League.Strings.Universal_String;
File : String;
Types : League.Strings.Universal_String;
Scanner : League.Strings.Universal_String;
Classes : Matreshka.Internals.Finite_Automatons.Vectors.Vector)
is
pragma Unreferenced (Types);
procedure P (Text : Wide_Wide_String);
procedure N (Text : Wide_Wide_String);
procedure Print_Char_Classes;
procedure Print_Switch;
procedure Print_Rules;
procedure Print_Classes
(Id : Matreshka.Internals.Graphs.Edge_Identifier;
Count : in out Natural);
function Get_Second (X : First_Stage_Index) return Second_Stage_Array;
Output : Ada.Wide_Wide_Text_IO.File_Type;
Length : Natural := 0; -- Length of last output line
Indent : Natural := 0; -- Last indent
----------------
-- Get_Second --
----------------
function Get_Second (X : First_Stage_Index) return Second_Stage_Array is
Result : Second_Stage_Array := (others => 0);
Char : Wide_Wide_Character;
begin
for J in Result'Range loop
Char := Wide_Wide_Character'Val (Natural (X) * 256 + Natural (J));
for C in Classes.First_Index .. Classes.Last_Index loop
if Classes.Element (C).Has (Char) then
Result (J) := C;
exit;
end if;
end loop;
end loop;
return Result;
end Get_Second;
procedure N (Text : Wide_Wide_String) is
use Ada.Strings.Wide_Wide_Fixed;
begin
if Length = 0 then
Indent := Ada.Strings.Wide_Wide_Fixed.Index_Non_Blank
(Text & ".");
end if;
if Length + Text'Length > 74 then
Ada.Wide_Wide_Text_IO.Put_Line
(Output, Trim (Text, Ada.Strings.Right));
Ada.Wide_Wide_Text_IO.Put (Output, Indent * ' ');
Length := Indent;
else
Ada.Wide_Wide_Text_IO.Put (Output, Text);
Length := Length + Text'Length;
end if;
end N;
procedure P (Text : Wide_Wide_String) is
begin
if Length = 0 then
Indent := Ada.Strings.Wide_Wide_Fixed.Index_Non_Blank (Text);
end if;
Ada.Wide_Wide_Text_IO.Put_Line (Output, Text);
Length := 0;
end P;
procedure Print_Char_Classes is
use Second_Stage_Array_Maps;
use type First_Stage_Index;
use type Second_Stage_Index;
Known : Map;
Pos : Cursor;
First : First_Stage_Array;
Second : Second_Stage_Array;
begin
for F in First_Stage_Index loop
Second := Get_Second (F);
Pos := Known.Find (Second);
if Has_Element (Pos) then
First (F) := Element (Pos);
else
First (F) := Natural (Known.Length);
Known.Insert (Second, First (F));
P (" S_" & Image (First (F)) &
" : aliased constant Second_Stage_Array :=");
for J in Second_Stage_Index'Range loop
if J = 0 then
N (" (");
elsif J mod 8 = 0 then
P ("");
N (" ");
else
N (" ");
end if;
N (Image (Natural (Second (J))));
if J = Second_Stage_Index'Last then
P (");");
P ("");
else
N (",");
end if;
end loop;
end if;
end loop;
P (" First : constant First_Stage_Array :=");
for F in First_Stage_Index loop
if F = 0 then
N (" (");
elsif F mod 4 = 0 then
P ("");
N (" ");
else
N (" ");
end if;
N ("S_" & Image (First (F)) & "'Access");
if F = First_Stage_Index'Last then
P (");");
P ("");
else
N (",");
end if;
end loop;
end Print_Char_Classes;
procedure Print_Classes
(Id : Matreshka.Internals.Graphs.Edge_Identifier;
Count : in out Natural)
is
Set : constant League.Character_Sets.Universal_Character_Set :=
DFA.Edge_Char_Set.Element (Id);
First : Boolean := True;
begin
for J in Classes.First_Index .. Classes.Last_Index loop
if Classes.Element (J).Is_Subset (Set) then
if First then
First := False;
else
N (" | ");
end if;
N (Image (Positive (J)));
Count := Count + 1;
end if;
end loop;
end Print_Classes;
procedure Print_Rules is
procedure Each_Rule (Cursor : State_Maps.Cursor);
Count : Natural := 0;
procedure Each_Rule (Cursor : State_Maps.Cursor) is
begin
if Count = 0 then
N (" (");
elsif Count mod 6 = 0 then
P (",");
N (" ");
else
N (", ");
end if;
N (Image (Natural (Dead_End_Map (State_Maps.Key (Cursor))) - 1) &
" => " & Image (State_Maps.Element (Cursor)));
Count := Count + 1;
end Each_Rule;
begin
P (" Rule_Table : constant array (State range " &
Image (Positive (First_Final) - 1) & " .. " &
Image (Positive (DFA.Graph.Node_Count) - 1) &
") of Rule_Index :=");
DFA.Final.Iterate (Each_Rule'Access);
P (");");
P ("");
end Print_Rules;
procedure Print_Switch is
First : Boolean := True;
begin
P (" Switch_Table : constant array " &
"(State range 0 .. " &
Image (Positive (First_Dead_End) - 2) & ",");
P (" Character_Class range 0 .. " &
Image (Positive (Classes.Length)) &
") of State :=");
for J in 1 .. DFA.Graph.Node_Count loop
declare
use type Matreshka.Internals.Graphs.Edge_Index;
Count : Natural := 0;
Edge : Matreshka.Internals.Graphs.Edge;
Item : constant Matreshka.Internals.Graphs.Node :=
DFA.Graph.Get_Node (J);
F : constant Matreshka.Internals.Graphs.Edge_Index :=
Item.First_Edge_Index;
L : constant Matreshka.Internals.Graphs.Edge_List_Length :=
Item.Last_Edge_Index;
begin
if Dead_End_Map (J) < First_Dead_End then
if First then
N (" (");
First := False;
else
P (",");
N (" ");
end if;
P (Image (Positive (Dead_End_Map (J)) - 1) & " =>");
for K in F .. L loop
Edge := DFA.Graph.Get_Edge (K);
if K = F then
N (" (");
else
N (" ");
end if;
Print_Classes (Edge.Edge_Id, Count);
N (" =>");
N (State'Wide_Wide_Image
(Dead_End_Map (Edge.Target_Node.Index) - 1));
if K /= L then
N (",");
end if;
end loop;
if Count /= Positive (Classes.Length) + 1 then
if Count = 0 then
N (" (");
elsif Length > 65 then
P ("");
N (" , ");
else
N (", ");
end if;
N ("others =>" &
State'Wide_Wide_Image (DFA.Graph.Node_Count));
end if;
N (")");
end if;
end;
end loop;
P (");");
P ("");
end Print_Switch;
begin
Ada.Wide_Wide_Text_IO.Create (Output, Name => File);
P ("with Matreshka.Internals.Unicode.Ucd;");
P ("");
P ("separate (" & Scanner.To_Wide_Wide_String & ")");
P ("package body " & Unit.To_Wide_Wide_String & " is");
P (" subtype First_Stage_Index is");
P (" Matreshka.Internals.Unicode.Ucd.First_Stage_Index;");
P ("");
P (" subtype Second_Stage_Index is");
P (" Matreshka.Internals.Unicode.Ucd.Second_Stage_Index;");
P ("");
P (" type Second_Stage_Array is array (Second_Stage_Index) " &
"of Character_Class;");
P ("");
P (" type Second_Stage_Array_Access is");
P (" not null access constant Second_Stage_Array;");
P ("");
P (" type First_Stage_Array is");
P (" array (First_Stage_Index) of Second_Stage_Array_Access;");
P ("");
Print_Char_Classes;
Print_Switch;
Print_Rules;
P (" function Rule (S : State) return Rule_Index is");
P (" begin");
P (" return Rule_Table (S);");
P (" end Rule;");
P ("");
P (" function Switch (S : State; Class : Character_Class) " &
"return State is");
P (" begin");
P (" return Switch_Table (S, Class);");
P (" end Switch;");
P ("");
P (" function To_Class (Value : " &
"Matreshka.Internals.Unicode.Code_Point)");
P (" return Character_Class");
P (" is");
P (" function Element is new " &
"Matreshka.Internals.Unicode.Ucd.Generic_Element");
P (" (Character_Class, Second_Stage_Array,");
P (" Second_Stage_Array_Access, First_Stage_Array);");
P (" begin");
P (" return Element (First, Value);");
P (" end To_Class;");
P ("");
P ("end " & Unit.To_Wide_Wide_String & ";");
end Go;
---------------------------
-- Remap_Final_Dead_Ends --
---------------------------
procedure Map_Final_Dead_Ends
(DFA : Matreshka.Internals.Finite_Automatons.DFA;
First_Dead_End : out Matreshka.Internals.Finite_Automatons.State;
First_Final : out Matreshka.Internals.Finite_Automatons.State;
Dead_End_Map : out State_Map)
is
Dead_End_Index : Matreshka.Internals.Finite_Automatons.State;
Final_Index : Matreshka.Internals.Finite_Automatons.State;
Free_Index : Matreshka.Internals.Finite_Automatons.State;
begin
First_Dead_End := Dead_End_Map'Last + 1;
First_Final := First_Dead_End;
for J in Dead_End_Map'Range loop
if DFA.Final.Contains (J) then
First_Final := First_Final - 1;
if DFA.Graph.Get_Node (J).Outgoing_Edges'Length = 0 then
First_Dead_End := First_Dead_End - 1;
end if;
end if;
end loop;
Dead_End_Index := First_Dead_End;
Final_Index := First_Final;
Free_Index := 1;
for J in Dead_End_Map'Range loop
if not DFA.Final.Contains (J) then
Dead_End_Map (J) := Free_Index;
Free_Index := Free_Index + 1;
elsif DFA.Graph.Get_Node (J).Outgoing_Edges'Length > 0 then
Dead_End_Map (J) := Final_Index;
Final_Index := Final_Index + 1;
else
Dead_End_Map (J) := Dead_End_Index;
Dead_End_Index := Dead_End_Index + 1;
end if;
end loop;
end Map_Final_Dead_Ends;
-----------------------
-- Split_To_Distinct --
-----------------------
procedure Split_To_Distinct
(List : Char_Set_Vectors.Vector;
Result : out Char_Set_Vectors.Vector) is
begin
for J in List.First_Index .. List.Last_Index loop
declare
use League.Character_Sets;
Rest : Universal_Character_Set := List.Element (J);
begin
for K in Result.First_Index .. Result.Last_Index loop
declare
Item : constant Universal_Character_Set :=
Result.Element (K);
Intersection : constant Universal_Character_Set :=
Item and Rest;
begin
if not Intersection.Is_Empty then
declare
Extra : constant Universal_Character_Set :=
Item - Rest;
begin
if not Extra.Is_Empty then
Result.Append (Extra);
end if;
Result.Replace_Element (K, Intersection);
Rest := Rest - Item;
exit when Rest.Is_Empty;
end;
end if;
end;
end loop;
if not Rest.Is_Empty then
Result.Append (Rest);
end if;
end;
end loop;
end Split_To_Distinct;
-----------
-- Types --
-----------
procedure Types
(DFA : Matreshka.Internals.Finite_Automatons.DFA;
Dead_End_Map : State_Map;
First_Dead_End : Matreshka.Internals.Finite_Automatons.State;
First_Final : Matreshka.Internals.Finite_Automatons.State;
Unit : League.Strings.Universal_String;
File : String;
Classes : Char_Set_Vectors.Vector)
is
use type Ada.Containers.Count_Type;
procedure P (Text : Wide_Wide_String);
procedure Print_Start (Cursor : Start_Maps.Cursor);
Output : Ada.Wide_Wide_Text_IO.File_Type;
procedure P (Text : Wide_Wide_String) is
begin
-- Ada.Wide_Wide_Text_IO.Put_Line (Text);
Ada.Wide_Wide_Text_IO.Put_Line (Output, Text);
end P;
procedure Print_Start (Cursor : Start_Maps.Cursor) is
begin
P (" " & Start_Maps.Key (Cursor).To_Wide_Wide_String &
" : constant State :=" &
State'Wide_Wide_Image
(Dead_End_Map (Start_Maps.Element (Cursor)) - 1) &
";");
end Print_Start;
begin
Ada.Wide_Wide_Text_IO.Create (Output, Name => File);
-- Debug.Print_Character_Classes (Classes);
P ("package " & Unit.To_Wide_Wide_String & " is");
P (" pragma Preelaborate;");
P ("");
P (" type State is mod +" &
Image (Positive (DFA.Graph.Node_Count + 1)) &
";");
P (" subtype Looping_State is State range 0 .. " &
Image (Positive (First_Dead_End) - 2) & ";");
P (" subtype Final_State is State range " &
Image (Positive (First_Final) - 1) &
" .. State'Last - 1;");
P ("");
P (" Error_State : constant State := State'Last;");
P ("");
DFA.Start.Iterate (Print_Start'Access);
P ("");
P (" type Character_Class is mod +" &
Image (Positive (Classes.Length + 1)) &
";");
P ("");
P (" type Rule_Index is range 0 .." &
Natural'Wide_Wide_Image (Nodes.Rules.Length) &
";");
P ("");
P ("end " & Unit.To_Wide_Wide_String & ";");
end Types;
end UAFLEX.Generator.Tables;
|
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, Luke A. Guest
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it
-- freely, subject to the following restrictions:
--
-- 1. The origin of this software must not be misrepresented; you must not
-- claim that you wrote the original software. If you use this software
-- in a product, an acknowledgment in the product documentation would be
-- appreciated but is not required.
--
-- 2. Altered source versions must be plainly marked as such, and must not be
-- misrepresented as being the original software.
--
-- 3. This notice may not be removed or altered from any source
-- distribution.
--------------------------------------------------------------------------------------------------------------------
-- SDL_Suites
--
-- Tests to check the Ada 2012 bindings for correctness.
--------------------------------------------------------------------------------------------------------------------
with AUnit; use AUnit;
with Pixel_Format_Test_Cases; use Pixel_Format_Test_Cases;
with Colour_Test_Cases; use Colour_Test_Cases;
package body SDL_Suites is
use Test_Suites;
Pixel_Tests : aliased Pixel_Format_Test_Cases.Pixel_Format_Test_Case;
Colour_Tests : aliased Colour_Test_Cases.Colour_Test_Case;
function Suite return Access_Test_Suite is
Result : Access_Test_Suite := AUnit.Test_Suites.New_Suite;
begin
Result.Add_Test (Pixel_Tests'Access);
Result.Add_Test (Colour_Tests'Access);
return Result;
end Suite;
end SDL_Suites;
|
with ACO.Generic_Entry_Types;
package ACO.OD_Types.Entries is
pragma Preelaborate;
use Interfaces;
-- type U8 is new Natural range 0 .. 2**8-1 with Size => 8;
subtype U8 is Interfaces.Unsigned_8;
package U8_Pack is new ACO.Generic_Entry_Types (U8);
type Entry_U8 is new U8_Pack.Entry_Type with null record;
type U16 is new Interfaces.Unsigned_16 with Alignment => 1;
package U16_Pack is new ACO.Generic_Entry_Types (U16);
type Entry_U16 is new U16_Pack.Entry_Type with null record;
-- type U32 is new Natural range 0 .. 2**32-1 with Size => 32;
type U32 is new Interfaces.Unsigned_32 with Alignment => 1;
package U32_Pack is new ACO.Generic_Entry_Types (U32);
type Entry_U32 is new U32_Pack.Entry_Type with null record;
type F32 is new IEEE_Float_32;
package F32_Pack is new ACO.Generic_Entry_Types (F32);
type Entry_F32 is new F32_Pack.Entry_Type with null record;
subtype Visible_String is String;
end ACO.OD_Types.Entries;
|
<?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>call_Loop_LB2D_shift</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="3" tracking_level="1" version="0" object_id="_1">
<Value class_id="4" tracking_level="0" version="0">
<Obj class_id="5" tracking_level="0" version="0">
<type>1</type>
<id>1</id>
<name>slice_stream_V_value_V</name>
<fileName></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>96</bitwidth>
</Value>
<direction>0</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs class_id="7" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_2">
<Value>
<Obj>
<type>1</type>
<id>2</id>
<name>out_stream_V_value_V</name>
<fileName></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>288</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>36</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_3">
<Value>
<Obj>
<type>0</type>
<id>3</id>
<name>buffer_1_value_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>buffer[1].value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_4">
<Value>
<Obj>
<type>0</type>
<id>4</id>
<name>buffer_0_value_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>buffer[0].value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>63</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_5">
<Value>
<Obj>
<type>0</type>
<id>9</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_6">
<Value>
<Obj>
<type>0</type>
<id>11</id>
<name>n1</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>n1</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>65</item>
<item>66</item>
<item>68</item>
<item>69</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>12</id>
<name>tmp_9</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="11" tracking_level="0" version="0">
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second class_id="12" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="13" tracking_level="0" version="0">
<first class_id="14" tracking_level="0" version="0">
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>70</item>
<item>72</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>14</id>
<name>n1_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>n1</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>73</item>
<item>75</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>76</item>
<item>77</item>
<item>78</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>92</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>21</id>
<name>i_0_i_i</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>80</item>
<item>81</item>
<item>82</item>
<item>83</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name>tmp_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>84</item>
<item>86</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>24</id>
<name>i</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>87</item>
<item>88</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>25</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>89</item>
<item>90</item>
<item>91</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>30</id>
<name>tmp_value_V_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>40</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>40</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>100</item>
<item>101</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>tmp</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>10</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>103</item>
<item>104</item>
<item>105</item>
<item>107</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>32</id>
<name>icmp</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>108</item>
<item>110</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>111</item>
<item>112</item>
<item>113</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>35</id>
<name>buffer_1_value_V_lo_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>36</id>
<name>buffer_0_value_V_lo</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>37</id>
<name>tmp_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></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>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name>tmp_3</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>39</id>
<name>tmp_4</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>118</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>40</id>
<name>p_Result_5_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>120</item>
<item>121</item>
<item>123</item>
<item>125</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>41</id>
<name>p_Result_5_1_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>126</item>
<item>127</item>
<item>128</item>
<item>129</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>42</id>
<name>p_Result_5_1_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>130</item>
<item>131</item>
<item>132</item>
<item>133</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>p_Result_5_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>134</item>
<item>135</item>
<item>137</item>
<item>139</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_28">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name>p_Result_5_2_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>140</item>
<item>141</item>
<item>142</item>
<item>143</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>45</id>
<name>p_Result_5_2_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>144</item>
<item>145</item>
<item>146</item>
<item>147</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>46</id>
<name>tmp_value_V</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<oprand_edges>
<count>10</count>
<item_version>0</item_version>
<item>149</item>
<item>150</item>
<item>151</item>
<item>152</item>
<item>153</item>
<item>154</item>
<item>155</item>
<item>156</item>
<item>157</item>
<item>158</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>47</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>52</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>52</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>160</item>
<item>161</item>
<item>162</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>48</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>53</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>53</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>163</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>50</id>
<name>buffer_1_value_V_lo</name>
<fileName>../../../lib_files/Stencil.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>operator=</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>37</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
<item>
<first>
<first>../../../lib_files/Stencil.h</first>
<second>operator=</second>
</first>
<second>75</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>93</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name></name>
<fileName>../../../lib_files/Stencil.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>operator=</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>37</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
<item>
<first>
<first>../../../lib_files/Stencil.h</first>
<second>operator=</second>
</first>
<second>75</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>94</item>
<item>95</item>
<item>279</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>53</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>40</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>40</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>96</item>
<item>97</item>
<item>277</item>
<item>278</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>54</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>98</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>57</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>59</id>
<name></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>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_39">
<Value>
<Obj>
<type>2</type>
<id>61</id>
<name>empty</name>
<fileName></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>1</content>
</item>
<item class_id_reference="16" object_id="_40">
<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>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_41">
<Value>
<Obj>
<type>2</type>
<id>71</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1078</content>
</item>
<item class_id_reference="16" object_id="_42">
<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>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_43">
<Value>
<Obj>
<type>2</type>
<id>85</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1920</content>
</item>
<item class_id_reference="16" object_id="_44">
<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>10</content>
</item>
<item class_id_reference="16" object_id="_45">
<Value>
<Obj>
<type>2</type>
<id>109</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>10</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_46">
<Value>
<Obj>
<type>2</type>
<id>122</id>
<name>empty</name>
<fileName></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="_47">
<Value>
<Obj>
<type>2</type>
<id>124</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="_48">
<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>64</content>
</item>
<item class_id_reference="16" object_id="_49">
<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>95</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_50">
<Obj>
<type>3</type>
<id>10</id>
<name>newFuncRoot</name>
<fileName></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>3</count>
<item_version>0</item_version>
<item>3</item>
<item>4</item>
<item>9</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_51">
<Obj>
<type>3</type>
<id>16</id>
<name>.preheader</name>
<fileName></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>11</item>
<item>12</item>
<item>14</item>
<item>15</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_52">
<Obj>
<type>3</type>
<id>20</id>
<name></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>19</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_53">
<Obj>
<type>3</type>
<id>26</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>21</item>
<item>22</item>
<item>24</item>
<item>25</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_54">
<Obj>
<type>3</type>
<id>34</id>
<name></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>30</item>
<item>31</item>
<item>32</item>
<item>33</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_55">
<Obj>
<type>3</type>
<id>49</id>
<name>.preheader.i.i.preheader.0</name>
<fileName></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>14</count>
<item_version>0</item_version>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
<item>39</item>
<item>40</item>
<item>41</item>
<item>42</item>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
<item>47</item>
<item>48</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_56">
<Obj>
<type>3</type>
<id>55</id>
<name>._crit_edge.i.i</name>
<fileName></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>50</item>
<item>52</item>
<item>53</item>
<item>54</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_57">
<Obj>
<type>3</type>
<id>58</id>
<name>linebuffer_1D<1920ul, 3ul, 1ul, 1ul, 1ul, 3ul, unsigned int>.exit</name>
<fileName></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>57</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_58">
<Obj>
<type>3</type>
<id>60</id>
<name>.exitStub</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>59</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>91</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_59">
<id>62</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>3</sink_obj>
</item>
<item class_id_reference="20" object_id="_60">
<id>63</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>4</sink_obj>
</item>
<item class_id_reference="20" object_id="_61">
<id>64</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>9</sink_obj>
</item>
<item class_id_reference="20" object_id="_62">
<id>65</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_63">
<id>66</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_64">
<id>68</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_65">
<id>69</id>
<edge_type>2</edge_type>
<source_obj>10</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_66">
<id>70</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_67">
<id>72</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_68">
<id>73</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>14</sink_obj>
</item>
<item class_id_reference="20" object_id="_69">
<id>75</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>14</sink_obj>
</item>
<item class_id_reference="20" object_id="_70">
<id>76</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_71">
<id>77</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_72">
<id>78</id>
<edge_type>2</edge_type>
<source_obj>60</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_73">
<id>79</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>57</sink_obj>
</item>
<item class_id_reference="20" object_id="_74">
<id>80</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_75">
<id>81</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_76">
<id>82</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_77">
<id>83</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_78">
<id>84</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_79">
<id>86</id>
<edge_type>1</edge_type>
<source_obj>85</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_80">
<id>87</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_81">
<id>88</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_82">
<id>89</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_83">
<id>90</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_84">
<id>91</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_85">
<id>92</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_86">
<id>93</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>50</sink_obj>
</item>
<item class_id_reference="20" object_id="_87">
<id>94</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_88">
<id>95</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_89">
<id>96</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_90">
<id>97</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_91">
<id>98</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>54</sink_obj>
</item>
<item class_id_reference="20" object_id="_92">
<id>101</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_93">
<id>104</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_94">
<id>105</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_95">
<id>107</id>
<edge_type>1</edge_type>
<source_obj>106</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_96">
<id>108</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>32</sink_obj>
</item>
<item class_id_reference="20" object_id="_97">
<id>110</id>
<edge_type>1</edge_type>
<source_obj>109</source_obj>
<sink_obj>32</sink_obj>
</item>
<item class_id_reference="20" object_id="_98">
<id>111</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_99">
<id>112</id>
<edge_type>2</edge_type>
<source_obj>49</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_100">
<id>113</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_101">
<id>114</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_102">
<id>115</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_103">
<id>116</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_104">
<id>117</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>38</sink_obj>
</item>
<item class_id_reference="20" object_id="_105">
<id>118</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>39</sink_obj>
</item>
<item class_id_reference="20" object_id="_106">
<id>121</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_107">
<id>123</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_108">
<id>125</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_109">
<id>127</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_110">
<id>128</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_111">
<id>129</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_112">
<id>131</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_113">
<id>132</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_114">
<id>133</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_115">
<id>135</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_116">
<id>137</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_117">
<id>139</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_118">
<id>141</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_119">
<id>142</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_120">
<id>143</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_121">
<id>145</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_122">
<id>146</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_123">
<id>147</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_124">
<id>150</id>
<edge_type>1</edge_type>
<source_obj>45</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_125">
<id>151</id>
<edge_type>1</edge_type>
<source_obj>44</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_126">
<id>152</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_127">
<id>153</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_128">
<id>154</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_129">
<id>155</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_130">
<id>156</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_131">
<id>157</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_132">
<id>158</id>
<edge_type>1</edge_type>
<source_obj>37</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_133">
<id>161</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>47</sink_obj>
</item>
<item class_id_reference="20" object_id="_134">
<id>162</id>
<edge_type>1</edge_type>
<source_obj>46</source_obj>
<sink_obj>47</sink_obj>
</item>
<item class_id_reference="20" object_id="_135">
<id>163</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>48</sink_obj>
</item>
<item class_id_reference="20" object_id="_136">
<id>266</id>
<edge_type>2</edge_type>
<source_obj>10</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_137">
<id>267</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>60</sink_obj>
</item>
<item class_id_reference="20" object_id="_138">
<id>268</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>20</sink_obj>
</item>
<item class_id_reference="20" object_id="_139">
<id>269</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_140">
<id>270</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>58</sink_obj>
</item>
<item class_id_reference="20" object_id="_141">
<id>271</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_142">
<id>272</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>55</sink_obj>
</item>
<item class_id_reference="20" object_id="_143">
<id>273</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>49</sink_obj>
</item>
<item class_id_reference="20" object_id="_144">
<id>274</id>
<edge_type>2</edge_type>
<source_obj>49</source_obj>
<sink_obj>55</sink_obj>
</item>
<item class_id_reference="20" object_id="_145">
<id>275</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_146">
<id>276</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_147">
<id>277</id>
<edge_type>4</edge_type>
<source_obj>50</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_148">
<id>278</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_149">
<id>279</id>
<edge_type>4</edge_type>
<source_obj>36</source_obj>
<sink_obj>52</sink_obj>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>7</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_150">
<mId>1</mId>
<mTag>call_Loop_LB2D_shift</mTag>
<mType>0</mType>
<sub_regions>
<count>3</count>
<item_version>0</item_version>
<item>2</item>
<item>3</item>
<item>7</item>
</sub_regions>
<basic_blocks>
<count>0</count>
<item_version>0</item_version>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>2072995</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_151">
<mId>2</mId>
<mTag>Entry</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>10</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_152">
<mId>3</mId>
<mTag>LB2D_shift</mTag>
<mType>1</mType>
<sub_regions>
<count>3</count>
<item_version>0</item_version>
<item>4</item>
<item>5</item>
<item>6</item>
</sub_regions>
<basic_blocks>
<count>0</count>
<item_version>0</item_version>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>1078</mMinTripCount>
<mMaxTripCount>1078</mMaxTripCount>
<mMinLatency>2072994</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_153">
<mId>4</mId>
<mTag>Region 1</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>2</count>
<item_version>0</item_version>
<item>16</item>
<item>20</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_154">
<mId>5</mId>
<mTag>LB1D_shiftreg</mTag>
<mType>1</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>34</item>
<item>49</item>
<item>55</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>1920</mMinTripCount>
<mMaxTripCount>1920</mMaxTripCount>
<mMinLatency>1920</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_155">
<mId>6</mId>
<mTag>Region 2</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>58</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_156">
<mId>7</mId>
<mTag>Return</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>60</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></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>36</count>
<item_version>0</item_version>
<item class_id="27" tracking_level="0" version="0">
<first>3</first>
<second class_id="28" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>4</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>9</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>11</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>12</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>14</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>15</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>24</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>25</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>30</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>32</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>39</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>40</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>41</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>42</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>45</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>47</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>48</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>50</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>52</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>54</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="29" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="0" version="0">
<first>10</first>
<second class_id="31" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>16</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>26</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>2</first>
<second>3</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>55</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="32" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="1" version="0" object_id="_157">
<region_name>LB1D_shiftreg</region_name>
<basic_blocks>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>34</item>
<item>49</item>
<item>55</item>
</basic_blocks>
<nodes>
<count>0</count>
<item_version>0</item_version>
</nodes>
<anchor_node>-1</anchor_node>
<region_type>8</region_type>
<interval>1</interval>
<pipe_depth>2</pipe_depth>
</item>
</regions>
<dp_fu_nodes class_id="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>
|
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- Terminal_Interface.Curses.Forms.Field_Types.RegExp --
-- --
-- B O D Y --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell --
-- copies of the Software, and to permit persons to whom the Software is --
-- furnished to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
-- Version Control:
-- $Revision: 1.3 $
-- Binding Version 00.93
------------------------------------------------------------------------------
with Interfaces.C; use Interfaces.C;
with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
package body Terminal_Interface.Curses.Forms.Field_Types.RegExp is
procedure Set_Field_Type (Fld : in Field;
Typ : in Regular_Expression_Field)
is
type Char_Ptr is access all Interfaces.C.Char;
C_Regexp_Field_Type : C_Field_Type;
pragma Import (C, C_Regexp_Field_Type, "TYPE_REGEXP");
function Set_Ftyp (F : Field := Fld;
Cft : C_Field_Type := C_Regexp_Field_Type;
Arg1 : Char_Ptr) return C_Int;
pragma Import (C, Set_Ftyp, "set_field_type");
Txt : char_array (0 .. Typ.Regular_Expression.all'Length);
Len : size_t;
Res : Eti_Error;
begin
To_C (Typ.Regular_Expression.all, Txt, Len);
Res := Set_Ftyp (Arg1 => Txt (Txt'First)'Access);
if Res /= E_Ok then
Eti_Exception (Res);
end if;
Wrap_Builtin (Fld, Typ);
end Set_Field_Type;
end Terminal_Interface.Curses.Forms.Field_Types.RegExp;
|
-- CD2A32J.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- OBJECTIVE:
-- CHECK THAT WHEN A SIZE SPECIFICATION OF THE SMALLEST APPROPRIATE
-- UNSIGNED SIZE IS GIVEN FOR AN INTEGER TYPE, THE TYPE CAN BE
-- PASSED AS AN ACTUAL PARAMETER TO GENERIC PROCEDURES.
-- HISTORY:
-- JET 08/12/87 CREATED ORIGINAL TEST.
-- DHH 04/11/89 CHANGED EXTENSION FROM '.DEP' TO '.ADA', CHANGED
-- SIZE CLAUSE VALUE TO 7, AND CHANGED OPERATOR ON
-- 'SIZE CHECKS.
-- JRL 03/27/92 ELIMINATED REDUNDANT TESTING.
WITH REPORT; USE REPORT;
PROCEDURE CD2A32J IS
TYPE BASIC_INT IS RANGE 0 .. 126;
BASIC_SIZE : CONSTANT := 7;
FOR BASIC_INT'SIZE USE BASIC_SIZE;
BEGIN
TEST ("CD2A32J", "CHECK THAT WHEN A SIZE SPECIFICATION " &
"OF THE SMALLEST APPROPRIATE UNSIGNED SIZE " &
"IS GIVEN FOR AN INTEGER TYPE, THE TYPE " &
"CAN BE PASSED AS AN ACTUAL PARAMETER TO " &
"GENERIC PROCEDURES");
DECLARE -- TYPE DECLARATION WITHIN GENERIC PROCEDURE.
GENERIC
TYPE GPARM IS RANGE <>;
PROCEDURE GENPROC;
PROCEDURE GENPROC IS
SUBTYPE INT IS GPARM;
I0 : INT := 0;
I1 : INT := 63;
I2 : INT := 126;
FUNCTION IDENT (I : INT) RETURN INT IS
BEGIN
IF EQUAL (0,0) THEN
RETURN I;
ELSE
RETURN 0;
END IF;
END IDENT;
BEGIN -- GENPROC.
IF INT'SIZE /= IDENT_INT (BASIC_SIZE) THEN
FAILED ("INCORRECT VALUE FOR INT'SIZE");
END IF;
IF I0'SIZE < IDENT_INT (BASIC_SIZE) THEN
FAILED ("INCORRECT VALUE FOR I0'SIZE");
END IF;
IF NOT ((I0 < IDENT (1)) AND
(IDENT (I2) > IDENT (I1)) AND
(I1 <= IDENT (63)) AND
(IDENT (126) = I2)) THEN
FAILED ("INCORRECT RESULTS FOR RELATIONAL " &
"OPERATORS");
END IF;
IF NOT (((I0 + I2) = I2) AND
((I2 - I1) = I1) AND
((I1 * IDENT (2)) = I2) AND
((I2 / I1) = IDENT (2)) AND
((I1 ** 1) = IDENT (63)) AND
((I2 REM 10) = IDENT (6)) AND
((I1 MOD 10) = IDENT (3))) THEN
FAILED ("INCORRECT RESULTS FOR BINARY ARITHMETIC " &
"OPERATORS");
END IF;
IF INT'POS (I0) /= IDENT_INT (0) OR
INT'POS (I1) /= IDENT_INT (63) OR
INT'POS (I2) /= IDENT_INT (126) THEN
FAILED ("INCORRECT VALUE FOR INT'POS");
END IF;
IF INT'SUCC (I0) /= IDENT (1) OR
INT'SUCC (I1) /= IDENT (64) THEN
FAILED ("INCORRECT VALUE FOR INT'SUCC");
END IF;
IF INT'IMAGE (I0) /= IDENT_STR (" 0") OR
INT'IMAGE (I1) /= IDENT_STR (" 63") OR
INT'IMAGE (I2) /= IDENT_STR (" 126") THEN
FAILED ("INCORRECT VALUE FOR INT'IMAGE");
END IF;
END GENPROC;
PROCEDURE NEWPROC IS NEW GENPROC (BASIC_INT);
BEGIN
NEWPROC;
END;
RESULT;
END CD2A32J;
|
-- 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.
name = "SiteDossier"
type = "scrape"
function start()
setratelimit(1)
end
function vertical(ctx, domain)
scrape(ctx, {url=buildurl(domain)})
end
function buildurl(domain)
return "http://www.sitedossier.com/parentdomain/" .. domain
end
|
with
lace.Subject,
lace.Observer,
lace.make_Subject,
lace.make_Observer.deferred,
lace.Any;
private
with
ada.Strings.unbounded;
package lace.Subject_and_deferred_Observer
--
-- Provides a concrete type for a combined event Subject and a deferred Observer.
--
is
type Item is limited new lace.Any.limited_item
and lace.Subject .item
and lace.Observer .item with private;
type View is access all Item'Class;
package Forge
is
function to_Subject_and_Observer (Name : in String) return Item;
function new_Subject_and_Observer (Name : in String) return View;
end Forge;
procedure destroy (Self : in out Item);
procedure free (Self : in out View);
overriding
function Name (Self : in Item) return String;
private
use ada.Strings.unbounded;
package Subject is new make_Subject (Any.limited_item);
package Observer is new make_Observer (Subject .item);
package Deferred is new Observer.deferred (Observer .item);
type Item is limited new Deferred.item with
record
Name : unbounded_String;
end record;
end lace.Subject_and_deferred_Observer;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ T E X T _ I O . M O D U L A R _ A U X --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package contains the routines for Ada.Wide_Text_IO.Modular_IO that
-- are shared among separate instantiations of this package. The routines
-- in this package are identical semantically to those in Modular_IO itself,
-- except that the generic parameter Num has been replaced by Unsigned or
-- Long_Long_Unsigned, and the default parameters have been removed because
-- they are supplied explicitly by the calls from within the generic template.
with System.Unsigned_Types;
private package Ada.Wide_Text_IO.Modular_Aux is
package U renames System.Unsigned_Types;
procedure Get_Uns
(File : File_Type;
Item : out U.Unsigned;
Width : Field);
procedure Get_LLU
(File : File_Type;
Item : out U.Long_Long_Unsigned;
Width : Field);
procedure Gets_Uns
(From : String;
Item : out U.Unsigned;
Last : out Positive);
procedure Gets_LLU
(From : String;
Item : out U.Long_Long_Unsigned;
Last : out Positive);
procedure Put_Uns
(File : File_Type;
Item : U.Unsigned;
Width : Field;
Base : Number_Base);
procedure Put_LLU
(File : File_Type;
Item : U.Long_Long_Unsigned;
Width : Field;
Base : Number_Base);
procedure Puts_Uns
(To : out String;
Item : U.Unsigned;
Base : Number_Base);
procedure Puts_LLU
(To : out String;
Item : U.Long_Long_Unsigned;
Base : Number_Base);
end Ada.Wide_Text_IO.Modular_Aux;
|
-- -*- Mode: Ada -*-
-- Filename : maths.ads
-- Description : Sample shared library using an Ada and a C function as an example.
-- Author : Luke A. Guest
-- Created On : Sun Oct 27 17:50:33 2013
package Maths is
function Add (A, B : in Integer) return Integer with
Export => True,
Convention => Ada,
External_Name => "Add";
function Sub (A, B : in Integer) return Integer with
Import => True,
Convention => C,
External_Name => "sub";
end Maths;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . E X N _ 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. --
-- --
------------------------------------------------------------------------------
package body System.Exn_LLI is
---------------------------
-- Exn_Long_Long_Integer --
---------------------------
function Exn_Long_Long_Integer
(Left : Long_Long_Integer;
Right : Natural)
return Long_Long_Integer
is
pragma Suppress (Division_Check);
pragma Suppress (Overflow_Check);
Result : Long_Long_Integer := 1;
Factor : Long_Long_Integer := Left;
Exp : Natural := Right;
begin
-- We use the standard logarithmic approach, Exp gets shifted right
-- testing successive low order bits and Factor is the value of the
-- base raised to the next power of 2.
-- Note: it is not worth special casing base values -1, 0, +1 since
-- the expander does this when the base is a literal, and other cases
-- will be extremely rare.
if Exp /= 0 then
loop
if Exp rem 2 /= 0 then
Result := Result * Factor;
end if;
Exp := Exp / 2;
exit when Exp = 0;
Factor := Factor * Factor;
end loop;
end if;
return Result;
end Exn_Long_Long_Integer;
end System.Exn_LLI;
|
-- 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 Trades.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Trades.Test_Data
.Test with
null record;
procedure Test_BuyItems_295d66_e10e97(Gnattest_T: in out Test);
-- trades.ads:114:4:BuyItems:Test_BuyItems
procedure Test_SellItems_079195_4009e6(Gnattest_T: in out Test);
-- trades.ads:127:4:SellItems:Test_SellItems
procedure Test_GenerateTraderCargo_9d8e19_e2d9dd(Gnattest_T: in out Test);
-- trades.ads:142:4:GenerateTraderCargo:Test_GenerateTraderCargo
end Trades.Test_Data.Tests;
-- end read only
|
-- Ada regular expression library
-- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with Ada.Unchecked_Deallocation;
package body Regex.State_Machines is
use Regex.Syntax_Trees;
function Clone (Object : in Input_Symbol_Access) return Input_Symbol_Access is
New_Object : constant Input_Symbol_Access := new Input_Symbol (Symbol_Type => Object.Symbol_Type);
begin
New_Object.all := Object.all;
return New_Object;
end Clone;
function Compare_Input_Symbols (Left, Right : in Input_Symbol_Access) return Boolean is
begin
case Left.Symbol_Type is
when Single_Character =>
if Right.Symbol_Type = Single_Character then
return Left.Char < Right.Char;
else
return True;
end if;
when Any_Character =>
return False;
end case;
end Compare_Input_Symbols;
function Input_Symbol_Equals (Left, Right : in Input_Symbol_Access) return Boolean is
begin
return Left.all = Right.all;
end Input_Symbol_Equals;
function "<" (Left, Right : in State_Machine_Transition) return Boolean is
begin
return Compare_Input_Symbols (Left.Transition_On, Right.Transition_On);
end "<";
function "=" (Left, Right : in State_Machine_Transition) return Boolean is
begin
return Input_Symbol_Equals (Left.Transition_On, Right.Transition_On) and Left.Target_State = Right.Target_State;
end "=";
function Create_Transition_On_Symbol (Input_Symbol : in Input_Symbol_Access;
Target_State : in State_Machine_State_Access)
return State_Machine_Transition is
begin
return Retval : State_Machine_Transition do
Retval.Transition_On := Input_Symbol;
Retval.Target_State := Target_State;
end return;
end Create_Transition_On_Symbol;
procedure Adjust (This : in out State_Machine_Transition) is
pragma Assert (This.Transition_On /= null);
New_Input_Symbol : constant Input_Symbol_Access := new Input_Symbol (
Symbol_Type => This.Transition_On.Symbol_Type);
begin
New_Input_Symbol.all := This.Transition_On.all;
This.Transition_On := New_Input_Symbol;
end Adjust;
procedure Finalize (This : in out State_Machine_Transition) is
procedure Free is new Ada.Unchecked_Deallocation (Input_Symbol, Input_Symbol_Access);
begin
Free (This.Transition_On);
end Finalize;
function Create_State (Syntax_Tree_Nodes : in Syntax_Tree_Node_Sets.Sorted_Set) return State_Machine_State_Access is
Retval : constant State_Machine_State_Access := new State_Machine_State'(
Syntax_Tree_Nodes => Syntax_Tree_Nodes,
Transitions => State_Machine_Transition_Vectors.Empty_Vector,
Acceptance_Id => 0,
others => False);
begin
return Retval;
end Create_State;
end Regex.State_Machines;
|
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
function JWS.To_Base_64_URL
(Data : League.Stream_Element_Vectors.Stream_Element_Vector)
return League.Strings.Universal_String;
|
-- { dg-do run }
with Init11; use Init11;
with Text_IO; use Text_IO;
with Dump;
procedure U11 is
Local_R1 : R1;
Local_R2 : R2;
C1 : My_Integer;
C2 : My_Integer;
begin
Local_R1 := (I => 1, A => (16#AB0012#, 16#CD0034#, 16#EF0056#));
Put ("Local_R1 :");
Dump (Local_R1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R1 : 01 00 00 00 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" }
Local_R2 := (I => 1, A => (16#AB0012#, 16#CD0034#, 16#EF0056#));
Put ("Local_R2 :");
Dump (Local_R2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R2 : 00 00 00 01 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" }
C1 := Local_R1.A (Integer(Local_R1.I));
Put_Line ("C1 :" & C1'Img);
-- { dg-output "C1 : 11206674.*\n" }
Local_R1.I := Local_R1.I + 1;
C1 := Local_R1.A (Integer(Local_R1.I));
Put_Line ("C1 :" & C1'Img);
-- { dg-output "C1 : 13434932.*\n" }
C2 := Local_R2.A (Integer(Local_R2.I));
Put_Line ("C2 :" & C2'Img);
-- { dg-output "C2 : 11206674.*\n" }
Local_R2.I := Local_R2.I + 1;
C2 := Local_R2.A (Integer(Local_R2.I));
Put_Line ("C2 :" & C2'Img);
-- { dg-output "C2 : 13434932.*\n" }
end;
|
package SPARKNaCl.Core
with Pure,
SPARK_Mode => On
is
-- Limited, so no assignment or comparison, and always
-- pass-by-reference.
type Salsa20_Key is limited private;
function Construct (K : in Bytes_32) return Salsa20_Key
with Global => null;
procedure Construct (K : out Salsa20_Key;
X : in Bytes_32)
with Global => null;
function Serialize (K : in Salsa20_Key) return Bytes_32
with Global => null;
procedure Sanitize (K : out Salsa20_Key)
with Global => null;
--------------------------------------------------------
-- Salsa20 Core functions
--------------------------------------------------------
procedure Salsa20 (Output : out Bytes_64;
Input : in Bytes_16;
K : in Salsa20_Key;
C : in Bytes_16) -- Counter
with Global => null;
procedure HSalsa20 (Output : out Bytes_32;
Input : in Bytes_16;
K : in Salsa20_Key;
C : in Bytes_16) -- Counter
with Global => null;
private
-- Note - also limited here in the full view to ensure
-- no assignment and pass-by-reference in the body.
type Salsa20_Key is limited record
F : Bytes_32;
end record;
end SPARKNaCl.Core;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY COMPONENTS --
-- --
-- S Y S T E M . C O M P A R E _ A R R A Y _ S I G N E D _ 6 4 --
-- --
-- S p e c --
-- --
-- Copyright (C) 2002-2014, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package contains functions for runtime comparisons on arrays whose
-- elements are 64-bit discrete type values to be treated as signed.
package System.Compare_Array_Signed_64 is
-- Note: although the functions in this package are in a sense Pure, the
-- package cannot be declared as Pure, since the arguments are addresses,
-- not the data, and the result is not pure wrt the address values.
function Compare_Array_S64
(Left : System.Address;
Right : System.Address;
Left_Len : Natural;
Right_Len : Natural) return Integer;
-- Compare the array starting at address Left of length Left_Len
-- with the array starting at address Right of length Right_Len.
-- The comparison is in the normal Ada semantic sense of array
-- comparison. The result is -1,0,+1 for Left<Right, Left=Right,
-- Left>Right respectively.
end System.Compare_Array_Signed_64;
|
--
-- Copyright (C) 2021, AdaCore
--
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
-- This is a version for the STM32G474xx MCU
package Ada.Interrupts.Names is
-- All identifiers in this unit are implementation defined
pragma Implementation_Defined;
----------------
-- Interrupts --
----------------
-- System tick
Sys_Tick_Interrupt : constant Interrupt_ID := -1;
-- Window Watchdog interrupt
WWDG_Interrupt : constant Interrupt_ID := 0;
-- PVD through EXTI line detection
PVD_PVM_Interrupt : constant Interrupt_ID := 1;
-- RTC_TAMP_CSS_LSE
RTC_TAMP_CSS_LSE_Interrupt : constant Interrupt_ID := 2;
-- RTC Wakeup timer
RTC_WKUP_Interrupt : constant Interrupt_ID := 3;
-- FLASH
FLASH_Interrupt : constant Interrupt_ID := 4;
-- RCC
RCC_Interrupt : constant Interrupt_ID := 5;
-- EXTI Line0 interrupt
EXTI0_Interrupt : constant Interrupt_ID := 6;
-- EXTI Line1 interrupt
EXTI1_Interrupt : constant Interrupt_ID := 7;
-- EXTI Line2 interrupt
EXTI2_Interrupt : constant Interrupt_ID := 8;
-- EXTI Line3 interrupt
EXTI3_Interrupt : constant Interrupt_ID := 9;
-- EXTI Line4 interrupt
EXTI4_Interrupt : constant Interrupt_ID := 10;
-- DMA1 channel 1 interrupt
DMA1_CH1_Interrupt : constant Interrupt_ID := 11;
-- DMA1 channel 2 interrupt
DMA1_CH2_Interrupt : constant Interrupt_ID := 12;
-- DMA1 channel 3 interrupt
DMA1_CH3_Interrupt : constant Interrupt_ID := 13;
-- DMA1 channel 4 interrupt
DMA1_CH4_Interrupt : constant Interrupt_ID := 14;
-- DMA1 channel 5 interrupt
DMA1_CH5_Interrupt : constant Interrupt_ID := 15;
-- DMA1 channel 6 interrupt
DMA1_CH6_Interrupt : constant Interrupt_ID := 16;
-- DMA1 channel 7 interrupt
DMA1_CH7_Interrupt : constant Interrupt_ID := 17;
-- ADC1 and ADC2 global interrupt
ADC1_2_Interrupt : constant Interrupt_ID := 18;
-- USB_HP
USB_HP_Interrupt : constant Interrupt_ID := 19;
-- USB_LP
USB_LP_Interrupt : constant Interrupt_ID := 20;
-- FDCAN1_intr1_it
FDCAN1_intr1_it_Interrupt : constant Interrupt_ID := 21;
-- FDCAN1_intr0_it
FDCAN1_intr0_it_Interrupt : constant Interrupt_ID := 22;
-- EXTI9_5
EXTI9_5_Interrupt : constant Interrupt_ID := 23;
-- TIM1_BRK_TIM15
TIM1_BRK_TIM15_Interrupt : constant Interrupt_ID := 24;
-- TIM1_UP_TIM16
TIM1_UP_TIM16_Interrupt : constant Interrupt_ID := 25;
-- TIM1_TRG_COM/
TIM1_TRG_COM_Interrupt : constant Interrupt_ID := 26;
-- TIM1 capture compare interrupt
TIM1_CC_Interrupt : constant Interrupt_ID := 27;
-- TIM2
TIM2_Interrupt : constant Interrupt_ID := 28;
-- TIM3
TIM3_Interrupt : constant Interrupt_ID := 29;
-- TIM4
TIM4_Interrupt : constant Interrupt_ID := 30;
-- I2C1_EV
I2C1_EV_Interrupt : constant Interrupt_ID := 31;
-- I2C1_ER
I2C1_ER_Interrupt : constant Interrupt_ID := 32;
-- I2C2_EV
I2C2_EV_Interrupt : constant Interrupt_ID := 33;
-- I2C2_ER
I2C2_ER_Interrupt : constant Interrupt_ID := 34;
-- SPI1
SPI1_Interrupt : constant Interrupt_ID := 35;
-- SPI2
SPI2_Interrupt : constant Interrupt_ID := 36;
-- USART1
USART1_Interrupt : constant Interrupt_ID := 37;
-- USART2
USART2_Interrupt : constant Interrupt_ID := 38;
-- USART3
USART3_Interrupt : constant Interrupt_ID := 39;
-- EXTI15_10
EXTI15_10_Interrupt : constant Interrupt_ID := 40;
-- RTC_ALARM
RTC_ALARM_Interrupt : constant Interrupt_ID := 41;
-- USBWakeUP
USBWakeUP_Interrupt : constant Interrupt_ID := 42;
-- TIM8_BRK
TIM8_BRK_Interrupt : constant Interrupt_ID := 43;
-- TIM8_UP
TIM8_UP_Interrupt : constant Interrupt_ID := 44;
-- TIM8_TRG_COM
TIM8_TRG_COM_Interrupt : constant Interrupt_ID := 45;
-- TIM8_CC
TIM8_CC_Interrupt : constant Interrupt_ID := 46;
-- ADC3
ADC3_Interrupt : constant Interrupt_ID := 47;
-- FMC
FMC_Interrupt : constant Interrupt_ID := 48;
-- LPTIM1
LPTIM1_Interrupt : constant Interrupt_ID := 49;
-- TIM5
TIM5_Interrupt : constant Interrupt_ID := 50;
-- SPI3
SPI3_Interrupt : constant Interrupt_ID := 51;
-- UART4
UART4_Interrupt : constant Interrupt_ID := 52;
-- UART5
UART5_Interrupt : constant Interrupt_ID := 53;
-- TIM6_DACUNDER
TIM6_DACUNDER_Interrupt : constant Interrupt_ID := 54;
-- TIM7
TIM7_Interrupt : constant Interrupt_ID := 55;
-- DMA2_CH1
DMA2_CH1_Interrupt : constant Interrupt_ID := 56;
-- DMA2_CH2
DMA2_CH2_Interrupt : constant Interrupt_ID := 57;
-- DMA2_CH3
DMA2_CH3_Interrupt : constant Interrupt_ID := 58;
-- DMA2_CH4
DMA2_CH4_Interrupt : constant Interrupt_ID := 59;
-- DMA2_CH5
DMA2_CH5_Interrupt : constant Interrupt_ID := 60;
-- ADC4
ADC4_Interrupt : constant Interrupt_ID := 61;
-- ADC5
ADC5_Interrupt : constant Interrupt_ID := 62;
-- UCPD1
UCPD1_Interrupt : constant Interrupt_ID := 63;
-- COMP1_2_3
COMP1_2_3_Interrupt : constant Interrupt_ID := 64;
-- COMP4_5_6
COMP4_5_6_Interrupt : constant Interrupt_ID := 65;
-- COMP7
COMP7_Interrupt : constant Interrupt_ID := 66;
-- HRTIM_Master_IRQn
HRTIM_Master_IRQn_Interrupt : constant Interrupt_ID := 67;
-- HRTIM_TIMA_IRQn
HRTIM_TIMA_IRQn_Interrupt : constant Interrupt_ID := 68;
-- HRTIM_TIMB_IRQn
HRTIM_TIMB_IRQn_Interrupt : constant Interrupt_ID := 69;
-- HRTIM_TIMC_IRQn
HRTIM_TIMC_IRQn_Interrupt : constant Interrupt_ID := 70;
-- HRTIM_TIMD_IRQn
HRTIM_TIMD_IRQn_Interrupt : constant Interrupt_ID := 71;
-- HRTIM_TIME_IRQn
HRTIM_TIME_IRQn_Interrupt : constant Interrupt_ID := 72;
-- HRTIM_TIM_FLT_IRQn
HRTIM_TIM_FLT_IRQn_Interrupt : constant Interrupt_ID := 73;
-- HRTIM_TIMF_IRQn
HRTIM_TIMF_IRQn_Interrupt : constant Interrupt_ID := 74;
-- CRS
CRS_Interrupt : constant Interrupt_ID := 75;
-- SAI
SAI_Interrupt : constant Interrupt_ID := 76;
-- TIM20_BRK
TIM20_BRK_Interrupt : constant Interrupt_ID := 77;
-- TIM20_UP
TIM20_UP_Interrupt : constant Interrupt_ID := 78;
-- TIM20_TRG_COM
TIM20_TRG_COM_Interrupt : constant Interrupt_ID := 79;
-- TIM20_CC
TIM20_CC_Interrupt : constant Interrupt_ID := 80;
-- FPU global interrupt
FPU_Interrupt : constant Interrupt_ID := 81;
-- I2C4_EV
I2C4_EV_Interrupt : constant Interrupt_ID := 82;
-- I2C4_ER
I2C4_ER_Interrupt : constant Interrupt_ID := 83;
-- SPI4
SPI4_Interrupt : constant Interrupt_ID := 84;
-- FDCAN2_intr0
FDCAN2_intr0_Interrupt : constant Interrupt_ID := 86;
-- FDCAN2_intr1
FDCAN2_intr1_Interrupt : constant Interrupt_ID := 87;
-- FDCAN3_intr0
FDCAN3_intr0_Interrupt : constant Interrupt_ID := 88;
-- FDCAN3_intr1
FDCAN3_intr1_Interrupt : constant Interrupt_ID := 89;
-- RNG
RNG_Interrupt : constant Interrupt_ID := 90;
-- LPUART
LPUART_Interrupt : constant Interrupt_ID := 91;
-- I2C3_EV
I2C3_EV_Interrupt : constant Interrupt_ID := 92;
-- I2C3_ER
I2C3_ER_Interrupt : constant Interrupt_ID := 93;
-- DMAMUX_OVR
DMAMUX_OVR_Interrupt : constant Interrupt_ID := 94;
-- QUADSPI
QUADSPI_Interrupt : constant Interrupt_ID := 95;
-- DMA1_CH8
DMA1_CH8_Interrupt : constant Interrupt_ID := 96;
-- DMA2_CH6
DMA2_CH6_Interrupt : constant Interrupt_ID := 97;
-- DMA2_CH7
DMA2_CH7_Interrupt : constant Interrupt_ID := 98;
-- DMA2_CH8
DMA2_CH8_Interrupt : constant Interrupt_ID := 99;
-- Cordic
Cordic_Interrupt : constant Interrupt_ID := 100;
-- FMAC
FMAC_Interrupt : constant Interrupt_ID := 101;
end Ada.Interrupts.Names;
|
-- MIT License
-- Copyright (c) 2021 Stephen Merrony
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
-- The above copyright notice and this permission notice shall be included in all
-- copies or substantial portions of the Software.
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
with Ada.Text_IO; use Ada.Text_IO;
with Debug_Logs; use Debug_Logs;
with Resolver; use Resolver;
package body Processor.Eagle_PC_P is
procedure Do_Eagle_PC (I : in Decoded_Instr_T; CPU : in out CPU_T) is
Addr : Phys_Addr_T;
Word : Word_T;
DW : Dword_T;
Skip : Boolean;
S32_S, S32_D : Integer_32;
Bit_Num : Natural;
procedure WS_Push (Datum : in Dword_T) is
begin
CPU.WSP := CPU.WSP + 2;
RAM.Write_Dword (CPU.WSP, Datum);
end WS_Push;
procedure Set_OVR (New_OVR : in Boolean) is
begin
if New_OVR then
Set_W_Bit(CPU.PSR, 1);
else
Clear_W_Bit(CPU.PSR, 1);
end if;
end Set_OVR;
begin
case I.Instruction is
when I_DSZTS | I_ISZTS =>
declare
S32 : Integer_32 := Dword_To_Integer_32(RAM.Read_Dword(CPU.WSP));
begin
if I.Instruction = I_DSZTS then
S32 := S32 - 1;
else
S32 := S32 + 1;
end if;
RAM.Write_Dword (CPU.WSP, Integer_32_To_Dword(S32));
Loggers.Debug_Print(Debug_Log, "... @WSP now: " & Dword_To_String (RAM.Read_Dword(CPU.WSP), Octal, 11, true));
Set_OVR (false);
if S32 = 0 then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
end;
when I_LDSP =>
declare
Hi, Lo, Offset : Integer_32;
Val : Integer_32 := Dword_To_Integer_32(CPU.AC(I.Ac));
Table_Addr : Phys_Addr_T;
Table_Ix : Phys_Addr_T;
begin
Table_Addr := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
Hi := Dword_To_Integer_32(RAM.Read_Dword(Table_Addr - 2));
Lo := Dword_To_Integer_32(RAM.Read_Dword(Table_Addr - 4));
if Val < Lo or Val > Hi then
CPU.PC := CPU.PC + 3;
else
Offset := 2 * (Val - Lo);
Table_Ix := Table_Addr + Phys_Addr_T(Offset);
DW := RAM.Read_Dword (Table_Ix);
if Test_DW_Bit (DW, 4) then
-- sign-extend from 28-bits
DW := DW or 16#ffff_0000#;
end if;
if DW = 16#ffff_ffff# then
CPU.PC := CPU.PC + 3;
else
S32_D := Integer_32(Table_Ix) + Dword_To_Integer_32(DW);
CPU.PC := Phys_Addr_T(S32_D);
end if;
end if;
end;
when I_LJMP =>
CPU.PC := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
when I_LJSR =>
CPU.AC(3) := Dword_T(CPU.PC) + 3;
CPU.PC := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
when I_LNDSZ =>
Addr := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
Word := RAM.Read_Word(Addr) - 1;
RAM.Write_Word (Addr, Word);
if Word = 0 then
CPU.PC := CPU.PC + 4;
else
CPU.PC := CPU.PC + 3;
end if;
when I_LNISZ =>
Addr := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
Word := RAM.Read_Word(Addr) + 1;
RAM.Write_Word (Addr, Word);
if Word = 0 then
CPU.PC := CPU.PC + 4;
else
CPU.PC := CPU.PC + 3;
end if;
when I_LPSHJ =>
WS_Push (Dword_T(CPU.PC) + 3);
CPU.PC := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
when I_LWDO =>
declare
Count : Integer_32 := Integer_32(CPU.AC(I.Ac));
Mem_Var_Addr : Phys_Addr_T := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
Mem_Var : Integer_32 := Dword_To_Integer_32(RAM.Read_Dword (Mem_Var_Addr)) + 1;
begin
RAM.Write_Dword (Mem_Var_Addr, Integer_32_To_Dword(Mem_Var));
CPU.AC(I.Ac) := Integer_32_To_Dword(Mem_Var);
if Mem_Var > Count then
-- loop ends
CPU.PC := CPU.PC + Phys_Addr_T(I.Imm_U16) + 1;
else
CPU.PC := CPU.PC + 4;
end if;
end;
when I_LWDSZ =>
Addr := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
DW := RAM.Read_Dword(Addr) - 1;
RAM.Write_Dword(Addr, DW);
if DW = 0 then
CPU.PC := CPU.PC + 4;
else
CPU.PC := CPU.PC + 3;
end if;
when I_LWISZ =>
Addr := Resolve_31bit_Disp (CPU, I.Ind, I.Mode, I.Disp_31, I.Disp_Offset);
DW := RAM.Read_Dword(Addr) + 1;
RAM.Write_Dword(Addr, DW);
if DW = 0 then
CPU.PC := CPU.PC + 4;
else
CPU.PC := CPU.PC + 3;
end if;
when I_NSALA =>
Word := not DG_Types.Lower_Word (CPU.AC(I.Ac));
if (Word and I.Word_2) = 0 then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when I_NSANA =>
Word := DG_Types.Lower_Word (CPU.AC(I.Ac));
if (Word and I.Word_2) = 0 then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when I_WBR =>
CPU.PC := Phys_Addr_T(Integer_32(CPU.PC) + Integer_32(I.Disp_8));
when I_WSEQ | I_WSNE =>
if I.Acs = I.Acd then
DW := 0;
else
DW := CPU.AC(I.Acd);
end if;
if I.Instruction = I_WSEQ then
Skip := CPU.Ac(I.Acs) = DW;
else
Skip := CPU.Ac(I.Acs) /= DW;
end if;
if Skip then CPU.PC := CPU.PC + 2; else CPU.PC := CPU.PC + 1; end if;
when I_WCLM =>
declare
Hi, Lo : Integer_32;
Val : Integer_32 := Dword_To_Integer_32(CPU.AC(I.Acs));
begin
if I.Acs /= I.Acd then
Lo := Dword_To_Integer_32(RAM.Read_Dword (Phys_Addr_T(CPU.AC(I.Acs))));
Hi := Dword_To_Integer_32(RAM.Read_Dword (Phys_Addr_T(CPU.AC(I.Acd)+2)));
if (Val < Lo) or (Val > Hi) then
CPU.PC := CPU.PC + 1;
else
CPU.PC := CPU.PC + 2;
end if;
else
Lo := Dword_To_Integer_32(RAM.Read_Dword (Phys_Addr_T(CPU.PC + 1)));
Hi := Dword_To_Integer_32(RAM.Read_Dword (Phys_Addr_T(CPU.PC + 3)));
if (Val < Lo) or (Val > Hi) then
CPU.PC := CPU.PC + 5;
else
CPU.PC := CPU.PC + 6;
end if;
end if;
end;
when I_WMESS =>
DW := RAM.Read_Dword(Phys_Addr_T(CPU.AC(2)));
if ((DW xor CPU.AC(0)) and CPU.AC(3)) = 0 then
RAM.Write_Dword(Phys_Addr_T(CPU.AC(2)), CPU.AC(1));
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
CPU.AC(1) := DW;
when I_WSEQI | I_WSGTI | I_WSLEI | I_WSNEI =>
if I.Instruction = I_WSEQI then
Skip := CPU.AC(I.Ac) = Sext_Word_To_Dword (I.Word_2);
elsif I.Instruction = I_WSGTI then
Skip := Dword_To_Integer_32(CPU.AC(I.Ac)) >= Dword_To_Integer_32(Sext_Word_To_Dword (I.Word_2));
elsif I.Instruction = I_WSLEI then
Skip := Dword_To_Integer_32(CPU.AC(I.Ac)) <= Dword_To_Integer_32(Sext_Word_To_Dword (I.Word_2));
else
Skip := CPU.AC(I.Ac) /= Sext_Word_To_Dword (I.Word_2);
end if;
if Skip then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when I_WSGE | I_WSGT | I_WSLE | I_WSLT =>
if I.Acs = I.Acd then
S32_D := 0;
else
S32_D := Dword_To_Integer_32(CPU.AC(I.Acd));
end if;
S32_S := Dword_To_Integer_32(CPU.AC(I.Acs));
if I.Instruction = I_WSGE then
Skip := S32_S >= S32_D;
elsif I.Instruction = I_WSGT then
Skip := S32_S > S32_D;
elsif I.Instruction = I_WSLE then
Skip := S32_S <= S32_D;
elsif I.Instruction = I_WSLT then
Skip := S32_S < S32_D;
end if;
if Skip then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
when I_WSKBO =>
if Test_DW_Bit (CPU.AC(0), I.Bit_Number) then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
when I_WSKBZ =>
if not Test_DW_Bit (CPU.AC(0), I.Bit_Number) then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
when I_WSNB =>
Resolve_Eagle_Bit_Addr (CPU, I.Acd , I.Acs, Addr, Bit_Num);
if Test_W_Bit (RAM.Read_Word(Addr), Bit_Num) then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
when I_WSZB =>
Resolve_Eagle_Bit_Addr (CPU, I.Acd , I.Acs, Addr, Bit_Num);
if not Test_W_Bit (RAM.Read_Word(Addr), Bit_Num) then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
when I_WSZBO =>
Resolve_Eagle_Bit_Addr (CPU, I.Acd , I.Acs, Addr, Bit_Num);
Word := RAM.Read_Word(Addr);
if not Test_W_Bit (Word, Bit_Num) then
Set_W_Bit (Word, Bit_Num);
RAM.Write_Word (Addr, Word);
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
when I_WUSGE =>
if I.Acs = I.Acd then
CPU.PC := CPU.PC + 2;
else
if CPU.AC(I.Acs) >= CPU.AC(I.Acd) then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
end if;
when I_WUSGT =>
if I.Acs = I.Acd then
if CPU.AC(I.Acs) > 0 then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
else
if CPU.AC(I.Acs) > CPU.AC(I.Acd) then
CPU.PC := CPU.PC + 2;
else
CPU.PC := CPU.PC + 1;
end if;
end if;
when I_WUGTI =>
if CPU.AC(I.Ac) > I.Imm_DW then
CPU.PC := CPU.PC + 4;
else
CPU.PC := CPU.PC + 3;
end if;
when I_XCALL => -- FIXME - XCALL only handling trivial case
CPU.AC(3) := Dword_T(CPU.PC) + 3;
if I.Arg_Count >= 0 then
DW := Shift_Left(Dword_T(CPU.PSR), 16);
DW := DW or (Dword_T(I.Arg_Count) and 16#0000_ffff#);
else
DW := Dword_T(I.Arg_Count) and 16#0000_7fff#;
end if;
WS_Push (DW);
CPU.PC := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
when I_XJMP =>
CPU.PC := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset) or (CPU.PC and 16#7000_0000#);
when I_XJSR =>
CPU.AC(3) := Dword_T(CPU.PC + 2);
CPU.PC := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset) or (CPU.PC and 16#7000_0000#);
when I_XNDO =>
declare
Loop_Var_Addr : Phys_Addr_T;
Loop_Var, Ac_Var : Integer_32;
begin
Loop_Var_Addr := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
Word := RAM.Read_Word (Loop_Var_Addr) + 1 ;
Loop_Var := Integer_32(Word_To_Integer_16(Word));
RAM.Write_Word(Loop_Var_Addr, Word);
Ac_Var := Dword_To_Integer_32(CPU.AC(I.Ac));
CPU.AC(I.Ac) := Integer_32_To_Dword(Loop_Var);
if Loop_Var > Ac_Var then
-- loop ends
CPU.PC := CPU.PC + 1 + Phys_Addr_T(I.Word_3);
else
CPU.PC := CPU.PC + Phys_Addr_T(I.Instr_Len);
end if;
end;
when I_XNDSZ =>
Addr := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
Word := RAM.Read_Word (Addr) - 1;
RAM.Write_Word (Addr, Word);
if Word = 0 then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when I_XNISZ =>
Addr := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
Word := RAM.Read_Word (Addr) + 1;
RAM.Write_Word (Addr, Word);
if Word = 0 then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when I_XWDO =>
declare
Loop_Var_Addr : Phys_Addr_T;
Loop_Var, Ac_Var : Integer_32;
begin
Loop_Var_Addr := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
DW := RAM.Read_Dword (Loop_Var_Addr) + 1 ;
Loop_Var := Dword_To_Integer_32(DW);
RAM.Write_Dword(Loop_Var_Addr, DW);
Ac_Var := Dword_To_Integer_32(CPU.AC(I.Ac));
CPU.AC(I.Ac) := Integer_32_To_Dword(Loop_Var);
if Loop_Var > Ac_Var then
-- loop ends
CPU.PC := CPU.PC + 1 + Phys_Addr_T(I.Word_3);
else
CPU.PC := CPU.PC + Phys_Addr_T(I.Instr_Len);
end if;
end;
when I_XWDSZ =>
Addr := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
DW := RAM.Read_Dword (Addr) - 1;
RAM.Write_Dword (Addr, DW);
if DW = 0 then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when I_XWISZ =>
Addr := Resolve_15bit_Disp (CPU, I.Ind, I.Mode, I.Disp_15, I.Disp_Offset);
DW := RAM.Read_Dword (Addr) + 1;
RAM.Write_Dword (Addr, DW);
if DW = 0 then
CPU.PC := CPU.PC + 3;
else
CPU.PC := CPU.PC + 2;
end if;
when others =>
Put_Line ("ERROR: EAGLE_PC instruction " & To_String(I.Mnemonic) &
" not yet implemented");
raise Execution_Failure with "ERROR: EAGLE_PC instruction " & To_String(I.Mnemonic) &
" not yet implemented";
end case;
end Do_Eagle_PC;
end Processor.Eagle_PC_P; |
------------------------------------------------------------------------------
-- --
-- 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.
------------------------------------------------------------------------------
-- A special kind of state signifying that the enclosing region is completed.
-- If the enclosing region is directly contained in a state machine and all
-- other regions in the state machine also are completed, then it means that
-- the entire state machine is completed.
------------------------------------------------------------------------------
with AMF.UML.States;
package AMF.UML.Final_States is
pragma Preelaborate;
type UML_Final_State is limited interface
and AMF.UML.States.UML_State;
type UML_Final_State_Access is
access all UML_Final_State'Class;
for UML_Final_State_Access'Storage_Size use 0;
end AMF.UML.Final_States;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, 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 MicroBit.Console; use MicroBit.Console;
with MicroBit.IOs;
with MicroBit.Time;
procedure Main is
begin
MicroBit.IOs.Set_Analog_Period_Us(20_000);
loop
-- This generates a PWM signal with the servo library
-- Loop for value between 30 and 100. Note that this range is not checking boundaries, 1023 is the max.
-- When using with a servo, this first sets the interval period (20ms=50Hz), and the dutycycle to 30/1023 = 2.9% to 9.75%
-- The spec says duty cycle is 0.5 ms/20ms = 2.5% (-90 degree)
-- 1.5 ms/20ms = 7.5% ( 0 degree)
-- 2.5 ms/20ms = 12.5% ( +90 degree)
-- https://components101.com/motors/mg995-servo-motor
for Value in MicroBit.IOs.Analog_Value range 30 .. 100 loop
MicroBit.Console.Put("Value: ");
MicroBit.Console.Put_Line(Integer'Image(Integer(Value)));
-- Write the analog value to pin 0
MicroBit.IOs.Write (0, Value);
-- Wait 20 milliseconds
MicroBit.Time.Delay_Ms (50);
end loop;
end loop;
end Main;
|
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- A D A . C O N T A I N E R S . F O R M A L _ V E C T O R S --
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2015, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
------------------------------------------------------------------------------
-- This spec is derived from package Ada.Containers.Bounded_Vectors in the Ada
-- 2012 RM. The modifications are meant to facilitate formal proofs by making
-- it easier to express properties, and by making the specification of this
-- unit compatible with SPARK 2014. Note that the API of this unit may be
-- subject to incompatible changes as SPARK 2014 evolves.
generic
type Index_Type is range <>;
type Element_Type is private;
with function "=" (Left, Right : Element_Type) return Boolean is <>;
Bounded : Boolean := True;
-- If True, the containers are bounded; the initial capacity is the maximum
-- size, and heap allocation will be avoided. If False, the containers can
-- grow via heap allocation.
package Ada.Containers.Formal_Vectors with
SPARK_Mode
is
pragma Annotate (GNATprove, External_Axiomatization);
pragma Annotate (CodePeer, Skip_Analysis);
subtype Extended_Index is Index_Type'Base
range Index_Type'First - 1 ..
Index_Type'Min (Index_Type'Base'Last - 1, Index_Type'Last) + 1;
No_Index : constant Extended_Index := Extended_Index'First;
subtype Capacity_Range is
Count_Type range 0 .. Count_Type (Index_Type'Last - Index_Type'First + 1);
type Vector (Capacity : Capacity_Range) is limited private with
Default_Initial_Condition => Is_Empty (Vector);
-- In the bounded case, Capacity is the capacity of the container, which
-- never changes. In the unbounded case, Capacity is the initial capacity
-- of the container, and operations such as Reserve_Capacity and Append can
-- increase the capacity. The capacity never shrinks, except in the case of
-- Clear.
--
-- Note that all objects of type Vector are constrained, including in the
-- unbounded case; you can't assign from one object to another if the
-- Capacity is different.
function Empty_Vector return Vector;
function "=" (Left, Right : Vector) return Boolean with
Global => null;
function To_Vector
(New_Item : Element_Type;
Length : Capacity_Range) return Vector
with
Global => null;
function Capacity (Container : Vector) return Capacity_Range with
Global => null,
Post => Capacity'Result >= Container.Capacity;
procedure Reserve_Capacity
(Container : in out Vector;
Capacity : Capacity_Range)
with
Global => null,
Pre => (if Bounded then Capacity <= Container.Capacity);
function Length (Container : Vector) return Capacity_Range with
Global => null;
function Is_Empty (Container : Vector) return Boolean with
Global => null;
procedure Clear (Container : in out Vector) with
Global => null;
-- Note that this reclaims storage in the unbounded case. You need to call
-- this before a container goes out of scope in order to avoid storage
-- leaks. In addition, "X := ..." can leak unless you Clear(X) first.
procedure Assign (Target : in out Vector; Source : Vector) with
Global => null,
Pre => (if Bounded then Length (Source) <= Target.Capacity);
function Copy
(Source : Vector;
Capacity : Capacity_Range := 0) return Vector
with
Global => null,
Pre => (if Bounded then (Capacity = 0 or Length (Source) <= Capacity));
function Element
(Container : Vector;
Index : Index_Type) return Element_Type
with
Global => null,
Pre => Index in First_Index (Container) .. Last_Index (Container);
procedure Replace_Element
(Container : in out Vector;
Index : Index_Type;
New_Item : Element_Type)
with
Global => null,
Pre => Index in First_Index (Container) .. Last_Index (Container);
procedure Append
(Container : in out Vector;
New_Item : Vector)
with
Global => null,
Pre => (if Bounded then
Length (Container) + Length (New_Item) <= Container.Capacity);
procedure Append
(Container : in out Vector;
New_Item : Element_Type)
with
Global => null,
Pre => (if Bounded then
Length (Container) < Container.Capacity);
procedure Delete_Last
(Container : in out Vector)
with
Global => null;
procedure Reverse_Elements (Container : in out Vector) with
Global => null;
procedure Swap (Container : in out Vector; I, J : Index_Type) with
Global => null,
Pre => I in First_Index (Container) .. Last_Index (Container)
and then J in First_Index (Container) .. Last_Index (Container);
function First_Index (Container : Vector) return Index_Type with
Global => null;
function First_Element (Container : Vector) return Element_Type with
Global => null,
Pre => not Is_Empty (Container);
function Last_Index (Container : Vector) return Extended_Index with
Global => null;
function Last_Element (Container : Vector) return Element_Type with
Global => null,
Pre => not Is_Empty (Container);
function Find_Index
(Container : Vector;
Item : Element_Type;
Index : Index_Type := Index_Type'First) return Extended_Index
with
Global => null;
function Reverse_Find_Index
(Container : Vector;
Item : Element_Type;
Index : Index_Type := Index_Type'Last) return Extended_Index
with
Global => null;
function Contains
(Container : Vector;
Item : Element_Type) return Boolean
with
Global => null;
function Has_Element
(Container : Vector;
Position : Extended_Index) return Boolean
with
Global => null;
generic
with function "<" (Left, Right : Element_Type) return Boolean is <>;
package Generic_Sorting with SPARK_Mode is
function Is_Sorted (Container : Vector) return Boolean with
Global => null;
procedure Sort (Container : in out Vector) with
Global => null;
end Generic_Sorting;
function First_To_Previous
(Container : Vector;
Current : Index_Type) return Vector
with
Ghost,
Global => null,
Pre => Current in First_Index (Container) .. Last_Index (Container);
function Current_To_Last
(Container : Vector;
Current : Index_Type) return Vector
with
Ghost,
Global => null,
Pre => Current in First_Index (Container) .. Last_Index (Container);
-- First_To_Previous returns a container containing all elements preceding
-- Current (excluded) in Container. Current_To_Last returns a container
-- containing all elements following Current (included) in Container.
-- These two new functions can be used to express invariant properties in
-- loops which iterate over containers. First_To_Previous returns the part
-- of the container already scanned and Current_To_Last the part not
-- scanned yet.
private
pragma SPARK_Mode (Off);
pragma Inline (First_Index);
pragma Inline (Last_Index);
pragma Inline (Element);
pragma Inline (First_Element);
pragma Inline (Last_Element);
pragma Inline (Replace_Element);
pragma Inline (Contains);
subtype Array_Index is Capacity_Range range 1 .. Capacity_Range'Last;
type Elements_Array is array (Array_Index range <>) of Element_Type;
function "=" (L, R : Elements_Array) return Boolean is abstract;
type Elements_Array_Ptr is access all Elements_Array;
type Vector (Capacity : Capacity_Range) is limited record
-- In the bounded case, the elements are stored in Elements. In the
-- unbounded case, the elements are initially stored in Elements, until
-- we run out of room, then we switch to Elements_Ptr.
Last : Extended_Index := No_Index;
Elements_Ptr : Elements_Array_Ptr := null;
Elements : aliased Elements_Array (1 .. Capacity);
end record;
-- The primary reason Vector is limited is that in the unbounded case, once
-- Elements_Ptr is in use, assignment statements won't work. "X := Y;" will
-- cause X and Y to share state; that is, X.Elements_Ptr = Y.Elements_Ptr,
-- so for example "Append (X, ...);" will modify BOTH X and Y. That would
-- allow SPARK to "prove" things that are false. We could fix that by
-- making Vector a controlled type, and override Adjust to make a deep
-- copy, but finalization is not allowed in SPARK.
--
-- Note that (unfortunately) this means that 'Old and 'Loop_Entry are not
-- allowed on Vectors.
function Empty_Vector return Vector is
((Capacity => 0, others => <>));
end Ada.Containers.Formal_Vectors;
|
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
package Apsepp_Demo_DT_Instance_Client is
procedure Instance_Client;
end Apsepp_Demo_DT_Instance_Client;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ T E X T _ I O . E D I T I N G --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2020, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Strings.Fixed;
with Ada.Strings.Wide_Fixed;
package body Ada.Wide_Text_IO.Editing is
package Strings renames Ada.Strings;
package Strings_Fixed renames Ada.Strings.Fixed;
package Strings_Wide_Fixed renames Ada.Strings.Wide_Fixed;
package Wide_Text_IO renames Ada.Wide_Text_IO;
-----------------------
-- Local_Subprograms --
-----------------------
function To_Wide (C : Character) return Wide_Character;
pragma Inline (To_Wide);
-- Convert Character to corresponding Wide_Character
---------------------
-- Blank_When_Zero --
---------------------
function Blank_When_Zero (Pic : Picture) return Boolean is
begin
return Pic.Contents.Original_BWZ;
end Blank_When_Zero;
--------------------
-- Decimal_Output --
--------------------
package body Decimal_Output is
-----------
-- Image --
-----------
function Image
(Item : Num;
Pic : Picture;
Currency : Wide_String := Default_Currency;
Fill : Wide_Character := Default_Fill;
Separator : Wide_Character := Default_Separator;
Radix_Mark : Wide_Character := Default_Radix_Mark) return Wide_String
is
begin
return Format_Number
(Pic.Contents, Num'Image (Item),
Currency, Fill, Separator, Radix_Mark);
end Image;
------------
-- Length --
------------
function Length
(Pic : Picture;
Currency : Wide_String := Default_Currency) return Natural
is
Picstr : constant String := Pic_String (Pic);
V_Adjust : Integer := 0;
Cur_Adjust : Integer := 0;
begin
-- Check if Picstr has 'V' or '$'
-- If 'V', then length is 1 less than otherwise
-- If '$', then length is Currency'Length-1 more than otherwise
-- This should use the string handling package ???
for J in Picstr'Range loop
if Picstr (J) = 'V' then
V_Adjust := -1;
elsif Picstr (J) = '$' then
Cur_Adjust := Currency'Length - 1;
end if;
end loop;
return Picstr'Length - V_Adjust + Cur_Adjust;
end Length;
---------
-- Put --
---------
procedure Put
(File : Wide_Text_IO.File_Type;
Item : Num;
Pic : Picture;
Currency : Wide_String := Default_Currency;
Fill : Wide_Character := Default_Fill;
Separator : Wide_Character := Default_Separator;
Radix_Mark : Wide_Character := Default_Radix_Mark)
is
begin
Wide_Text_IO.Put (File, Image (Item, Pic,
Currency, Fill, Separator, Radix_Mark));
end Put;
procedure Put
(Item : Num;
Pic : Picture;
Currency : Wide_String := Default_Currency;
Fill : Wide_Character := Default_Fill;
Separator : Wide_Character := Default_Separator;
Radix_Mark : Wide_Character := Default_Radix_Mark)
is
begin
Wide_Text_IO.Put (Image (Item, Pic,
Currency, Fill, Separator, Radix_Mark));
end Put;
procedure Put
(To : out Wide_String;
Item : Num;
Pic : Picture;
Currency : Wide_String := Default_Currency;
Fill : Wide_Character := Default_Fill;
Separator : Wide_Character := Default_Separator;
Radix_Mark : Wide_Character := Default_Radix_Mark)
is
Result : constant Wide_String :=
Image (Item, Pic, Currency, Fill, Separator, Radix_Mark);
begin
if Result'Length > To'Length then
raise Wide_Text_IO.Layout_Error;
else
Strings_Wide_Fixed.Move (Source => Result, Target => To,
Justify => Strings.Right);
end if;
end Put;
-----------
-- Valid --
-----------
function Valid
(Item : Num;
Pic : Picture;
Currency : Wide_String := Default_Currency) return Boolean
is
begin
declare
Temp : constant Wide_String := Image (Item, Pic, Currency);
pragma Warnings (Off, Temp);
begin
return True;
end;
exception
when Layout_Error => return False;
end Valid;
end Decimal_Output;
------------
-- Expand --
------------
function Expand (Picture : String) return String is
Result : String (1 .. MAX_PICSIZE);
Picture_Index : Integer := Picture'First;
Result_Index : Integer := Result'First;
Count : Natural;
Last : Integer;
begin
if Picture'Length < 1 then
raise Picture_Error;
end if;
if Picture (Picture'First) = '(' then
raise Picture_Error;
end if;
loop
case Picture (Picture_Index) is
when '(' =>
-- We now need to scan out the count after a left paren. In
-- the non-wide version we used Integer_IO.Get, but that is
-- not convenient here, since we don't want to drag in normal
-- Text_IO just for this purpose. So we do the scan ourselves,
-- with the normal validity checks.
Last := Picture_Index + 1;
Count := 0;
if Picture (Last) not in '0' .. '9' then
raise Picture_Error;
end if;
Count := Character'Pos (Picture (Last)) - Character'Pos ('0');
Last := Last + 1;
loop
if Last > Picture'Last then
raise Picture_Error;
end if;
if Picture (Last) = '_' then
if Picture (Last - 1) = '_' then
raise Picture_Error;
end if;
elsif Picture (Last) = ')' then
exit;
elsif Picture (Last) not in '0' .. '9' then
raise Picture_Error;
else
Count := Count * 10
+ Character'Pos (Picture (Last)) -
Character'Pos ('0');
end if;
Last := Last + 1;
end loop;
-- In what follows note that one copy of the repeated
-- character has already been made, so a count of one is
-- no-op, and a count of zero erases a character.
for J in 2 .. Count loop
Result (Result_Index + J - 2) := Picture (Picture_Index - 1);
end loop;
Result_Index := Result_Index + Count - 1;
-- Last was a ')' throw it away too
Picture_Index := Last + 1;
when ')' =>
raise Picture_Error;
when others =>
Result (Result_Index) := Picture (Picture_Index);
Picture_Index := Picture_Index + 1;
Result_Index := Result_Index + 1;
end case;
exit when Picture_Index > Picture'Last;
end loop;
return Result (1 .. Result_Index - 1);
exception
when others =>
raise Picture_Error;
end Expand;
-------------------
-- Format_Number --
-------------------
function Format_Number
(Pic : Format_Record;
Number : String;
Currency_Symbol : Wide_String;
Fill_Character : Wide_Character;
Separator_Character : Wide_Character;
Radix_Point : Wide_Character) return Wide_String
is
Attrs : Number_Attributes := Parse_Number_String (Number);
Position : Integer;
Rounded : String := Number;
Sign_Position : Integer := Pic.Sign_Position; -- may float.
Answer : Wide_String (1 .. Pic.Picture.Length);
Last : Integer;
Currency_Pos : Integer := Pic.Start_Currency;
Dollar : Boolean := False;
-- Overridden immediately if necessary
Zero : Boolean := True;
-- Set to False when a non-zero digit is output
begin
-- If the picture has fewer decimal places than the number, the image
-- must be rounded according to the usual rules.
if Attrs.Has_Fraction then
declare
R : constant Integer :=
(Attrs.End_Of_Fraction - Attrs.Start_Of_Fraction + 1)
- Pic.Max_Trailing_Digits;
R_Pos : Integer;
begin
if R > 0 then
R_Pos := Rounded'Length - R;
if Rounded (R_Pos + 1) > '4' then
if Rounded (R_Pos) = '.' then
R_Pos := R_Pos - 1;
end if;
if Rounded (R_Pos) /= '9' then
Rounded (R_Pos) := Character'Succ (Rounded (R_Pos));
else
Rounded (R_Pos) := '0';
R_Pos := R_Pos - 1;
while R_Pos > 1 loop
if Rounded (R_Pos) = '.' then
R_Pos := R_Pos - 1;
end if;
if Rounded (R_Pos) /= '9' then
Rounded (R_Pos) := Character'Succ (Rounded (R_Pos));
exit;
else
Rounded (R_Pos) := '0';
R_Pos := R_Pos - 1;
end if;
end loop;
-- The rounding may add a digit in front. Either the
-- leading blank or the sign (already captured) can be
-- overwritten.
if R_Pos = 1 then
Rounded (R_Pos) := '1';
Attrs.Start_Of_Int := Attrs.Start_Of_Int - 1;
end if;
end if;
end if;
end if;
end;
end if;
for J in Answer'Range loop
Answer (J) := To_Wide (Pic.Picture.Expanded (J));
end loop;
if Pic.Start_Currency /= Invalid_Position then
Dollar := Answer (Pic.Start_Currency) = '$';
end if;
-- Fix up "direct inserts" outside the playing field. Set up as one
-- loop to do the beginning, one (reverse) loop to do the end.
Last := 1;
loop
exit when Last = Pic.Start_Float;
exit when Last = Pic.Radix_Position;
exit when Answer (Last) = '9';
case Answer (Last) is
when '_' =>
Answer (Last) := Separator_Character;
when 'b' =>
Answer (Last) := ' ';
when others =>
null;
end case;
exit when Last = Answer'Last;
Last := Last + 1;
end loop;
-- Now for the end...
for J in reverse Last .. Answer'Last loop
exit when J = Pic.Radix_Position;
-- Do this test First, Separator_Character can equal Pic.Floater
if Answer (J) = Pic.Floater then
exit;
end if;
case Answer (J) is
when '_' =>
Answer (J) := Separator_Character;
when 'b' =>
Answer (J) := ' ';
when '9' =>
exit;
when others =>
null;
end case;
end loop;
-- Non-floating sign
if Pic.Start_Currency /= -1
and then Answer (Pic.Start_Currency) = '#'
and then Pic.Floater /= '#'
then
if Currency_Symbol'Length >
Pic.End_Currency - Pic.Start_Currency + 1
then
raise Picture_Error;
elsif Currency_Symbol'Length =
Pic.End_Currency - Pic.Start_Currency + 1
then
Answer (Pic.Start_Currency .. Pic.End_Currency) :=
Currency_Symbol;
elsif Pic.Radix_Position = Invalid_Position
or else Pic.Start_Currency < Pic.Radix_Position
then
Answer (Pic.Start_Currency .. Pic.End_Currency) :=
(others => ' ');
Answer (Pic.End_Currency - Currency_Symbol'Length + 1 ..
Pic.End_Currency) := Currency_Symbol;
else
Answer (Pic.Start_Currency .. Pic.End_Currency) :=
(others => ' ');
Answer (Pic.Start_Currency ..
Pic.Start_Currency + Currency_Symbol'Length - 1) :=
Currency_Symbol;
end if;
end if;
-- Fill in leading digits
if Attrs.End_Of_Int - Attrs.Start_Of_Int + 1 >
Pic.Max_Leading_Digits
then
raise Layout_Error;
end if;
Position :=
(if Pic.Radix_Position = Invalid_Position then Answer'Last
else Pic.Radix_Position - 1);
for J in reverse Attrs.Start_Of_Int .. Attrs.End_Of_Int loop
while Answer (Position) /= '9'
and then
Answer (Position) /= Pic.Floater
loop
if Answer (Position) = '_' then
Answer (Position) := Separator_Character;
elsif Answer (Position) = 'b' then
Answer (Position) := ' ';
end if;
Position := Position - 1;
end loop;
Answer (Position) := To_Wide (Rounded (J));
if Rounded (J) /= '0' then
Zero := False;
end if;
Position := Position - 1;
end loop;
-- Do lead float
if Pic.Start_Float = Invalid_Position then
-- No leading floats, but need to change '9' to '0', '_' to
-- Separator_Character and 'b' to ' '.
for J in Last .. Position loop
-- Last set when fixing the "uninteresting" leaders above.
-- Don't duplicate the work.
if Answer (J) = '9' then
Answer (J) := '0';
elsif Answer (J) = '_' then
Answer (J) := Separator_Character;
elsif Answer (J) = 'b' then
Answer (J) := ' ';
end if;
end loop;
elsif Pic.Floater = '<'
or else
Pic.Floater = '+'
or else
Pic.Floater = '-'
then
for J in Pic.End_Float .. Position loop -- May be null range
if Answer (J) = '9' then
Answer (J) := '0';
elsif Answer (J) = '_' then
Answer (J) := Separator_Character;
elsif Answer (J) = 'b' then
Answer (J) := ' ';
end if;
end loop;
if Position > Pic.End_Float then
Position := Pic.End_Float;
end if;
for J in Pic.Start_Float .. Position - 1 loop
Answer (J) := ' ';
end loop;
Answer (Position) := Pic.Floater;
Sign_Position := Position;
elsif Pic.Floater = '$' then
for J in Pic.End_Float .. Position loop -- May be null range
if Answer (J) = '9' then
Answer (J) := '0';
elsif Answer (J) = '_' then
Answer (J) := ' '; -- no separator before leftmost digit
elsif Answer (J) = 'b' then
Answer (J) := ' ';
end if;
end loop;
if Position > Pic.End_Float then
Position := Pic.End_Float;
end if;
for J in Pic.Start_Float .. Position - 1 loop
Answer (J) := ' ';
end loop;
Answer (Position) := Pic.Floater;
Currency_Pos := Position;
elsif Pic.Floater = '*' then
for J in Pic.End_Float .. Position loop -- May be null range
if Answer (J) = '9' then
Answer (J) := '0';
elsif Answer (J) = '_' then
Answer (J) := Separator_Character;
elsif Answer (J) = 'b' then
Answer (J) := '*';
end if;
end loop;
if Position > Pic.End_Float then
Position := Pic.End_Float;
end if;
for J in Pic.Start_Float .. Position loop
Answer (J) := '*';
end loop;
else
if Pic.Floater = '#' then
Currency_Pos := Currency_Symbol'Length;
end if;
for J in reverse Pic.Start_Float .. Position loop
case Answer (J) is
when '*' =>
Answer (J) := Fill_Character;
when 'Z' | 'b' | '/' | '0' =>
Answer (J) := ' ';
when '9' =>
Answer (J) := '0';
when '.' | 'V' | 'v' | '<' | '$' | '+' | '-' =>
null;
when '#' =>
if Currency_Pos = 0 then
Answer (J) := ' ';
else
Answer (J) := Currency_Symbol (Currency_Pos);
Currency_Pos := Currency_Pos - 1;
end if;
when '_' =>
case Pic.Floater is
when '*' =>
Answer (J) := Fill_Character;
when 'Z' | 'b' =>
Answer (J) := ' ';
when '#' =>
if Currency_Pos = 0 then
Answer (J) := ' ';
else
Answer (J) := Currency_Symbol (Currency_Pos);
Currency_Pos := Currency_Pos - 1;
end if;
when others =>
null;
end case;
when others =>
null;
end case;
end loop;
if Pic.Floater = '#' and then Currency_Pos /= 0 then
raise Layout_Error;
end if;
end if;
-- Do sign
if Sign_Position = Invalid_Position then
if Attrs.Negative then
raise Layout_Error;
end if;
else
if Attrs.Negative then
case Answer (Sign_Position) is
when 'C' | 'D' | '-' =>
null;
when '+' =>
Answer (Sign_Position) := '-';
when '<' =>
Answer (Sign_Position) := '(';
Answer (Pic.Second_Sign) := ')';
when others =>
raise Picture_Error;
end case;
else -- positive
case Answer (Sign_Position) is
when '-' =>
Answer (Sign_Position) := ' ';
when '<' | 'C' | 'D' =>
Answer (Sign_Position) := ' ';
Answer (Pic.Second_Sign) := ' ';
when '+' =>
null;
when others =>
raise Picture_Error;
end case;
end if;
end if;
-- Fill in trailing digits
if Pic.Max_Trailing_Digits > 0 then
if Attrs.Has_Fraction then
Position := Attrs.Start_Of_Fraction;
Last := Pic.Radix_Position + 1;
for J in Last .. Answer'Last loop
if Answer (J) = '9' or else Answer (J) = Pic.Floater then
Answer (J) := To_Wide (Rounded (Position));
if Rounded (Position) /= '0' then
Zero := False;
end if;
Position := Position + 1;
Last := J + 1;
-- Used up fraction but remember place in Answer
exit when Position > Attrs.End_Of_Fraction;
elsif Answer (J) = 'b' then
Answer (J) := ' ';
elsif Answer (J) = '_' then
Answer (J) := Separator_Character;
end if;
Last := J + 1;
end loop;
Position := Last;
else
Position := Pic.Radix_Position + 1;
end if;
-- Now fill remaining 9's with zeros and _ with separators
Last := Answer'Last;
for J in Position .. Last loop
if Answer (J) = '9' then
Answer (J) := '0';
elsif Answer (J) = Pic.Floater then
Answer (J) := '0';
elsif Answer (J) = '_' then
Answer (J) := Separator_Character;
elsif Answer (J) = 'b' then
Answer (J) := ' ';
end if;
end loop;
Position := Last + 1;
else
if Pic.Floater = '#' and then Currency_Pos /= 0 then
raise Layout_Error;
end if;
-- No trailing digits, but now J may need to stick in a currency
-- symbol or sign.
Position :=
(if Pic.Start_Currency = Invalid_Position then Answer'Last + 1
else Pic.Start_Currency);
end if;
for J in Position .. Answer'Last loop
if Pic.Start_Currency /= Invalid_Position
and then Answer (Pic.Start_Currency) = '#'
then
Currency_Pos := 1;
end if;
-- Note: There are some weird cases J can imagine with 'b' or '#' in
-- currency strings where the following code will cause glitches. The
-- trick is to tell when the character in the answer should be
-- checked, and when to look at the original string. Some other time.
-- RIE 11/26/96 ???
case Answer (J) is
when '*' =>
Answer (J) := Fill_Character;
when 'b' =>
Answer (J) := ' ';
when '#' =>
if Currency_Pos > Currency_Symbol'Length then
Answer (J) := ' ';
else
Answer (J) := Currency_Symbol (Currency_Pos);
Currency_Pos := Currency_Pos + 1;
end if;
when '_' =>
case Pic.Floater is
when '*' =>
Answer (J) := Fill_Character;
when 'Z' | 'z' =>
Answer (J) := ' ';
when '#' =>
if Currency_Pos > Currency_Symbol'Length then
Answer (J) := ' ';
else
Answer (J) := Currency_Symbol (Currency_Pos);
Currency_Pos := Currency_Pos + 1;
end if;
when others =>
null;
end case;
when others =>
exit;
end case;
end loop;
-- Now get rid of Blank_when_Zero and complete Star fill
if Zero and then Pic.Blank_When_Zero then
-- Value is zero, and blank it
Last := Answer'Last;
if Dollar then
Last := Last - 1 + Currency_Symbol'Length;
end if;
if Pic.Radix_Position /= Invalid_Position
and then Answer (Pic.Radix_Position) = 'V'
then
Last := Last - 1;
end if;
return Wide_String'(1 .. Last => ' ');
elsif Zero and then Pic.Star_Fill then
Last := Answer'Last;
if Dollar then
Last := Last - 1 + Currency_Symbol'Length;
end if;
if Pic.Radix_Position /= Invalid_Position then
if Answer (Pic.Radix_Position) = 'V' then
Last := Last - 1;
elsif Dollar then
if Pic.Radix_Position > Pic.Start_Currency then
return Wide_String'(1 .. Pic.Radix_Position - 1 => '*') &
Radix_Point &
Wide_String'(Pic.Radix_Position + 1 .. Last => '*');
else
return
Wide_String'
(1 ..
Pic.Radix_Position + Currency_Symbol'Length - 2
=> '*') &
Radix_Point &
Wide_String'
(Pic.Radix_Position + Currency_Symbol'Length .. Last
=> '*');
end if;
else
return
Wide_String'(1 .. Pic.Radix_Position - 1 => '*') &
Radix_Point &
Wide_String'(Pic.Radix_Position + 1 .. Last => '*');
end if;
end if;
return Wide_String'(1 .. Last => '*');
end if;
-- This was once a simple return statement, now there are nine
-- different return cases. Not to mention the five above to deal
-- with zeros. Why not split things out?
-- Processing the radix and sign expansion separately would require
-- lots of copying--the string and some of its indexes--without
-- really simplifying the logic. The cases are:
-- 1) Expand $, replace '.' with Radix_Point
-- 2) No currency expansion, replace '.' with Radix_Point
-- 3) Expand $, radix blanked
-- 4) No currency expansion, radix blanked
-- 5) Elide V
-- 6) Expand $, Elide V
-- 7) Elide V, Expand $ (Two cases depending on order.)
-- 8) No radix, expand $
-- 9) No radix, no currency expansion
if Pic.Radix_Position /= Invalid_Position then
if Answer (Pic.Radix_Position) = '.' then
Answer (Pic.Radix_Position) := Radix_Point;
if Dollar then
-- 1) Expand $, replace '.' with Radix_Point
return
Answer (1 .. Currency_Pos - 1) & Currency_Symbol &
Answer (Currency_Pos + 1 .. Answer'Last);
else
-- 2) No currency expansion, replace '.' with Radix_Point
return Answer;
end if;
elsif Answer (Pic.Radix_Position) = ' ' then -- blanked radix.
if Dollar then
-- 3) Expand $, radix blanked
return Answer (1 .. Currency_Pos - 1) & Currency_Symbol &
Answer (Currency_Pos + 1 .. Answer'Last);
else
-- 4) No expansion, radix blanked
return Answer;
end if;
-- V cases
else
if not Dollar then
-- 5) Elide V
return Answer (1 .. Pic.Radix_Position - 1) &
Answer (Pic.Radix_Position + 1 .. Answer'Last);
elsif Currency_Pos < Pic.Radix_Position then
-- 6) Expand $, Elide V
return Answer (1 .. Currency_Pos - 1) & Currency_Symbol &
Answer (Currency_Pos + 1 .. Pic.Radix_Position - 1) &
Answer (Pic.Radix_Position + 1 .. Answer'Last);
else
-- 7) Elide V, Expand $
return Answer (1 .. Pic.Radix_Position - 1) &
Answer (Pic.Radix_Position + 1 .. Currency_Pos - 1) &
Currency_Symbol &
Answer (Currency_Pos + 1 .. Answer'Last);
end if;
end if;
elsif Dollar then
-- 8) No radix, expand $
return Answer (1 .. Currency_Pos - 1) & Currency_Symbol &
Answer (Currency_Pos + 1 .. Answer'Last);
else
-- 9) No radix, no currency expansion
return Answer;
end if;
end Format_Number;
-------------------------
-- Parse_Number_String --
-------------------------
function Parse_Number_String (Str : String) return Number_Attributes is
Answer : Number_Attributes;
begin
for J in Str'Range loop
case Str (J) is
when ' ' =>
null; -- ignore
when '1' .. '9' =>
-- Decide if this is the start of a number.
-- If so, figure out which one...
if Answer.Has_Fraction then
Answer.End_Of_Fraction := J;
else
if Answer.Start_Of_Int = Invalid_Position then
-- start integer
Answer.Start_Of_Int := J;
end if;
Answer.End_Of_Int := J;
end if;
when '0' =>
-- Only count a zero before the decimal point if it follows a
-- non-zero digit. After the decimal point, zeros will be
-- counted if followed by a non-zero digit.
if not Answer.Has_Fraction then
if Answer.Start_Of_Int /= Invalid_Position then
Answer.End_Of_Int := J;
end if;
end if;
when '-' =>
-- Set negative
Answer.Negative := True;
when '.' =>
-- Close integer, start fraction
if Answer.Has_Fraction then
raise Picture_Error;
end if;
-- Two decimal points is a no-no
Answer.Has_Fraction := True;
Answer.End_Of_Fraction := J;
-- Could leave this at Invalid_Position, but this seems the
-- right way to indicate a null range...
Answer.Start_Of_Fraction := J + 1;
Answer.End_Of_Int := J - 1;
when others =>
raise Picture_Error; -- can this happen? probably not
end case;
end loop;
if Answer.Start_Of_Int = Invalid_Position then
Answer.Start_Of_Int := Answer.End_Of_Int + 1;
end if;
-- No significant (intger) digits needs a null range
return Answer;
end Parse_Number_String;
----------------
-- Pic_String --
----------------
-- The following ensures that we return B and not b being careful not
-- to break things which expect lower case b for blank. See CXF3A02.
function Pic_String (Pic : Picture) return String is
Temp : String (1 .. Pic.Contents.Picture.Length) :=
Pic.Contents.Picture.Expanded;
begin
for J in Temp'Range loop
if Temp (J) = 'b' then
Temp (J) := 'B';
end if;
end loop;
return Temp;
end Pic_String;
------------------
-- Precalculate --
------------------
procedure Precalculate (Pic : in out Format_Record) is
Computed_BWZ : Boolean := True;
type Legality is (Okay, Reject);
State : Legality := Reject;
-- Start in reject, which will reject null strings
Index : Pic_Index := Pic.Picture.Expanded'First;
function At_End return Boolean;
pragma Inline (At_End);
procedure Set_State (L : Legality);
pragma Inline (Set_State);
function Look return Character;
pragma Inline (Look);
function Is_Insert return Boolean;
pragma Inline (Is_Insert);
procedure Skip;
pragma Inline (Skip);
procedure Trailing_Currency;
procedure Trailing_Bracket;
procedure Number_Fraction;
procedure Number_Completion;
procedure Number_Fraction_Or_Bracket;
procedure Number_Fraction_Or_Z_Fill;
procedure Zero_Suppression;
procedure Floating_Bracket;
procedure Number_Fraction_Or_Star_Fill;
procedure Star_Suppression;
procedure Number_Fraction_Or_Dollar;
procedure Leading_Dollar;
procedure Number_Fraction_Or_Pound;
procedure Leading_Pound;
procedure Picture;
procedure Floating_Plus;
procedure Floating_Minus;
procedure Picture_Plus;
procedure Picture_Minus;
procedure Picture_Bracket;
procedure Number;
procedure Optional_RHS_Sign;
procedure Picture_String;
------------
-- At_End --
------------
function At_End return Boolean is
begin
return Index > Pic.Picture.Length;
end At_End;
----------------------
-- Floating_Bracket --
----------------------
-- Note that Floating_Bracket is only called with an acceptable
-- prefix. But we don't set Okay, because we must end with a '>'.
procedure Floating_Bracket is
begin
Pic.Floater := '<';
Pic.End_Float := Index;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
-- First bracket wasn't counted...
Skip; -- known '<'
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '<' =>
Pic.End_Float := Index;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Skip;
when '9' =>
Number_Completion;
when '$' =>
Leading_Dollar;
when '#' =>
Leading_Pound;
when 'V' | 'v' | '.' =>
Pic.Radix_Position := Index;
Skip;
Number_Fraction_Or_Bracket;
return;
when others =>
return;
end case;
end loop;
end Floating_Bracket;
--------------------
-- Floating_Minus --
--------------------
procedure Floating_Minus is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '-' =>
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Skip;
when '9' =>
Number_Completion;
return;
when '.' | 'V' | 'v' =>
Pic.Radix_Position := Index;
Skip; -- Radix
while Is_Insert loop
Skip;
end loop;
if At_End then
return;
end if;
if Look = '-' then
loop
if At_End then
return;
end if;
case Look is
when '-' =>
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when others =>
return;
end case;
end loop;
else
Number_Completion;
end if;
return;
when others =>
return;
end case;
end loop;
end Floating_Minus;
-------------------
-- Floating_Plus --
-------------------
procedure Floating_Plus is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '+' =>
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Skip;
when '9' =>
Number_Completion;
return;
when '.' | 'V' | 'v' =>
Pic.Radix_Position := Index;
Skip; -- Radix
while Is_Insert loop
Skip;
end loop;
if At_End then
return;
end if;
if Look = '+' then
loop
if At_End then
return;
end if;
case Look is
when '+' =>
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when others =>
return;
end case;
end loop;
else
Number_Completion;
end if;
return;
when others =>
return;
end case;
end loop;
end Floating_Plus;
---------------
-- Is_Insert --
---------------
function Is_Insert return Boolean is
begin
if At_End then
return False;
end if;
case Pic.Picture.Expanded (Index) is
when '_' | '0' | '/' =>
return True;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b'; -- canonical
return True;
when others =>
return False;
end case;
end Is_Insert;
--------------------
-- Leading_Dollar --
--------------------
-- Note that Leading_Dollar can be called in either State.
-- It will set state to Okay only if a 9 or (second) $ is encountered.
-- Also notice the tricky bit with State and Zero_Suppression.
-- Zero_Suppression is Picture_Error if a '$' or a '9' has been
-- encountered, exactly the cases where State has been set.
procedure Leading_Dollar is
begin
-- Treat as a floating dollar, and unwind otherwise
Pic.Floater := '$';
Pic.Start_Currency := Index;
Pic.End_Currency := Index;
Pic.Start_Float := Index;
Pic.End_Float := Index;
-- Don't increment Pic.Max_Leading_Digits, we need one "real"
-- currency place.
Skip; -- known '$'
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
-- A trailing insertion character is not part of the
-- floating currency, so need to look ahead.
if Look /= '$' then
Pic.End_Float := Pic.End_Float - 1;
end if;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when 'Z' | 'z' =>
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
if State = Okay then
raise Picture_Error;
else
-- Will overwrite Floater and Start_Float
Zero_Suppression;
end if;
when '*' =>
if State = Okay then
raise Picture_Error;
else
-- Will overwrite Floater and Start_Float
Star_Suppression;
end if;
when '$' =>
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Pic.End_Currency := Index;
Set_State (Okay); Skip;
when '9' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
-- A single dollar does not a floating make
Number_Completion;
return;
when 'V' | 'v' | '.' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
-- Only one dollar before the sign is okay, but doesn't
-- float.
Pic.Radix_Position := Index;
Skip;
Number_Fraction_Or_Dollar;
return;
when others =>
return;
end case;
end loop;
end Leading_Dollar;
-------------------
-- Leading_Pound --
-------------------
-- This one is complex. A Leading_Pound can be fixed or floating,
-- but in some cases the decision has to be deferred until we leave
-- this procedure. Also note that Leading_Pound can be called in
-- either State.
-- It will set state to Okay only if a 9 or (second) # is
-- encountered.
-- One Last note: In ambiguous cases, the currency is treated as
-- floating unless there is only one '#'.
procedure Leading_Pound is
Inserts : Boolean := False;
-- Set to True if a '_', '0', '/', 'B', or 'b' is encountered
Must_Float : Boolean := False;
-- Set to true if a '#' occurs after an insert
begin
-- Treat as a floating currency. If it isn't, this will be
-- overwritten later.
Pic.Floater := '#';
Pic.Start_Currency := Index;
Pic.End_Currency := Index;
Pic.Start_Float := Index;
Pic.End_Float := Index;
-- Don't increment Pic.Max_Leading_Digits, we need one "real"
-- currency place.
Pic.Max_Currency_Digits := 1; -- we've seen one.
Skip; -- known '#'
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Inserts := True;
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Pic.End_Float := Index;
Inserts := True;
Skip;
when 'Z' | 'z' =>
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
if Must_Float then
raise Picture_Error;
else
Pic.Max_Leading_Digits := 0;
-- Will overwrite Floater and Start_Float
Zero_Suppression;
end if;
when '*' =>
if Must_Float then
raise Picture_Error;
else
Pic.Max_Leading_Digits := 0;
-- Will overwrite Floater and Start_Float
Star_Suppression;
end if;
when '#' =>
if Inserts then
Must_Float := True;
end if;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Pic.End_Currency := Index;
Set_State (Okay);
Skip;
when '9' =>
if State /= Okay then
-- A single '#' doesn't float
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
Number_Completion;
return;
when 'V' | 'v' | '.' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
-- Only one pound before the sign is okay, but doesn't
-- float.
Pic.Radix_Position := Index;
Skip;
Number_Fraction_Or_Pound;
return;
when others =>
return;
end case;
end loop;
end Leading_Pound;
----------
-- Look --
----------
function Look return Character is
begin
if At_End then
raise Picture_Error;
end if;
return Pic.Picture.Expanded (Index);
end Look;
------------
-- Number --
------------
procedure Number is
begin
loop
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '9' =>
Computed_BWZ := False;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Set_State (Okay);
Skip;
when '.' | 'V' | 'v' =>
Pic.Radix_Position := Index;
Skip;
Number_Fraction;
return;
when others =>
return;
end case;
if At_End then
return;
end if;
-- Will return in Okay state if a '9' was seen
end loop;
end Number;
-----------------------
-- Number_Completion --
-----------------------
procedure Number_Completion is
begin
while not At_End loop
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '9' =>
Computed_BWZ := False;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Set_State (Okay);
Skip;
when 'V' | 'v' | '.' =>
Pic.Radix_Position := Index;
Skip;
Number_Fraction;
return;
when others =>
return;
end case;
end loop;
end Number_Completion;
---------------------
-- Number_Fraction --
---------------------
procedure Number_Fraction is
begin
-- Note that number fraction can be called in either State.
-- It will set state to Valid only if a 9 is encountered.
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '9' =>
Computed_BWZ := False;
Pic.Max_Trailing_Digits := Pic.Max_Trailing_Digits + 1;
Set_State (Okay); Skip;
when others =>
return;
end case;
end loop;
end Number_Fraction;
--------------------------------
-- Number_Fraction_Or_Bracket --
--------------------------------
procedure Number_Fraction_Or_Bracket is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '<' =>
Pic.Max_Trailing_Digits := Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '<' =>
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when others =>
return;
end case;
end loop;
when others =>
Number_Fraction;
return;
end case;
end loop;
end Number_Fraction_Or_Bracket;
-------------------------------
-- Number_Fraction_Or_Dollar --
-------------------------------
procedure Number_Fraction_Or_Dollar is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '$' =>
Pic.Max_Trailing_Digits := Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '$' =>
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when others =>
return;
end case;
end loop;
when others =>
Number_Fraction;
return;
end case;
end loop;
end Number_Fraction_Or_Dollar;
------------------------------
-- Number_Fraction_Or_Pound --
------------------------------
procedure Number_Fraction_Or_Pound is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '#' =>
Pic.Max_Trailing_Digits := Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '#' =>
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when others =>
return;
end case;
end loop;
when others =>
Number_Fraction;
return;
end case;
end loop;
end Number_Fraction_Or_Pound;
----------------------------------
-- Number_Fraction_Or_Star_Fill --
----------------------------------
procedure Number_Fraction_Or_Star_Fill is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '*' =>
Pic.Star_Fill := True;
Pic.Max_Trailing_Digits := Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '*' =>
Pic.Star_Fill := True;
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when others =>
return;
end case;
end loop;
when others =>
Number_Fraction;
return;
end case;
end loop;
end Number_Fraction_Or_Star_Fill;
-------------------------------
-- Number_Fraction_Or_Z_Fill --
-------------------------------
procedure Number_Fraction_Or_Z_Fill is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when 'Z' | 'z' =>
Pic.Max_Trailing_Digits := Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
Skip;
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when 'Z' | 'z' =>
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
Pic.Max_Trailing_Digits :=
Pic.Max_Trailing_Digits + 1;
Pic.End_Float := Index;
Skip;
when others =>
return;
end case;
end loop;
when others =>
Number_Fraction;
return;
end case;
end loop;
end Number_Fraction_Or_Z_Fill;
-----------------------
-- Optional_RHS_Sign --
-----------------------
procedure Optional_RHS_Sign is
begin
if At_End then
return;
end if;
case Look is
when '+' | '-' =>
Pic.Sign_Position := Index;
Skip;
return;
when 'C' | 'c' =>
Pic.Sign_Position := Index;
Pic.Picture.Expanded (Index) := 'C';
Skip;
if Look = 'R' or else Look = 'r' then
Pic.Second_Sign := Index;
Pic.Picture.Expanded (Index) := 'R';
Skip;
else
raise Picture_Error;
end if;
return;
when 'D' | 'd' =>
Pic.Sign_Position := Index;
Pic.Picture.Expanded (Index) := 'D';
Skip;
if Look = 'B' or else Look = 'b' then
Pic.Second_Sign := Index;
Pic.Picture.Expanded (Index) := 'B';
Skip;
else
raise Picture_Error;
end if;
return;
when '>' =>
if Pic.Picture.Expanded (Pic.Sign_Position) = '<' then
Pic.Second_Sign := Index;
Skip;
else
raise Picture_Error;
end if;
when others =>
return;
end case;
end Optional_RHS_Sign;
-------------
-- Picture --
-------------
-- Note that Picture can be called in either State
-- It will set state to Valid only if a 9 is encountered or floating
-- currency is called.
procedure Picture is
begin
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '$' =>
Leading_Dollar;
return;
when '#' =>
Leading_Pound;
return;
when '9' =>
Computed_BWZ := False;
Set_State (Okay);
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Skip;
when 'V' | 'v' | '.' =>
Pic.Radix_Position := Index;
Skip;
Number_Fraction;
Trailing_Currency;
return;
when others =>
return;
end case;
end loop;
end Picture;
---------------------
-- Picture_Bracket --
---------------------
procedure Picture_Bracket is
begin
Pic.Sign_Position := Index;
Pic.Sign_Position := Index;
-- Treat as a floating sign, and unwind otherwise
Pic.Floater := '<';
Pic.Start_Float := Index;
Pic.End_Float := Index;
-- Don't increment Pic.Max_Leading_Digits, we need one "real"
-- sign place.
Skip; -- Known Bracket
loop
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '<' =>
Set_State (Okay); -- "<<>" is enough.
Floating_Bracket;
Trailing_Currency;
Trailing_Bracket;
return;
when '$' | '#' | '9' | '*' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
Picture;
Trailing_Bracket;
Set_State (Okay);
return;
when '.' | 'V' | 'v' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
-- Don't assume that state is okay, haven't seen a digit
Picture;
Trailing_Bracket;
return;
when others =>
raise Picture_Error;
end case;
end loop;
end Picture_Bracket;
-------------------
-- Picture_Minus --
-------------------
procedure Picture_Minus is
begin
Pic.Sign_Position := Index;
-- Treat as a floating sign, and unwind otherwise
Pic.Floater := '-';
Pic.Start_Float := Index;
Pic.End_Float := Index;
-- Don't increment Pic.Max_Leading_Digits, we need one "real"
-- sign place.
Skip; -- Known Minus
loop
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '-' =>
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Skip;
Set_State (Okay); -- "-- " is enough
Floating_Minus;
Trailing_Currency;
return;
when '$' | '#' | '9' | '*' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
Picture;
Set_State (Okay);
return;
when 'Z' | 'z' =>
-- Can't have Z and a floating sign
if State = Okay then
Set_State (Reject);
end if;
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
Zero_Suppression;
Trailing_Currency;
Optional_RHS_Sign;
return;
when '.' | 'V' | 'v' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
-- Don't assume that state is okay, haven't seen a digit
Picture;
return;
when others =>
return;
end case;
end loop;
end Picture_Minus;
------------------
-- Picture_Plus --
------------------
procedure Picture_Plus is
begin
Pic.Sign_Position := Index;
-- Treat as a floating sign, and unwind otherwise
Pic.Floater := '+';
Pic.Start_Float := Index;
Pic.End_Float := Index;
-- Don't increment Pic.Max_Leading_Digits, we need one "real"
-- sign place.
Skip; -- Known Plus
loop
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '+' =>
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Skip;
Set_State (Okay); -- "++" is enough
Floating_Plus;
Trailing_Currency;
return;
when '$' | '#' | '9' | '*' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
Picture;
Set_State (Okay);
return;
when 'Z' | 'z' =>
if State = Okay then
Set_State (Reject);
end if;
-- Can't have Z and a floating sign
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
-- '+Z' is acceptable
Set_State (Okay);
Zero_Suppression;
Trailing_Currency;
Optional_RHS_Sign;
return;
when '.' | 'V' | 'v' =>
if State /= Okay then
Pic.Floater := '!';
Pic.Start_Float := Invalid_Position;
Pic.End_Float := Invalid_Position;
end if;
-- Don't assume that state is okay, haven't seen a digit
Picture;
return;
when others =>
return;
end case;
end loop;
end Picture_Plus;
--------------------
-- Picture_String --
--------------------
procedure Picture_String is
begin
while Is_Insert loop
Skip;
end loop;
case Look is
when '$' | '#' =>
Picture;
Optional_RHS_Sign;
when '+' =>
Picture_Plus;
when '-' =>
Picture_Minus;
when '<' =>
Picture_Bracket;
when 'Z' | 'z' =>
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
Zero_Suppression;
Trailing_Currency;
Optional_RHS_Sign;
when '*' =>
Star_Suppression;
Trailing_Currency;
Optional_RHS_Sign;
when '9' | '.' | 'V' | 'v' =>
Number;
Trailing_Currency;
Optional_RHS_Sign;
when others =>
raise Picture_Error;
end case;
-- Blank when zero either if the PIC does not contain a '9' or if
-- requested by the user and no '*'.
Pic.Blank_When_Zero :=
(Computed_BWZ or else Pic.Blank_When_Zero)
and then not Pic.Star_Fill;
-- Star fill if '*' and no '9'
Pic.Star_Fill := Pic.Star_Fill and then Computed_BWZ;
if not At_End then
Set_State (Reject);
end if;
end Picture_String;
---------------
-- Set_State --
---------------
procedure Set_State (L : Legality) is
begin
State := L;
end Set_State;
----------
-- Skip --
----------
procedure Skip is
begin
Index := Index + 1;
end Skip;
----------------------
-- Star_Suppression --
----------------------
procedure Star_Suppression is
begin
Pic.Floater := '*';
Pic.Start_Float := Index;
Pic.End_Float := Index;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Set_State (Okay);
-- Even a single * is a valid picture
Pic.Star_Fill := True;
Skip; -- Known *
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when '*' =>
Pic.End_Float := Index;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Set_State (Okay); Skip;
when '9' =>
Set_State (Okay);
Number_Completion;
return;
when '.' | 'V' | 'v' =>
Pic.Radix_Position := Index;
Skip;
Number_Fraction_Or_Star_Fill;
return;
when '#' | '$' =>
Trailing_Currency;
Set_State (Okay);
return;
when others =>
raise Picture_Error;
end case;
end loop;
end Star_Suppression;
----------------------
-- Trailing_Bracket --
----------------------
procedure Trailing_Bracket is
begin
if Look = '>' then
Pic.Second_Sign := Index;
Skip;
else
raise Picture_Error;
end if;
end Trailing_Bracket;
-----------------------
-- Trailing_Currency --
-----------------------
procedure Trailing_Currency is
begin
if At_End then
return;
end if;
if Look = '$' then
Pic.Start_Currency := Index;
Pic.End_Currency := Index;
Skip;
else
while not At_End and then Look = '#' loop
if Pic.Start_Currency = Invalid_Position then
Pic.Start_Currency := Index;
end if;
Pic.End_Currency := Index;
Skip;
end loop;
end if;
loop
if At_End then
return;
end if;
case Look is
when '_' | '0' | '/' =>
Skip;
when 'B' | 'b' =>
Pic.Picture.Expanded (Index) := 'b';
Skip;
when others =>
return;
end case;
end loop;
end Trailing_Currency;
----------------------
-- Zero_Suppression --
----------------------
procedure Zero_Suppression is
begin
Pic.Floater := 'Z';
Pic.Start_Float := Index;
Pic.End_Float := Index;
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
Skip; -- Known Z
loop
-- Even a single Z is a valid picture
if At_End then
Set_State (Okay);
return;
end if;
case Look is
when '_' | '0' | '/' =>
Pic.End_Float := Index;
Skip;
when 'B' | 'b' =>
Pic.End_Float := Index;
Pic.Picture.Expanded (Index) := 'b';
Skip;
when 'Z' | 'z' =>
Pic.Picture.Expanded (Index) := 'Z'; -- consistency
Pic.Max_Leading_Digits := Pic.Max_Leading_Digits + 1;
Pic.End_Float := Index;
Set_State (Okay);
Skip;
when '9' =>
Set_State (Okay);
Number_Completion;
return;
when '.' | 'V' | 'v' =>
Pic.Radix_Position := Index;
Skip;
Number_Fraction_Or_Z_Fill;
return;
when '#' | '$' =>
Trailing_Currency;
Set_State (Okay);
return;
when others =>
return;
end case;
end loop;
end Zero_Suppression;
-- Start of processing for Precalculate
begin
Picture_String;
if State = Reject then
raise Picture_Error;
end if;
exception
when Constraint_Error =>
-- To deal with special cases like null strings
raise Picture_Error;
end Precalculate;
----------------
-- To_Picture --
----------------
function To_Picture
(Pic_String : String;
Blank_When_Zero : Boolean := False) return Picture
is
Result : Picture;
begin
declare
Item : constant String := Expand (Pic_String);
begin
Result.Contents.Picture := (Item'Length, Item);
Result.Contents.Original_BWZ := Blank_When_Zero;
Result.Contents.Blank_When_Zero := Blank_When_Zero;
Precalculate (Result.Contents);
return Result;
end;
exception
when others =>
raise Picture_Error;
end To_Picture;
-------------
-- To_Wide --
-------------
function To_Wide (C : Character) return Wide_Character is
begin
return Wide_Character'Val (Character'Pos (C));
end To_Wide;
-----------
-- Valid --
-----------
function Valid
(Pic_String : String;
Blank_When_Zero : Boolean := False) return Boolean
is
begin
declare
Expanded_Pic : constant String := Expand (Pic_String);
-- Raises Picture_Error if Item not well-formed
Format_Rec : Format_Record;
begin
Format_Rec.Picture := (Expanded_Pic'Length, Expanded_Pic);
Format_Rec.Blank_When_Zero := Blank_When_Zero;
Format_Rec.Original_BWZ := Blank_When_Zero;
Precalculate (Format_Rec);
-- False only if Blank_When_0 is True but the pic string has a '*'
return not Blank_When_Zero
or else Strings_Fixed.Index (Expanded_Pic, "*") = 0;
end;
exception
when others => return False;
end Valid;
end Ada.Wide_Text_IO.Editing;
|
-- Ascon
-- an Ada / SPARK implementation of the Ascon Authenticated Encryption Algorithm
-- created by Christoph Dobraunig, Maria Eichlseder, Florian Mendel and
-- Martin Schläffer
-- Copyright (c) 2016-2018, James Humphry - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
No_Implementation_Units,
No_Obsolescent_Features);
with Ascon.Load_Store;
with Ascon.Compare_Tags;
package body Ascon
with SPARK_Mode => On
is
use all type Interfaces.Unsigned_64;
package Ascon_Load_Store is new Ascon.Load_Store;
function Storage_To_Word (S : in Storage_Array) return Word
renames Ascon_Load_Store.Storage_Array_To_Unsigned_64;
function Word_To_Storage (W : in Word) return Storage_Array
renames Ascon_Load_Store.Unsigned_64_To_Storage_Array;
-- ***
-- Constants and types used internally
-- ***
Round_Constants : constant array (Integer range 1..12) of Word
:= (16#000000000000000000f0#, 16#000000000000000000e1#,
16#000000000000000000d2#, 16#000000000000000000c3#,
16#000000000000000000b4#, 16#000000000000000000a5#,
16#00000000000000000096#, 16#00000000000000000087#,
16#00000000000000000078#, 16#00000000000000000069#,
16#0000000000000000005a#, 16#0000000000000000004b#);
Rate_SE : constant Storage_Offset := Storage_Offset(rate/8);
Rate_Words : constant Integer := rate/64;
Key_Words : constant := key_bits / 64;
Tag_Words : constant := tag_bits / 64;
Nonce_Words : constant := nonce_bits / 64;
subtype Rate_Storage_Array is Storage_Array(1..Rate_SE);
-- ***
-- Implementation of the the permutation p as described in Section 1.5
-- of the Ascon specification
-- ***
procedure p_C_a (S : in out State; Round : in Round_Count)
with Inline is
begin
S(2) := S(2) xor Round_Constants(Round);
end p_C_a;
procedure p_C_b (S : in out State; Round : in Round_Count)
with Pre => ((Round + b_round_constants_offset) <= 12), Inline is
begin
S(2) := S(2) xor Round_Constants(Round + b_round_constants_offset);
end p_C_b;
procedure p_S (S : in out State)
with Inline is
T : State;
begin
-- x0 ^= x4; x4 ^= x3; x2 ^= x1;
S(0) := S(0) xor S(4);
S(4) := S(4) xor S(3);
S(2) := S(2) xor S(1);
-- t0 = x0; t1 = x1; t2 = x2; t3 = x3; t4 = x4;
-- t0 =~ t0; t1 =~ t1; t2 =~ t2; t3 =~ t3; t4 =~ t4;
T := (0 => not S(0),
1 => not S(1),
2 => not S(2),
3 => not S(3),
4 => not S(4));
-- t0 &= x1; t1 &= x2; t2 &= x3; t3 &= x4; t4 &= x0;
T(0) := T(0) and S(1);
T(1) := T(1) and S(2);
T(2) := T(2) and S(3);
T(3) := T(3) and S(4);
T(4) := T(4) and S(0);
-- x0 ^= t1; x1 ^= t2; x2 ^= t3; x3 ^= t4; x4 ^= t0;
S(0) := S(0) xor T(1);
S(1) := S(1) xor T(2);
S(2) := S(2) xor T(3);
S(3) := S(3) xor T(4);
S(4) := S(4) xor T(0);
-- x1 ^= x0; x0 ^= x4; x3 ^= x2; x2 =~ x2;
S(1) := S(1) xor S(0);
S(0) := S(0) xor S(4);
S(3) := S(3) xor S(2);
S(2) := not S(2);
end p_S;
procedure p_L (S : in out State)
with Inline is
begin
S(0) := S(0) xor Rotate_Right(S(0), 19) xor Rotate_Right(S(0), 28);
S(1) := S(1) xor Rotate_Right(S(1), 61) xor Rotate_Right(S(1), 39);
S(2) := S(2) xor Rotate_Right(S(2), 01) xor Rotate_Right(S(2), 06);
S(3) := S(3) xor Rotate_Right(S(3), 10) xor Rotate_Right(S(3), 17);
S(4) := S(4) xor Rotate_Right(S(4), 07) xor Rotate_Right(S(4), 41);
end p_L;
-- p_a and p_b are declared separately, rather than using a single routine
-- with a parameter to indicate how many rounds to perform, as this may make
-- it easier for compilers to identify the potential for loop unrolling /
-- vectorisation when high optimisation levels are used.
procedure p_a (S : in out State)
with Inline is
begin
for I in 1..a_rounds loop
p_C_a(S, I);
p_S(S);
p_L(S);
end loop;
end p_a;
procedure p_b (S : in out State)
with Inline is
begin
for I in 1..b_rounds loop
p_C_b(S, I);
p_S(S);
p_L(S);
end loop;
end p_b;
-- ***
-- Internal use routines
-- ***
function Valid_Block (First, Last : in Storage_Offset) return Boolean is
(
Last < Storage_Offset'Last - Rate_SE and
(
-- now check X'Length = Rate_SE ... but in a way that doesn't overflow
-- given Storage_Offset can hold a range greater than Long_Long_Integer
if Last < First then
False
elsif First < 0 then
(
(Long_Long_Integer (Last) < Long_Long_Integer'Last +
Long_Long_Integer (First))
and then
Last - First = Rate_SE - 1)
else
Last - First = Rate_SE - 1
)
)
with Ghost;
function Valid_Paddable (X : in Storage_Array) return Boolean is
(
-- First check that the array can be padded without exceeding the range
-- of a Storage_Array
X'Last < Storage_Offset'Last - Rate_SE and
(
-- now check X'Length < Rate_SE else padding is not needed... but in
-- a way that doesn't overflow given Storage_Offset can hold a range
-- greater than Long_Long_Integer
if X'Last < X'First then
True
elsif X'First < 0 then
(
(Long_Long_Integer (X'Last) < Long_Long_Integer'Last +
Long_Long_Integer (X'First))
and then
X'Last - X'First < Rate_SE - 1)
else
X'Last - X'First < Rate_SE - 1
)
)
with Ghost;
function Pad_r (X : in Storage_Array) return Rate_Storage_Array
with Inline, Pre=> (Valid_Paddable(X)) is
Zero_Pad_Length : constant Storage_Offset
:= Rate_SE - 1 - Storage_Offset(X'Length);
Padding : constant Storage_Array(1 .. Zero_Pad_Length) := (others => 0);
begin
return X & 16#80# & Padding;
end Pad_r;
function Compare_Tags_Constant_Time is new Ascon.Compare_Tags;
-- ***
-- Low-level API exposed by Ascon.Access_Internals
-- ***
function Make_State return State is (State'(others => 0));
function Initialise (Key : in Key_Type; Nonce : in Nonce_Type)
return State is
S : State := (others => 0);
Nonce_Ptr : Storage_Offset := Nonce'First;
Key_Ptr : Storage_Offset := Key'First;
begin
S(0) := S(0) or Shift_Left(Word(key_bits), 56);
S(0) := S(0) or Shift_Left(Word(rate), 48);
S(0) := S(0) or Shift_Left(Word(a_rounds), 40);
S(0) := S(0) or Shift_Left(Word(b_rounds), 32);
for I in 1..Nonce_Words loop
pragma Loop_Invariant (Nonce_Ptr = Nonce'First + Storage_Offset(I-1)*8);
S(4-I+1) := Storage_To_Word(Nonce(Nonce_Ptr..Nonce_Ptr+7));
Nonce_Ptr := Nonce_Ptr + 8;
end loop;
for I in 1..Key_Words loop
pragma Loop_Invariant (Key_Ptr = Key'First + Storage_Offset(I-1)*8);
S(4-Nonce_Words-I+1) := Storage_To_Word(Key(Key_Ptr..Key_Ptr+7));
Key_Ptr := Key_Ptr + 8;
end loop;
p_a(S);
Key_Ptr := Key'First;
for I in 1..Key_Words loop
pragma Loop_Invariant (Key_Ptr = Key'First + Storage_Offset(I-1)*8);
S(4-Key_Words+I) := S(4-Key_Words+I) xor
Storage_To_Word(Key(Key_Ptr..Key_Ptr+7));
Key_Ptr := Key_Ptr + 8;
end loop;
return S;
end Initialise;
procedure Absorb_AD_Block (S : in out State;
X : in Storage_Array)
with Inline, Pre => (Valid_Block(X'First, X'Last)) is
X_Index : Storage_Offset := X'First;
begin
for I in 0..Rate_Words - 1 loop
pragma Loop_Invariant (X_Index = X'First + Storage_Offset(I) * 8);
S(I) := S(I) xor
Storage_To_Word(X(X_Index .. X_Index + 7));
X_Index := X_Index + 8;
end loop;
pragma Assert (X_Index = X'Last + 1);
p_b(S);
end Absorb_AD_Block;
procedure Absorb (S : in out State; X : in Storage_Array) is
Number_Full_Blocks : constant Storage_Offset := X'Length / Rate_SE;
X_Index : Storage_Offset := X'First;
begin
if X'Length > 0 then
for I in 1..Number_Full_Blocks loop
pragma Loop_Invariant (X_Index = X'First + (I-1) * Rate_SE);
Absorb_AD_Block(S, X(X_Index .. X_Index + Rate_SE-1));
X_Index := X_Index + Rate_SE;
end loop;
Absorb_AD_Block(S, Pad_r(X(X_Index..X'Last)));
end if;
S(4) := S(4) xor 1;
end Absorb;
procedure Absorb_M_Block (S : in out State;
M : in Storage_Array;
C : out Storage_Array)
with Inline,
Relaxed_Initialization => C,
Pre => (Valid_Block(M'First, M'Last) and
Valid_Block(C'First, C'Last)),
Post => C'Initialized is
M_Index : Storage_Offset := M'First;
C_Index : Storage_Offset := C'First;
begin
for I in 0..Rate_Words - 1 loop
pragma Loop_Invariant(M_Index = M'First + Storage_Offset(I) * 8);
pragma Loop_Invariant(C_Index = C'First + Storage_Offset(I) * 8);
pragma Loop_Invariant(C_Index = C'First or else C(C'First..C_Index-1)'Initialized);
S(I) := S(I) xor Storage_To_Word(M(M_Index .. M_Index + 7));
C(C_Index .. C_Index + 7) := Word_To_Storage(S(I));
M_Index := M_Index + 8;
C_Index := C_Index + 8;
end loop;
pragma Assert (M_Index = M'Last + 1);
pragma Assert (C_Index = C'Last + 1);
end Absorb_M_Block;
-- pragma Annotate (GNATprove, False_Positive,
-- """C"" might not be initialized",
-- "The assertion on C_Index");
procedure Encrypt (S : in out State;
M : in Storage_Array;
C : out Storage_Array) is
Number_Full_Blocks : constant Storage_Offset := M'Length / Rate_SE;
M_Index : Storage_Offset := M'First;
C_Index : Storage_Offset := C'First;
begin
if M'Length > 0 then
for I in 1..Number_Full_Blocks loop
pragma Loop_Invariant(M_Index = M'First + (I-1) * Rate_SE);
pragma Loop_Invariant(C_Index = C'First + (I-1) * Rate_SE);
pragma Loop_Invariant(C_Index >= C'First and C_Index <= C'Last);
pragma Loop_Invariant(C_Index = C'First or else C(C'First..C_Index-1)'Initialized);
Absorb_M_Block(S => S,
M => M(M_Index..M_Index+Rate_SE-1),
C => C(C_Index..C_Index+Rate_SE-1)
);
p_b(S);
M_Index := M_Index + Rate_SE;
C_Index := C_Index + Rate_SE;
end loop;
pragma Assert (Number_Full_Blocks = 0 or else C(C'First..C_Index-1)'Initialized);
declare
Last_M: constant Storage_Array := Pad_r(M(M_Index..M'Last));
Last_C : Storage_Array(1..Rate_SE);
begin
Absorb_M_Block(S => S,
M => Last_M,
C => Last_C
);
C(C_Index..C'Last) := Last_C(1..(C'Last - C_Index)+1);
pragma Assert (C(C_Index..C'Last)'Initialized);
end;
end if;
end Encrypt;
-- pragma Annotate (GNATprove, False_Positive,
-- """C"" might not be initialized",
-- "The loop initialises C from C'First to C_Index-1 and the second block of code initialises C_Index to C'Last");
procedure Absorb_C_Block (S : in out State;
C : in Storage_Array;
M : out Storage_Array)
with Inline,
Relaxed_Initialization => M,
Pre => ( Valid_Block(M'First, M'Last) and
Valid_Block(C'First, C'Last)),
Post => M'Initialized is
C_i : Word;
M_Index : Storage_Offset := M'First;
C_Index : Storage_Offset := C'First;
begin
for I in 0..Rate_Words - 1 loop
pragma Loop_Invariant(M_Index = M'First + Storage_Offset(I) * 8);
pragma Loop_Invariant(C_Index = C'First + Storage_Offset(I) * 8);
pragma Loop_Invariant(M_Index = M'First or else M(M'First..M_Index-1)'Initialized);
C_i := Storage_To_Word(C(C_Index .. C_Index + 7));
M(M_Index .. M_Index + 7) := Word_To_Storage(S(I) xor C_i);
S(I) := C_i;
M_Index := M_Index + 8;
C_Index := C_Index + 8;
end loop;
pragma Assert (M_Index = M'Last + 1);
pragma Assert (C_Index = C'Last + 1);
end Absorb_C_Block;
-- pragma Annotate (GNATprove, False_Positive,
-- """M"" might not be initialized",
-- "The assertion on the final value of M_Index shows that the whole of M is initialised");
function Valid_Last_C_Block (First, Last : in Storage_Offset)
return Boolean is
(
Last < Storage_Offset'Last - 1 and
(
-- now check X'Length = Rate_SE ... but in a way that doesn't overflow
-- given Storage_Offset can hold a range greater than Long_Long_Integer
if Last < First then
True
elsif First < 0 then
(
(Long_Long_Integer (Last) < Long_Long_Integer'Last +
Long_Long_Integer (First))
and then
Last - First < Rate_SE - 1)
else
Last - First < Rate_SE - 1
)
)
with Ghost;
procedure Absorb_Last_C_Block (S : in out State;
C : in Storage_Array;
M : out Storage_Array)
with Inline,
Relaxed_Initialization => M,
Pre => ((Valid_Last_C_Block(C'First, C'Last) and
Valid_Last_C_Block(M'First, M'Last))
and then M'Length = C'Length
),
Post => M'Initialized is
Last_Block : Storage_Array(1..Rate_SE) with Relaxed_Initialization;
Index : Storage_Offset := Last_Block'First;
C_Index : Storage_Offset := C'First;
begin
for I in 0..Rate_Words-1 loop
pragma Loop_Invariant (Index = Last_Block'First + Storage_Offset(I) * 8);
pragma Loop_Invariant (Last_Block(1..Index-1)'Initialized);
Last_Block(Index .. Index + 7) := Word_To_Storage(S(I));
Index := Index + 8;
end loop;
pragma Assert (Index = Last_Block'Last+1);
Index := Last_Block'First;
for I in M'Range loop
pragma Loop_Invariant(C_Index = C'First + (I - M'First));
pragma Loop_Invariant(Index = Last_Block'First + (I - M'First));
pragma Loop_Invariant(I = M'First or else M(M'First..I-1)'Initialized);
M(I) := Last_Block(Index) xor C(C_Index);
Index := Index + 1;
C_Index := C_Index + 1;
end loop;
Last_Block(1..C'Length) := C;
Last_Block(C'Length+1) := Last_Block(C'Length+1) xor 16#80#;
Index := Last_Block'First;
for I in 0..Rate_Words-1 loop
pragma Loop_Invariant (Index = Last_Block'First + Storage_Offset(I) * 8);
S(I) := Storage_To_Word(Last_Block(Index .. Index + 7));
Index := Index + 8;
end loop;
end Absorb_Last_C_Block;
-- pragma Annotate (GNATprove, False_Positive,
-- """M"" might not be initialized",
-- "The loop over M'Range demonstrates that M is fully initialised");
--
-- pragma Annotate (GNATprove, False_Positive,
-- """Last_Block"" might not be initialized",
-- "The assertion demonstrates that Last_Block is fully initialised");
procedure Decrypt (S : in out State;
C : in Storage_Array;
M : out Storage_Array) is
Number_Full_Blocks : constant Storage_Offset := C'Length / Rate_SE;
M_Index : Storage_Offset := M'First;
C_Index : Storage_Offset := C'First;
begin
if M'Length > 0 then
for I in 1..Number_Full_Blocks loop
pragma Loop_Invariant(M_Index = M'First + (I-1) * Rate_SE);
pragma Loop_Invariant(C_Index = C'First + (I-1) * Rate_SE);
pragma Loop_Invariant(M_Index = M'First or else M(M'First..M_Index-1)'Initialized);
Absorb_C_Block(S => S,
C => C(C_Index..C_Index+Rate_SE-1),
M => M(M_Index..M_Index+Rate_SE-1));
p_b(S);
M_Index := M_Index + Rate_SE;
C_Index := C_Index + Rate_SE;
end loop;
Absorb_Last_C_Block(S => S,
C => C(C_Index..C'Last),
M => M(M_Index..M'Last));
pragma Assert(M(M_Index..M'Last)'Initialized);
end if;
end Decrypt;
-- pragma Annotate (GNATprove, False_Positive,
-- """M"" might not be initialized",
-- "The loop initialises M from M'First to M_Index-1 and the call to Decrypt_Last_Block initialises M_Index to M'Last");
procedure Finalise (S : in out State; Key : in Key_Type; Tag : out Tag_Type) is
Key_Ptr : Storage_Offset := Key'First;
Tag_Ptr : Storage_Offset := Tag'First;
begin
for I in 1..Key_Words loop
pragma Loop_Invariant (Key_Ptr = Key'First + Storage_Offset(I-1)*8);
S(Rate_Words + I - 1) := S(Rate_Words + I - 1) xor
Storage_To_Word(Key(Key_Ptr..Key_Ptr+7));
Key_Ptr := Key_Ptr + 8;
end loop;
p_a(S);
for I in 1..Tag_Words loop
pragma Loop_Invariant (Tag_Ptr = Tag'First + Storage_Offset(I-1)*8);
pragma Loop_Invariant (Tag(Tag'First..Tag_Ptr-1)'Initialized);
Tag(Tag_Ptr .. Tag_Ptr+7) := Word_To_Storage(S(4-Tag_Words+I));
Tag_Ptr := Tag_Ptr + 8;
end loop;
pragma Assert (Tag_Ptr = Tag'Last + 1);
pragma Assert (Tag'Initialized);
Key_Ptr := Key'First;
for I in Tag'Range loop
pragma Loop_Invariant (Key_Ptr = Key'First + I-Tag'First);
pragma Loop_Invariant (I = Tag'First or else Tag(Tag'First.. I-1)'Initialized);
Tag(I) := Tag(I) xor Key(Key_Ptr);
Key_Ptr := Key_Ptr + 1;
end loop;
end Finalise;
-- pragma Annotate (GNATprove, False_Positive,
-- """Tag"" might not be initialized",
-- "Initialisation and assertion demonstrate that Tag_Index is incremented over every element of Tag");
-- ***
-- High-level API as described in Algorithm 1 of the Ascon specification
-- ***
procedure AEADEnc(K : in Key_Type;
N : in Nonce_Type;
A : in Storage_Array;
M : in Storage_Array;
C : out Storage_Array;
T : out Tag_Type) is
S : State := Initialise(K, N);
begin
Absorb(S, A);
Encrypt(S, M, C);
Finalise(S, K, T);
pragma Unreferenced (S);
end AEADEnc;
procedure AEADDec(K : in Key_Type;
N : in Nonce_Type;
A : in Storage_Array;
C : in Storage_Array;
T : in Tag_Type;
M : out Storage_Array;
Valid : out Boolean) is
S : State := Initialise(K, N);
T2 : Tag_Type;
begin
Absorb(S, A);
Decrypt(S, C, M);
Finalise(S, K, T2);
pragma Unreferenced (S);
if Compare_Tags_Constant_Time(T, T2) then
Valid := True;
else
-- Section 1.4.5 of the specification requires that the decrypted
-- data not be returned to the caller if verification fails, to try to
-- prevent callers from forgetting to check the validity of the result.
M := (others => 0);
Valid := False;
end if;
end AEADDec;
end Ascon;
|
-- C32001D.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- CHECK THAT IN MULTIPLE OBJECT DECLARATIONS FOR ACCESS TYPES, THE
-- SUBTYPE INDICATION AND THE INITIALIZATION EXPRESSIONS ARE EVALUATED
-- ONCE FOR EACH NAMED OBJECT THAT IS DECLARED AND THE SUBTYPE
-- INDICATION IS EVALUATED FIRST. ALSO, CHECK THAT THE EVALUATIONS
-- YIELD THE SAME RESULT AS A SEQUENCE OF SINGLE OBJECT DECLARATIONS.
-- RJW 7/16/86
WITH REPORT; USE REPORT;
PROCEDURE C32001D IS
TYPE ARR IS ARRAY (1 .. 2) OF INTEGER;
BUMP : ARR := (0, 0);
F1 : ARR;
FUNCTION F (I : INTEGER) RETURN INTEGER IS
BEGIN
BUMP (I) := BUMP (I) + 1;
F1 (I) := BUMP (I);
RETURN BUMP (I);
END F;
FUNCTION G (I : INTEGER) RETURN INTEGER IS
BEGIN
BUMP (I) := BUMP (I) + 1;
RETURN BUMP (I);
END G;
BEGIN
TEST ("C32001D", "CHECK THAT IN MULTIPLE OBJECT DECLARATIONS " &
"FOR ACCESS TYPES, THE SUBTYPE INDICATION " &
"AND THE INITIALIZATION EXPRESSIONS ARE " &
"EVALUATED ONCE FOR EACH NAMED OBJECT THAT " &
"IS DECLARED AND THE SUBTYPE INDICATION IS " &
"EVALUATED FIRST. ALSO, CHECK THAT THE " &
"EVALUATIONS YIELD THE SAME RESULT AS A " &
"SEQUENCE OF SINGLE OBJECT DECLARATIONS" );
DECLARE
TYPE CELL (SIZE : INTEGER) IS
RECORD
VALUE : INTEGER;
END RECORD;
TYPE LINK IS ACCESS CELL;
L1, L2 : LINK (F (1)) := NEW CELL'(F1 (1), G (1));
CL1, CL2 : CONSTANT LINK (F (2)) := NEW CELL'(F1 (2), G (2));
PROCEDURE CHECK (L : LINK; V1, V2 : INTEGER; S : STRING) IS
BEGIN
IF L.SIZE /= V1 THEN
FAILED ( S & ".SIZE INITIALIZED INCORRECTLY TO " &
INTEGER'IMAGE (L.SIZE));
END IF;
IF L.VALUE /= V2 THEN
FAILED ( S & ".VALUE INITIALIZED INCORRECTLY TO " &
INTEGER'IMAGE (L.VALUE));
END IF;
END CHECK;
BEGIN
CHECK (L1, 1, 2, "L1");
CHECK (L2, 3, 4, "L2");
CHECK (CL1, 1, 2, "CL1");
CHECK (CL2, 3, 4, "CL2");
END;
RESULT;
END C32001D;
|
procedure Interval_proc is
procedure some_procedure is
begin
-- this cannot be empty
end;
Interval_Length : Time_Span := To_Time_Span(0.5);
Next_Call_Time : Time;
begin
Next_Call_Time := Clock;
loop
some_procedure;
Next_Call_Time := Next_Call_Time + Interval_Length;
delay until Next_Call_Time;
end loop;
end Interval_proc;
|
-- Copyright 2008-2016 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
package body Pck is
type Data_T is (One, Two, Three);
pragma Atomic (Data_T);
Data_Flag : Data_T := One;
procedure Increment is
begin
if Data_Flag = Data_T'Last then
Data_Flag := Data_T'First;
else
Data_Flag := Data_T'Succ (Data_Flag);
end if;
end Increment;
function Is_First return Boolean is
begin
return Data_Flag = Data_T'First;
end Is_First;
end Pck;
|
with Ada.Text_IO;
with PrimeInstances;
package body Problem_53 is
package IO renames Ada.Text_IO;
package Positive_Primes renames PrimeInstances.Positive_Primes;
procedure Solve is
sieve : constant Positive_Primes.Sieve := Positive_Primes.Generate_Sieve(100);
type Prime_Count is Array (sieve'Range) of Natural;
factorials : Array (1 .. 100) of Prime_Count;
procedure Factorize(num : Positive) is
quotient : Positive := num;
remainder : Natural := 0;
begin
if num = 1 then
for index in Prime_Count'Range loop
factorials(num)(index) := 0;
end loop;
else
factorials(num) := factorials(num - 1);
end if;
for index in sieve'Range loop
declare
prime : constant Positive := sieve(index);
begin
exit when quotient < prime;
loop
remainder := quotient mod prime;
exit when remainder /= 0;
factorials(num)(index) := factorials(num)(index) + 1;
quotient := quotient / prime;
end loop;
end;
end loop;
end Factorize;
procedure Subtract(result : in out Prime_Count; subtrahend : in Prime_Count) is
begin
for index in result'Range loop
result(index) := result(index) - subtrahend(index);
end loop;
end Subtract;
function Meets_Criteria(num : in Prime_Count) return Boolean is
product : Positive := 1;
begin
for index in num'Range loop
for count in 1 .. num(index) loop
product := product * sieve(index);
if product > 1_000_000 then
return True;
end if;
end loop;
end loop;
return False;
end Meets_Criteria;
function Binary_Search(n : Positive) return Positive is
min, max : Natural;
begin
min := n / 2;
max := n;
loop
declare
mid : constant Positive := (min + max) / 2;
num : Prime_Count := factorials(n);
begin
Subtract(num, factorials(mid));
Subtract(num, factorials(n - mid));
if Meets_Criteria(num) then
min := mid + 1;
else
max := mid - 1;
end if;
end;
exit when min > max;
end loop;
return min;
end Binary_Search;
Criteria_Count : Natural := 0;
begin
for index in factorials'Range loop
Factorize(index);
end loop;
for n in 23 .. 100 loop
declare
max : constant Positive := Binary_Search(n);
begin
Criteria_Count := Criteria_Count + 2*max - n + 1;
end;
end loop;
IO.Put_Line(Natural'Image(Criteria_Count));
end Solve;
end Problem_53;
|
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ncurses --
-- --
-- B O D Y --
-- --
------------------------------------------------------------------------------
-- Copyright 2018,2020 Thomas E. Dickey --
-- Copyright 2000-2007,2008 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: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
-- Version Control
-- $Revision: 1.11 $
-- $Date: 2020/02/02 23:34:34 $
-- Binding Version 01.00
------------------------------------------------------------------------------
-- TODO use Default_Character where appropriate
-- This is an Ada version of ncurses
-- I translated this because it tests the most features.
with Terminal_Interface.Curses; use Terminal_Interface.Curses;
with Terminal_Interface.Curses.Trace; use Terminal_Interface.Curses.Trace;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Characters.Latin_1;
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Strings.Unbounded;
with ncurses2.util; use ncurses2.util;
with ncurses2.getch_test;
with ncurses2.attr_test;
with ncurses2.color_test;
with ncurses2.demo_panels;
with ncurses2.color_edit;
with ncurses2.slk_test;
with ncurses2.acs_display;
with ncurses2.acs_and_scroll;
with ncurses2.flushinp_test;
with ncurses2.test_sgr_attributes;
with ncurses2.menu_test;
with ncurses2.demo_pad;
with ncurses2.demo_forms;
with ncurses2.overlap_test;
with ncurses2.trace_set;
with ncurses2.getopt; use ncurses2.getopt;
package body ncurses2.m is
function To_trace (n : Integer) return Trace_Attribute_Set;
procedure usage;
procedure Set_Terminal_Modes;
function Do_Single_Test (c : Character) return Boolean;
function To_trace (n : Integer) return Trace_Attribute_Set is
a : Trace_Attribute_Set := (others => False);
m : Integer;
rest : Integer;
begin
m := n mod 2;
if 1 = m then
a.Times := True;
end if;
rest := n / 2;
m := rest mod 2;
if 1 = m then
a.Tputs := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Update := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Cursor_Move := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Character_Output := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Calls := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Virtual_Puts := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Input_Events := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.TTY_State := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Internal_Calls := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Character_Calls := True;
end if;
rest := rest / 2;
m := rest mod 2;
if 1 = m then
a.Termcap_TermInfo := True;
end if;
return a;
end To_trace;
-- these are type Stdscr_Init_Proc;
function rip_footer (
Win : Window;
Columns : Column_Count) return Integer;
pragma Convention (C, rip_footer);
function rip_footer (
Win : Window;
Columns : Column_Count) return Integer is
begin
Set_Background (Win, (Ch => ' ',
Attr => (Reverse_Video => True, others => False),
Color => 0));
Erase (Win);
Move_Cursor (Win, 0, 0);
Add (Win, "footer:" & Columns'Img & " columns");
Refresh_Without_Update (Win);
return 0; -- Curses_OK;
end rip_footer;
function rip_header (
Win : Window;
Columns : Column_Count) return Integer;
pragma Convention (C, rip_header);
function rip_header (
Win : Window;
Columns : Column_Count) return Integer is
begin
Set_Background (Win, (Ch => ' ',
Attr => (Reverse_Video => True, others => False),
Color => 0));
Erase (Win);
Move_Cursor (Win, 0, 0);
Add (Win, "header:" & Columns'Img & " columns");
-- 'Img is a GNAT extension
Refresh_Without_Update (Win);
return 0; -- Curses_OK;
end rip_header;
procedure usage is
-- type Stringa is access String;
use Ada.Strings.Unbounded;
-- tbl : constant array (Positive range <>) of Stringa := (
tbl : constant array (Positive range <>) of Unbounded_String
:= (
To_Unbounded_String ("Usage: ncurses [options]"),
To_Unbounded_String (""),
To_Unbounded_String ("Options:"),
To_Unbounded_String (" -a f,b set default-colors " &
"(assumed white-on-black)"),
To_Unbounded_String (" -d use default-colors if terminal " &
"supports them"),
To_Unbounded_String (" -e fmt specify format for soft-keys " &
"test (e)"),
To_Unbounded_String (" -f rip-off footer line " &
"(can repeat)"),
To_Unbounded_String (" -h rip-off header line " &
"(can repeat)"),
To_Unbounded_String (" -s msec specify nominal time for " &
"panel-demo (default: 1, to hold)"),
To_Unbounded_String (" -t mask specify default trace-level " &
"(may toggle with ^T)")
);
begin
for n in tbl'Range loop
Put_Line (Standard_Error, To_String (tbl (n)));
end loop;
-- exit(EXIT_FAILURE);
-- TODO should we use Set_Exit_Status and throw and exception?
end usage;
procedure Set_Terminal_Modes is begin
Set_Raw_Mode (SwitchOn => False);
Set_Cbreak_Mode (SwitchOn => True);
Set_Echo_Mode (SwitchOn => False);
Allow_Scrolling (Mode => True);
Use_Insert_Delete_Line (Do_Idl => True);
Set_KeyPad_Mode (SwitchOn => True);
end Set_Terminal_Modes;
nap_msec : Integer := 1;
function Do_Single_Test (c : Character) return Boolean is
begin
case c is
when 'a' =>
getch_test;
when 'b' =>
attr_test;
when 'c' =>
if not Has_Colors then
Cannot ("does not support color.");
else
color_test;
end if;
when 'd' =>
if not Has_Colors then
Cannot ("does not support color.");
elsif not Can_Change_Color then
Cannot ("has hardwired color values.");
else
color_edit;
end if;
when 'e' =>
slk_test;
when 'f' =>
acs_display;
when 'o' =>
demo_panels (nap_msec);
when 'g' =>
acs_and_scroll;
when 'i' =>
flushinp_test (Standard_Window);
when 'k' =>
test_sgr_attributes;
when 'm' =>
menu_test;
when 'p' =>
demo_pad;
when 'r' =>
demo_forms;
when 's' =>
overlap_test;
when 't' =>
trace_set;
when '?' =>
null;
when others => return False;
end case;
return True;
end Do_Single_Test;
command : Character;
my_e_param : Soft_Label_Key_Format := Four_Four;
assumed_colors : Boolean := False;
default_colors : Boolean := False;
default_fg : Color_Number := White;
default_bg : Color_Number := Black;
-- nap_msec was an unsigned long integer in the C version,
-- yet napms only takes an int!
c : Integer;
c2 : Character;
optind : Integer := 1; -- must be initialized to one.
optarg : getopt.stringa;
length : Integer;
tmpi : Integer;
package myio is new Ada.Text_IO.Integer_IO (Integer);
save_trace : Integer := 0;
save_trace_set : Trace_Attribute_Set;
function main return Integer is
begin
loop
Qgetopt (c, Argument_Count, Argument'Access,
"a:de:fhs:t:", optind, optarg);
exit when c = -1;
c2 := Character'Val (c);
case c2 is
when 'a' =>
-- Ada doesn't have scanf, it doesn't even have a
-- regular expression library.
assumed_colors := True;
myio.Get (optarg.all, Integer (default_fg), length);
myio.Get (optarg.all (length + 2 .. optarg.all'Length),
Integer (default_bg), length);
when 'd' =>
default_colors := True;
when 'e' =>
myio.Get (optarg.all, tmpi, length);
if tmpi > 3 then
usage;
return 1;
end if;
my_e_param := Soft_Label_Key_Format'Val (tmpi);
when 'f' =>
Rip_Off_Lines (-1, rip_footer'Access);
when 'h' =>
Rip_Off_Lines (1, rip_header'Access);
when 's' =>
myio.Get (optarg.all, nap_msec, length);
when 't' =>
myio.Get (optarg.all, save_trace, length);
when others =>
usage;
return 1;
end case;
end loop;
-- the C version had a bunch of macros here.
-- if (!isatty(fileno(stdin)))
-- isatty is not available in the standard Ada so skip it.
save_trace_set := To_trace (save_trace);
Trace_On (save_trace_set);
Init_Soft_Label_Keys (my_e_param);
Init_Screen;
Set_Background (Ch => (Ch => Blank,
Attr => Normal_Video,
Color => Color_Pair'First));
if Has_Colors then
Start_Color;
if default_colors then
Use_Default_Colors;
elsif assumed_colors then
Assume_Default_Colors (default_fg, default_bg);
end if;
end if;
Set_Terminal_Modes;
Save_Curses_Mode (Curses);
End_Windows;
-- TODO add macro #if blocks.
Put_Line ("Welcome to " & Curses_Version & ". Press ? for help.");
loop
Put_Line ("This is the ncurses main menu");
Put_Line ("a = keyboard and mouse input test");
Put_Line ("b = character attribute test");
Put_Line ("c = color test pattern");
Put_Line ("d = edit RGB color values");
Put_Line ("e = exercise soft keys");
Put_Line ("f = display ACS characters");
Put_Line ("g = display windows and scrolling");
Put_Line ("i = test of flushinp()");
Put_Line ("k = display character attributes");
Put_Line ("m = menu code test");
Put_Line ("o = exercise panels library");
Put_Line ("p = exercise pad features");
Put_Line ("q = quit");
Put_Line ("r = exercise forms code");
Put_Line ("s = overlapping-refresh test");
Put_Line ("t = set trace level");
Put_Line ("? = repeat this command summary");
Put ("> ");
Flush;
command := Ada.Characters.Latin_1.NUL;
-- get_input:
-- loop
declare
Ch : Character;
begin
Get (Ch);
-- TODO if read(ch) <= 0
-- TODO ada doesn't have an Is_Space function
command := Ch;
-- TODO if ch = '\n' or '\r' are these in Ada?
end;
-- end loop get_input;
declare
begin
if Do_Single_Test (command) then
Flush_Input;
Set_Terminal_Modes;
Reset_Curses_Mode (Curses);
Clear;
Refresh;
End_Windows;
if command = '?' then
Put_Line ("This is the ncurses capability tester.");
Put_Line ("You may select a test from the main menu by " &
"typing the");
Put_Line ("key letter of the choice (the letter to left " &
"of the =)");
Put_Line ("at the > prompt. The commands `x' or `q' will " &
"exit.");
end if;
-- continue; --why continue in the C version?
end if;
exception
when Curses_Exception => End_Windows;
end;
exit when command = 'q';
end loop;
Curses_Free_All;
return 0; -- TODO ExitProgram(EXIT_SUCCESS);
end main;
end ncurses2.m;
|
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) any later
-- version. This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- As a special exception under Section 7 of GPL version 3, you are granted
-- additional permissions described in the GCC Runtime Library Exception,
-- version 3.1, as published by the Free Software Foundation.
pragma License (Modified_GPL);
with Ada.Containers;
with Ada.Text_IO;
with SAL.Generic_Decimal_Image;
package body WisiToken.Syntax_Trees is
-- Body specs, alphabetical, as needed
function Image
(Tree : in Syntax_Trees.Tree;
N : in Syntax_Trees.Node;
Descriptor : in WisiToken.Descriptor;
Include_Children : in Boolean;
Include_RHS_Index : in Boolean := False)
return String;
function Min (Item : in Valid_Node_Index_Array) return Valid_Node_Index;
procedure Move_Branch_Point (Tree : in out Syntax_Trees.Tree; Required_Node : in Valid_Node_Index);
type Visit_Parent_Mode is (Before, After);
function Process_Tree
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Visit_Parent : in Visit_Parent_Mode;
Process_Node : access function
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Boolean)
return Boolean;
-- Call Process_Node on nodes in tree rooted at Node. Return when
-- Process_Node returns False (Process_Tree returns False), or when
-- all nodes have been processed (Process_Tree returns True).
procedure Set_Children
(Nodes : in out Node_Arrays.Vector;
Parent : in Valid_Node_Index;
Children : in Valid_Node_Index_Array);
----------
-- Public and body operations, alphabetical
function Action
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Semantic_Action
is begin
return
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).Action
else Tree.Branched_Nodes (Node).Action);
end Action;
procedure Add_Child
(Tree : in out Syntax_Trees.Tree;
Parent : in Valid_Node_Index;
Child : in Valid_Node_Index)
is
Node : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Parent);
begin
Node.Children.Append (Child);
-- We don't update Min/Max_terminal_index; they are no longer needed.
end Add_Child;
function Add_Identifier
(Tree : in out Syntax_Trees.Tree;
ID : in Token_ID;
Identifier : in Identifier_Index;
Byte_Region : in WisiToken.Buffer_Region)
return Valid_Node_Index
is begin
Tree.Shared_Tree.Nodes.Append
((Label => Virtual_Identifier,
Byte_Region => Byte_Region,
ID => ID,
Identifier => Identifier,
others => <>));
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
return Tree.Last_Shared_Node;
end Add_Identifier;
function Add_Nonterm
(Tree : in out Syntax_Trees.Tree;
Production : in WisiToken.Production_ID;
Children : in Valid_Node_Index_Array;
Action : in Semantic_Action := null;
Default_Virtual : in Boolean := False)
return Valid_Node_Index
is
Nonterm_Node : Valid_Node_Index;
begin
if Tree.Flush then
Tree.Shared_Tree.Nodes.Append
((Label => Syntax_Trees.Nonterm,
ID => Production.LHS,
Action => Action,
RHS_Index => Production.RHS,
Virtual => (if Children'Length = 0 then Default_Virtual else False),
others => <>));
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
Nonterm_Node := Tree.Last_Shared_Node;
else
Tree.Branched_Nodes.Append
((Label => Syntax_Trees.Nonterm,
ID => Production.LHS,
Action => Action,
RHS_Index => Production.RHS,
Virtual => (if Children'Length = 0 then Default_Virtual else False),
others => <>));
Nonterm_Node := Tree.Branched_Nodes.Last_Index;
end if;
if Children'Length = 0 then
return Nonterm_Node;
end if;
if Tree.Flush then
Set_Children (Tree.Shared_Tree.Nodes, Nonterm_Node, Children);
else
declare
Min_Child_Node : constant Valid_Node_Index := Min (Children);
begin
if Min_Child_Node <= Tree.Last_Shared_Node then
Move_Branch_Point (Tree, Min_Child_Node);
end if;
end;
Set_Children (Tree.Branched_Nodes, Nonterm_Node, Children);
end if;
return Nonterm_Node;
end Add_Nonterm;
function Add_Terminal
(Tree : in out Syntax_Trees.Tree;
Terminal : in Token_Index;
Terminals : in Base_Token_Arrays.Vector)
return Valid_Node_Index
is begin
if Tree.Flush then
Tree.Shared_Tree.Nodes.Append
((Label => Shared_Terminal,
ID => Terminals (Terminal).ID,
Byte_Region => Terminals (Terminal).Byte_Region,
Terminal => Terminal,
others => <>));
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
return Tree.Last_Shared_Node;
else
Tree.Branched_Nodes.Append
((Label => Shared_Terminal,
ID => Terminals (Terminal).ID,
Byte_Region => Terminals (Terminal).Byte_Region,
Terminal => Terminal,
others => <>));
return Tree.Branched_Nodes.Last_Index;
end if;
end Add_Terminal;
function Add_Terminal
(Tree : in out Syntax_Trees.Tree;
Terminal : in Token_ID)
return Valid_Node_Index
is begin
if Tree.Flush then
Tree.Shared_Tree.Nodes.Append
((Label => Virtual_Terminal,
ID => Terminal,
others => <>));
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
return Tree.Last_Shared_Node;
else
Tree.Branched_Nodes.Append
((Label => Virtual_Terminal,
ID => Terminal,
others => <>));
return Tree.Branched_Nodes.Last_Index;
end if;
end Add_Terminal;
function Augmented
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Base_Token_Class_Access
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Augmented;
else
return Tree.Branched_Nodes (Node).Augmented;
end if;
end Augmented;
function Byte_Region
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return WisiToken.Buffer_Region
is begin
return
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).Byte_Region
else Tree.Branched_Nodes (Node).Byte_Region);
end Byte_Region;
function Child
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Child_Index : in Positive_Index_Type)
return Node_Index
is
function Compute (N : in Syntax_Trees.Node) return Node_Index
is begin
if Child_Index in N.Children.First_Index .. N.Children.Last_Index then
return N.Children (Child_Index);
else
return Invalid_Node_Index;
end if;
end Compute;
begin
if Node <= Tree.Last_Shared_Node then
return Compute (Tree.Shared_Tree.Nodes (Node));
else
return Compute (Tree.Branched_Nodes (Node));
end if;
end Child;
function Children (N : in Syntax_Trees.Node) return Valid_Node_Index_Array
is
use all type Ada.Containers.Count_Type;
begin
if N.Children.Length = 0 then
return (1 .. 0 => <>);
else
return Result : Valid_Node_Index_Array (N.Children.First_Index .. N.Children.Last_Index) do
for I in Result'Range loop
Result (I) := N.Children (I);
end loop;
end return;
end if;
end Children;
function Children (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Valid_Node_Index_Array
is begin
if Node <= Tree.Last_Shared_Node then
return Children (Tree.Shared_Tree.Nodes (Node));
else
return Children (Tree.Branched_Nodes (Node));
end if;
end Children;
procedure Clear (Tree : in out Syntax_Trees.Base_Tree)
is begin
Tree.Finalize;
end Clear;
procedure Clear (Tree : in out Syntax_Trees.Tree)
is begin
if Tree.Shared_Tree.Augmented_Present then
for Node of Tree.Branched_Nodes loop
if Node.Label = Nonterm then
Free (Node.Augmented);
end if;
end loop;
end if;
Tree.Shared_Tree.Finalize;
Tree.Last_Shared_Node := Invalid_Node_Index;
Tree.Branched_Nodes.Clear;
end Clear;
function Copy_Subtree
(Tree : in out Syntax_Trees.Tree;
Root : in Valid_Node_Index;
Last : in Valid_Node_Index)
return Valid_Node_Index
is
function Copy_Node
(Tree : in out Syntax_Trees.Tree;
Index : in Valid_Node_Index;
Parent : in Node_Index)
return Valid_Node_Index
is begin
case Tree.Shared_Tree.Nodes (Index).Label is
when Shared_Terminal =>
declare
Node : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Index);
begin
Tree.Shared_Tree.Nodes.Append
((Label => Shared_Terminal,
ID => Node.ID,
Byte_Region => Node.Byte_Region,
Parent => Parent,
State => Unknown_State,
Terminal => Node.Terminal));
end;
when Virtual_Terminal =>
declare
Node : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Index);
begin
Tree.Shared_Tree.Nodes.Append
((Label => Virtual_Terminal,
ID => Node.ID,
Byte_Region => Node.Byte_Region,
Parent => Parent,
State => Unknown_State));
end;
when Virtual_Identifier =>
declare
Node : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Index);
begin
Tree.Shared_Tree.Nodes.Append
((Label => Virtual_Identifier,
ID => Node.ID,
Byte_Region => Node.Byte_Region,
Parent => Parent,
State => Unknown_State,
Identifier => Node.Identifier));
end;
when Nonterm =>
declare
Children : constant Valid_Node_Index_Array := Tree.Children (Index);
Parent : Node_Index := Invalid_Node_Index;
New_Children : Valid_Node_Index_Arrays.Vector;
begin
if Children'Length > 0 then
declare
use all type SAL.Base_Peek_Type;
Last_Index : SAL.Base_Peek_Type := SAL.Base_Peek_Type'Last;
begin
for I in Children'Range loop
if Children (I) = Last then
Last_Index := I;
end if;
end loop;
if Last_Index = SAL.Base_Peek_Type'Last then
New_Children.Set_Length (Children'Length);
for I in Children'Range loop
New_Children (I) := Copy_Node (Tree, Children (I), Parent);
end loop;
else
for I in Last_Index .. Children'Last loop
New_Children.Append (Copy_Node (Tree, Children (I), Parent));
end loop;
end if;
end;
end if;
declare
Node : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Index);
begin
Tree.Shared_Tree.Nodes.Append
((Label => Nonterm,
ID => Node.ID,
Byte_Region => Node.Byte_Region,
Parent => Parent,
State => Unknown_State,
Virtual => Node.Virtual,
RHS_Index => Node.RHS_Index,
Action => Node.Action,
Name => Node.Name,
Children => New_Children,
Min_Terminal_Index => Node.Min_Terminal_Index,
Max_Terminal_Index => Node.Max_Terminal_Index,
Augmented => Node.Augmented));
end;
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
Parent := Tree.Last_Shared_Node;
for I in New_Children.First_Index .. New_Children.Last_Index loop
Tree.Shared_Tree.Nodes (New_Children (I)).Parent := Parent;
end loop;
return Parent;
end;
end case;
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
return Tree.Last_Shared_Node;
end Copy_Node;
begin
return Copy_Node (Tree, Root, Invalid_Node_Index);
end Copy_Subtree;
function Count_IDs
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID)
return SAL.Base_Peek_Type
is
function Compute (N : in Syntax_Trees.Node) return SAL.Base_Peek_Type
is
use all type SAL.Base_Peek_Type;
begin
return Result : SAL.Base_Peek_Type := 0 do
if N.ID = ID then
Result := 1;
end if;
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
null;
when Nonterm =>
for I of N.Children loop
Result := Result + Count_IDs (Tree, I, ID);
end loop;
end case;
end return;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Count_IDs;
function Count_Terminals
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Integer
-- Count_Terminals must return Integer for Get_Terminals,
-- Positive_Index_Type for Get_Terminal_IDs.
is
function Compute (N : in Syntax_Trees.Node) return Integer
is begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
return 1;
when Nonterm =>
return Result : Integer := 0 do
for I of N.Children loop
Result := Result + Count_Terminals (Tree, I);
end loop;
end return;
end case;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Count_Terminals;
overriding procedure Finalize (Tree : in out Base_Tree)
is begin
Tree.Traversing := False;
if Tree.Augmented_Present then
for Node of Tree.Nodes loop
if Node.Label = Nonterm then
Free (Node.Augmented);
end if;
end loop;
Tree.Augmented_Present := False;
end if;
Tree.Nodes.Finalize;
end Finalize;
overriding procedure Finalize (Tree : in out Syntax_Trees.Tree)
is begin
if Tree.Last_Shared_Node /= Invalid_Node_Index then
if Tree.Shared_Tree.Augmented_Present then
for Node of Tree.Branched_Nodes loop
Free (Node.Augmented);
end loop;
-- We don't clear Tree.Shared_Tree.Augmented_Present here; other
-- branched trees may need to be finalized.
end if;
Tree.Branched_Nodes.Finalize;
Tree.Last_Shared_Node := Invalid_Node_Index;
end if;
end Finalize;
function Find_Ancestor
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID)
return Node_Index
is
N : Node_Index := Node;
begin
loop
N :=
(if N <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (N).Parent
else Tree.Branched_Nodes (N).Parent);
exit when N = Invalid_Node_Index;
exit when ID =
(if N <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (N).ID
else Tree.Branched_Nodes (N).ID);
end loop;
return N;
end Find_Ancestor;
function Find_Ancestor
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
IDs : in Token_ID_Array)
return Node_Index
is
N : Node_Index := Node;
begin
loop
N :=
(if N <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (N).Parent
else Tree.Branched_Nodes (N).Parent);
exit when N = Invalid_Node_Index;
exit when
(for some ID of IDs => ID =
(if N <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (N).ID
else Tree.Branched_Nodes (N).ID));
end loop;
return N;
end Find_Ancestor;
function Find_Child
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID)
return Node_Index
is
function Compute (N : in Syntax_Trees.Node) return Node_Index
is begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
return Invalid_Node_Index;
when Nonterm =>
for C of N.Children loop
if ID =
(if C <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (C).ID
else Tree.Branched_Nodes (C).ID)
then
return C;
end if;
end loop;
return Invalid_Node_Index;
end case;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Find_Child;
function Find_Descendant
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID)
return Node_Index
is
Found : Node_Index := Invalid_Node_Index;
function Process (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is
Node_ID : constant Token_ID :=
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).ID
else Tree.Branched_Nodes (Node).ID);
begin
if Node_ID = ID then
Found := Node;
return False;
else
return True;
end if;
end Process;
Junk : constant Boolean := Process_Tree (Tree, Node, After, Process'Access);
pragma Unreferenced (Junk);
begin
return Found;
end Find_Descendant;
function Find_Min_Terminal_Index
(Tree : in Syntax_Trees.Tree;
Index : in Token_Index)
return Node_Index
is
Found : Node_Index := Invalid_Node_Index;
function Process (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is
function Compute (N : in Syntax_Trees.Node) return Boolean
is begin
if N.Label /= Nonterm then
return True;
elsif Index = N.Min_Terminal_Index then
Found := Node;
return False;
else
return True;
end if;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Process;
Junk : constant Boolean := Process_Tree (Tree, Tree.Root, Before, Process'Access);
pragma Unreferenced (Junk);
begin
return Found;
end Find_Min_Terminal_Index;
function Find_Max_Terminal_Index
(Tree : in Syntax_Trees.Tree;
Index : in Token_Index)
return Node_Index
is
Found : Node_Index := Invalid_Node_Index;
function Process (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is
function Compute (N : in Syntax_Trees.Node) return Boolean
is begin
if N.Label /= Nonterm then
return True;
elsif Index = N.Max_Terminal_Index then
Found := Node;
return False;
else
return True;
end if;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Process;
Junk : constant Boolean := Process_Tree (Tree, Tree.Root, Before, Process'Access);
pragma Unreferenced (Junk);
begin
return Found;
end Find_Max_Terminal_Index;
function Find_Sibling
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID)
return Node_Index
is
function Compute_2 (N : in Syntax_Trees.Node) return Node_Index
is begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
return Invalid_Node_Index;
when Nonterm =>
for C of N.Children loop
if ID =
(if C <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (C).ID
else Tree.Branched_Nodes (C).ID)
then
return C;
end if;
end loop;
return Invalid_Node_Index;
end case;
end Compute_2;
function Compute_1 (Parent : in Node_Index) return Node_Index
is begin
if Parent = Invalid_Node_Index then
return Invalid_Node_Index;
else
return Compute_2
((if Parent <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Parent)
else Tree.Branched_Nodes (Parent)));
end if;
end Compute_1;
begin
return Compute_1
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).Parent
else Tree.Branched_Nodes (Node).Parent));
end Find_Sibling;
function First_Index (Tree : in Syntax_Trees.Tree) return Node_Index
is begin
return Tree.Shared_Tree.Nodes.First_Index;
end First_Index;
procedure Flush (Tree : in out Syntax_Trees.Tree)
is begin
-- This is the opposite of Move_Branch_Point
Tree.Shared_Tree.Nodes.Merge (Tree.Branched_Nodes);
Tree.Last_Shared_Node := Tree.Shared_Tree.Nodes.Last_Index;
Tree.Flush := True;
end Flush;
function Flushed (Tree : in Syntax_Trees.Tree) return Boolean
is begin
return Tree.Flush;
end Flushed;
procedure Get_IDs
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID;
Result : in out Valid_Node_Index_Array;
Last : in out SAL.Base_Peek_Type)
is
use all type SAL.Base_Peek_Type;
procedure Compute (N : in Syntax_Trees.Node)
is begin
if N.ID = ID then
Last := Last + 1;
Result (Last) := Node;
end if;
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
null;
when Nonterm =>
for I of N.Children loop
Get_IDs (Tree, I, ID, Result, Last);
end loop;
end case;
end Compute;
begin
Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Get_IDs;
function Get_IDs
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID)
return Valid_Node_Index_Array
is
Last : SAL.Base_Peek_Type := 0;
begin
Tree.Shared_Tree.Traversing := True;
return Result : Valid_Node_Index_Array (1 .. Count_IDs (Tree, Node, ID)) do
Get_IDs (Tree, Node, ID, Result, Last);
Tree.Shared_Tree.Traversing := False;
end return;
end Get_IDs;
procedure Get_Terminals
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Result : in out Valid_Node_Index_Array;
Last : in out SAL.Base_Peek_Type)
is
use all type SAL.Base_Peek_Type;
procedure Compute (N : in Syntax_Trees.Node)
is begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
Last := Last + 1;
Result (Last) := Node;
when Nonterm =>
for I of N.Children loop
Get_Terminals (Tree, I, Result, Last);
end loop;
end case;
end Compute;
begin
Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Get_Terminals;
function Get_Terminals (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Valid_Node_Index_Array
is
Last : SAL.Base_Peek_Type := 0;
begin
Tree.Shared_Tree.Traversing := True;
return Result : Valid_Node_Index_Array (1 .. SAL.Base_Peek_Type (Count_Terminals (Tree, Node))) do
Get_Terminals (Tree, Node, Result, Last);
Tree.Shared_Tree.Traversing := False;
end return;
end Get_Terminals;
procedure Get_Terminal_IDs
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Result : in out Token_ID_Array;
Last : in out SAL.Base_Peek_Type)
is
procedure Compute (N : in Syntax_Trees.Node)
is
use all type SAL.Base_Peek_Type;
begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
Last := Last + 1;
Result (Integer (Last)) := N.ID;
when Nonterm =>
for I of N.Children loop
Get_Terminal_IDs (Tree, I, Result, Last);
end loop;
end case;
end Compute;
begin
Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Get_Terminal_IDs;
function Get_Terminal_IDs (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Token_ID_Array
is
Last : SAL.Base_Peek_Type := 0;
begin
Tree.Shared_Tree.Traversing := True;
return Result : Token_ID_Array (1 .. Count_Terminals (Tree, Node)) do
Get_Terminal_IDs (Tree, Node, Result, Last);
Tree.Shared_Tree.Traversing := False;
end return;
end Get_Terminal_IDs;
function First_Terminal_ID (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Token_ID
is
function Compute (N : in Syntax_Trees.Node) return Token_ID
is begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
return N.ID;
when Nonterm =>
return First_Terminal_ID (Tree, N.Children (1));
end case;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end First_Terminal_ID;
function Has_Branched_Nodes (Tree : in Syntax_Trees.Tree) return Boolean
is
use all type Ada.Containers.Count_Type;
begin
return Tree.Branched_Nodes.Length > 0;
end Has_Branched_Nodes;
function Has_Children (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is
use all type Ada.Containers.Count_Type;
begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Children.Length > 0;
else
return Tree.Branched_Nodes (Node).Children.Length > 0;
end if;
end Has_Children;
function Has_Parent (Tree : in Syntax_Trees.Tree; Child : in Valid_Node_Index) return Boolean
is begin
return
(if Child <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Child).Parent /= Invalid_Node_Index
else Tree.Branched_Nodes (Child).Parent /= Invalid_Node_Index);
end Has_Parent;
function Has_Parent (Tree : in Syntax_Trees.Tree; Children : in Valid_Node_Index_Array) return Boolean
is begin
return
(for some Child of Children =>
(if Child <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Child).Parent /= Invalid_Node_Index
else Tree.Branched_Nodes (Child).Parent /= Invalid_Node_Index));
end Has_Parent;
function ID
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Token_ID
is begin
return
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).ID
else Tree.Branched_Nodes (Node).ID);
end ID;
function Identifier (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Base_Identifier_Index
is begin
return
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).Identifier
else Tree.Branched_Nodes (Node).Identifier);
end Identifier;
function Image
(Tree : in Syntax_Trees.Tree;
Children : in Valid_Node_Index_Arrays.Vector;
Descriptor : in WisiToken.Descriptor)
return String
is
use Ada.Strings.Unbounded;
Result : Unbounded_String := +"(";
Need_Comma : Boolean := False;
begin
for I of Children loop
Result := Result & (if Need_Comma then ", " else "") &
Tree.Image (I, Descriptor, Include_Children => False);
Need_Comma := True;
end loop;
Result := Result & ")";
return -Result;
end Image;
function Image
(Tree : in Syntax_Trees.Tree;
N : in Syntax_Trees.Node;
Descriptor : in WisiToken.Descriptor;
Include_Children : in Boolean;
Include_RHS_Index : in Boolean := False)
return String
is
use Ada.Strings.Unbounded;
Result : Unbounded_String;
begin
if Include_Children and N.Label = Nonterm then
Result := +Image (N.ID, Descriptor) & '_' & Trimmed_Image (N.RHS_Index) & ": ";
end if;
case N.Label is
when Shared_Terminal =>
Result := Result & (+Token_Index'Image (N.Terminal)) & ":";
when Virtual_Identifier =>
Result := Result & (+Identifier_Index'Image (N.Identifier)) & ";";
when others =>
null;
end case;
Result := Result & "(" & Image (N.ID, Descriptor) &
(if Include_RHS_Index and N.Label = Nonterm then "_" & Trimmed_Image (N.RHS_Index) else "") &
(if N.Byte_Region = Null_Buffer_Region then "" else ", " & Image (N.Byte_Region)) & ")";
if Include_Children and N.Label = Nonterm then
Result := Result & " <= " & Image (Tree, N.Children, Descriptor);
end if;
return -Result;
end Image;
function Image
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Descriptor : in WisiToken.Descriptor;
Include_Children : in Boolean := False)
return String
is begin
return Tree.Image
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)),
Descriptor, Include_Children);
end Image;
function Image
(Tree : in Syntax_Trees.Tree;
Nodes : in Valid_Node_Index_Array;
Descriptor : in WisiToken.Descriptor)
return String
is
use Ada.Strings.Unbounded;
Result : Unbounded_String := +"(";
Need_Comma : Boolean := False;
begin
for I in Nodes'Range loop
Result := Result & (if Need_Comma then ", " else "") &
Tree.Image (Nodes (I), Descriptor, Include_Children => False);
Need_Comma := True;
end loop;
Result := Result & ")";
return -Result;
end Image;
function Image
(Item : in Node_Sets.Vector;
Inverted : in Boolean := False)
return String
is
use Ada.Strings.Unbounded;
Result : Unbounded_String;
begin
for I in Item.First_Index .. Item.Last_Index loop
if (if Inverted then not Item (I) else Item (I)) then
Result := Result & Node_Index'Image (I);
end if;
end loop;
return -Result;
end Image;
procedure Initialize
(Branched_Tree : in out Syntax_Trees.Tree;
Shared_Tree : in Base_Tree_Access;
Flush : in Boolean)
is begin
Branched_Tree :=
(Ada.Finalization.Controlled with
Shared_Tree => Shared_Tree,
Last_Shared_Node => Shared_Tree.Nodes.Last_Index,
Branched_Nodes => <>,
Flush => Flush,
Root => <>);
end Initialize;
function Is_Empty (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Byte_Region = Null_Buffer_Region;
else
return Tree.Branched_Nodes (Node).Byte_Region = Null_Buffer_Region;
end if;
end Is_Empty;
function Is_Nonterm (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Label = Nonterm;
else
return Tree.Branched_Nodes (Node).Label = Nonterm;
end if;
end Is_Nonterm;
function Is_Terminal (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Label = Shared_Terminal;
else
return Tree.Branched_Nodes (Node).Label = Shared_Terminal;
end if;
end Is_Terminal;
function Is_Virtual (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is
function Compute (N : in Syntax_Trees.Node) return Boolean
is begin
return N.Label = Virtual_Terminal or (N.Label = Nonterm and then N.Virtual);
end Compute;
begin
if Node <= Tree.Last_Shared_Node then
return Compute (Tree.Shared_Tree.Nodes (Node));
else
return Compute (Tree.Branched_Nodes (Node));
end if;
end Is_Virtual;
function Is_Virtual_Identifier (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Boolean
is begin
return
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).Label = Virtual_Identifier
else Tree.Branched_Nodes (Node).Label = Virtual_Identifier);
end Is_Virtual_Identifier;
function Label (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Node_Label
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Label;
else
return Tree.Branched_Nodes (Node).Label;
end if;
end Label;
function Last_Index (Tree : in Syntax_Trees.Tree) return Node_Index
is begin
return
(if Tree.Flush
then Tree.Shared_Tree.Nodes.Last_Index
else Tree.Branched_Nodes.Last_Index);
end Last_Index;
function Min (Item : in Valid_Node_Index_Array) return Valid_Node_Index
is
Result : Node_Index := Item (Item'First);
begin
for I in Item'Range loop
if Item (I) < Result then
Result := Item (I);
end if;
end loop;
return Result;
end Min;
function Min_Descendant (Nodes : in Node_Arrays.Vector; Node : in Valid_Node_Index) return Valid_Node_Index
is
N : Syntax_Trees.Node renames Nodes (Node);
begin
case N.Label is
when Shared_Terminal | Virtual_Terminal | Virtual_Identifier =>
return Node;
when Nonterm =>
declare
Min : Node_Index := Node;
begin
for C of N.Children loop
Min := Node_Index'Min (Min, Min_Descendant (Nodes, C));
end loop;
return Min;
end;
end case;
end Min_Descendant;
function Min_Terminal_Index (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Base_Token_Index
is
function Compute (N : in Syntax_Trees.Node) return Base_Token_Index
is begin
return
(case N.Label is
when Shared_Terminal => N.Terminal,
when Virtual_Terminal | Virtual_Identifier => Invalid_Token_Index,
when Nonterm => N.Min_Terminal_Index);
end Compute;
begin
if Node <= Tree.Last_Shared_Node then
return Compute (Tree.Shared_Tree.Nodes (Node));
else
return Compute (Tree.Branched_Nodes (Node));
end if;
end Min_Terminal_Index;
function Max_Terminal_Index (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Base_Token_Index
is
function Compute (N : in Syntax_Trees.Node) return Base_Token_Index
is begin
return
(case N.Label is
when Shared_Terminal => N.Terminal,
when Virtual_Terminal | Virtual_Identifier => Invalid_Token_Index,
when Nonterm => N.Max_Terminal_Index);
end Compute;
begin
if Node <= Tree.Last_Shared_Node then
return Compute (Tree.Shared_Tree.Nodes (Node));
else
return Compute (Tree.Branched_Nodes (Node));
end if;
end Max_Terminal_Index;
procedure Move_Branch_Point (Tree : in out Syntax_Trees.Tree; Required_Node : in Valid_Node_Index)
is begin
-- Note that this preserves all stored indices in Branched_Nodes.
Tree.Branched_Nodes.Prepend (Tree.Shared_Tree.Nodes, Required_Node, Tree.Last_Shared_Node);
Tree.Last_Shared_Node := Required_Node - 1;
end Move_Branch_Point;
function Parent
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Count : in Positive := 1)
return Node_Index
is
Result : Node_Index := Node;
N : Natural := 0;
begin
loop
if Result <= Tree.Last_Shared_Node then
Result := Tree.Shared_Tree.Nodes (Result).Parent;
else
Result := Tree.Branched_Nodes (Result).Parent;
end if;
N := N + 1;
exit when N = Count or Result = Invalid_Node_Index;
end loop;
return Result;
end Parent;
procedure Print_Tree
(Tree : in Syntax_Trees.Tree;
Descriptor : in WisiToken.Descriptor;
Root : in Node_Index := Invalid_Node_Index)
is
use Ada.Text_IO;
Node_Printed : Node_Sets.Vector;
procedure Print_Node (Node : in Valid_Node_Index; Level : in Integer)
is
function Image is new SAL.Generic_Decimal_Image (Node_Index);
N : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Node);
begin
if Node_Printed (Node) then
-- This does not catch all possible tree edit errors, but it does
-- catch circles.
raise SAL.Programmer_Error with "Print_Tree: invalid tree" & Node_Index'Image (Node);
else
Node_Printed (Node) := True;
end if;
Put (Image (Node, Width => 4) & ": ");
for I in 1 .. Level loop
Put ("| ");
end loop;
Put_Line (Image (Tree, N, Descriptor, Include_Children => False, Include_RHS_Index => True));
if N.Label = Nonterm then
for Child of N.Children loop
Print_Node (Child, Level + 1);
end loop;
end if;
end Print_Node;
begin
Node_Printed.Set_First_Last (Tree.First_Index, Tree.Last_Index);
Print_Node ((if Root = Invalid_Node_Index then Tree.Root else Root), 0);
end Print_Tree;
function Process_Tree
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Visit_Parent : in Visit_Parent_Mode;
Process_Node : access function
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Boolean)
return Boolean
is
function Compute (N : in Syntax_Trees.Node) return Boolean
is begin
if Visit_Parent = Before then
if not Process_Node (Tree, Node) then
return False;
end if;
end if;
if N.Label = Nonterm then
for Child of N.Children loop
if not Process_Tree (Tree, Child, Visit_Parent, Process_Node) then
return False;
end if;
end loop;
end if;
if Visit_Parent = After then
return Process_Node (Tree, Node);
else
return True;
end if;
end Compute;
begin
if Node <= Tree.Last_Shared_Node then
return Compute (Tree.Shared_Tree.Nodes (Node));
else
return Compute (Tree.Branched_Nodes (Node));
end if;
end Process_Tree;
procedure Process_Tree
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Process_Node : access procedure
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index))
is
procedure Compute (N : in Syntax_Trees.Node)
is begin
if N.Label = Nonterm then
for Child of N.Children loop
Process_Tree (Tree, Child, Process_Node);
end loop;
end if;
Process_Node (Tree, Node);
end Compute;
begin
if Node <= Tree.Last_Shared_Node then
Compute (Tree.Shared_Tree.Nodes (Node));
else
Compute (Tree.Branched_Nodes (Node));
end if;
end Process_Tree;
procedure Process_Tree
(Tree : in out Syntax_Trees.Tree;
Process_Node : access procedure
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index);
Root : in Node_Index := Invalid_Node_Index)
is begin
if Root = Invalid_Node_Index and Tree.Root = Invalid_Node_Index then
raise SAL.Programmer_Error with "Tree.Root not set";
end if;
Tree.Shared_Tree.Traversing := True;
Process_Tree (Tree, (if Root = Invalid_Node_Index then Tree.Root else Root), Process_Node);
Tree.Shared_Tree.Traversing := False;
exception
when others =>
Tree.Shared_Tree.Traversing := False;
raise;
end Process_Tree;
function Production_ID
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return WisiToken.Production_ID
is begin
return
(if Node <= Tree.Last_Shared_Node
then (Tree.Shared_Tree.Nodes (Node).ID, Tree.Shared_Tree.Nodes (Node).RHS_Index)
else (Tree.Branched_Nodes (Node).ID, Tree.Branched_Nodes (Node).RHS_Index));
end Production_ID;
function RHS_Index
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return Natural
is begin
return
(if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node).RHS_Index
else Tree.Branched_Nodes (Node).RHS_Index);
end RHS_Index;
procedure Set_Node_Identifier
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index;
ID : in Token_ID;
Identifier : in Identifier_Index)
is
Current : constant Syntax_Trees.Node := Tree.Shared_Tree.Nodes (Node);
begin
Tree.Shared_Tree.Nodes.Replace_Element
(Node,
(Label => Virtual_Identifier,
ID => ID,
Identifier => Identifier,
Byte_Region => Current.Byte_Region,
Parent => Current.Parent,
State => Unknown_State));
end Set_Node_Identifier;
procedure Set_Root (Tree : in out Syntax_Trees.Tree; Root : in Valid_Node_Index)
is begin
Tree.Root := Root;
end Set_Root;
function Root (Tree : in Syntax_Trees.Tree) return Node_Index
is begin
if Tree.Root /= Invalid_Node_Index then
return Tree.Root;
else
if Tree.Flush then
return Tree.Shared_Tree.Nodes.Last_Index;
else
return Tree.Branched_Nodes.Last_Index;
end if;
end if;
end Root;
function Same_Token
(Tree_1 : in Syntax_Trees.Tree'Class;
Index_1 : in Valid_Node_Index;
Tree_2 : in Syntax_Trees.Tree'Class;
Index_2 : in Valid_Node_Index)
return Boolean
is
function Compute (N_1, N_2 : in Syntax_Trees.Node) return Boolean
is begin
return N_1.Label = N_2.Label and
N_1.ID = N_2.ID and
N_1.Byte_Region = N_2.Byte_Region;
end Compute;
begin
return Compute
((if Index_1 <= Tree_1.Last_Shared_Node
then Tree_1.Shared_Tree.Nodes (Index_1)
else Tree_1.Branched_Nodes (Index_1)),
(if Index_2 <= Tree_2.Last_Shared_Node
then Tree_2.Shared_Tree.Nodes (Index_2)
else Tree_2.Branched_Nodes (Index_2)));
end Same_Token;
procedure Set_Augmented
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Value : in Base_Token_Class_Access)
is begin
if Node <= Tree.Last_Shared_Node then
Tree.Shared_Tree.Nodes (Node).Augmented := Value;
else
Tree.Branched_Nodes (Node).Augmented := Value;
end if;
Tree.Shared_Tree.Augmented_Present := True;
end Set_Augmented;
procedure Set_Children
(Nodes : in out Node_Arrays.Vector;
Parent : in Valid_Node_Index;
Children : in Valid_Node_Index_Array)
is
use all type SAL.Base_Peek_Type;
N : Nonterm_Node renames Nodes (Parent);
J : Positive_Index_Type := Positive_Index_Type'First;
Min_Terminal_Index_Set : Boolean := False;
begin
N.Children.Set_Length (Children'Length);
for I in Children'Range loop
N.Children (J) := Children (I);
declare
K : Node renames Nodes (Children (I));
begin
K.Parent := Parent;
N.Virtual := N.Virtual or
(case K.Label is
when Shared_Terminal => False,
when Virtual_Terminal | Virtual_Identifier => True,
when Nonterm => K.Virtual);
if N.Byte_Region.First > K.Byte_Region.First then
N.Byte_Region.First := K.Byte_Region.First;
end if;
if N.Byte_Region.Last < K.Byte_Region.Last then
N.Byte_Region.Last := K.Byte_Region.Last;
end if;
if not Min_Terminal_Index_Set then
case K.Label is
when Shared_Terminal =>
Min_Terminal_Index_Set := True;
N.Min_Terminal_Index := K.Terminal;
when Virtual_Terminal | Virtual_Identifier =>
null;
when Nonterm =>
if K.Min_Terminal_Index /= Invalid_Token_Index then
-- not an empty nonterm
Min_Terminal_Index_Set := True;
N.Min_Terminal_Index := K.Min_Terminal_Index;
end if;
end case;
end if;
case K.Label is
when Shared_Terminal =>
if N.Max_Terminal_Index < K.Terminal then
N.Max_Terminal_Index := K.Terminal;
end if;
when Virtual_Terminal | Virtual_Identifier =>
null;
when Nonterm =>
if K.Max_Terminal_Index /= Invalid_Token_Index and then
-- not an empty nonterm
N.Max_Terminal_Index < K.Max_Terminal_Index
then
N.Max_Terminal_Index := K.Max_Terminal_Index;
end if;
end case;
end;
J := J + 1;
end loop;
end Set_Children;
procedure Set_Children
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index;
New_ID : in WisiToken.Production_ID;
Children : in Valid_Node_Index_Array)
is
use all type SAL.Base_Peek_Type;
Parent_Node : Syntax_Trees.Node renames Tree.Shared_Tree.Nodes (Node);
J : Positive_Index_Type := Positive_Index_Type'First;
begin
Parent_Node.ID := New_ID.LHS;
Parent_Node.RHS_Index := New_ID.RHS;
Parent_Node.Action := null;
Parent_Node.Children.Set_Length (Children'Length);
for I in Children'Range loop
-- We don't update Min/Max_terminal_index; we assume Set_Children is
-- only called after parsing is done, so they are no longer needed.
Parent_Node.Children (J) := Children (I);
Tree.Shared_Tree.Nodes (Children (I)).Parent := Node;
J := J + 1;
end loop;
end Set_Children;
procedure Set_State
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index;
State : in State_Index)
is begin
if Tree.Flush then
Tree.Shared_Tree.Nodes (Node).State := State;
else
if Node <= Tree.Last_Shared_Node then
Tree.Shared_Tree.Nodes (Node).State := State;
else
Tree.Branched_Nodes (Node).State := State;
end if;
end if;
end Set_State;
procedure Set_Flush_False (Tree : in out Syntax_Trees.Tree)
is begin
Tree.Flush := False;
Tree.Branched_Nodes.Set_First (Tree.Last_Shared_Node + 1);
end Set_Flush_False;
procedure Set_Name_Region
(Tree : in out Syntax_Trees.Tree;
Node : in Valid_Node_Index;
Region : in Buffer_Region)
is begin
if Tree.Flush then
Tree.Shared_Tree.Nodes (Node).Name := Region;
else
if Node <= Tree.Last_Shared_Node then
Move_Branch_Point (Tree, Node);
end if;
Tree.Branched_Nodes (Node).Name := Region;
end if;
end Set_Name_Region;
function Terminal (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Base_Token_Index
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).Terminal;
else
return Tree.Branched_Nodes (Node).Terminal;
end if;
end Terminal;
function Traversing (Tree : in Syntax_Trees.Tree) return Boolean
is begin
return Tree.Shared_Tree.Traversing;
end Traversing;
function Recover_Token
(Tree : in Syntax_Trees.Tree;
Node : in Valid_Node_Index)
return WisiToken.Recover_Token
is
function Compute (N : Syntax_Trees.Node) return WisiToken.Recover_Token
is begin
case N.Label is
when Shared_Terminal =>
return
(ID => N.ID,
Byte_Region => N.Byte_Region,
Min_Terminal_Index => N.Terminal,
Name => Null_Buffer_Region,
Virtual => False);
when Virtual_Terminal | Virtual_Identifier =>
return
(ID => N.ID,
Byte_Region => Null_Buffer_Region,
Min_Terminal_Index => Invalid_Token_Index,
Name => Null_Buffer_Region,
Virtual => True);
when Nonterm =>
return
(ID => N.ID,
Byte_Region => N.Byte_Region,
Min_Terminal_Index => N.Min_Terminal_Index,
Name => N.Name,
Virtual => N.Virtual);
end case;
end Compute;
begin
return Compute
((if Node <= Tree.Last_Shared_Node
then Tree.Shared_Tree.Nodes (Node)
else Tree.Branched_Nodes (Node)));
end Recover_Token;
function Recover_Token_Array
(Tree : in Syntax_Trees.Tree;
Nodes : in Valid_Node_Index_Array)
return WisiToken.Recover_Token_Array
is begin
return Result : WisiToken.Recover_Token_Array (Nodes'First .. Nodes'Last) do
for I in Result'Range loop
Result (I) := Tree.Recover_Token (Nodes (I));
end loop;
end return;
end Recover_Token_Array;
function State (Tree : in Syntax_Trees.Tree; Node : in Valid_Node_Index) return Unknown_State_Index
is begin
if Node <= Tree.Last_Shared_Node then
return Tree.Shared_Tree.Nodes (Node).State;
else
return Tree.Branched_Nodes (Node).State;
end if;
end State;
end WisiToken.Syntax_Trees;
|
with System.Address_To_Constant_Access_Conversions;
with C.mach_o.dyld;
with C.mach_o.loader;
package body System.Storage_Map is
pragma Suppress (All_Checks);
package mach_header_const_ptr_Conv is
new Address_To_Constant_Access_Conversions (
C.mach_o.loader.struct_mach_header,
C.mach_o.loader.struct_mach_header_const_ptr);
-- implementation
function Load_Address return Address is
begin
return mach_header_const_ptr_Conv.To_Address (
C.mach_o.dyld.dyld_get_image_header (0));
end Load_Address;
end System.Storage_Map;
|
-- CA1020E3M.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- OBJECTIVE:
-- CHECK THAT A SUBPROGRAM LIBRARY UNIT CAN BE REPLACED BY A GENERIC
-- INSTANTIATION HAVING THE SAME IDENTIFIER. THIS FILE CONTAINS
-- GENERIC UNITS TO BE INSTANTIATED AS LIBRARY UNITS.
-- SEPARATE FILES ARE:
-- CA1020E0 -- GENERIC UNITS GENPROC_CA1020E AND GENFUNC_CA1020E.
-- CA1020E1 -- SUBPROGRAM LIBRARY UNIT BODIES (CA1020E_PROC1,
-- CA1020E_FUNC1, CA1020E_PROC2, CA1020E_FUNC2).
-- CA1020E2 -- INSTANTIATIONS REPLACING UNITS COMPILED IN CA1020E1.
-- CA1020E3M -- MAIN PROGRAM.
-- HISTORY:
-- JBG 05/28/85 CREATED ORIGINAL TEST.
-- JET 07/29/88 ADDED CASES IN WHICH SUBPROGRAM PROFILES ARE NOT
-- THE SAME AND ALSO WHEN SUBPROGRAM IS FIRST
-- DECLARED WITHOUT A BODY.
WITH REPORT; USE REPORT;
WITH CA1020E_PROC1, CA1020E_FUNC1, CA1020E_PROC2, CA1020E_FUNC2;
PROCEDURE CA1020E3M IS
TEMP : INTEGER := 0;
BEGIN
TEST ("CA1020E", "CHECK THAT A SUBPROGRAM LIBRARY UNIT CAN BE " &
"REPLACED BY A GENERIC INSTANTIATION HAVING " &
"THE SAME IDENTIFIER");
CA1020E_PROC1 (TEMP);
IF TEMP /= IDENT_INT(1) THEN
FAILED ("INSTANTIATION DID NOT REPLACE PROCEDURE");
END IF;
IF CA1020E_FUNC1 /= IDENT_INT(2) THEN
FAILED ("INSTANTIATION DID NOT REPLACE FUNCTION");
END IF;
CA1020E_PROC2 (TEMP);
IF TEMP /= IDENT_INT(5) THEN
FAILED ("INSTANTIATION DID NOT REPLACE PROCEDURE");
END IF;
IF CA1020E_FUNC2 /= IDENT_INT(2) THEN
FAILED ("INSTANTIATION DID NOT REPLACE FUNCTION");
END IF;
RESULT;
END CA1020E3M;
|
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- --
-- This library is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU Lesser General Public --
-- License as published by the Free Software Foundation; either --
-- version 2.1 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 --
-- Lesser General Public License for more details. --
-- --
-- You should have received a copy of the GNU Lesser 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 --
-- --
--------------------------------------------------------------------------------
-- @brief Reading and Writing from/to file.
-- $Author$
-- $Date$
-- $Revision$
with RASCAL.Utility; use RASCAL.Utility;
with System; use System;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with System.Unsigned_Types; use System.Unsigned_Types;
with Ada.Finalization;
package RASCAL.FileInternal is
subtype Real_FileHandle_Type is System.Unsigned_Types.Unsigned;
type UString_Ptr is access UString;
type File_Access_Type is (Read,Write,ReadWrite);
type FileHandle_Type(File : UString_Ptr;
File_Access : File_Access_Type) is
new Ada.Finalization.Limited_Controlled with private;
type Line_List_Type is array (Natural range <>) of unbounded_string;
--
-- Returns true if end of file has been reached.
--
function Is_EOF (File : in FileHandle_Type) return boolean;
--
-- Returns the extent of the file. That is NOT the same as the filesize.
--
function Get_Extent (File : in FileHandle_Type) return natural;
--
-- Goto start of file.
--
procedure Goto_Start (File : in FileHandle_Type);
--
-- Goto end of file.
--
procedure Goto_End (File : in FileHandle_Type);
--
-- Returns file index.
--
function Get_Ptr (File : in FileHandle_Type) return Integer;
--
-- Sets file index to 'ptr'
--
procedure Set_Ptr (File : in FileHandle_Type;
Ptr : in integer);
--
-- Read a single byte from file.
--
function Get_Byte (File : in FileHandle_Type) return Integer;
--
-- Writes a single byte to file.
--
procedure Put_Byte (File : in FileHandle_Type;
Byte : in Integer);
--
-- Move a Nr of bytes forward in file.
--
procedure Skip_Bytes (File : in FileHandle_Type;
Nr : in Integer);
--
-- Reads a number (Length) of bytes from file.
--
procedure Get_Bytes (File : in FileHandle_Type;
Buffer : in Address;
Length : in Integer);
--
-- Writes a number (Length) of bytes to files.
--
procedure Put_Bytes (File : in FileHandle_Type;
Buffer : in Address;
Length : in Integer);
--
-- Writes a string (Line) to file.
--
procedure Put_String (File : in FileHandle_Type;
Line : in String;
Attach_LF : in Boolean := true);
--
-- Moves filepointer to beginning of next line containing other characters than space.
--
procedure Skip_EmptyLines (File : in FileHandle_Type);
--
-- Reads a line from file.
--
function Read_Line (File : in FileHandle_Type;
Trim : in boolean := false) return String;
--
-- Returns the number of lines in file.
--
function Get_Lines (File : in FileHandle_Type;
Trim : in boolean := true) return integer;
--
-- Ensures that the size of the 'File' is not less than 'Size'.
--Note that the extent is not changed.
--
procedure Ensure_Size (File : in FileHandle_Type;
Size : in Integer);
--
-- Loads file into 'Buffer'.
--
procedure Load_File (FileName : in String;
Buffer : in Address);
--
-- Saves 'Buffer' to file.
--
procedure Save_File (FileName : in String;
Buffer : in Address;
Bufferend : in Address;
FileType : in Integer);
--
-- Returns internal filehandle.
--
function Get_Real_FileHandle (File : in FileHandle_Type) return Real_FileHandle_Type;
--
-- Close file.
--
procedure Close (File : in FileHandle_Type);
private
procedure Initialize (The : in out FileHandle_Type);
procedure Finalize (The : in out FileHandle_Type);
type FileHandle_Type(File : UString_Ptr;
File_Access : File_Access_Type) is
new Ada.Finalization.Limited_Controlled with
record
Path : UString := File.all;
Access_Type : File_Access_Type := File_Access;
Handle : Real_FileHandle_Type := -1;
end record;
end RASCAL.FileInternal;
|
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Component_Definitions;
with Program.Element_Visitors;
package Program.Nodes.Component_Definitions is
pragma Preelaborate;
type Component_Definition is
new Program.Nodes.Node
and Program.Elements.Component_Definitions.Component_Definition
and Program.Elements.Component_Definitions.Component_Definition_Text
with private;
function Create
(Aliased_Token : Program.Lexical_Elements.Lexical_Element_Access;
Subtype_Indication : not null Program.Elements.Element_Access)
return Component_Definition;
type Implicit_Component_Definition is
new Program.Nodes.Node
and Program.Elements.Component_Definitions.Component_Definition
with private;
function Create
(Subtype_Indication : not null Program.Elements.Element_Access;
Is_Part_Of_Implicit : Boolean := False;
Is_Part_Of_Inherited : Boolean := False;
Is_Part_Of_Instance : Boolean := False;
Has_Aliased : Boolean := False)
return Implicit_Component_Definition
with Pre =>
Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance;
private
type Base_Component_Definition is
abstract new Program.Nodes.Node
and Program.Elements.Component_Definitions.Component_Definition
with record
Subtype_Indication : not null Program.Elements.Element_Access;
end record;
procedure Initialize
(Self : aliased in out Base_Component_Definition'Class);
overriding procedure Visit
(Self : not null access Base_Component_Definition;
Visitor : in out Program.Element_Visitors.Element_Visitor'Class);
overriding function Subtype_Indication
(Self : Base_Component_Definition)
return not null Program.Elements.Element_Access;
overriding function Is_Component_Definition_Element
(Self : Base_Component_Definition)
return Boolean;
overriding function Is_Definition_Element
(Self : Base_Component_Definition)
return Boolean;
type Component_Definition is
new Base_Component_Definition
and Program.Elements.Component_Definitions.Component_Definition_Text
with record
Aliased_Token : Program.Lexical_Elements.Lexical_Element_Access;
end record;
overriding function To_Component_Definition_Text
(Self : aliased in out Component_Definition)
return Program.Elements.Component_Definitions
.Component_Definition_Text_Access;
overriding function Aliased_Token
(Self : Component_Definition)
return Program.Lexical_Elements.Lexical_Element_Access;
overriding function Has_Aliased
(Self : Component_Definition)
return Boolean;
type Implicit_Component_Definition is
new Base_Component_Definition
with record
Is_Part_Of_Implicit : Boolean;
Is_Part_Of_Inherited : Boolean;
Is_Part_Of_Instance : Boolean;
Has_Aliased : Boolean;
end record;
overriding function To_Component_Definition_Text
(Self : aliased in out Implicit_Component_Definition)
return Program.Elements.Component_Definitions
.Component_Definition_Text_Access;
overriding function Is_Part_Of_Implicit
(Self : Implicit_Component_Definition)
return Boolean;
overriding function Is_Part_Of_Inherited
(Self : Implicit_Component_Definition)
return Boolean;
overriding function Is_Part_Of_Instance
(Self : Implicit_Component_Definition)
return Boolean;
overriding function Has_Aliased
(Self : Implicit_Component_Definition)
return Boolean;
end Program.Nodes.Component_Definitions;
|
with Coordinates;
with Planets.Earth;
package body Atmosphere_Types is
Hit_Detection : constant Boolean := True;
use type GL.Types.Double;
procedure Set_Mass (Object : in out Gravity_Object; Value : GL.Types.Double) is
begin
Object.Mass := Value;
end Set_Mass;
procedure Set_Gravity (Object : in out Gravity_Object; Value : GL.Types.Double) is
begin
Object.Gravity := Value;
end Set_Gravity;
procedure Set_Thrust (Object : in out Gravity_Object; Value : GL.Types.Double) is
begin
Object.Thrust := Value;
end Set_Thrust;
function Altitude (Object : Gravity_Object) return GL.Types.Double is (Object.Altitude);
overriding
procedure Update
(Object : in out Gravity_Object;
State : Integrators.Integrator_State;
Delta_Time : Duration)
is
use Integrators.Vectors;
Earth_Center : constant Vector4 := Zero_Point;
Direction_Down : constant Vector4 :=
Normalize (Earth_Center - State.Position);
Direction_Up : constant Vector4 :=
Normalize (State.Position - Earth_Center);
Gravity : Vector4 :=
Direction_Down * (Object.Gravity * Object.Mass);
-- GM
-- g = ---
-- r^2
--
-- g0 = GM/Re^2
--
-- g = g0 * (Re^2)/(Re + z)^2 = g0 / (1.0 + z/Re)^2
--
-- z = altitude above sea level
Distance_To_Center : constant GL.Types.Double :=
Integrators.Vectors.Length (State.Position - Earth_Center);
Radius_To_Center : constant GL.Types.Double :=
Planets.Earth.Planet.Radius (Direction_Up);
-- FIXME Direction_Up is already flattened
begin
Integrators.Quaternions.Rotate_At_Origin
(Gravity, Integrators.Quaternions.Conjugate (State.Orientation));
if Hit_Detection and Distance_To_Center <= Radius_To_Center then
declare
Inverse_DT : constant GL.Types.Double := (1.0 / GL.Types.Double (Delta_Time));
New_Momentum : Vector4 := -State.Momentum;
-- New_Momentum : Vector4 := -1.0 * State.Velocity * Object.Mass;
begin
Integrators.Quaternions.Rotate_At_Origin
(New_Momentum, Integrators.Quaternions.Conjugate (State.Orientation));
-- FIXME Doesn't bounce on the surface of the planet
-- FIXME Doesn't respect rotational velocity of surface
Object.F_Anti_Gravity := New_Momentum * Inverse_DT;
Object.F_Gravity := Zero_Direction;
end;
-- v1' = (m1 - m2)/(m1 + m2) * v1
-- v2' = (2*m1)/(m1 + m2) * v1
--
-- v1' = v1 v2' = 2*v1 m1 >> m2 m2 => 0
-- v1' = -v1 v2' = 0 m1 << m2 m1 => 0
-- v1' = 0 v2' = v1 m1 = m2
-- m1v1 = m1v1' + m2v2'
else
Object.F_Anti_Gravity := Zero_Direction;
Object.F_Gravity := Gravity;
end if;
Object.Altitude := Distance_To_Center - Radius_To_Center;
end Update;
overriding
function Forces (Object : Gravity_Object) return Integrators.Force_Array_Access is
Forces : constant Integrators.Force_Array_Access := new Integrators.Force_At_Point_Array'
(1 => (Force => Object.F_Gravity,
Point => Object.Center_Of_Mass),
2 => (Force => Object.F_Anti_Gravity,
Point => Object.Center_Of_Mass),
3 => (Force => (Object.Thrust, 0.0, 0.0, 0.0),
Point => Object.Center_Of_Mass));
begin
return Forces;
end Forces;
overriding
function Moments (Object : Gravity_Object) return Integrators.Moment_Array_Access is
Moments : constant Integrators.Moment_Array_Access := new Integrators.Moment_Array (1 .. 0);
begin
return Moments;
end Moments;
overriding
function Inverse_Mass (Object : Gravity_Object) return GL.Types.Double is
(1.0 / Object.Mass);
overriding
function Inverse_Inertia (Object : Gravity_Object) return GL.Types.Double is
(8.643415877954968e-05);
overriding
function Center_Of_Mass (Object : Gravity_Object) return Integrators.Vectors.Vector4 is
((0.0, 0.0, 0.0, 1.0));
----------------------------------------------------------------------------
protected body Integrator is
procedure Initialize
(FDM : Integrators.Physics_Object'Class;
Position, Velocity : Orka.Behaviors.Vector4;
Orientation : Integrators.Quaternions.Quaternion) is
begin
RK4 := Integrators.RK4.Create_Integrator
(FDM, Position => Position, Velocity => Velocity, Orientation => Orientation);
end Initialize;
procedure Update
(FDM : in out Integrators.Physics_Object'Class;
Delta_Time : Duration)
is
DT : constant GL.Types.Double := GL.Types.Double (Delta_Time);
begin
RK4.Integrate (FDM, T, DT);
T := T + DT;
end Update;
function State return Integrators.Integrator_State is (RK4.State);
end Integrator;
overriding
function Position (Object : Physics_Behavior) return Orka.Behaviors.Vector4 is
use Coordinates.Matrices;
begin
case Object.Frame is
when ECI =>
return Coordinates.Rotate_ECI * Object.Int.State.Position;
when ECEF =>
return Coordinates.Rotate_ECEF * Object.Int.State.Position;
end case;
end Position;
overriding
procedure Fixed_Update (Object : in out Physics_Behavior; Delta_Time : Duration) is
begin
Object.Int.Update (Object.FDM, Delta_Time);
end Fixed_Update;
end Atmosphere_Types;
|
package body Globals_Example3 is
function Unrelated (The_I : Globals_Example1.Itype)
return Globals_Example1.Itype is
begin
return 5;
end Unrelated;
end Globals_Example3;
|
<?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>circ_buff_read_many128</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="3" tracking_level="1" version="0" object_id="_1">
<Value class_id="4" tracking_level="0" version="0">
<Obj class_id="5" tracking_level="0" version="0">
<type>1</type>
<id>1</id>
<name>gmem_read</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></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<direction>2</direction>
<if_type>4</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>input_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>input.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_3">
<Value>
<Obj>
<type>1</type>
<id>3</id>
<name>reset</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>reset</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</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>debug_register</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>debug_register</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</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>useable_words</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>useable_words</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<direction>0</direction>
<if_type>1</if_type>
<array_size>4</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>fifo_out_0_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>fifo[0].V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<direction>1</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_7">
<Value>
<Obj>
<type>1</type>
<id>7</id>
<name>fifo_out_1_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>fifo[1].V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<direction>1</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_8">
<Value>
<Obj>
<type>1</type>
<id>8</id>
<name>fifo_out_2_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>fifo[2].V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<direction>1</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_9">
<Value>
<Obj>
<type>1</type>
<id>9</id>
<name>fifo_out_3_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>fifo[3].V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<direction>1</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>169</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name>input_V_read</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>input.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>267</item>
<item>268</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.00</m_delay>
<m_topoIndex>1</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>20</id>
<name>tmp</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>28</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>270</item>
<item>271</item>
<item>273</item>
<item>275</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>2</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>tmp_15_cast</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>29</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>276</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>3</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>data_V</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>66</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="11" tracking_level="0" version="0">
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second class_id="12" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="13" tracking_level="0" version="0">
<first class_id="14" tracking_level="0" version="0">
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>66</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>data.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>278</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>4</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>first_load</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>1</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>279</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>5</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>75</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>280</item>
<item>281</item>
<item>282</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.65</m_delay>
<m_topoIndex>6</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>46</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>77</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>283</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.65</m_delay>
<m_topoIndex>7</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>48</id>
<name>i</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>284</item>
<item>285</item>
<item>287</item>
<item>288</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>8</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>49</id>
<name>tmp_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>77</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>289</item>
<item>291</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>0.58</m_delay>
<m_topoIndex>9</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>51</id>
<name>i_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>77</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>292</item>
<item>294</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.67</m_delay>
<m_topoIndex>10</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>77</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>295</item>
<item>296</item>
<item>297</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>11</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>54</id>
<name>tmp_2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>298</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>12</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>55</id>
<name>useable_words_addr</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>2</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>299</item>
<item>301</item>
<item>302</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>13</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>56</id>
<name>useable_words_load</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>303</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.67</m_delay>
<m_topoIndex>14</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>57</id>
<name>tmp_5</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>2</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>304</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>15</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>58</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>305</item>
<item>306</item>
<item>308</item>
<item>309</item>
<item>311</item>
<item>312</item>
<item>314</item>
<item>315</item>
</oprand_edges>
<opcode>switch</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.72</m_delay>
<m_topoIndex>23</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>60</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>633</item>
<item>634</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.00</m_delay>
<m_topoIndex>24</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>61</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>635</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="_28">
<Value>
<Obj>
<type>0</type>
<id>63</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>630</item>
<item>631</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.00</m_delay>
<m_topoIndex>26</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>64</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>632</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>27</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>66</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>627</item>
<item>628</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.00</m_delay>
<m_topoIndex>28</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>67</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>629</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>29</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>69</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>636</item>
<item>637</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.00</m_delay>
<m_topoIndex>30</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>70</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>79</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>638</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>31</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>72</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>77</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>316</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>32</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>74</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>317</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.65</m_delay>
<m_topoIndex>16</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>76</id>
<name>first_flag</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>1</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>319</item>
<item>320</item>
<item>322</item>
<item>323</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>17</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>77</id>
<name>reset_read</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>84</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>325</item>
<item>326</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.00</m_delay>
<m_topoIndex>18</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>78</id>
<name>tmp_4</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>84</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>327</item>
<item>329</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>0.84</m_delay>
<m_topoIndex>19</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_39">
<Value>
<Obj>
<type>0</type>
<id>79</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>84</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>84</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>330</item>
<item>331</item>
<item>332</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="_40">
<Value>
<Obj>
<type>0</type>
<id>81</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>95</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>334</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.65</m_delay>
<m_topoIndex>21</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_41">
<Value>
<Obj>
<type>0</type>
<id>83</id>
<name>stride</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>stride</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>356</item>
<item>357</item>
<item>358</item>
<item>359</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="_42">
<Value>
<Obj>
<type>0</type>
<id>84</id>
<name>exitcond1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>95</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>360</item>
<item>361</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>0.58</m_delay>
<m_topoIndex>34</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_43">
<Value>
<Obj>
<type>0</type>
<id>86</id>
<name>stride_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>stride</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>362</item>
<item>363</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.67</m_delay>
<m_topoIndex>35</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_44">
<Value>
<Obj>
<type>0</type>
<id>87</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>95</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>364</item>
<item>365</item>
<item>366</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>36</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_45">
<Value>
<Obj>
<type>0</type>
<id>89</id>
<name>tmp_14</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>2</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>367</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>37</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_46">
<Value>
<Obj>
<type>0</type>
<id>90</id>
<name>idx</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>101</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>101</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>idx</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>369</item>
<item>370</item>
<item>372</item>
<item>373</item>
<item>374</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>38</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_47">
<Value>
<Obj>
<type>0</type>
<id>91</id>
<name>idx_cast3</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>101</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>101</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>17</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>375</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>48</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_48">
<Value>
<Obj>
<type>0</type>
<id>92</id>
<name>idx_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>101</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>101</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>12</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>376</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>39</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_49">
<Value>
<Obj>
<type>0</type>
<id>93</id>
<name>tmp_9</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>12</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>378</item>
<item>379</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.79</m_delay>
<m_topoIndex>40</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_50">
<Value>
<Obj>
<type>0</type>
<id>94</id>
<name>tmp_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>29</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>380</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>41</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_51">
<Value>
<Obj>
<type>0</type>
<id>95</id>
<name>input_V2_sum</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>29</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>381</item>
<item>382</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.97</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>96</id>
<name>input_V2_sum_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</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>383</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>44</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_53">
<Value>
<Obj>
<type>0</type>
<id>97</id>
<name>gmem_read_addr</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>384</item>
<item>385</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>45</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_54">
<Value>
<Obj>
<type>0</type>
<id>98</id>
<name>stream_head_V_req</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>387</item>
<item>388</item>
<item>390</item>
</oprand_edges>
<opcode>readreq</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>3.50</m_delay>
<m_topoIndex>46</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_55">
<Value>
<Obj>
<type>0</type>
<id>99</id>
<name>stream_head_V</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>102</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>102</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>stream_head.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>392</item>
<item>393</item>
<item>996</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>3.50</m_delay>
<m_topoIndex>47</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_56">
<Value>
<Obj>
<type>0</type>
<id>100</id>
<name>tail_3_load</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>7</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>394</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>49</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_57">
<Value>
<Obj>
<type>0</type>
<id>101</id>
<name>tail_0_load</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>1</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>395</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>50</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_58">
<Value>
<Obj>
<type>0</type>
<id>102</id>
<name>tail_1_load</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>3</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>3</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>396</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>51</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_59">
<Value>
<Obj>
<type>0</type>
<id>103</id>
<name>tail_2_load</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>5</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>5</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>397</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>52</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_60">
<Value>
<Obj>
<type>0</type>
<id>104</id>
<name>sel_tmp_i</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</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>398</item>
<item>399</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>0.44</m_delay>
<m_topoIndex>53</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_61">
<Value>
<Obj>
<type>0</type>
<id>105</id>
<name>sel_tmp1_i</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>7</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>400</item>
<item>401</item>
<item>402</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>54</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_62">
<Value>
<Obj>
<type>0</type>
<id>106</id>
<name>sel_tmp2_i</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</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>403</item>
<item>404</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>0.44</m_delay>
<m_topoIndex>55</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_63">
<Value>
<Obj>
<type>0</type>
<id>107</id>
<name>sel_tmp3_i</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>7</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>405</item>
<item>406</item>
<item>407</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.35</m_delay>
<m_topoIndex>56</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_64">
<Value>
<Obj>
<type>0</type>
<id>108</id>
<name>sel_tmp4_i</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</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>408</item>
<item>409</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>0.44</m_delay>
<m_topoIndex>57</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_65">
<Value>
<Obj>
<type>0</type>
<id>109</id>
<name>stream_tail_1</name>
<fileName>aesl_mux_load.4i16P.i2</fileName>
<fileDirectory>/</fileDirectory>
<lineNumber>7</lineNumber>
<contextFuncName>aesl_mux_load.4i16P.i2</contextFuncName>
<inlineStackInfo>
<count>2</count>
<item_version>0</item_version>
<item>
<first>/</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>aesl_mux_load.4i16P.i2</first>
<second>aesl_mux_load.4i16P.i2</second>
</first>
<second>7</second>
</item>
</second>
</item>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>103</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>op</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>410</item>
<item>411</item>
<item>412</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.35</m_delay>
<m_topoIndex>58</m_topoIndex>
<m_clusterGroupNumber>2</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_66">
<Value>
<Obj>
<type>0</type>
<id>110</id>
<name>local_words_0_load</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>413</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>59</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_67">
<Value>
<Obj>
<type>0</type>
<id>111</id>
<name>local_words_1_load</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>414</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>60</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_68">
<Value>
<Obj>
<type>0</type>
<id>112</id>
<name>local_words_2_load</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>415</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>61</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_69">
<Value>
<Obj>
<type>0</type>
<id>113</id>
<name>local_words_3_load</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>416</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>62</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_70">
<Value>
<Obj>
<type>0</type>
<id>114</id>
<name>words</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>words</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>6</count>
<item_version>0</item_version>
<item>418</item>
<item>419</item>
<item>420</item>
<item>421</item>
<item>422</item>
<item>423</item>
</oprand_edges>
<opcode>mux</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.39</m_delay>
<m_topoIndex>63</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_71">
<Value>
<Obj>
<type>0</type>
<id>115</id>
<name>tmp_6</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>106</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>106</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>424</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>64</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_72">
<Value>
<Obj>
<type>0</type>
<id>116</id>
<name>tmp_8</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>106</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>106</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>425</item>
<item>426</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.30</m_delay>
<m_topoIndex>65</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_73">
<Value>
<Obj>
<type>0</type>
<id>117</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>106</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>106</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>427</item>
<item>428</item>
<item>429</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>66</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_74">
<Value>
<Obj>
<type>0</type>
<id>119</id>
<name>tmp_3</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>119</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>119</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>430</item>
<item>431</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.30</m_delay>
<m_topoIndex>67</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_75">
<Value>
<Obj>
<type>0</type>
<id>120</id>
<name>tmp_15</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>121</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>121</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>432</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>68</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_76">
<Value>
<Obj>
<type>0</type>
<id>121</id>
<name>p_s</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>128</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>128</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>434</item>
<item>435</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.85</m_delay>
<m_topoIndex>69</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_77">
<Value>
<Obj>
<type>0</type>
<id>122</id>
<name>p_pn</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>119</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>119</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>436</item>
<item>437</item>
<item>438</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>70</m_topoIndex>
<m_clusterGroupNumber>3</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_78">
<Value>
<Obj>
<type>0</type>
<id>123</id>
<name>bytes_read</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>121</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>121</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>bytes_read</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>439</item>
<item>440</item>
</oprand_edges>
<opcode>sub</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.85</m_delay>
<m_topoIndex>71</m_topoIndex>
<m_clusterGroupNumber>3</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_79">
<Value>
<Obj>
<type>0</type>
<id>124</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>132</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>132</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>441</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.65</m_delay>
<m_topoIndex>72</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_80">
<Value>
<Obj>
<type>0</type>
<id>126</id>
<name>val_assign</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>stream_tail</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>442</item>
<item>443</item>
<item>444</item>
<item>445</item>
</oprand_edges>
<opcode>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>73</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_81">
<Value>
<Obj>
<type>0</type>
<id>127</id>
<name>h</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>h</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>15</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>447</item>
<item>448</item>
<item>449</item>
<item>450</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>74</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_82">
<Value>
<Obj>
<type>0</type>
<id>128</id>
<name>h_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>132</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>132</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>451</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>75</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_83">
<Value>
<Obj>
<type>0</type>
<id>129</id>
<name>tmp_7</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>132</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>132</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>452</item>
<item>453</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.10</m_delay>
<m_topoIndex>76</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_84">
<Value>
<Obj>
<type>0</type>
<id>131</id>
<name>h_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>132</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>132</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>h</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>15</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>454</item>
<item>456</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.84</m_delay>
<m_topoIndex>77</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_85">
<Value>
<Obj>
<type>0</type>
<id>132</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>132</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>132</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>457</item>
<item>458</item>
<item>459</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>78</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_86">
<Value>
<Obj>
<type>0</type>
<id>137</id>
<name>tmp_10</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</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>465</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>90</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_87">
<Value>
<Obj>
<type>0</type>
<id>138</id>
<name>tmp_14_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>17</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>466</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>79</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_88">
<Value>
<Obj>
<type>0</type>
<id>139</id>
<name>tmp_11</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>17</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>467</item>
<item>468</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.85</m_delay>
<m_topoIndex>80</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_89">
<Value>
<Obj>
<type>0</type>
<id>140</id>
<name>tmp_13_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>29</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>469</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>81</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_90">
<Value>
<Obj>
<type>0</type>
<id>141</id>
<name>input_V2_sum4</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>29</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>470</item>
<item>471</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.97</m_delay>
<m_topoIndex>82</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_91">
<Value>
<Obj>
<type>0</type>
<id>142</id>
<name>input_V2_sum4_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</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>472</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>86</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_92">
<Value>
<Obj>
<type>0</type>
<id>143</id>
<name>gmem_read_addr_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>473</item>
<item>474</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>87</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_93">
<Value>
<Obj>
<type>0</type>
<id>144</id>
<name>gmem_read_load_req</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>475</item>
<item>476</item>
<item>477</item>
<item>1001</item>
</oprand_edges>
<opcode>readreq</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>3.50</m_delay>
<m_topoIndex>88</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_94">
<Value>
<Obj>
<type>0</type>
<id>145</id>
<name>gmem_read_addr_1_rea</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>478</item>
<item>479</item>
<item>997</item>
<item>1002</item>
<item>1003</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>3.50</m_delay>
<m_topoIndex>89</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_95">
<Value>
<Obj>
<type>0</type>
<id>146</id>
<name>data_V_addr</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>9</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>480</item>
<item>481</item>
<item>482</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>91</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_96">
<Value>
<Obj>
<type>0</type>
<id>147</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>136</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>136</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>483</item>
<item>484</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>1.23</m_delay>
<m_topoIndex>92</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_97">
<Value>
<Obj>
<type>0</type>
<id>148</id>
<name>tmp_16</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>138</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>138</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>9</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>485</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>83</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_98">
<Value>
<Obj>
<type>0</type>
<id>149</id>
<name>stream_tail</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>138</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>138</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>stream_tail</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>9</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>487</item>
<item>488</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.77</m_delay>
<m_topoIndex>84</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_99">
<Value>
<Obj>
<type>0</type>
<id>150</id>
<name>stream_tail_1_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>139</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>139</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>489</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>85</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_100">
<Value>
<Obj>
<type>0</type>
<id>152</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>132</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>132</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>490</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>93</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_101">
<Value>
<Obj>
<type>0</type>
<id>154</id>
<name>cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>121</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>121</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>24</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>460</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>94</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_102">
<Value>
<Obj>
<type>0</type>
<id>155</id>
<name>cast2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>24</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>461</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>95</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_103">
<Value>
<Obj>
<type>0</type>
<id>156</id>
<name>bound</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>24</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>462</item>
<item>463</item>
</oprand_edges>
<opcode>mul</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>2.53</m_delay>
<m_topoIndex>96</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_104">
<Value>
<Obj>
<type>0</type>
<id>157</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>142</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>142</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>464</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.65</m_delay>
<m_topoIndex>97</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_105">
<Value>
<Obj>
<type>0</type>
<id>159</id>
<name>indvar_flatten</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>24</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>492</item>
<item>493</item>
<item>494</item>
<item>495</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>98</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_106">
<Value>
<Obj>
<type>0</type>
<id>160</id>
<name>h2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>144</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>144</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>15</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>496</item>
<item>497</item>
<item>498</item>
<item>499</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>99</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_107">
<Value>
<Obj>
<type>0</type>
<id>161</id>
<name>t_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>word.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>501</item>
<item>502</item>
<item>503</item>
<item>504</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>100</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_108">
<Value>
<Obj>
<type>0</type>
<id>162</id>
<name>tmp_23_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>145</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>145</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>505</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>101</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_109">
<Value>
<Obj>
<type>0</type>
<id>163</id>
<name>tmp_12</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>145</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>145</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>506</item>
<item>507</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>0.84</m_delay>
<m_topoIndex>102</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_110">
<Value>
<Obj>
<type>0</type>
<id>164</id>
<name>exitcond_flatten</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</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>508</item>
<item>509</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.04</m_delay>
<m_topoIndex>103</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_111">
<Value>
<Obj>
<type>0</type>
<id>165</id>
<name>indvar_flatten_next</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>24</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>510</item>
<item>512</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.93</m_delay>
<m_topoIndex>104</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_112">
<Value>
<Obj>
<type>0</type>
<id>166</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>104</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>104</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>513</item>
<item>514</item>
<item>515</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>105</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_113">
<Value>
<Obj>
<type>0</type>
<id>169</id>
<name>t_V_mid2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>145</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>145</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>520</item>
<item>521</item>
<item>522</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.39</m_delay>
<m_topoIndex>106</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_114">
<Value>
<Obj>
<type>0</type>
<id>170</id>
<name>h_s</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>142</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>142</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>15</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>523</item>
<item>524</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.84</m_delay>
<m_topoIndex>107</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_115">
<Value>
<Obj>
<type>0</type>
<id>171</id>
<name>temp_V_mid2_v</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>144</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>144</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>15</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>525</item>
<item>526</item>
<item>527</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.29</m_delay>
<m_topoIndex>108</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_116">
<Value>
<Obj>
<type>0</type>
<id>172</id>
<name>temp_V_mid2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>144</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>144</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>528</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>109</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_117">
<Value>
<Obj>
<type>0</type>
<id>173</id>
<name>data_V_addr_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>144</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>144</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>9</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>529</item>
<item>530</item>
<item>531</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>110</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_118">
<Value>
<Obj>
<type>0</type>
<id>174</id>
<name>data_V_load</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>144</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>144</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>532</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>1.23</m_delay>
<m_topoIndex>111</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_119">
<Value>
<Obj>
<type>0</type>
<id>178</id>
<name>tmp_19</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>2</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>533</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>114</m_topoIndex>
<m_clusterGroupNumber>4</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_120">
<Value>
<Obj>
<type>0</type>
<id>179</id>
<name>op2_assign</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>op2</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>8</bitwidth>
</Value>
<oprand_edges>
<count>6</count>
<item_version>0</item_version>
<item>534</item>
<item>536</item>
<item>538</item>
<item>540</item>
<item>542</item>
<item>543</item>
</oprand_edges>
<opcode>mux</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>115</m_topoIndex>
<m_clusterGroupNumber>4</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_121">
<Value>
<Obj>
<type>0</type>
<id>180</id>
<name>tmp_20</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>544</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>116</m_topoIndex>
<m_clusterGroupNumber>4</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_122">
<Value>
<Obj>
<type>0</type>
<id>181</id>
<name>r_V</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>148</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>148</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>r.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>545</item>
<item>546</item>
</oprand_edges>
<opcode>lshr</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.51</m_delay>
<m_topoIndex>117</m_topoIndex>
<m_clusterGroupNumber>4</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_123">
<Value>
<Obj>
<type>0</type>
<id>182</id>
<name>tmp_21</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>547</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>118</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_124">
<Value>
<Obj>
<type>0</type>
<id>183</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>548</item>
<item>549</item>
<item>550</item>
<item>551</item>
<item>552</item>
<item>553</item>
<item>554</item>
<item>555</item>
</oprand_edges>
<opcode>switch</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.72</m_delay>
<m_topoIndex>119</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_125">
<Value>
<Obj>
<type>0</type>
<id>185</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>648</item>
<item>649</item>
<item>650</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>0.00</m_delay>
<m_topoIndex>120</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_126">
<Value>
<Obj>
<type>0</type>
<id>186</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>651</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>124</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_127">
<Value>
<Obj>
<type>0</type>
<id>188</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>644</item>
<item>645</item>
<item>646</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>0.00</m_delay>
<m_topoIndex>121</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_128">
<Value>
<Obj>
<type>0</type>
<id>189</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>647</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>125</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_129">
<Value>
<Obj>
<type>0</type>
<id>191</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>640</item>
<item>641</item>
<item>642</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>0.00</m_delay>
<m_topoIndex>122</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_130">
<Value>
<Obj>
<type>0</type>
<id>192</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>643</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>126</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_131">
<Value>
<Obj>
<type>0</type>
<id>194</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>652</item>
<item>653</item>
<item>654</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>0.00</m_delay>
<m_topoIndex>123</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_132">
<Value>
<Obj>
<type>0</type>
<id>195</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>149</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>149</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>655</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>127</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_133">
<Value>
<Obj>
<type>0</type>
<id>198</id>
<name>word_V</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>145</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>145</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>word.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>516</item>
<item>518</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.79</m_delay>
<m_topoIndex>112</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_134">
<Value>
<Obj>
<type>0</type>
<id>199</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>145</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>145</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>519</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>113</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_135">
<Value>
<Obj>
<type>0</type>
<id>201</id>
<name>tmp_17</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>12</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>556</item>
<item>558</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.79</m_delay>
<m_topoIndex>128</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_136">
<Value>
<Obj>
<type>0</type>
<id>202</id>
<name>tmp_19_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>29</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>559</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>129</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_137">
<Value>
<Obj>
<type>0</type>
<id>203</id>
<name>p_1</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>560</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>134</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_138">
<Value>
<Obj>
<type>0</type>
<id>204</id>
<name>input_V2_sum3</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>29</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>561</item>
<item>562</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.97</m_delay>
<m_topoIndex>130</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_139">
<Value>
<Obj>
<type>0</type>
<id>205</id>
<name>input_V2_sum3_cast</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</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>563</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>131</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_140">
<Value>
<Obj>
<type>0</type>
<id>206</id>
<name>gmem_read_addr_2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>128</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>564</item>
<item>565</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>132</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_141">
<Value>
<Obj>
<type>0</type>
<id>207</id>
<name>gmem_read_addr_2_req</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>567</item>
<item>568</item>
<item>569</item>
</oprand_edges>
<opcode>writereq</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>3.50</m_delay>
<m_topoIndex>133</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_142">
<Value>
<Obj>
<type>0</type>
<id>208</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>6</count>
<item_version>0</item_version>
<item>571</item>
<item>572</item>
<item>573</item>
<item>575</item>
<item>999</item>
<item>1004</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.50</m_delay>
<m_topoIndex>135</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_143">
<Value>
<Obj>
<type>0</type>
<id>209</id>
<name>gmem_read_addr_2_res</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>156</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>156</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>577</item>
<item>578</item>
<item>998</item>
</oprand_edges>
<opcode>writeresp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>3.50</m_delay>
<m_topoIndex>136</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_144">
<Value>
<Obj>
<type>0</type>
<id>210</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>579</item>
<item>580</item>
<item>581</item>
<item>582</item>
<item>583</item>
<item>584</item>
<item>585</item>
<item>586</item>
</oprand_edges>
<opcode>switch</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.72</m_delay>
<m_topoIndex>137</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_145">
<Value>
<Obj>
<type>0</type>
<id>212</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>608</item>
<item>609</item>
<item>1008</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.65</m_delay>
<m_topoIndex>138</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_146">
<Value>
<Obj>
<type>0</type>
<id>213</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>610</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>139</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_147">
<Value>
<Obj>
<type>0</type>
<id>215</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>605</item>
<item>606</item>
<item>1007</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.65</m_delay>
<m_topoIndex>140</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_148">
<Value>
<Obj>
<type>0</type>
<id>216</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>607</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>141</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_149">
<Value>
<Obj>
<type>0</type>
<id>218</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>602</item>
<item>603</item>
<item>1006</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.65</m_delay>
<m_topoIndex>142</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_150">
<Value>
<Obj>
<type>0</type>
<id>219</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>604</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>143</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_151">
<Value>
<Obj>
<type>0</type>
<id>221</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>611</item>
<item>612</item>
<item>1005</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.65</m_delay>
<m_topoIndex>144</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_152">
<Value>
<Obj>
<type>0</type>
<id>222</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>157</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>157</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>613</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>145</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_153">
<Value>
<Obj>
<type>0</type>
<id>224</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>587</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>146</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_154">
<Value>
<Obj>
<type>0</type>
<id>226</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>95</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>588</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>147</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_155">
<Value>
<Obj>
<type>0</type>
<id>228</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>589</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.65</m_delay>
<m_topoIndex>43</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_156">
<Value>
<Obj>
<type>0</type>
<id>230</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>86</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>333</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.65</m_delay>
<m_topoIndex>22</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_157">
<Value>
<Obj>
<type>0</type>
<id>232</id>
<name>i1</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>335</item>
<item>336</item>
<item>337</item>
<item>338</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>148</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_158">
<Value>
<Obj>
<type>0</type>
<id>233</id>
<name>exitcond</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>86</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>339</item>
<item>340</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>0.58</m_delay>
<m_topoIndex>149</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_159">
<Value>
<Obj>
<type>0</type>
<id>235</id>
<name>i_2</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>86</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>3</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>341</item>
<item>342</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.67</m_delay>
<m_topoIndex>150</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_160">
<Value>
<Obj>
<type>0</type>
<id>236</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>86</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>343</item>
<item>344</item>
<item>345</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>151</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_161">
<Value>
<Obj>
<type>0</type>
<id>238</id>
<name>tmp_13</name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>88</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>2</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>346</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>152</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_162">
<Value>
<Obj>
<type>0</type>
<id>239</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>88</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>347</item>
<item>348</item>
<item>349</item>
<item>350</item>
<item>351</item>
<item>352</item>
<item>353</item>
<item>354</item>
</oprand_edges>
<opcode>switch</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.72</m_delay>
<m_topoIndex>153</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_163">
<Value>
<Obj>
<type>0</type>
<id>241</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</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>621</item>
<item>622</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.65</m_delay>
<m_topoIndex>154</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_164">
<Value>
<Obj>
<type>0</type>
<id>242</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>88</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>623</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>155</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_165">
<Value>
<Obj>
<type>0</type>
<id>244</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</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>618</item>
<item>619</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.65</m_delay>
<m_topoIndex>156</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_166">
<Value>
<Obj>
<type>0</type>
<id>245</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>88</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>620</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>157</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_167">
<Value>
<Obj>
<type>0</type>
<id>247</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</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>615</item>
<item>616</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.65</m_delay>
<m_topoIndex>158</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_168">
<Value>
<Obj>
<type>0</type>
<id>248</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>88</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>617</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>159</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_169">
<Value>
<Obj>
<type>0</type>
<id>250</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</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>624</item>
<item>625</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.65</m_delay>
<m_topoIndex>160</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_170">
<Value>
<Obj>
<type>0</type>
<id>251</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>88</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>88</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>626</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>161</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_171">
<Value>
<Obj>
<type>0</type>
<id>253</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>86</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>355</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>162</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_172">
<Value>
<Obj>
<type>0</type>
<id>255</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>590</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.65</m_delay>
<m_topoIndex>163</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_173">
<Value>
<Obj>
<type>0</type>
<id>257</id>
<name>first_flag_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>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>591</item>
<item>592</item>
<item>593</item>
<item>594</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>164</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_174">
<Value>
<Obj>
<type>0</type>
<id>258</id>
<name>first_new_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>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>595</item>
<item>596</item>
<item>597</item>
<item>598</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>165</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_175">
<Value>
<Obj>
<type>0</type>
<id>259</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>599</item>
<item>600</item>
<item>601</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>166</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_176">
<Value>
<Obj>
<type>0</type>
<id>261</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>81</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>81</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>656</item>
<item>657</item>
<item>1000</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.00</m_delay>
<m_topoIndex>167</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_177">
<Value>
<Obj>
<type>0</type>
<id>262</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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>658</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>168</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_178">
<Value>
<Obj>
<type>0</type>
<id>264</id>
<name></name>
<fileName>./estream_read/c_src/circ_buff_read_many_128.cpp</fileName>
<fileDirectory>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</fileDirectory>
<lineNumber>161</lineNumber>
<contextFuncName>circ_buff_read_many128</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ylxiao/ws_183/estream4fccm2021_1IP/workspace/hls_prj</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>./estream_read/c_src/circ_buff_read_many_128.cpp</first>
<second>circ_buff_read_many128</second>
</first>
<second>161</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>0</count>
<item_version>0</item_version>
</oprand_edges>
<opcode>ret</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>169</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>31</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_179">
<Value>
<Obj>
<type>2</type>
<id>272</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>4</content>
</item>
<item class_id_reference="16" object_id="_180">
<Value>
<Obj>
<type>2</type>
<id>274</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>31</content>
</item>
<item class_id_reference="16" object_id="_181">
<Value>
<Obj>
<type>2</type>
<id>277</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>1</content>
</item>
<item class_id_reference="16" object_id="_182">
<Value>
<Obj>
<type>2</type>
<id>286</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>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_183">
<Value>
<Obj>
<type>2</type>
<id>290</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>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>4</content>
</item>
<item class_id_reference="16" object_id="_184">
<Value>
<Obj>
<type>2</type>
<id>293</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>3</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_185">
<Value>
<Obj>
<type>2</type>
<id>300</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="_186">
<Value>
<Obj>
<type>2</type>
<id>307</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>2</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_187">
<Value>
<Obj>
<type>2</type>
<id>310</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>2</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_188">
<Value>
<Obj>
<type>2</type>
<id>313</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>2</bitwidth>
</Value>
<const_type>0</const_type>
<content>2</content>
</item>
<item class_id_reference="16" object_id="_189">
<Value>
<Obj>
<type>2</type>
<id>318</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_190">
<Value>
<Obj>
<type>2</type>
<id>321</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>1</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_191">
<Value>
<Obj>
<type>2</type>
<id>328</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>8</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_192">
<Value>
<Obj>
<type>2</type>
<id>371</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="_193">
<Value>
<Obj>
<type>2</type>
<id>377</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>12</bitwidth>
</Value>
<const_type>0</const_type>
<content>513</content>
</item>
<item class_id_reference="16" object_id="_194">
<Value>
<Obj>
<type>2</type>
<id>389</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>1</content>
</item>
<item class_id_reference="16" object_id="_195">
<Value>
<Obj>
<type>2</type>
<id>433</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>16</bitwidth>
</Value>
<const_type>0</const_type>
<content>512</content>
</item>
<item class_id_reference="16" object_id="_196">
<Value>
<Obj>
<type>2</type>
<id>446</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>15</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_197">
<Value>
<Obj>
<type>2</type>
<id>455</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>15</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_198">
<Value>
<Obj>
<type>2</type>
<id>486</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>9</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_199">
<Value>
<Obj>
<type>2</type>
<id>491</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>24</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_200">
<Value>
<Obj>
<type>2</type>
<id>500</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_201">
<Value>
<Obj>
<type>2</type>
<id>511</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>24</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_202">
<Value>
<Obj>
<type>2</type>
<id>517</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>4</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_203">
<Value>
<Obj>
<type>2</type>
<id>535</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>8</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_204">
<Value>
<Obj>
<type>2</type>
<id>537</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>8</bitwidth>
</Value>
<const_type>0</const_type>
<content>32</content>
</item>
<item class_id_reference="16" object_id="_205">
<Value>
<Obj>
<type>2</type>
<id>539</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>8</bitwidth>
</Value>
<const_type>0</const_type>
<content>64</content>
</item>
<item class_id_reference="16" object_id="_206">
<Value>
<Obj>
<type>2</type>
<id>541</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>8</bitwidth>
</Value>
<const_type>0</const_type>
<content>96</content>
</item>
<item class_id_reference="16" object_id="_207">
<Value>
<Obj>
<type>2</type>
<id>557</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>12</bitwidth>
</Value>
<const_type>0</const_type>
<content>512</content>
</item>
<item class_id_reference="16" object_id="_208">
<Value>
<Obj>
<type>2</type>
<id>574</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>16</bitwidth>
</Value>
<const_type>0</const_type>
<content>65535</content>
</item>
<item class_id_reference="16" object_id="_209">
<Value>
<Obj>
<type>2</type>
<id>614</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>16</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>45</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_210">
<Obj>
<type>3</type>
<id>45</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<node_objs>
<count>6</count>
<item_version>0</item_version>
<item>19</item>
<item>20</item>
<item>21</item>
<item>31</item>
<item>43</item>
<item>44</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_211">
<Obj>
<type>3</type>
<id>47</id>
<name>.preheader253.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>46</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_212">
<Obj>
<type>3</type>
<id>53</id>
<name>.preheader253</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>48</item>
<item>49</item>
<item>51</item>
<item>52</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_213">
<Obj>
<type>3</type>
<id>59</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>5</count>
<item_version>0</item_version>
<item>54</item>
<item>55</item>
<item>56</item>
<item>57</item>
<item>58</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_214">
<Obj>
<type>3</type>
<id>62</id>
<name>branch10</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>60</item>
<item>61</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_215">
<Obj>
<type>3</type>
<id>65</id>
<name>branch9</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>63</item>
<item>64</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_216">
<Obj>
<type>3</type>
<id>68</id>
<name>branch8</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>66</item>
<item>67</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_217">
<Obj>
<type>3</type>
<id>71</id>
<name>branch11</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>69</item>
<item>70</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_218">
<Obj>
<type>3</type>
<id>73</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>72</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_219">
<Obj>
<type>3</type>
<id>75</id>
<name>._crit_edge.loopexit</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>74</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_220">
<Obj>
<type>3</type>
<id>80</id>
<name>._crit_edge</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>76</item>
<item>77</item>
<item>78</item>
<item>79</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_221">
<Obj>
<type>3</type>
<id>82</id>
<name>.preheader250.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>81</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_222">
<Obj>
<type>3</type>
<id>88</id>
<name>.preheader250</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>83</item>
<item>84</item>
<item>86</item>
<item>87</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_223">
<Obj>
<type>3</type>
<id>118</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>29</count>
<item_version>0</item_version>
<item>89</item>
<item>90</item>
<item>91</item>
<item>92</item>
<item>93</item>
<item>94</item>
<item>95</item>
<item>96</item>
<item>97</item>
<item>98</item>
<item>99</item>
<item>100</item>
<item>101</item>
<item>102</item>
<item>103</item>
<item>104</item>
<item>105</item>
<item>106</item>
<item>107</item>
<item>108</item>
<item>109</item>
<item>110</item>
<item>111</item>
<item>112</item>
<item>113</item>
<item>114</item>
<item>115</item>
<item>116</item>
<item>117</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_224">
<Obj>
<type>3</type>
<id>125</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<node_objs>
<count>6</count>
<item_version>0</item_version>
<item>119</item>
<item>120</item>
<item>121</item>
<item>122</item>
<item>123</item>
<item>124</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_225">
<Obj>
<type>3</type>
<id>133</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<node_objs>
<count>6</count>
<item_version>0</item_version>
<item>126</item>
<item>127</item>
<item>128</item>
<item>129</item>
<item>131</item>
<item>132</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_226">
<Obj>
<type>3</type>
<id>153</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>15</count>
<item_version>0</item_version>
<item>137</item>
<item>138</item>
<item>139</item>
<item>140</item>
<item>141</item>
<item>142</item>
<item>143</item>
<item>144</item>
<item>145</item>
<item>146</item>
<item>147</item>
<item>148</item>
<item>149</item>
<item>150</item>
<item>152</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_227">
<Obj>
<type>3</type>
<id>158</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>4</count>
<item_version>0</item_version>
<item>154</item>
<item>155</item>
<item>156</item>
<item>157</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_228">
<Obj>
<type>3</type>
<id>167</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>8</count>
<item_version>0</item_version>
<item>159</item>
<item>160</item>
<item>161</item>
<item>162</item>
<item>163</item>
<item>164</item>
<item>165</item>
<item>166</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_229">
<Obj>
<type>3</type>
<id>184</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>12</count>
<item_version>0</item_version>
<item>169</item>
<item>170</item>
<item>171</item>
<item>172</item>
<item>173</item>
<item>174</item>
<item>178</item>
<item>179</item>
<item>180</item>
<item>181</item>
<item>182</item>
<item>183</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_230">
<Obj>
<type>3</type>
<id>187</id>
<name>branch29</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>185</item>
<item>186</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_231">
<Obj>
<type>3</type>
<id>190</id>
<name>branch18</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>188</item>
<item>189</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_232">
<Obj>
<type>3</type>
<id>193</id>
<name>branch07</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>191</item>
<item>192</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_233">
<Obj>
<type>3</type>
<id>196</id>
<name>branch310</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>194</item>
<item>195</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_234">
<Obj>
<type>3</type>
<id>200</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>2</count>
<item_version>0</item_version>
<item>198</item>
<item>199</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_235">
<Obj>
<type>3</type>
<id>211</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>10</count>
<item_version>0</item_version>
<item>201</item>
<item>202</item>
<item>203</item>
<item>204</item>
<item>205</item>
<item>206</item>
<item>207</item>
<item>208</item>
<item>209</item>
<item>210</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_236">
<Obj>
<type>3</type>
<id>214</id>
<name>branch2</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>212</item>
<item>213</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_237">
<Obj>
<type>3</type>
<id>217</id>
<name>branch1</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>215</item>
<item>216</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_238">
<Obj>
<type>3</type>
<id>220</id>
<name>branch0</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>218</item>
<item>219</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_239">
<Obj>
<type>3</type>
<id>223</id>
<name>branch3</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>221</item>
<item>222</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_240">
<Obj>
<type>3</type>
<id>225</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>224</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_241">
<Obj>
<type>3</type>
<id>227</id>
<name>.loopexit</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>226</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_242">
<Obj>
<type>3</type>
<id>229</id>
<name>.loopexit251.loopexit</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>228</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_243">
<Obj>
<type>3</type>
<id>231</id>
<name>.preheader252.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>230</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_244">
<Obj>
<type>3</type>
<id>237</id>
<name>.preheader252</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>232</item>
<item>233</item>
<item>235</item>
<item>236</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_245">
<Obj>
<type>3</type>
<id>240</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>2</count>
<item_version>0</item_version>
<item>238</item>
<item>239</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_246">
<Obj>
<type>3</type>
<id>243</id>
<name>branch6</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>241</item>
<item>242</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_247">
<Obj>
<type>3</type>
<id>246</id>
<name>branch5</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>244</item>
<item>245</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_248">
<Obj>
<type>3</type>
<id>249</id>
<name>branch4</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>247</item>
<item>248</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_249">
<Obj>
<type>3</type>
<id>252</id>
<name>branch7</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>250</item>
<item>251</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_250">
<Obj>
<type>3</type>
<id>254</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>253</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_251">
<Obj>
<type>3</type>
<id>256</id>
<name>.loopexit251.loopexit13</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>255</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_252">
<Obj>
<type>3</type>
<id>260</id>
<name>.loopexit251</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>3</count>
<item_version>0</item_version>
<item>257</item>
<item>258</item>
<item>259</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_253">
<Obj>
<type>3</type>
<id>263</id>
<name>mergeST</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>261</item>
<item>262</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_254">
<Obj>
<type>3</type>
<id>265</id>
<name>.loopexit251.new</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>264</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>412</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_255">
<id>268</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>19</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_256">
<id>271</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>20</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_257">
<id>273</id>
<edge_type>1</edge_type>
<source_obj>272</source_obj>
<sink_obj>20</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_258">
<id>275</id>
<edge_type>1</edge_type>
<source_obj>274</source_obj>
<sink_obj>20</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_259">
<id>276</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_260">
<id>278</id>
<edge_type>1</edge_type>
<source_obj>277</source_obj>
<sink_obj>31</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_261">
<id>279</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>43</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_262">
<id>280</id>
<edge_type>1</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="_263">
<id>281</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_264">
<id>282</id>
<edge_type>2</edge_type>
<source_obj>80</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_265">
<id>283</id>
<edge_type>2</edge_type>
<source_obj>53</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_266">
<id>284</id>
<edge_type>1</edge_type>
<source_obj>51</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_267">
<id>285</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_268">
<id>287</id>
<edge_type>1</edge_type>
<source_obj>286</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_269">
<id>288</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_270">
<id>289</id>
<edge_type>1</edge_type>
<source_obj>48</source_obj>
<sink_obj>49</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_271">
<id>291</id>
<edge_type>1</edge_type>
<source_obj>290</source_obj>
<sink_obj>49</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_272">
<id>292</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="_273">
<id>294</id>
<edge_type>1</edge_type>
<source_obj>293</source_obj>
<sink_obj>51</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_274">
<id>295</id>
<edge_type>1</edge_type>
<source_obj>49</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_275">
<id>296</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_276">
<id>297</id>
<edge_type>2</edge_type>
<source_obj>75</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_277">
<id>298</id>
<edge_type>1</edge_type>
<source_obj>48</source_obj>
<sink_obj>54</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_278">
<id>299</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>55</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_279">
<id>301</id>
<edge_type>1</edge_type>
<source_obj>300</source_obj>
<sink_obj>55</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_280">
<id>302</id>
<edge_type>1</edge_type>
<source_obj>54</source_obj>
<sink_obj>55</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_281">
<id>303</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="_282">
<id>304</id>
<edge_type>1</edge_type>
<source_obj>48</source_obj>
<sink_obj>57</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_283">
<id>305</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="_284">
<id>306</id>
<edge_type>2</edge_type>
<source_obj>71</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_285">
<id>308</id>
<edge_type>1</edge_type>
<source_obj>307</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_286">
<id>309</id>
<edge_type>2</edge_type>
<source_obj>68</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_287">
<id>311</id>
<edge_type>1</edge_type>
<source_obj>310</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_288">
<id>312</id>
<edge_type>2</edge_type>
<source_obj>65</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_289">
<id>314</id>
<edge_type>1</edge_type>
<source_obj>313</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_290">
<id>315</id>
<edge_type>2</edge_type>
<source_obj>62</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_291">
<id>316</id>
<edge_type>2</edge_type>
<source_obj>53</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_292">
<id>317</id>
<edge_type>2</edge_type>
<source_obj>80</source_obj>
<sink_obj>74</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_293">
<id>319</id>
<edge_type>1</edge_type>
<source_obj>318</source_obj>
<sink_obj>76</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_294">
<id>320</id>
<edge_type>2</edge_type>
<source_obj>45</source_obj>
<sink_obj>76</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_295">
<id>322</id>
<edge_type>1</edge_type>
<source_obj>321</source_obj>
<sink_obj>76</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_296">
<id>323</id>
<edge_type>2</edge_type>
<source_obj>75</source_obj>
<sink_obj>76</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_297">
<id>326</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>77</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_298">
<id>327</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="_299">
<id>329</id>
<edge_type>1</edge_type>
<source_obj>328</source_obj>
<sink_obj>78</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_300">
<id>330</id>
<edge_type>1</edge_type>
<source_obj>78</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_301">
<id>331</id>
<edge_type>2</edge_type>
<source_obj>82</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_302">
<id>332</id>
<edge_type>2</edge_type>
<source_obj>231</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_303">
<id>333</id>
<edge_type>2</edge_type>
<source_obj>237</source_obj>
<sink_obj>230</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_304">
<id>334</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_305">
<id>335</id>
<edge_type>1</edge_type>
<source_obj>235</source_obj>
<sink_obj>232</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_306">
<id>336</id>
<edge_type>2</edge_type>
<source_obj>254</source_obj>
<sink_obj>232</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_307">
<id>337</id>
<edge_type>1</edge_type>
<source_obj>286</source_obj>
<sink_obj>232</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_308">
<id>338</id>
<edge_type>2</edge_type>
<source_obj>231</source_obj>
<sink_obj>232</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_309">
<id>339</id>
<edge_type>1</edge_type>
<source_obj>232</source_obj>
<sink_obj>233</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_310">
<id>340</id>
<edge_type>1</edge_type>
<source_obj>290</source_obj>
<sink_obj>233</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_311">
<id>341</id>
<edge_type>1</edge_type>
<source_obj>232</source_obj>
<sink_obj>235</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_312">
<id>342</id>
<edge_type>1</edge_type>
<source_obj>293</source_obj>
<sink_obj>235</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_313">
<id>343</id>
<edge_type>1</edge_type>
<source_obj>233</source_obj>
<sink_obj>236</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_314">
<id>344</id>
<edge_type>2</edge_type>
<source_obj>240</source_obj>
<sink_obj>236</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_315">
<id>345</id>
<edge_type>2</edge_type>
<source_obj>256</source_obj>
<sink_obj>236</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_316">
<id>346</id>
<edge_type>1</edge_type>
<source_obj>232</source_obj>
<sink_obj>238</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_317">
<id>347</id>
<edge_type>1</edge_type>
<source_obj>238</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_318">
<id>348</id>
<edge_type>2</edge_type>
<source_obj>252</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_319">
<id>349</id>
<edge_type>1</edge_type>
<source_obj>307</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_320">
<id>350</id>
<edge_type>2</edge_type>
<source_obj>249</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_321">
<id>351</id>
<edge_type>1</edge_type>
<source_obj>310</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_322">
<id>352</id>
<edge_type>2</edge_type>
<source_obj>246</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_323">
<id>353</id>
<edge_type>1</edge_type>
<source_obj>313</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_324">
<id>354</id>
<edge_type>2</edge_type>
<source_obj>243</source_obj>
<sink_obj>239</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_325">
<id>355</id>
<edge_type>2</edge_type>
<source_obj>237</source_obj>
<sink_obj>253</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_326">
<id>356</id>
<edge_type>1</edge_type>
<source_obj>86</source_obj>
<sink_obj>83</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_327">
<id>357</id>
<edge_type>2</edge_type>
<source_obj>227</source_obj>
<sink_obj>83</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_328">
<id>358</id>
<edge_type>1</edge_type>
<source_obj>286</source_obj>
<sink_obj>83</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_329">
<id>359</id>
<edge_type>2</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="_330">
<id>360</id>
<edge_type>1</edge_type>
<source_obj>83</source_obj>
<sink_obj>84</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_331">
<id>361</id>
<edge_type>1</edge_type>
<source_obj>290</source_obj>
<sink_obj>84</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_332">
<id>362</id>
<edge_type>1</edge_type>
<source_obj>83</source_obj>
<sink_obj>86</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_333">
<id>363</id>
<edge_type>1</edge_type>
<source_obj>293</source_obj>
<sink_obj>86</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_334">
<id>364</id>
<edge_type>1</edge_type>
<source_obj>84</source_obj>
<sink_obj>87</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_335">
<id>365</id>
<edge_type>2</edge_type>
<source_obj>118</source_obj>
<sink_obj>87</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_336">
<id>366</id>
<edge_type>2</edge_type>
<source_obj>229</source_obj>
<sink_obj>87</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_337">
<id>367</id>
<edge_type>1</edge_type>
<source_obj>83</source_obj>
<sink_obj>89</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_338">
<id>370</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>90</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_339">
<id>372</id>
<edge_type>1</edge_type>
<source_obj>371</source_obj>
<sink_obj>90</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_340">
<id>373</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>90</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_341">
<id>374</id>
<edge_type>1</edge_type>
<source_obj>318</source_obj>
<sink_obj>90</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_342">
<id>375</id>
<edge_type>1</edge_type>
<source_obj>90</source_obj>
<sink_obj>91</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_343">
<id>376</id>
<edge_type>1</edge_type>
<source_obj>90</source_obj>
<sink_obj>92</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_344">
<id>378</id>
<edge_type>1</edge_type>
<source_obj>377</source_obj>
<sink_obj>93</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_345">
<id>379</id>
<edge_type>1</edge_type>
<source_obj>92</source_obj>
<sink_obj>93</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_346">
<id>380</id>
<edge_type>1</edge_type>
<source_obj>93</source_obj>
<sink_obj>94</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_347">
<id>381</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>95</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_348">
<id>382</id>
<edge_type>1</edge_type>
<source_obj>94</source_obj>
<sink_obj>95</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_349">
<id>383</id>
<edge_type>1</edge_type>
<source_obj>95</source_obj>
<sink_obj>96</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_350">
<id>384</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>97</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_351">
<id>385</id>
<edge_type>1</edge_type>
<source_obj>96</source_obj>
<sink_obj>97</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_352">
<id>388</id>
<edge_type>1</edge_type>
<source_obj>97</source_obj>
<sink_obj>98</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_353">
<id>390</id>
<edge_type>1</edge_type>
<source_obj>389</source_obj>
<sink_obj>98</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_354">
<id>393</id>
<edge_type>1</edge_type>
<source_obj>97</source_obj>
<sink_obj>99</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_355">
<id>394</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>100</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_356">
<id>395</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>101</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_357">
<id>396</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>102</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_358">
<id>397</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>103</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_359">
<id>398</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>104</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_360">
<id>399</id>
<edge_type>1</edge_type>
<source_obj>307</source_obj>
<sink_obj>104</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_361">
<id>400</id>
<edge_type>1</edge_type>
<source_obj>104</source_obj>
<sink_obj>105</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_362">
<id>401</id>
<edge_type>1</edge_type>
<source_obj>101</source_obj>
<sink_obj>105</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_363">
<id>402</id>
<edge_type>1</edge_type>
<source_obj>100</source_obj>
<sink_obj>105</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_364">
<id>403</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>106</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_365">
<id>404</id>
<edge_type>1</edge_type>
<source_obj>310</source_obj>
<sink_obj>106</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_366">
<id>405</id>
<edge_type>1</edge_type>
<source_obj>106</source_obj>
<sink_obj>107</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_367">
<id>406</id>
<edge_type>1</edge_type>
<source_obj>102</source_obj>
<sink_obj>107</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_368">
<id>407</id>
<edge_type>1</edge_type>
<source_obj>105</source_obj>
<sink_obj>107</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_369">
<id>408</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>108</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_370">
<id>409</id>
<edge_type>1</edge_type>
<source_obj>313</source_obj>
<sink_obj>108</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_371">
<id>410</id>
<edge_type>1</edge_type>
<source_obj>108</source_obj>
<sink_obj>109</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_372">
<id>411</id>
<edge_type>1</edge_type>
<source_obj>103</source_obj>
<sink_obj>109</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_373">
<id>412</id>
<edge_type>1</edge_type>
<source_obj>107</source_obj>
<sink_obj>109</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_374">
<id>413</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>110</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_375">
<id>414</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>111</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_376">
<id>415</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>112</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_377">
<id>416</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>113</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_378">
<id>419</id>
<edge_type>1</edge_type>
<source_obj>110</source_obj>
<sink_obj>114</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_379">
<id>420</id>
<edge_type>1</edge_type>
<source_obj>111</source_obj>
<sink_obj>114</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_380">
<id>421</id>
<edge_type>1</edge_type>
<source_obj>112</source_obj>
<sink_obj>114</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_381">
<id>422</id>
<edge_type>1</edge_type>
<source_obj>113</source_obj>
<sink_obj>114</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_382">
<id>423</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>114</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_383">
<id>424</id>
<edge_type>1</edge_type>
<source_obj>109</source_obj>
<sink_obj>115</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_384">
<id>425</id>
<edge_type>1</edge_type>
<source_obj>115</source_obj>
<sink_obj>116</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_385">
<id>426</id>
<edge_type>1</edge_type>
<source_obj>99</source_obj>
<sink_obj>116</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_386">
<id>427</id>
<edge_type>1</edge_type>
<source_obj>116</source_obj>
<sink_obj>117</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_387">
<id>428</id>
<edge_type>2</edge_type>
<source_obj>125</source_obj>
<sink_obj>117</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_388">
<id>429</id>
<edge_type>2</edge_type>
<source_obj>227</source_obj>
<sink_obj>117</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_389">
<id>430</id>
<edge_type>1</edge_type>
<source_obj>99</source_obj>
<sink_obj>119</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_390">
<id>431</id>
<edge_type>1</edge_type>
<source_obj>115</source_obj>
<sink_obj>119</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_391">
<id>432</id>
<edge_type>1</edge_type>
<source_obj>99</source_obj>
<sink_obj>120</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_392">
<id>434</id>
<edge_type>1</edge_type>
<source_obj>433</source_obj>
<sink_obj>121</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_393">
<id>435</id>
<edge_type>1</edge_type>
<source_obj>120</source_obj>
<sink_obj>121</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_394">
<id>436</id>
<edge_type>1</edge_type>
<source_obj>119</source_obj>
<sink_obj>122</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_395">
<id>437</id>
<edge_type>1</edge_type>
<source_obj>120</source_obj>
<sink_obj>122</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_396">
<id>438</id>
<edge_type>1</edge_type>
<source_obj>121</source_obj>
<sink_obj>122</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_397">
<id>439</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>123</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_398">
<id>440</id>
<edge_type>1</edge_type>
<source_obj>109</source_obj>
<sink_obj>123</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_399">
<id>441</id>
<edge_type>2</edge_type>
<source_obj>133</source_obj>
<sink_obj>124</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_400">
<id>442</id>
<edge_type>1</edge_type>
<source_obj>109</source_obj>
<sink_obj>126</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_401">
<id>443</id>
<edge_type>2</edge_type>
<source_obj>125</source_obj>
<sink_obj>126</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_402">
<id>444</id>
<edge_type>1</edge_type>
<source_obj>150</source_obj>
<sink_obj>126</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_403">
<id>445</id>
<edge_type>2</edge_type>
<source_obj>153</source_obj>
<sink_obj>126</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_404">
<id>447</id>
<edge_type>1</edge_type>
<source_obj>446</source_obj>
<sink_obj>127</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_405">
<id>448</id>
<edge_type>2</edge_type>
<source_obj>125</source_obj>
<sink_obj>127</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_406">
<id>449</id>
<edge_type>1</edge_type>
<source_obj>131</source_obj>
<sink_obj>127</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_407">
<id>450</id>
<edge_type>2</edge_type>
<source_obj>153</source_obj>
<sink_obj>127</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_408">
<id>451</id>
<edge_type>1</edge_type>
<source_obj>127</source_obj>
<sink_obj>128</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_409">
<id>452</id>
<edge_type>1</edge_type>
<source_obj>128</source_obj>
<sink_obj>129</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_410">
<id>453</id>
<edge_type>1</edge_type>
<source_obj>123</source_obj>
<sink_obj>129</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_411">
<id>454</id>
<edge_type>1</edge_type>
<source_obj>127</source_obj>
<sink_obj>131</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_412">
<id>456</id>
<edge_type>1</edge_type>
<source_obj>455</source_obj>
<sink_obj>131</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_413">
<id>457</id>
<edge_type>1</edge_type>
<source_obj>129</source_obj>
<sink_obj>132</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_414">
<id>458</id>
<edge_type>2</edge_type>
<source_obj>158</source_obj>
<sink_obj>132</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_415">
<id>459</id>
<edge_type>2</edge_type>
<source_obj>153</source_obj>
<sink_obj>132</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_416">
<id>460</id>
<edge_type>1</edge_type>
<source_obj>123</source_obj>
<sink_obj>154</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_417">
<id>461</id>
<edge_type>1</edge_type>
<source_obj>114</source_obj>
<sink_obj>155</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_418">
<id>462</id>
<edge_type>1</edge_type>
<source_obj>155</source_obj>
<sink_obj>156</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_419">
<id>463</id>
<edge_type>1</edge_type>
<source_obj>154</source_obj>
<sink_obj>156</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_420">
<id>464</id>
<edge_type>2</edge_type>
<source_obj>167</source_obj>
<sink_obj>157</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_421">
<id>465</id>
<edge_type>1</edge_type>
<source_obj>127</source_obj>
<sink_obj>137</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_422">
<id>466</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>138</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_423">
<id>467</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>139</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_424">
<id>468</id>
<edge_type>1</edge_type>
<source_obj>91</source_obj>
<sink_obj>139</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_425">
<id>469</id>
<edge_type>1</edge_type>
<source_obj>139</source_obj>
<sink_obj>140</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_426">
<id>470</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>141</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_427">
<id>471</id>
<edge_type>1</edge_type>
<source_obj>140</source_obj>
<sink_obj>141</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_428">
<id>472</id>
<edge_type>1</edge_type>
<source_obj>141</source_obj>
<sink_obj>142</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_429">
<id>473</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>143</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_430">
<id>474</id>
<edge_type>1</edge_type>
<source_obj>142</source_obj>
<sink_obj>143</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_431">
<id>476</id>
<edge_type>1</edge_type>
<source_obj>143</source_obj>
<sink_obj>144</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_432">
<id>477</id>
<edge_type>1</edge_type>
<source_obj>389</source_obj>
<sink_obj>144</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_433">
<id>479</id>
<edge_type>1</edge_type>
<source_obj>143</source_obj>
<sink_obj>145</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_434">
<id>480</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>146</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_435">
<id>481</id>
<edge_type>1</edge_type>
<source_obj>300</source_obj>
<sink_obj>146</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_436">
<id>482</id>
<edge_type>1</edge_type>
<source_obj>137</source_obj>
<sink_obj>146</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_437">
<id>483</id>
<edge_type>1</edge_type>
<source_obj>145</source_obj>
<sink_obj>147</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_438">
<id>484</id>
<edge_type>1</edge_type>
<source_obj>146</source_obj>
<sink_obj>147</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_439">
<id>485</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>148</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_440">
<id>487</id>
<edge_type>1</edge_type>
<source_obj>486</source_obj>
<sink_obj>149</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_441">
<id>488</id>
<edge_type>1</edge_type>
<source_obj>148</source_obj>
<sink_obj>149</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_442">
<id>489</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>150</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_443">
<id>490</id>
<edge_type>2</edge_type>
<source_obj>133</source_obj>
<sink_obj>152</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_444">
<id>492</id>
<edge_type>1</edge_type>
<source_obj>491</source_obj>
<sink_obj>159</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_445">
<id>493</id>
<edge_type>2</edge_type>
<source_obj>158</source_obj>
<sink_obj>159</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_446">
<id>494</id>
<edge_type>1</edge_type>
<source_obj>165</source_obj>
<sink_obj>159</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_447">
<id>495</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>159</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_448">
<id>496</id>
<edge_type>1</edge_type>
<source_obj>446</source_obj>
<sink_obj>160</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_449">
<id>497</id>
<edge_type>2</edge_type>
<source_obj>158</source_obj>
<sink_obj>160</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_450">
<id>498</id>
<edge_type>1</edge_type>
<source_obj>171</source_obj>
<sink_obj>160</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_451">
<id>499</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>160</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_452">
<id>501</id>
<edge_type>1</edge_type>
<source_obj>500</source_obj>
<sink_obj>161</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_453">
<id>502</id>
<edge_type>2</edge_type>
<source_obj>158</source_obj>
<sink_obj>161</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_454">
<id>503</id>
<edge_type>1</edge_type>
<source_obj>198</source_obj>
<sink_obj>161</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_455">
<id>504</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>161</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_456">
<id>505</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>162</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_457">
<id>506</id>
<edge_type>1</edge_type>
<source_obj>162</source_obj>
<sink_obj>163</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_458">
<id>507</id>
<edge_type>1</edge_type>
<source_obj>114</source_obj>
<sink_obj>163</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_459">
<id>508</id>
<edge_type>1</edge_type>
<source_obj>159</source_obj>
<sink_obj>164</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_460">
<id>509</id>
<edge_type>1</edge_type>
<source_obj>156</source_obj>
<sink_obj>164</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_461">
<id>510</id>
<edge_type>1</edge_type>
<source_obj>159</source_obj>
<sink_obj>165</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_462">
<id>512</id>
<edge_type>1</edge_type>
<source_obj>511</source_obj>
<sink_obj>165</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_463">
<id>513</id>
<edge_type>1</edge_type>
<source_obj>164</source_obj>
<sink_obj>166</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_464">
<id>514</id>
<edge_type>2</edge_type>
<source_obj>184</source_obj>
<sink_obj>166</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_465">
<id>515</id>
<edge_type>2</edge_type>
<source_obj>211</source_obj>
<sink_obj>166</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_466">
<id>516</id>
<edge_type>1</edge_type>
<source_obj>169</source_obj>
<sink_obj>198</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_467">
<id>518</id>
<edge_type>1</edge_type>
<source_obj>517</source_obj>
<sink_obj>198</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_468">
<id>519</id>
<edge_type>2</edge_type>
<source_obj>167</source_obj>
<sink_obj>199</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_469">
<id>520</id>
<edge_type>1</edge_type>
<source_obj>163</source_obj>
<sink_obj>169</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_470">
<id>521</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>169</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_471">
<id>522</id>
<edge_type>1</edge_type>
<source_obj>500</source_obj>
<sink_obj>169</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_472">
<id>523</id>
<edge_type>1</edge_type>
<source_obj>455</source_obj>
<sink_obj>170</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_473">
<id>524</id>
<edge_type>1</edge_type>
<source_obj>160</source_obj>
<sink_obj>170</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_474">
<id>525</id>
<edge_type>1</edge_type>
<source_obj>163</source_obj>
<sink_obj>171</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_475">
<id>526</id>
<edge_type>1</edge_type>
<source_obj>160</source_obj>
<sink_obj>171</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_476">
<id>527</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>171</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_477">
<id>528</id>
<edge_type>1</edge_type>
<source_obj>171</source_obj>
<sink_obj>172</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_478">
<id>529</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>173</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_479">
<id>530</id>
<edge_type>1</edge_type>
<source_obj>300</source_obj>
<sink_obj>173</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_480">
<id>531</id>
<edge_type>1</edge_type>
<source_obj>172</source_obj>
<sink_obj>173</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_481">
<id>532</id>
<edge_type>1</edge_type>
<source_obj>173</source_obj>
<sink_obj>174</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_482">
<id>533</id>
<edge_type>1</edge_type>
<source_obj>169</source_obj>
<sink_obj>178</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_483">
<id>536</id>
<edge_type>1</edge_type>
<source_obj>535</source_obj>
<sink_obj>179</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_484">
<id>538</id>
<edge_type>1</edge_type>
<source_obj>537</source_obj>
<sink_obj>179</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_485">
<id>540</id>
<edge_type>1</edge_type>
<source_obj>539</source_obj>
<sink_obj>179</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_486">
<id>542</id>
<edge_type>1</edge_type>
<source_obj>541</source_obj>
<sink_obj>179</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_487">
<id>543</id>
<edge_type>1</edge_type>
<source_obj>178</source_obj>
<sink_obj>179</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_488">
<id>544</id>
<edge_type>1</edge_type>
<source_obj>179</source_obj>
<sink_obj>180</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_489">
<id>545</id>
<edge_type>1</edge_type>
<source_obj>174</source_obj>
<sink_obj>181</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_490">
<id>546</id>
<edge_type>1</edge_type>
<source_obj>180</source_obj>
<sink_obj>181</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_491">
<id>547</id>
<edge_type>1</edge_type>
<source_obj>181</source_obj>
<sink_obj>182</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_492">
<id>548</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_493">
<id>549</id>
<edge_type>2</edge_type>
<source_obj>196</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_494">
<id>550</id>
<edge_type>1</edge_type>
<source_obj>307</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_495">
<id>551</id>
<edge_type>2</edge_type>
<source_obj>193</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_496">
<id>552</id>
<edge_type>1</edge_type>
<source_obj>310</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_497">
<id>553</id>
<edge_type>2</edge_type>
<source_obj>190</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_498">
<id>554</id>
<edge_type>1</edge_type>
<source_obj>313</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_499">
<id>555</id>
<edge_type>2</edge_type>
<source_obj>187</source_obj>
<sink_obj>183</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_500">
<id>556</id>
<edge_type>1</edge_type>
<source_obj>92</source_obj>
<sink_obj>201</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_501">
<id>558</id>
<edge_type>1</edge_type>
<source_obj>557</source_obj>
<sink_obj>201</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_502">
<id>559</id>
<edge_type>1</edge_type>
<source_obj>201</source_obj>
<sink_obj>202</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_503">
<id>560</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>203</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_504">
<id>561</id>
<edge_type>1</edge_type>
<source_obj>202</source_obj>
<sink_obj>204</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_505">
<id>562</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>204</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_506">
<id>563</id>
<edge_type>1</edge_type>
<source_obj>204</source_obj>
<sink_obj>205</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_507">
<id>564</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>206</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_508">
<id>565</id>
<edge_type>1</edge_type>
<source_obj>205</source_obj>
<sink_obj>206</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_509">
<id>568</id>
<edge_type>1</edge_type>
<source_obj>206</source_obj>
<sink_obj>207</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_510">
<id>569</id>
<edge_type>1</edge_type>
<source_obj>389</source_obj>
<sink_obj>207</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_511">
<id>572</id>
<edge_type>1</edge_type>
<source_obj>206</source_obj>
<sink_obj>208</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_512">
<id>573</id>
<edge_type>1</edge_type>
<source_obj>203</source_obj>
<sink_obj>208</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_513">
<id>575</id>
<edge_type>1</edge_type>
<source_obj>574</source_obj>
<sink_obj>208</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_514">
<id>578</id>
<edge_type>1</edge_type>
<source_obj>206</source_obj>
<sink_obj>209</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_515">
<id>579</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_516">
<id>580</id>
<edge_type>2</edge_type>
<source_obj>223</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_517">
<id>581</id>
<edge_type>1</edge_type>
<source_obj>307</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_518">
<id>582</id>
<edge_type>2</edge_type>
<source_obj>220</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_519">
<id>583</id>
<edge_type>1</edge_type>
<source_obj>310</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_520">
<id>584</id>
<edge_type>2</edge_type>
<source_obj>217</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_521">
<id>585</id>
<edge_type>1</edge_type>
<source_obj>313</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_522">
<id>586</id>
<edge_type>2</edge_type>
<source_obj>214</source_obj>
<sink_obj>210</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_523">
<id>587</id>
<edge_type>2</edge_type>
<source_obj>227</source_obj>
<sink_obj>224</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_524">
<id>588</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>226</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_525">
<id>589</id>
<edge_type>2</edge_type>
<source_obj>260</source_obj>
<sink_obj>228</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_526">
<id>590</id>
<edge_type>2</edge_type>
<source_obj>260</source_obj>
<sink_obj>255</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_527">
<id>591</id>
<edge_type>1</edge_type>
<source_obj>76</source_obj>
<sink_obj>257</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_528">
<id>592</id>
<edge_type>2</edge_type>
<source_obj>229</source_obj>
<sink_obj>257</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_529">
<id>593</id>
<edge_type>1</edge_type>
<source_obj>321</source_obj>
<sink_obj>257</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_530">
<id>594</id>
<edge_type>2</edge_type>
<source_obj>256</source_obj>
<sink_obj>257</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_531">
<id>595</id>
<edge_type>1</edge_type>
<source_obj>321</source_obj>
<sink_obj>258</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_532">
<id>596</id>
<edge_type>2</edge_type>
<source_obj>229</source_obj>
<sink_obj>258</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_533">
<id>597</id>
<edge_type>1</edge_type>
<source_obj>318</source_obj>
<sink_obj>258</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_534">
<id>598</id>
<edge_type>2</edge_type>
<source_obj>256</source_obj>
<sink_obj>258</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_535">
<id>599</id>
<edge_type>1</edge_type>
<source_obj>257</source_obj>
<sink_obj>259</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_536">
<id>600</id>
<edge_type>2</edge_type>
<source_obj>265</source_obj>
<sink_obj>259</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_537">
<id>601</id>
<edge_type>2</edge_type>
<source_obj>263</source_obj>
<sink_obj>259</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_538">
<id>602</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>218</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_539">
<id>603</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>218</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_540">
<id>604</id>
<edge_type>2</edge_type>
<source_obj>225</source_obj>
<sink_obj>219</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_541">
<id>605</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>215</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_542">
<id>606</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>215</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_543">
<id>607</id>
<edge_type>2</edge_type>
<source_obj>225</source_obj>
<sink_obj>216</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_544">
<id>608</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>212</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_545">
<id>609</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>212</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_546">
<id>610</id>
<edge_type>2</edge_type>
<source_obj>225</source_obj>
<sink_obj>213</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_547">
<id>611</id>
<edge_type>1</edge_type>
<source_obj>126</source_obj>
<sink_obj>221</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_548">
<id>612</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>221</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_549">
<id>613</id>
<edge_type>2</edge_type>
<source_obj>225</source_obj>
<sink_obj>222</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_550">
<id>615</id>
<edge_type>1</edge_type>
<source_obj>614</source_obj>
<sink_obj>247</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_551">
<id>616</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>247</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_552">
<id>617</id>
<edge_type>2</edge_type>
<source_obj>254</source_obj>
<sink_obj>248</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_553">
<id>618</id>
<edge_type>1</edge_type>
<source_obj>614</source_obj>
<sink_obj>244</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_554">
<id>619</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>244</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_555">
<id>620</id>
<edge_type>2</edge_type>
<source_obj>254</source_obj>
<sink_obj>245</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_556">
<id>621</id>
<edge_type>1</edge_type>
<source_obj>614</source_obj>
<sink_obj>241</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_557">
<id>622</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>241</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_558">
<id>623</id>
<edge_type>2</edge_type>
<source_obj>254</source_obj>
<sink_obj>242</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_559">
<id>624</id>
<edge_type>1</edge_type>
<source_obj>614</source_obj>
<sink_obj>250</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_560">
<id>625</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>250</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_561">
<id>626</id>
<edge_type>2</edge_type>
<source_obj>254</source_obj>
<sink_obj>251</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_562">
<id>627</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>66</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_563">
<id>628</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>66</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_564">
<id>629</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>67</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_565">
<id>630</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_566">
<id>631</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_567">
<id>632</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>64</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_568">
<id>633</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>60</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_569">
<id>634</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>60</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_570">
<id>635</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>61</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_571">
<id>636</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>69</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_572">
<id>637</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>69</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_573">
<id>638</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>70</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_574">
<id>641</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>191</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_575">
<id>642</id>
<edge_type>1</edge_type>
<source_obj>182</source_obj>
<sink_obj>191</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_576">
<id>643</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>192</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_577">
<id>645</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>188</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_578">
<id>646</id>
<edge_type>1</edge_type>
<source_obj>182</source_obj>
<sink_obj>188</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_579">
<id>647</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>189</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_580">
<id>649</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>185</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_581">
<id>650</id>
<edge_type>1</edge_type>
<source_obj>182</source_obj>
<sink_obj>185</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_582">
<id>651</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>186</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_583">
<id>653</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>194</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_584">
<id>654</id>
<edge_type>1</edge_type>
<source_obj>182</source_obj>
<sink_obj>194</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_585">
<id>655</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>195</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_586">
<id>656</id>
<edge_type>1</edge_type>
<source_obj>258</source_obj>
<sink_obj>261</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_587">
<id>657</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>261</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_588">
<id>658</id>
<edge_type>2</edge_type>
<source_obj>265</source_obj>
<sink_obj>262</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_589">
<id>930</id>
<edge_type>2</edge_type>
<source_obj>45</source_obj>
<sink_obj>80</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_590">
<id>931</id>
<edge_type>2</edge_type>
<source_obj>45</source_obj>
<sink_obj>47</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_591">
<id>932</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_592">
<id>933</id>
<edge_type>2</edge_type>
<source_obj>53</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_593">
<id>934</id>
<edge_type>2</edge_type>
<source_obj>53</source_obj>
<sink_obj>59</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_594">
<id>935</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>71</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_595">
<id>936</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>68</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_596">
<id>937</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="_597">
<id>938</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>62</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_598">
<id>939</id>
<edge_type>2</edge_type>
<source_obj>62</source_obj>
<sink_obj>73</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_599">
<id>940</id>
<edge_type>2</edge_type>
<source_obj>65</source_obj>
<sink_obj>73</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_600">
<id>941</id>
<edge_type>2</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="_601">
<id>942</id>
<edge_type>2</edge_type>
<source_obj>71</source_obj>
<sink_obj>73</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_602">
<id>943</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_603">
<id>944</id>
<edge_type>2</edge_type>
<source_obj>75</source_obj>
<sink_obj>80</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_604">
<id>945</id>
<edge_type>2</edge_type>
<source_obj>80</source_obj>
<sink_obj>231</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_605">
<id>946</id>
<edge_type>2</edge_type>
<source_obj>80</source_obj>
<sink_obj>82</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_606">
<id>947</id>
<edge_type>2</edge_type>
<source_obj>82</source_obj>
<sink_obj>88</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_607">
<id>948</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>229</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_608">
<id>949</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>118</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_609">
<id>950</id>
<edge_type>2</edge_type>
<source_obj>118</source_obj>
<sink_obj>227</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_610">
<id>951</id>
<edge_type>2</edge_type>
<source_obj>118</source_obj>
<sink_obj>125</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_611">
<id>952</id>
<edge_type>2</edge_type>
<source_obj>125</source_obj>
<sink_obj>133</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_612">
<id>953</id>
<edge_type>2</edge_type>
<source_obj>133</source_obj>
<sink_obj>153</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_613">
<id>954</id>
<edge_type>2</edge_type>
<source_obj>133</source_obj>
<sink_obj>158</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_614">
<id>955</id>
<edge_type>2</edge_type>
<source_obj>153</source_obj>
<sink_obj>133</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_615">
<id>956</id>
<edge_type>2</edge_type>
<source_obj>158</source_obj>
<sink_obj>167</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_616">
<id>957</id>
<edge_type>2</edge_type>
<source_obj>167</source_obj>
<sink_obj>211</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_617">
<id>958</id>
<edge_type>2</edge_type>
<source_obj>167</source_obj>
<sink_obj>184</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_618">
<id>959</id>
<edge_type>2</edge_type>
<source_obj>184</source_obj>
<sink_obj>196</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_619">
<id>960</id>
<edge_type>2</edge_type>
<source_obj>184</source_obj>
<sink_obj>193</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_620">
<id>961</id>
<edge_type>2</edge_type>
<source_obj>184</source_obj>
<sink_obj>190</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_621">
<id>962</id>
<edge_type>2</edge_type>
<source_obj>184</source_obj>
<sink_obj>187</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_622">
<id>963</id>
<edge_type>2</edge_type>
<source_obj>187</source_obj>
<sink_obj>200</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_623">
<id>964</id>
<edge_type>2</edge_type>
<source_obj>190</source_obj>
<sink_obj>200</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_624">
<id>965</id>
<edge_type>2</edge_type>
<source_obj>193</source_obj>
<sink_obj>200</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_625">
<id>966</id>
<edge_type>2</edge_type>
<source_obj>196</source_obj>
<sink_obj>200</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_626">
<id>967</id>
<edge_type>2</edge_type>
<source_obj>200</source_obj>
<sink_obj>167</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_627">
<id>968</id>
<edge_type>2</edge_type>
<source_obj>211</source_obj>
<sink_obj>223</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_628">
<id>969</id>
<edge_type>2</edge_type>
<source_obj>211</source_obj>
<sink_obj>220</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_629">
<id>970</id>
<edge_type>2</edge_type>
<source_obj>211</source_obj>
<sink_obj>217</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_630">
<id>971</id>
<edge_type>2</edge_type>
<source_obj>211</source_obj>
<sink_obj>214</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_631">
<id>972</id>
<edge_type>2</edge_type>
<source_obj>214</source_obj>
<sink_obj>225</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_632">
<id>973</id>
<edge_type>2</edge_type>
<source_obj>217</source_obj>
<sink_obj>225</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_633">
<id>974</id>
<edge_type>2</edge_type>
<source_obj>220</source_obj>
<sink_obj>225</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_634">
<id>975</id>
<edge_type>2</edge_type>
<source_obj>223</source_obj>
<sink_obj>225</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_635">
<id>976</id>
<edge_type>2</edge_type>
<source_obj>225</source_obj>
<sink_obj>227</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_636">
<id>977</id>
<edge_type>2</edge_type>
<source_obj>227</source_obj>
<sink_obj>88</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_637">
<id>978</id>
<edge_type>2</edge_type>
<source_obj>229</source_obj>
<sink_obj>260</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_638">
<id>979</id>
<edge_type>2</edge_type>
<source_obj>231</source_obj>
<sink_obj>237</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_639">
<id>980</id>
<edge_type>2</edge_type>
<source_obj>237</source_obj>
<sink_obj>256</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_640">
<id>981</id>
<edge_type>2</edge_type>
<source_obj>237</source_obj>
<sink_obj>240</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_641">
<id>982</id>
<edge_type>2</edge_type>
<source_obj>240</source_obj>
<sink_obj>252</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_642">
<id>983</id>
<edge_type>2</edge_type>
<source_obj>240</source_obj>
<sink_obj>249</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_643">
<id>984</id>
<edge_type>2</edge_type>
<source_obj>240</source_obj>
<sink_obj>246</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_644">
<id>985</id>
<edge_type>2</edge_type>
<source_obj>240</source_obj>
<sink_obj>243</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_645">
<id>986</id>
<edge_type>2</edge_type>
<source_obj>243</source_obj>
<sink_obj>254</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_646">
<id>987</id>
<edge_type>2</edge_type>
<source_obj>246</source_obj>
<sink_obj>254</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_647">
<id>988</id>
<edge_type>2</edge_type>
<source_obj>249</source_obj>
<sink_obj>254</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_648">
<id>989</id>
<edge_type>2</edge_type>
<source_obj>252</source_obj>
<sink_obj>254</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_649">
<id>990</id>
<edge_type>2</edge_type>
<source_obj>254</source_obj>
<sink_obj>237</sink_obj>
<is_back_edge>1</is_back_edge>
</item>
<item class_id_reference="20" object_id="_650">
<id>991</id>
<edge_type>2</edge_type>
<source_obj>256</source_obj>
<sink_obj>260</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_651">
<id>992</id>
<edge_type>2</edge_type>
<source_obj>260</source_obj>
<sink_obj>263</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_652">
<id>993</id>
<edge_type>2</edge_type>
<source_obj>260</source_obj>
<sink_obj>265</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_653">
<id>994</id>
<edge_type>2</edge_type>
<source_obj>263</source_obj>
<sink_obj>265</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_654">
<id>996</id>
<edge_type>4</edge_type>
<source_obj>98</source_obj>
<sink_obj>99</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_655">
<id>997</id>
<edge_type>4</edge_type>
<source_obj>144</source_obj>
<sink_obj>145</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_656">
<id>998</id>
<edge_type>4</edge_type>
<source_obj>208</source_obj>
<sink_obj>209</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_657">
<id>999</id>
<edge_type>4</edge_type>
<source_obj>207</source_obj>
<sink_obj>208</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_658">
<id>1000</id>
<edge_type>4</edge_type>
<source_obj>43</source_obj>
<sink_obj>261</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_659">
<id>1001</id>
<edge_type>4</edge_type>
<source_obj>98</source_obj>
<sink_obj>144</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_660">
<id>1002</id>
<edge_type>4</edge_type>
<source_obj>98</source_obj>
<sink_obj>145</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_661">
<id>1003</id>
<edge_type>4</edge_type>
<source_obj>99</source_obj>
<sink_obj>145</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_662">
<id>1004</id>
<edge_type>4</edge_type>
<source_obj>99</source_obj>
<sink_obj>208</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_663">
<id>1005</id>
<edge_type>4</edge_type>
<source_obj>100</source_obj>
<sink_obj>221</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_664">
<id>1006</id>
<edge_type>4</edge_type>
<source_obj>101</source_obj>
<sink_obj>218</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_665">
<id>1007</id>
<edge_type>4</edge_type>
<source_obj>102</source_obj>
<sink_obj>215</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_666">
<id>1008</id>
<edge_type>4</edge_type>
<source_obj>103</source_obj>
<sink_obj>212</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>16</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_667">
<mId>1</mId>
<mTag>circ_buff_read_many128</mTag>
<mType>0</mType>
<sub_regions>
<count>9</count>
<item_version>0</item_version>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>13</item>
<item>14</item>
<item>15</item>
<item>16</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>7</mMinLatency>
<mMaxLatency>33553539</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_668">
<mId>2</mId>
<mTag>Entry</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>45</item>
<item>47</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="_669">
<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>7</count>
<item_version>0</item_version>
<item>53</item>
<item>59</item>
<item>62</item>
<item>65</item>
<item>68</item>
<item>71</item>
<item>73</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>4</mMinTripCount>
<mMaxTripCount>4</mMaxTripCount>
<mMinLatency>8</mMinLatency>
<mMaxLatency>8</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_670">
<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>75</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="_671">
<mId>5</mId>
<mTag>Region 2</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>3</count>
<item_version>0</item_version>
<item>80</item>
<item>82</item>
<item>231</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="_672">
<mId>6</mId>
<mTag>Loop 3</mTag>
<mType>1</mType>
<sub_regions>
<count>6</count>
<item_version>0</item_version>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
</sub_regions>
<basic_blocks>
<count>0</count>
<item_version>0</item_version>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>4</mMinTripCount>
<mMaxTripCount>4</mMaxTripCount>
<mMinLatency>44</mMinLatency>
<mMaxLatency>33553528</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_673">
<mId>7</mId>
<mTag>Region 3</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>3</count>
<item_version>0</item_version>
<item>88</item>
<item>118</item>
<item>125</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>9</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_674">
<mId>8</mId>
<mTag>gmem_read</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>133</item>
<item>153</item>
</basic_blocks>
<mII>1</mII>
<mDepth>10</mDepth>
<mMinTripCount>0</mMinTripCount>
<mMaxTripCount>32767</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>32775</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_675">
<mId>9</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>158</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="_676">
<mId>10</mId>
<mTag>fifo_write_decompose</mTag>
<mType>1</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>7</count>
<item_version>0</item_version>
<item>167</item>
<item>184</item>
<item>187</item>
<item>190</item>
<item>193</item>
<item>196</item>
<item>200</item>
</basic_blocks>
<mII>1</mII>
<mDepth>3</mDepth>
<mMinTripCount>0</mMinTripCount>
<mMaxTripCount>8355585</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>8355586</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_677">
<mId>11</mId>
<mTag>Region 5</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>6</count>
<item_version>0</item_version>
<item>211</item>
<item>214</item>
<item>217</item>
<item>220</item>
<item>223</item>
<item>225</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>7</mMinLatency>
<mMaxLatency>7</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_678">
<mId>12</mId>
<mTag>Region 6</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>227</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="_679">
<mId>13</mId>
<mTag>Region 7</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>229</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="_680">
<mId>14</mId>
<mTag>Loop 2</mTag>
<mType>1</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>7</count>
<item_version>0</item_version>
<item>237</item>
<item>240</item>
<item>243</item>
<item>246</item>
<item>249</item>
<item>252</item>
<item>254</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>4</mMinTripCount>
<mMaxTripCount>4</mMaxTripCount>
<mMinLatency>4</mMinLatency>
<mMaxLatency>4</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_681">
<mId>15</mId>
<mTag>Region 8</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>256</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="_682">
<mId>16</mId>
<mTag>Return</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>3</count>
<item_version>0</item_version>
<item>260</item>
<item>263</item>
<item>265</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>169</count>
<item_version>0</item_version>
<item class_id="27" tracking_level="0" version="0">
<first>19</first>
<second class_id="28" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>48</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>51</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>52</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>54</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>55</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>56</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>61</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>63</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>64</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>66</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>67</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>69</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>70</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>72</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>74</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>76</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>77</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>78</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>79</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>81</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>83</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>84</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>86</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>87</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>89</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>90</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>91</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>92</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>93</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>94</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>95</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>96</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>97</first>
<second>
<first>4</first>
<second>0</second>
</second>
</item>
<item>
<first>98</first>
<second>
<first>4</first>
<second>6</second>
</second>
</item>
<item>
<first>99</first>
<second>
<first>11</first>
<second>0</second>
</second>
</item>
<item>
<first>100</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>101</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>102</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>103</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>104</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>105</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>106</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>107</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>108</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>109</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>110</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>111</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>112</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>113</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>114</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>115</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>116</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>117</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>119</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>120</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>121</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>122</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>123</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>124</first>
<second>
<first>12</first>
<second>0</second>
</second>
</item>
<item>
<first>126</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>127</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>128</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>129</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>131</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>132</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>137</first>
<second>
<first>22</first>
<second>0</second>
</second>
</item>
<item>
<first>138</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>139</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>140</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>141</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>142</first>
<second>
<first>14</first>
<second>0</second>
</second>
</item>
<item>
<first>143</first>
<second>
<first>14</first>
<second>0</second>
</second>
</item>
<item>
<first>144</first>
<second>
<first>14</first>
<second>6</second>
</second>
</item>
<item>
<first>145</first>
<second>
<first>21</first>
<second>0</second>
</second>
</item>
<item>
<first>146</first>
<second>
<first>22</first>
<second>0</second>
</second>
</item>
<item>
<first>147</first>
<second>
<first>22</first>
<second>0</second>
</second>
</item>
<item>
<first>148</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>149</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>150</first>
<second>
<first>13</first>
<second>0</second>
</second>
</item>
<item>
<first>152</first>
<second>
<first>22</first>
<second>0</second>
</second>
</item>
<item>
<first>154</first>
<second>
<first>23</first>
<second>0</second>
</second>
</item>
<item>
<first>155</first>
<second>
<first>23</first>
<second>0</second>
</second>
</item>
<item>
<first>156</first>
<second>
<first>23</first>
<second>0</second>
</second>
</item>
<item>
<first>157</first>
<second>
<first>23</first>
<second>0</second>
</second>
</item>
<item>
<first>159</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>160</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>161</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>162</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>163</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>164</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>165</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>166</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>169</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>170</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>171</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>172</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>173</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>174</first>
<second>
<first>24</first>
<second>1</second>
</second>
</item>
<item>
<first>178</first>
<second>
<first>25</first>
<second>0</second>
</second>
</item>
<item>
<first>179</first>
<second>
<first>25</first>
<second>0</second>
</second>
</item>
<item>
<first>180</first>
<second>
<first>25</first>
<second>0</second>
</second>
</item>
<item>
<first>181</first>
<second>
<first>25</first>
<second>0</second>
</second>
</item>
<item>
<first>182</first>
<second>
<first>25</first>
<second>0</second>
</second>
</item>
<item>
<first>183</first>
<second>
<first>25</first>
<second>0</second>
</second>
</item>
<item>
<first>185</first>
<second>
<first>25</first>
<second>1</second>
</second>
</item>
<item>
<first>186</first>
<second>
<first>26</first>
<second>0</second>
</second>
</item>
<item>
<first>188</first>
<second>
<first>25</first>
<second>1</second>
</second>
</item>
<item>
<first>189</first>
<second>
<first>26</first>
<second>0</second>
</second>
</item>
<item>
<first>191</first>
<second>
<first>25</first>
<second>1</second>
</second>
</item>
<item>
<first>192</first>
<second>
<first>26</first>
<second>0</second>
</second>
</item>
<item>
<first>194</first>
<second>
<first>25</first>
<second>1</second>
</second>
</item>
<item>
<first>195</first>
<second>
<first>26</first>
<second>0</second>
</second>
</item>
<item>
<first>198</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>199</first>
<second>
<first>24</first>
<second>0</second>
</second>
</item>
<item>
<first>201</first>
<second>
<first>27</first>
<second>0</second>
</second>
</item>
<item>
<first>202</first>
<second>
<first>27</first>
<second>0</second>
</second>
</item>
<item>
<first>203</first>
<second>
<first>29</first>
<second>0</second>
</second>
</item>
<item>
<first>204</first>
<second>
<first>27</first>
<second>0</second>
</second>
</item>
<item>
<first>205</first>
<second>
<first>28</first>
<second>0</second>
</second>
</item>
<item>
<first>206</first>
<second>
<first>28</first>
<second>0</second>
</second>
</item>
<item>
<first>207</first>
<second>
<first>28</first>
<second>0</second>
</second>
</item>
<item>
<first>208</first>
<second>
<first>29</first>
<second>0</second>
</second>
</item>
<item>
<first>209</first>
<second>
<first>30</first>
<second>4</second>
</second>
</item>
<item>
<first>210</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>212</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>213</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>215</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>216</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>218</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>219</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>221</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>222</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>224</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>226</first>
<second>
<first>34</first>
<second>0</second>
</second>
</item>
<item>
<first>228</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>230</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>232</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>233</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>235</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>236</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>238</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>239</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>241</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>242</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>244</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>245</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>247</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>248</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>250</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>251</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>253</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>255</first>
<second>
<first>35</first>
<second>0</second>
</second>
</item>
<item>
<first>257</first>
<second>
<first>36</first>
<second>0</second>
</second>
</item>
<item>
<first>258</first>
<second>
<first>36</first>
<second>0</second>
</second>
</item>
<item>
<first>259</first>
<second>
<first>36</first>
<second>0</second>
</second>
</item>
<item>
<first>261</first>
<second>
<first>36</first>
<second>0</second>
</second>
</item>
<item>
<first>262</first>
<second>
<first>36</first>
<second>0</second>
</second>
</item>
<item>
<first>264</first>
<second>
<first>36</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="29" tracking_level="0" version="0">
<count>45</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="0" version="0">
<first>45</first>
<second class_id="31" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>47</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>1</first>
<second>2</second>
</second>
</item>
<item>
<first>62</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>65</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>68</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>71</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>73</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>75</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>80</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>82</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>88</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>118</first>
<second>
<first>2</first>
<second>11</second>
</second>
</item>
<item>
<first>125</first>
<second>
<first>11</first>
<second>11</second>
</second>
</item>
<item>
<first>133</first>
<second>
<first>12</first>
<second>12</second>
</second>
</item>
<item>
<first>153</first>
<second>
<first>12</first>
<second>21</second>
</second>
</item>
<item>
<first>158</first>
<second>
<first>13</first>
<second>13</second>
</second>
</item>
<item>
<first>167</first>
<second>
<first>14</first>
<second>14</second>
</second>
</item>
<item>
<first>184</first>
<second>
<first>14</first>
<second>15</second>
</second>
</item>
<item>
<first>187</first>
<second>
<first>15</first>
<second>16</second>
</second>
</item>
<item>
<first>190</first>
<second>
<first>15</first>
<second>16</second>
</second>
</item>
<item>
<first>193</first>
<second>
<first>15</first>
<second>16</second>
</second>
</item>
<item>
<first>196</first>
<second>
<first>15</first>
<second>16</second>
</second>
</item>
<item>
<first>200</first>
<second>
<first>14</first>
<second>14</second>
</second>
</item>
<item>
<first>211</first>
<second>
<first>15</first>
<second>22</second>
</second>
</item>
<item>
<first>214</first>
<second>
<first>22</first>
<second>22</second>
</second>
</item>
<item>
<first>217</first>
<second>
<first>22</first>
<second>22</second>
</second>
</item>
<item>
<first>220</first>
<second>
<first>22</first>
<second>22</second>
</second>
</item>
<item>
<first>223</first>
<second>
<first>22</first>
<second>22</second>
</second>
</item>
<item>
<first>225</first>
<second>
<first>22</first>
<second>22</second>
</second>
</item>
<item>
<first>227</first>
<second>
<first>22</first>
<second>22</second>
</second>
</item>
<item>
<first>229</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>231</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>237</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>240</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>243</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>246</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>249</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>252</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>254</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>256</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>260</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>263</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>265</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="32" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="1" version="0" object_id="_683">
<region_name>gmem_read</region_name>
<basic_blocks>
<count>2</count>
<item_version>0</item_version>
<item>133</item>
<item>153</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>10</pipe_depth>
</item>
<item class_id_reference="33" object_id="_684">
<region_name>fifo_write_decompose</region_name>
<basic_blocks>
<count>7</count>
<item_version>0</item_version>
<item>167</item>
<item>184</item>
<item>187</item>
<item>190</item>
<item>193</item>
<item>196</item>
<item>200</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>3</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>
|
-- { dg-do run }
-- { dg-options "-O2" }
with Opt12_Pkg; use Opt12_Pkg;
procedure Opt12 is
Static_Target : Static_Integer_Subtype;
begin
Static_Target := Static_Integer_Subtype(Fix_Half);
if not Equal(Static_Target, 1) then
raise Program_Error;
end if;
end Opt12;
|
with HWIF;use HWIF;
with HWIF_Types; use HWIF_Types;
--with Ada.Text_IO; use Ada.Text_IO;
procedure TrafficLightSwitcher (dir : in Direction) is
begin
if Traffic_Light(dir) = 4 then --If Red Light.
delay 1.0;
Traffic_Light(dir) := 6; --Amber/Red
delay 3.0; --Safety Req: Amber phase must last at least 3 seconds
Traffic_Light(dir) := 1; --Green Light
delay 5.0; --Safety Req: Green phase must last at least 5 seconds
elsif Traffic_Light(dir) = 1 then --If Green light.
Traffic_Light(dir) := 2; --Amber
delay 3.0 ; --Safety Req; Amber phase must last at least 3 seconds
Traffic_Light(dir) := 4; --Red Light
end if;
end;
|
pragma Ada_95;
pragma Source_File_Name (ada_main, Spec_File_Name => "b__lnko.ads");
pragma Source_File_Name (ada_main, Body_File_Name => "b__lnko.adb");
pragma Suppress (Overflow_Check);
with Ada.Exceptions;
package body ada_main is
pragma Warnings (Off);
E74 : Short_Integer; pragma Import (Ada, E74, "system__os_lib_E");
E13 : Short_Integer; pragma Import (Ada, E13, "system__soft_links_E");
E23 : Short_Integer; pragma Import (Ada, E23, "system__exception_table_E");
E48 : Short_Integer; pragma Import (Ada, E48, "ada__io_exceptions_E");
E50 : Short_Integer; pragma Import (Ada, E50, "ada__tags_E");
E47 : Short_Integer; pragma Import (Ada, E47, "ada__streams_E");
E72 : Short_Integer; pragma Import (Ada, E72, "interfaces__c_E");
E25 : Short_Integer; pragma Import (Ada, E25, "system__exceptions_E");
E77 : Short_Integer; pragma Import (Ada, E77, "system__file_control_block_E");
E66 : Short_Integer; pragma Import (Ada, E66, "system__file_io_E");
E70 : Short_Integer; pragma Import (Ada, E70, "system__finalization_root_E");
E68 : Short_Integer; pragma Import (Ada, E68, "ada__finalization_E");
E17 : Short_Integer; pragma Import (Ada, E17, "system__secondary_stack_E");
E45 : Short_Integer; pragma Import (Ada, E45, "ada__text_io_E");
Local_Priority_Specific_Dispatching : constant String := "";
Local_Interrupt_States : constant String := "";
Is_Elaborated : Boolean := False;
procedure finalize_library is
begin
E45 := E45 - 1;
declare
procedure F1;
pragma Import (Ada, F1, "ada__text_io__finalize_spec");
begin
F1;
end;
declare
procedure F2;
pragma Import (Ada, F2, "system__file_io__finalize_body");
begin
E66 := E66 - 1;
F2;
end;
declare
procedure Reraise_Library_Exception_If_Any;
pragma Import (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any");
begin
Reraise_Library_Exception_If_Any;
end;
end finalize_library;
procedure adafinal is
procedure s_stalib_adafinal;
pragma Import (C, s_stalib_adafinal, "system__standard_library__adafinal");
procedure Runtime_Finalize;
pragma Import (C, Runtime_Finalize, "__gnat_runtime_finalize");
begin
if not Is_Elaborated then
return;
end if;
Is_Elaborated := False;
Runtime_Finalize;
s_stalib_adafinal;
end adafinal;
type No_Param_Proc is access procedure;
procedure adainit is
Main_Priority : Integer;
pragma Import (C, Main_Priority, "__gl_main_priority");
Time_Slice_Value : Integer;
pragma Import (C, Time_Slice_Value, "__gl_time_slice_val");
WC_Encoding : Character;
pragma Import (C, WC_Encoding, "__gl_wc_encoding");
Locking_Policy : Character;
pragma Import (C, Locking_Policy, "__gl_locking_policy");
Queuing_Policy : Character;
pragma Import (C, Queuing_Policy, "__gl_queuing_policy");
Task_Dispatching_Policy : Character;
pragma Import (C, Task_Dispatching_Policy, "__gl_task_dispatching_policy");
Priority_Specific_Dispatching : System.Address;
pragma Import (C, Priority_Specific_Dispatching, "__gl_priority_specific_dispatching");
Num_Specific_Dispatching : Integer;
pragma Import (C, Num_Specific_Dispatching, "__gl_num_specific_dispatching");
Main_CPU : Integer;
pragma Import (C, Main_CPU, "__gl_main_cpu");
Interrupt_States : System.Address;
pragma Import (C, Interrupt_States, "__gl_interrupt_states");
Num_Interrupt_States : Integer;
pragma Import (C, Num_Interrupt_States, "__gl_num_interrupt_states");
Unreserve_All_Interrupts : Integer;
pragma Import (C, Unreserve_All_Interrupts, "__gl_unreserve_all_interrupts");
Detect_Blocking : Integer;
pragma Import (C, Detect_Blocking, "__gl_detect_blocking");
Default_Stack_Size : Integer;
pragma Import (C, Default_Stack_Size, "__gl_default_stack_size");
Leap_Seconds_Support : Integer;
pragma Import (C, Leap_Seconds_Support, "__gl_leap_seconds_support");
procedure Runtime_Initialize (Install_Handler : Integer);
pragma Import (C, Runtime_Initialize, "__gnat_runtime_initialize");
Finalize_Library_Objects : No_Param_Proc;
pragma Import (C, Finalize_Library_Objects, "__gnat_finalize_library_objects");
begin
if Is_Elaborated then
return;
end if;
Is_Elaborated := True;
Main_Priority := -1;
Time_Slice_Value := -1;
WC_Encoding := 'b';
Locking_Policy := ' ';
Queuing_Policy := ' ';
Task_Dispatching_Policy := ' ';
Priority_Specific_Dispatching :=
Local_Priority_Specific_Dispatching'Address;
Num_Specific_Dispatching := 0;
Main_CPU := -1;
Interrupt_States := Local_Interrupt_States'Address;
Num_Interrupt_States := 0;
Unreserve_All_Interrupts := 0;
Detect_Blocking := 0;
Default_Stack_Size := -1;
Leap_Seconds_Support := 0;
Runtime_Initialize (1);
Finalize_Library_Objects := finalize_library'access;
System.Soft_Links'Elab_Spec;
System.Exception_Table'Elab_Body;
E23 := E23 + 1;
Ada.Io_Exceptions'Elab_Spec;
E48 := E48 + 1;
Ada.Tags'Elab_Spec;
Ada.Streams'Elab_Spec;
E47 := E47 + 1;
Interfaces.C'Elab_Spec;
System.Exceptions'Elab_Spec;
E25 := E25 + 1;
System.File_Control_Block'Elab_Spec;
E77 := E77 + 1;
System.Finalization_Root'Elab_Spec;
E70 := E70 + 1;
Ada.Finalization'Elab_Spec;
E68 := E68 + 1;
System.File_Io'Elab_Body;
E66 := E66 + 1;
E72 := E72 + 1;
Ada.Tags'Elab_Body;
E50 := E50 + 1;
System.Soft_Links'Elab_Body;
E13 := E13 + 1;
System.Os_Lib'Elab_Body;
E74 := E74 + 1;
System.Secondary_Stack'Elab_Body;
E17 := E17 + 1;
Ada.Text_Io'Elab_Spec;
Ada.Text_Io'Elab_Body;
E45 := E45 + 1;
end adainit;
procedure Ada_Main_Program;
pragma Import (Ada, Ada_Main_Program, "_ada_lnko");
function main
(argc : Integer;
argv : System.Address;
envp : System.Address)
return Integer
is
procedure Initialize (Addr : System.Address);
pragma Import (C, Initialize, "__gnat_initialize");
procedure Finalize;
pragma Import (C, Finalize, "__gnat_finalize");
SEH : aliased array (1 .. 2) of Integer;
Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address;
pragma Volatile (Ensure_Reference);
begin
gnat_argc := argc;
gnat_argv := argv;
gnat_envp := envp;
Initialize (SEH'Address);
adainit;
Ada_Main_Program;
adafinal;
Finalize;
return (gnat_exit_status);
end;
-- BEGIN Object file/option list
-- C:\Users\Soba95\Desktop\ada\lnko.o
-- -LC:\Users\Soba95\Desktop\ada\
-- -LC:\Users\Soba95\Desktop\ada\
-- -LC:/gnat/2015/lib/gcc/i686-pc-mingw32/4.9.3/adalib/
-- -static
-- -lgnat
-- -Wl,--stack=0x2000000
-- END Object file/option list
end ada_main;
|
------------------------------------------------------------------------------
-- --
-- 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.Elements;
with AMF.Internals.Helpers;
with AMF.Internals.Tables.UML_Attributes;
with AMF.UML.Classes;
with AMF.Visitors.Standard_Profile_L2_Iterators;
with AMF.Visitors.Standard_Profile_L2_Visitors;
package body AMF.Internals.Standard_Profile_L2_Auxiliaries is
--------------------
-- Get_Base_Class --
--------------------
overriding function Get_Base_Class
(Self : not null access constant Standard_Profile_L2_Auxiliary_Proxy)
return AMF.UML.Classes.UML_Class_Access is
begin
return
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Base_Class
(Self.Element)));
end Get_Base_Class;
--------------------
-- Set_Base_Class --
--------------------
overriding procedure Set_Base_Class
(Self : not null access Standard_Profile_L2_Auxiliary_Proxy;
To : AMF.UML.Classes.UML_Class_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Base_Class
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Base_Class;
-------------------
-- Enter_Element --
-------------------
overriding procedure Enter_Element
(Self : not null access constant Standard_Profile_L2_Auxiliary_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control) is
begin
if Visitor in AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class then
AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class
(Visitor).Enter_Auxiliary
(AMF.Standard_Profile_L2.Auxiliaries.Standard_Profile_L2_Auxiliary_Access (Self),
Control);
end if;
end Enter_Element;
-------------------
-- Leave_Element --
-------------------
overriding procedure Leave_Element
(Self : not null access constant Standard_Profile_L2_Auxiliary_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control) is
begin
if Visitor in AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class then
AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class
(Visitor).Leave_Auxiliary
(AMF.Standard_Profile_L2.Auxiliaries.Standard_Profile_L2_Auxiliary_Access (Self),
Control);
end if;
end Leave_Element;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : not null access constant Standard_Profile_L2_Auxiliary_Proxy;
Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control) is
begin
if Iterator in AMF.Visitors.Standard_Profile_L2_Iterators.Standard_Profile_L2_Iterator'Class then
AMF.Visitors.Standard_Profile_L2_Iterators.Standard_Profile_L2_Iterator'Class
(Iterator).Visit_Auxiliary
(Visitor,
AMF.Standard_Profile_L2.Auxiliaries.Standard_Profile_L2_Auxiliary_Access (Self),
Control);
end if;
end Visit_Element;
end AMF.Internals.Standard_Profile_L2_Auxiliaries;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . S T O R A G E _ P O O L S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2021, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Finalization;
with System.Storage_Elements;
package System.Storage_Pools
with Pure
is
type Root_Storage_Pool is abstract
new Ada.Finalization.Limited_Controlled with private;
pragma Preelaborable_Initialization (Root_Storage_Pool);
procedure Allocate
(Pool : in out Root_Storage_Pool;
Storage_Address : out System.Address;
Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
Alignment : System.Storage_Elements.Storage_Count)
is abstract;
procedure Deallocate
(Pool : in out Root_Storage_Pool;
Storage_Address : System.Address;
Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
Alignment : System.Storage_Elements.Storage_Count)
is abstract;
function Storage_Size
(Pool : Root_Storage_Pool)
return System.Storage_Elements.Storage_Count
is abstract;
private
type Root_Storage_Pool is abstract
new Ada.Finalization.Limited_Controlled with null record;
type Root_Storage_Pool_Ptr is access all Root_Storage_Pool'Class;
for Root_Storage_Pool_Ptr'Storage_Size use 0;
-- Type of the BIP_Storage_Pool extra parameter (see Exp_Ch6). The
-- Storage_Size clause is necessary, because otherwise we have a
-- chicken&egg problem; we can't be creating collection finalization code
-- in this low-level package, because that involves Pool_Global, which
-- imports this package.
-- ??? Are these two still needed? It might be possible to use Subpools.
-- Allocate_Any_Controlled / Deallocate_Any_Controlled for non-controlled
-- objects.
-- The following two procedures support the use of class-wide pool
-- objects in storage pools. When a local type is given a class-wide
-- storage pool, allocation and deallocation for the type must dispatch
-- to the operation of the specific pool, which is achieved by a call
-- to these procedures. (When the pool type is specific, the back-end
-- generates a call to the statically identified operation of the type).
procedure Allocate_Any
(Pool : in out Root_Storage_Pool'Class;
Storage_Address : out System.Address;
Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
Alignment : System.Storage_Elements.Storage_Count);
procedure Deallocate_Any
(Pool : in out Root_Storage_Pool'Class;
Storage_Address : System.Address;
Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
Alignment : System.Storage_Elements.Storage_Count);
end System.Storage_Pools;
|
with Gtk.Window; use Gtk.Window;
with Gtk.Box; use Gtk.Box;
with Gtk.Drawing_Area; use Gtk.Drawing_Area;
with Glib; use Glib;
with Cairo; use Cairo;
with Glib.Main; use Glib.Main;
with Gdk.Window; use Gdk.Window;
with Gtk.Handlers; use Gtk.Handlers;
with Ada.Text_IO; use Ada.Text_IO;
use Gdk;
with Gtk.Widget; use Gtk.Widget;
with Cairo.Image_Surface; use Cairo.Image_Surface;
with Gdk.Event; use Gdk.Event;
with Gtk.Main;
package body Screen_Interface is
Width_Size : constant := Width'Last - Width'First + 1;
Height_Size : constant := Height'Last - Height'First + 1;
function Window_Idle return Boolean;
function Redraw (Area : access Gtk_Drawing_Area_Record'Class;
Cr : Cairo_Context) return Boolean;
procedure Initialize_Gtk;
function On_Motion
(Self : access Gtk_Widget_Record'Class;
Event : Gdk.Event.Gdk_Event_Motion) return Boolean;
function On_Button
(Self : access Gtk_Widget_Record'Class;
Event : Gdk.Event.Gdk_Event_Button) return Boolean;
package Event_Cb is new Gtk.Handlers.Return_Callback
(Gtk_Drawing_Area_Record, Boolean);
Darea : Gtk_Drawing_Area;
subtype Frame_Buffer_Array is
ARGB32_Array (1 .. Natural (Width_Size * Height_Size));
pragma Unreferenced (Frame_Buffer_Array);
-- We use a protected objet to synchonize access from GTK loop and the
-- outside world.
protected Protected_Interface is
procedure Set_Pixel (P : Point; Col : Color);
procedure Fill_Screen (Col : Color);
procedure Draw (Cr : Cairo_Context);
procedure Initialize;
private
Buffer : aliased ARGB32_Array (0 .. (Width_Size * Height_Size) - 1);
Surface : Cairo_Surface;
end Protected_Interface;
protected body Protected_Interface is
---------------
-- Set_Pixel --
---------------
procedure Set_Pixel (P : Point; Col : Color) is
begin
Buffer (P.X + P.Y * Width_Size) := Col;
end Set_Pixel;
-----------------
-- Fill_Screen --
-----------------
procedure Fill_Screen (Col : Color) is
begin
Buffer := (others => Col);
end Fill_Screen;
----------
-- Draw --
----------
procedure Draw (Cr : Cairo_Context) is
W : constant Gint := Darea.Get_Allocated_Width;
H : constant Gint := Darea.Get_Allocated_Height;
W_Ratio : constant Gdouble := Gdouble (W) / Gdouble (Width_Size);
H_Ratio : constant Gdouble := Gdouble (H) / Gdouble (Height_Size);
begin
Cairo.Save (Cr);
Cairo.Scale (Cr, W_Ratio, H_Ratio);
Set_Source_Surface (Cr, Surface, 0.0, 0.0);
Cairo.Paint (Cr);
Cairo.Restore (Cr);
end Draw;
----------------
-- Initialize --
----------------
procedure Initialize is
Stride : constant Gint := Cairo_Format_Stride_For_Width
(Format => Cairo_Format_ARGB32,
Width => Width_Size);
begin
Surface := Create_For_Data_Generic
(Buffer (Buffer'First)'Address,
Cairo_Format_ARGB32,
Width_Size,
Height_Size,
Stride);
end Initialize;
end Protected_Interface;
protected Touch is
function Get return Touch_State;
procedure Set (State : Touch_State);
private
TS : Touch_State := (False, 0, 0);
end Touch;
protected body Touch is
---------
-- Get --
---------
function Get return Touch_State is
begin
return TS;
end Get;
---------
-- Set --
---------
procedure Set (State : Touch_State) is
begin
TS := State;
end Set;
end Touch;
-----------------
-- Window_Idle --
-----------------
function Window_Idle return Boolean
is
W, H : Gint;
begin
if Darea = null or else Get_Window (Darea) = null then
return True;
end if;
W := Darea.Get_Allocated_Width;
H := Darea.Get_Allocated_Height;
Invalidate_Rect (Get_Window (Darea),
(0, 0, W, H), Invalidate_Children => True);
return True;
end Window_Idle;
------------
-- Redraw --
------------
function Redraw (Area : access Gtk_Drawing_Area_Record'Class;
Cr : Cairo_Context) return Boolean is
pragma Unreferenced (Area);
begin
if Darea = null or else Get_Window (Darea) = null then
return True;
end if;
Protected_Interface.Draw (Cr);
return False;
end Redraw;
---------------
-- On_Button --
---------------
function On_Button
(Self : access Gtk_Widget_Record'Class;
Event : Gdk.Event.Gdk_Event_Button) return Boolean is
pragma Unreferenced (Self);
W : constant Gdouble := Gdouble (Darea.Get_Allocated_Width);
H : constant Gdouble := Gdouble (Darea.Get_Allocated_Height);
TS : Touch_State;
begin
if Event.The_Type = Button_Press and then Event.Button = 1 then
TS.X := Width ((Event.X / W) * Gdouble (Width_Size));
TS.Y := Height ((Event.Y / H) * Gdouble (Height_Size));
TS.Touch_Detected := True;
Touch.Set (TS);
elsif Event.The_Type = Button_Release and then Event.Button = 1 then
TS := Touch.Get;
TS.Touch_Detected := False;
Touch.Set (TS);
end if;
return False;
exception
when others =>
Put_Line ("On_Button exception");
TS.X := 0;
TS.Y := 0;
return False;
end On_Button;
---------------
-- On_Motion --
---------------
function On_Motion
(Self : access Gtk_Widget_Record'Class;
Event : Gdk.Event.Gdk_Event_Motion) return Boolean is
pragma Unreferenced (Self);
W : constant Gdouble := Gdouble (Darea.Get_Allocated_Width);
H : constant Gdouble := Gdouble (Darea.Get_Allocated_Height);
TS : Touch_State := Touch.Get;
begin
if TS.Touch_Detected then
TS.X := Width ((Event.X / W) * Gdouble (Width_Size));
TS.Y := Height ((Event.Y / H) * Gdouble (Height_Size));
Touch.Set (TS);
end if;
return False;
exception
when others =>
Put_Line ("On Motion exception");
TS.X := 0;
TS.Y := 0;
Touch.Set (TS);
return False;
end On_Motion;
--------------------
-- Initialize_Gtk --
--------------------
procedure Initialize_Gtk is
Win : Gtk_Window;
Box : Gtk_Vbox;
Src_Id : G_Source_Id;
pragma Unreferenced (Src_Id);
begin
Protected_Interface.Initialize;
Gtk_New (Win);
Win.Set_Default_Size (Width_Size, Height_Size);
Win.Add_Events (Button_Release_Mask);
Win.Add_Events (Button_Press_Mask);
Win.Add_Events (Pointer_Motion_Mask);
Win.Add_Events (Pointer_Motion_Hint_Mask);
Win.On_Button_Press_Event (On_Button'Access, True);
Win.On_Button_Release_Event (On_Button'Access, True);
Win.On_Motion_Notify_Event (On_Motion'Access);
Gtk_New_Vbox (Box);
Gtk_New (Darea);
Win.Add (Darea);
Event_Cb.Connect (Darea, Signal_Draw,
Event_Cb.To_Marshaller (Redraw'Unrestricted_Access));
-- Show the window
Win.Show_All;
Src_Id := Timeout_Add (50, Window_Idle'Access);
end Initialize_Gtk;
--------------
-- Gtk_Task --
--------------
task Gtk_Task is
entry Start;
end Gtk_Task;
task body Gtk_Task is
begin
accept Start;
-- Initialize GtkAda.
Gtk.Main.Init;
Initialize_Gtk;
-- Start the Gtk+ main loop
Gtk.Main.Main;
end Gtk_Task;
----------------
-- Initialize --
----------------
procedure Initialize is
begin
Gtk_Task.Start;
end Initialize;
---------------------
-- Get_Touch_State --
---------------------
function Get_Touch_State return Touch_State is
begin
-- Simulate touch screen communication latency
delay 0.0005;
return Touch.Get;
end Get_Touch_State;
---------------
-- Set_Pixel --
---------------
procedure Set_Pixel (P : Point; Col : Color) is
begin
Protected_Interface.Set_Pixel (P, Col);
end Set_Pixel;
-----------------
-- Fill_Screen --
-----------------
procedure Fill_Screen (Col : Color) is
begin
Protected_Interface.Fill_Screen (Col);
end Fill_Screen;
------------------
-- RGB_To_Color --
------------------
function RGB_To_Color (R, G, B : RGB_Component) return Color is
Result : Color;
begin
Result.Red := Byte (R);
Result.Green := Byte (G);
Result.Blue := Byte (B);
Result.Alpha := 255;
return Result;
end RGB_To_Color;
Current_Color : Color := RGB_To_Color (0, 0, 0);
---------------
-- Set_Pixel --
---------------
overriding
procedure Set_Pixel (This : in out GTKada_Backend; Pt : Point_T)
is
begin
if This.Enabled and then Pt.X in Width and then Pt.Y in Height then
Set_Pixel ((Pt.X, Pt.Y), Current_Color);
end if;
end Set_Pixel;
---------------
-- Set_Color --
---------------
overriding
procedure Set_Color
(This : in out GTKada_Backend;
C : Giza.Colors.Color) is
pragma Unreferenced (This);
begin
Current_Color := RGB_To_Color (RGB_Component (C.R),
RGB_Component (C.G),
RGB_Component (C.B));
end Set_Color;
----------
-- Size --
----------
overriding
function Size (This : GTKada_Backend) return Size_T is
pragma Unreferenced (This);
begin
return (Screen_Parameters.Width'Last, Screen_Parameters.Height'Last);
end Size;
------------
-- Enable --
------------
procedure Enable (This : in out GTKada_Backend) is
begin
This.Enabled := True;
end Enable;
-------------
-- Disable --
-------------
procedure Disable (This : in out GTKada_Backend) is
begin
This.Enabled := False;
end Disable;
end Screen_Interface;
|
-----------------------------------------------------------------------
-- AWA.OAuth.Models -- AWA.OAuth.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-gen.googlecode.com/svn/trunk Revision 1095
-----------------------------------------------------------------------
-- Copyright (C) 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 Ada.Unchecked_Deallocation;
with Util.Beans.Objects.Time;
package body AWA.OAuth.Models is
use type ADO.Objects.Object_Record_Access;
use type ADO.Objects.Object_Ref;
pragma Warnings (Off, "formal parameter * is not referenced");
function Application_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is
Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => APPLICATION_DEF'Access);
begin
ADO.Objects.Set_Value (Result, Id);
return Result;
end Application_Key;
function Application_Key (Id : in String) return ADO.Objects.Object_Key is
Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => APPLICATION_DEF'Access);
begin
ADO.Objects.Set_Value (Result, Id);
return Result;
end Application_Key;
function "=" (Left, Right : Application_Ref'Class) return Boolean is
begin
return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right);
end "=";
procedure Set_Field (Object : in out Application_Ref'Class;
Impl : out Application_Access) is
Result : ADO.Objects.Object_Record_Access;
begin
Object.Prepare_Modify (Result);
Impl := Application_Impl (Result.all)'Access;
end Set_Field;
-- Internal method to allocate the Object_Record instance
procedure Allocate (Object : in out Application_Ref) is
Impl : Application_Access;
begin
Impl := new Application_Impl;
Impl.Version := 0;
Impl.Create_Date := ADO.DEFAULT_TIME;
Impl.Update_Date := ADO.DEFAULT_TIME;
ADO.Objects.Set_Object (Object, Impl.all'Access);
end Allocate;
-- ----------------------------------------
-- Data object: Application
-- ----------------------------------------
procedure Set_Id (Object : in out Application_Ref;
Value : in ADO.Identifier) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value);
end Set_Id;
function Get_Id (Object : in Application_Ref)
return ADO.Identifier is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Object.all)'Access;
begin
return Impl.Get_Key_Value;
end Get_Id;
procedure Set_Name (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 2, Impl.Name, Value);
end Set_Name;
procedure Set_Name (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 2, Impl.Name, Value);
end Set_Name;
function Get_Name (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Name);
end Get_Name;
function Get_Name (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Name;
end Get_Name;
procedure Set_Secret_Key (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 3, Impl.Secret_Key, Value);
end Set_Secret_Key;
procedure Set_Secret_Key (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 3, Impl.Secret_Key, Value);
end Set_Secret_Key;
function Get_Secret_Key (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Secret_Key);
end Get_Secret_Key;
function Get_Secret_Key (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Secret_Key;
end Get_Secret_Key;
procedure Set_Client_Id (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 4, Impl.Client_Id, Value);
end Set_Client_Id;
procedure Set_Client_Id (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 4, Impl.Client_Id, Value);
end Set_Client_Id;
function Get_Client_Id (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Client_Id);
end Get_Client_Id;
function Get_Client_Id (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Client_Id;
end Get_Client_Id;
function Get_Version (Object : in Application_Ref)
return Integer is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Version;
end Get_Version;
procedure Set_Create_Date (Object : in out Application_Ref;
Value : in Ada.Calendar.Time) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Time (Impl.all, 6, Impl.Create_Date, Value);
end Set_Create_Date;
function Get_Create_Date (Object : in Application_Ref)
return Ada.Calendar.Time is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Create_Date;
end Get_Create_Date;
procedure Set_Update_Date (Object : in out Application_Ref;
Value : in Ada.Calendar.Time) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Time (Impl.all, 7, Impl.Update_Date, Value);
end Set_Update_Date;
function Get_Update_Date (Object : in Application_Ref)
return Ada.Calendar.Time is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Update_Date;
end Get_Update_Date;
procedure Set_Title (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 8, Impl.Title, Value);
end Set_Title;
procedure Set_Title (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 8, Impl.Title, Value);
end Set_Title;
function Get_Title (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Title);
end Get_Title;
function Get_Title (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Title;
end Get_Title;
procedure Set_Description (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 9, Impl.Description, Value);
end Set_Description;
procedure Set_Description (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 9, Impl.Description, Value);
end Set_Description;
function Get_Description (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Description);
end Get_Description;
function Get_Description (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Description;
end Get_Description;
procedure Set_App_Login_Url (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 10, Impl.App_Login_Url, Value);
end Set_App_Login_Url;
procedure Set_App_Login_Url (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 10, Impl.App_Login_Url, Value);
end Set_App_Login_Url;
function Get_App_Login_Url (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_App_Login_Url);
end Get_App_Login_Url;
function Get_App_Login_Url (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.App_Login_Url;
end Get_App_Login_Url;
procedure Set_App_Logo_Url (Object : in out Application_Ref;
Value : in String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 11, Impl.App_Logo_Url, Value);
end Set_App_Logo_Url;
procedure Set_App_Logo_Url (Object : in out Application_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 11, Impl.App_Logo_Url, Value);
end Set_App_Logo_Url;
function Get_App_Logo_Url (Object : in Application_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_App_Logo_Url);
end Get_App_Logo_Url;
function Get_App_Logo_Url (Object : in Application_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.App_Logo_Url;
end Get_App_Logo_Url;
procedure Set_User (Object : in out Application_Ref;
Value : in AWA.Users.Models.User_Ref'Class) is
Impl : Application_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 12, Impl.User, Value);
end Set_User;
function Get_User (Object : in Application_Ref)
return AWA.Users.Models.User_Ref'Class is
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.User;
end Get_User;
-- Copy of the object.
procedure Copy (Object : in Application_Ref;
Into : in out Application_Ref) is
Result : Application_Ref;
begin
if not Object.Is_Null then
declare
Impl : constant Application_Access
:= Application_Impl (Object.Get_Load_Object.all)'Access;
Copy : constant Application_Access
:= new Application_Impl;
begin
ADO.Objects.Set_Object (Result, Copy.all'Access);
Copy.Copy (Impl.all);
Copy.Name := Impl.Name;
Copy.Secret_Key := Impl.Secret_Key;
Copy.Client_Id := Impl.Client_Id;
Copy.Version := Impl.Version;
Copy.Create_Date := Impl.Create_Date;
Copy.Update_Date := Impl.Update_Date;
Copy.Title := Impl.Title;
Copy.Description := Impl.Description;
Copy.App_Login_Url := Impl.App_Login_Url;
Copy.App_Logo_Url := Impl.App_Logo_Url;
Copy.User := Impl.User;
end;
end if;
Into := Result;
end Copy;
procedure Find (Object : in out Application_Ref;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean) is
Impl : constant Application_Access := new Application_Impl;
begin
Impl.Find (Session, Query, Found);
if Found then
ADO.Objects.Set_Object (Object, Impl.all'Access);
else
ADO.Objects.Set_Object (Object, null);
Destroy (Impl);
end if;
end Find;
procedure Load (Object : in out Application_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier) is
Impl : constant Application_Access := new Application_Impl;
Found : Boolean;
Query : ADO.SQL.Query;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Impl.Find (Session, Query, Found);
if not Found then
Destroy (Impl);
raise ADO.Objects.NOT_FOUND;
end if;
ADO.Objects.Set_Object (Object, Impl.all'Access);
end Load;
procedure Load (Object : in out Application_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier;
Found : out Boolean) is
Impl : constant Application_Access := new Application_Impl;
Query : ADO.SQL.Query;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Impl.Find (Session, Query, Found);
if not Found then
Destroy (Impl);
else
ADO.Objects.Set_Object (Object, Impl.all'Access);
end if;
end Load;
procedure Save (Object : in out Application_Ref;
Session : in out ADO.Sessions.Master_Session'Class) is
Impl : ADO.Objects.Object_Record_Access := Object.Get_Object;
begin
if Impl = null then
Impl := new Application_Impl;
ADO.Objects.Set_Object (Object, Impl);
end if;
if not ADO.Objects.Is_Created (Impl.all) then
Impl.Create (Session);
else
Impl.Save (Session);
end if;
end Save;
procedure Delete (Object : in out Application_Ref;
Session : in out ADO.Sessions.Master_Session'Class) is
Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object;
begin
if Impl /= null then
Impl.Delete (Session);
end if;
end Delete;
-- --------------------
-- Free the object
-- --------------------
procedure Destroy (Object : access Application_Impl) is
type Application_Impl_Ptr is access all Application_Impl;
procedure Unchecked_Free is new Ada.Unchecked_Deallocation
(Application_Impl, Application_Impl_Ptr);
pragma Warnings (Off, "*redundant conversion*");
Ptr : Application_Impl_Ptr := Application_Impl (Object.all)'Access;
pragma Warnings (On, "*redundant conversion*");
begin
Unchecked_Free (Ptr);
end Destroy;
procedure Find (Object : in out Application_Impl;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean) is
Stmt : ADO.Statements.Query_Statement
:= Session.Create_Statement (Query, APPLICATION_DEF'Access);
begin
Stmt.Execute;
if Stmt.Has_Elements then
Object.Load (Stmt, Session);
Stmt.Next;
Found := not Stmt.Has_Elements;
else
Found := False;
end if;
end Find;
overriding
procedure Load (Object : in out Application_Impl;
Session : in out ADO.Sessions.Session'Class) is
Found : Boolean;
Query : ADO.SQL.Query;
Id : constant ADO.Identifier := Object.Get_Key_Value;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Object.Find (Session, Query, Found);
if not Found then
raise ADO.Objects.NOT_FOUND;
end if;
end Load;
procedure Save (Object : in out Application_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Stmt : ADO.Statements.Update_Statement
:= Session.Create_Statement (APPLICATION_DEF'Access);
begin
if Object.Is_Modified (1) then
Stmt.Save_Field (Name => COL_0_1_NAME, -- id
Value => Object.Get_Key);
Object.Clear_Modified (1);
end if;
if Object.Is_Modified (2) then
Stmt.Save_Field (Name => COL_1_1_NAME, -- name
Value => Object.Name);
Object.Clear_Modified (2);
end if;
if Object.Is_Modified (3) then
Stmt.Save_Field (Name => COL_2_1_NAME, -- secret_key
Value => Object.Secret_Key);
Object.Clear_Modified (3);
end if;
if Object.Is_Modified (4) then
Stmt.Save_Field (Name => COL_3_1_NAME, -- client_id
Value => Object.Client_Id);
Object.Clear_Modified (4);
end if;
if Object.Is_Modified (6) then
Stmt.Save_Field (Name => COL_5_1_NAME, -- create_date
Value => Object.Create_Date);
Object.Clear_Modified (6);
end if;
if Object.Is_Modified (7) then
Stmt.Save_Field (Name => COL_6_1_NAME, -- update_date
Value => Object.Update_Date);
Object.Clear_Modified (7);
end if;
if Object.Is_Modified (8) then
Stmt.Save_Field (Name => COL_7_1_NAME, -- title
Value => Object.Title);
Object.Clear_Modified (8);
end if;
if Object.Is_Modified (9) then
Stmt.Save_Field (Name => COL_8_1_NAME, -- description
Value => Object.Description);
Object.Clear_Modified (9);
end if;
if Object.Is_Modified (10) then
Stmt.Save_Field (Name => COL_9_1_NAME, -- app_login_url
Value => Object.App_Login_Url);
Object.Clear_Modified (10);
end if;
if Object.Is_Modified (11) then
Stmt.Save_Field (Name => COL_10_1_NAME, -- app_logo_url
Value => Object.App_Logo_Url);
Object.Clear_Modified (11);
end if;
if Object.Is_Modified (12) then
Stmt.Save_Field (Name => COL_11_1_NAME, -- user_id
Value => Object.User);
Object.Clear_Modified (12);
end if;
if Stmt.Has_Save_Fields then
Object.Version := Object.Version + 1;
Stmt.Save_Field (Name => "version",
Value => Object.Version);
Stmt.Set_Filter (Filter => "id = ? and version = ?");
Stmt.Add_Param (Value => Object.Get_Key);
Stmt.Add_Param (Value => Object.Version - 1);
declare
Result : Integer;
begin
Stmt.Execute (Result);
if Result /= 1 then
if Result /= 0 then
raise ADO.Objects.UPDATE_ERROR;
else
raise ADO.Objects.LAZY_LOCK;
end if;
end if;
end;
end if;
end Save;
procedure Create (Object : in out Application_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Query : ADO.Statements.Insert_Statement
:= Session.Create_Statement (APPLICATION_DEF'Access);
Result : Integer;
begin
Object.Version := 1;
Session.Allocate (Id => Object);
Query.Save_Field (Name => COL_0_1_NAME, -- id
Value => Object.Get_Key);
Query.Save_Field (Name => COL_1_1_NAME, -- name
Value => Object.Name);
Query.Save_Field (Name => COL_2_1_NAME, -- secret_key
Value => Object.Secret_Key);
Query.Save_Field (Name => COL_3_1_NAME, -- client_id
Value => Object.Client_Id);
Query.Save_Field (Name => COL_4_1_NAME, -- version
Value => Object.Version);
Query.Save_Field (Name => COL_5_1_NAME, -- create_date
Value => Object.Create_Date);
Query.Save_Field (Name => COL_6_1_NAME, -- update_date
Value => Object.Update_Date);
Query.Save_Field (Name => COL_7_1_NAME, -- title
Value => Object.Title);
Query.Save_Field (Name => COL_8_1_NAME, -- description
Value => Object.Description);
Query.Save_Field (Name => COL_9_1_NAME, -- app_login_url
Value => Object.App_Login_Url);
Query.Save_Field (Name => COL_10_1_NAME, -- app_logo_url
Value => Object.App_Logo_Url);
Query.Save_Field (Name => COL_11_1_NAME, -- user_id
Value => Object.User);
Query.Execute (Result);
if Result /= 1 then
raise ADO.Objects.INSERT_ERROR;
end if;
ADO.Objects.Set_Created (Object);
end Create;
procedure Delete (Object : in out Application_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Stmt : ADO.Statements.Delete_Statement
:= Session.Create_Statement (APPLICATION_DEF'Access);
begin
Stmt.Set_Filter (Filter => "id = ?");
Stmt.Add_Param (Value => Object.Get_Key);
Stmt.Execute;
end Delete;
-- ------------------------------
-- Get the bean attribute identified by the name.
-- ------------------------------
overriding
function Get_Value (From : in Application_Ref;
Name : in String) return Util.Beans.Objects.Object is
Obj : ADO.Objects.Object_Record_Access;
Impl : access Application_Impl;
begin
if From.Is_Null then
return Util.Beans.Objects.Null_Object;
end if;
Obj := From.Get_Load_Object;
Impl := Application_Impl (Obj.all)'Access;
if Name = "id" then
return ADO.Objects.To_Object (Impl.Get_Key);
elsif Name = "name" then
return Util.Beans.Objects.To_Object (Impl.Name);
elsif Name = "secret_key" then
return Util.Beans.Objects.To_Object (Impl.Secret_Key);
elsif Name = "client_id" then
return Util.Beans.Objects.To_Object (Impl.Client_Id);
elsif Name = "create_date" then
return Util.Beans.Objects.Time.To_Object (Impl.Create_Date);
elsif Name = "update_date" then
return Util.Beans.Objects.Time.To_Object (Impl.Update_Date);
elsif Name = "title" then
return Util.Beans.Objects.To_Object (Impl.Title);
elsif Name = "description" then
return Util.Beans.Objects.To_Object (Impl.Description);
elsif Name = "app_login_url" then
return Util.Beans.Objects.To_Object (Impl.App_Login_Url);
elsif Name = "app_logo_url" then
return Util.Beans.Objects.To_Object (Impl.App_Logo_Url);
end if;
return Util.Beans.Objects.Null_Object;
end Get_Value;
procedure List (Object : in out Application_Vector;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class) is
Stmt : ADO.Statements.Query_Statement
:= Session.Create_Statement (Query, APPLICATION_DEF'Access);
begin
Stmt.Execute;
Application_Vectors.Clear (Object);
while Stmt.Has_Elements loop
declare
Item : Application_Ref;
Impl : constant Application_Access := new Application_Impl;
begin
Impl.Load (Stmt, Session);
ADO.Objects.Set_Object (Item, Impl.all'Access);
Object.Append (Item);
end;
Stmt.Next;
end loop;
end List;
-- ------------------------------
-- Load the object from current iterator position
-- ------------------------------
procedure Load (Object : in out Application_Impl;
Stmt : in out ADO.Statements.Query_Statement'Class;
Session : in out ADO.Sessions.Session'Class) is
begin
Object.Set_Key_Value (Stmt.Get_Identifier (0));
Object.Name := Stmt.Get_Unbounded_String (1);
Object.Secret_Key := Stmt.Get_Unbounded_String (2);
Object.Client_Id := Stmt.Get_Unbounded_String (3);
Object.Create_Date := Stmt.Get_Time (5);
Object.Update_Date := Stmt.Get_Time (6);
Object.Title := Stmt.Get_Unbounded_String (7);
Object.Description := Stmt.Get_Unbounded_String (8);
Object.App_Login_Url := Stmt.Get_Unbounded_String (9);
Object.App_Logo_Url := Stmt.Get_Unbounded_String (10);
if not Stmt.Is_Null (11) then
Object.User.Set_Key_Value (Stmt.Get_Identifier (11), Session);
end if;
Object.Version := Stmt.Get_Integer (4);
ADO.Objects.Set_Created (Object);
end Load;
function Callback_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is
Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => CALLBACK_DEF'Access);
begin
ADO.Objects.Set_Value (Result, Id);
return Result;
end Callback_Key;
function Callback_Key (Id : in String) return ADO.Objects.Object_Key is
Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => CALLBACK_DEF'Access);
begin
ADO.Objects.Set_Value (Result, Id);
return Result;
end Callback_Key;
function "=" (Left, Right : Callback_Ref'Class) return Boolean is
begin
return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right);
end "=";
procedure Set_Field (Object : in out Callback_Ref'Class;
Impl : out Callback_Access) is
Result : ADO.Objects.Object_Record_Access;
begin
Object.Prepare_Modify (Result);
Impl := Callback_Impl (Result.all)'Access;
end Set_Field;
-- Internal method to allocate the Object_Record instance
procedure Allocate (Object : in out Callback_Ref) is
Impl : Callback_Access;
begin
Impl := new Callback_Impl;
Impl.Version := 0;
ADO.Objects.Set_Object (Object, Impl.all'Access);
end Allocate;
-- ----------------------------------------
-- Data object: Callback
-- ----------------------------------------
procedure Set_Id (Object : in out Callback_Ref;
Value : in ADO.Identifier) is
Impl : Callback_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value);
end Set_Id;
function Get_Id (Object : in Callback_Ref)
return ADO.Identifier is
Impl : constant Callback_Access
:= Callback_Impl (Object.Get_Object.all)'Access;
begin
return Impl.Get_Key_Value;
end Get_Id;
procedure Set_Url (Object : in out Callback_Ref;
Value : in String) is
Impl : Callback_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 2, Impl.Url, Value);
end Set_Url;
procedure Set_Url (Object : in out Callback_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Callback_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 2, Impl.Url, Value);
end Set_Url;
function Get_Url (Object : in Callback_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Url);
end Get_Url;
function Get_Url (Object : in Callback_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Callback_Access
:= Callback_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Url;
end Get_Url;
function Get_Version (Object : in Callback_Ref)
return Integer is
Impl : constant Callback_Access
:= Callback_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Version;
end Get_Version;
procedure Set_Application (Object : in out Callback_Ref;
Value : in AWA.OAuth.Models.Application_Ref'Class) is
Impl : Callback_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 4, Impl.Application, Value);
end Set_Application;
function Get_Application (Object : in Callback_Ref)
return AWA.OAuth.Models.Application_Ref'Class is
Impl : constant Callback_Access
:= Callback_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Application;
end Get_Application;
-- Copy of the object.
procedure Copy (Object : in Callback_Ref;
Into : in out Callback_Ref) is
Result : Callback_Ref;
begin
if not Object.Is_Null then
declare
Impl : constant Callback_Access
:= Callback_Impl (Object.Get_Load_Object.all)'Access;
Copy : constant Callback_Access
:= new Callback_Impl;
begin
ADO.Objects.Set_Object (Result, Copy.all'Access);
Copy.Copy (Impl.all);
Copy.Url := Impl.Url;
Copy.Version := Impl.Version;
Copy.Application := Impl.Application;
end;
end if;
Into := Result;
end Copy;
procedure Find (Object : in out Callback_Ref;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean) is
Impl : constant Callback_Access := new Callback_Impl;
begin
Impl.Find (Session, Query, Found);
if Found then
ADO.Objects.Set_Object (Object, Impl.all'Access);
else
ADO.Objects.Set_Object (Object, null);
Destroy (Impl);
end if;
end Find;
procedure Load (Object : in out Callback_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier) is
Impl : constant Callback_Access := new Callback_Impl;
Found : Boolean;
Query : ADO.SQL.Query;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Impl.Find (Session, Query, Found);
if not Found then
Destroy (Impl);
raise ADO.Objects.NOT_FOUND;
end if;
ADO.Objects.Set_Object (Object, Impl.all'Access);
end Load;
procedure Load (Object : in out Callback_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier;
Found : out Boolean) is
Impl : constant Callback_Access := new Callback_Impl;
Query : ADO.SQL.Query;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Impl.Find (Session, Query, Found);
if not Found then
Destroy (Impl);
else
ADO.Objects.Set_Object (Object, Impl.all'Access);
end if;
end Load;
procedure Save (Object : in out Callback_Ref;
Session : in out ADO.Sessions.Master_Session'Class) is
Impl : ADO.Objects.Object_Record_Access := Object.Get_Object;
begin
if Impl = null then
Impl := new Callback_Impl;
ADO.Objects.Set_Object (Object, Impl);
end if;
if not ADO.Objects.Is_Created (Impl.all) then
Impl.Create (Session);
else
Impl.Save (Session);
end if;
end Save;
procedure Delete (Object : in out Callback_Ref;
Session : in out ADO.Sessions.Master_Session'Class) is
Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object;
begin
if Impl /= null then
Impl.Delete (Session);
end if;
end Delete;
-- --------------------
-- Free the object
-- --------------------
procedure Destroy (Object : access Callback_Impl) is
type Callback_Impl_Ptr is access all Callback_Impl;
procedure Unchecked_Free is new Ada.Unchecked_Deallocation
(Callback_Impl, Callback_Impl_Ptr);
pragma Warnings (Off, "*redundant conversion*");
Ptr : Callback_Impl_Ptr := Callback_Impl (Object.all)'Access;
pragma Warnings (On, "*redundant conversion*");
begin
Unchecked_Free (Ptr);
end Destroy;
procedure Find (Object : in out Callback_Impl;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean) is
Stmt : ADO.Statements.Query_Statement
:= Session.Create_Statement (Query, CALLBACK_DEF'Access);
begin
Stmt.Execute;
if Stmt.Has_Elements then
Object.Load (Stmt, Session);
Stmt.Next;
Found := not Stmt.Has_Elements;
else
Found := False;
end if;
end Find;
overriding
procedure Load (Object : in out Callback_Impl;
Session : in out ADO.Sessions.Session'Class) is
Found : Boolean;
Query : ADO.SQL.Query;
Id : constant ADO.Identifier := Object.Get_Key_Value;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Object.Find (Session, Query, Found);
if not Found then
raise ADO.Objects.NOT_FOUND;
end if;
end Load;
procedure Save (Object : in out Callback_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Stmt : ADO.Statements.Update_Statement
:= Session.Create_Statement (CALLBACK_DEF'Access);
begin
if Object.Is_Modified (1) then
Stmt.Save_Field (Name => COL_0_2_NAME, -- id
Value => Object.Get_Key);
Object.Clear_Modified (1);
end if;
if Object.Is_Modified (2) then
Stmt.Save_Field (Name => COL_1_2_NAME, -- url
Value => Object.Url);
Object.Clear_Modified (2);
end if;
if Object.Is_Modified (4) then
Stmt.Save_Field (Name => COL_3_2_NAME, -- application_id
Value => Object.Application);
Object.Clear_Modified (4);
end if;
if Stmt.Has_Save_Fields then
Object.Version := Object.Version + 1;
Stmt.Save_Field (Name => "version",
Value => Object.Version);
Stmt.Set_Filter (Filter => "id = ? and version = ?");
Stmt.Add_Param (Value => Object.Get_Key);
Stmt.Add_Param (Value => Object.Version - 1);
declare
Result : Integer;
begin
Stmt.Execute (Result);
if Result /= 1 then
if Result /= 0 then
raise ADO.Objects.UPDATE_ERROR;
else
raise ADO.Objects.LAZY_LOCK;
end if;
end if;
end;
end if;
end Save;
procedure Create (Object : in out Callback_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Query : ADO.Statements.Insert_Statement
:= Session.Create_Statement (CALLBACK_DEF'Access);
Result : Integer;
begin
Object.Version := 1;
Session.Allocate (Id => Object);
Query.Save_Field (Name => COL_0_2_NAME, -- id
Value => Object.Get_Key);
Query.Save_Field (Name => COL_1_2_NAME, -- url
Value => Object.Url);
Query.Save_Field (Name => COL_2_2_NAME, -- version
Value => Object.Version);
Query.Save_Field (Name => COL_3_2_NAME, -- application_id
Value => Object.Application);
Query.Execute (Result);
if Result /= 1 then
raise ADO.Objects.INSERT_ERROR;
end if;
ADO.Objects.Set_Created (Object);
end Create;
procedure Delete (Object : in out Callback_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Stmt : ADO.Statements.Delete_Statement
:= Session.Create_Statement (CALLBACK_DEF'Access);
begin
Stmt.Set_Filter (Filter => "id = ?");
Stmt.Add_Param (Value => Object.Get_Key);
Stmt.Execute;
end Delete;
-- ------------------------------
-- Get the bean attribute identified by the name.
-- ------------------------------
overriding
function Get_Value (From : in Callback_Ref;
Name : in String) return Util.Beans.Objects.Object is
Obj : ADO.Objects.Object_Record_Access;
Impl : access Callback_Impl;
begin
if From.Is_Null then
return Util.Beans.Objects.Null_Object;
end if;
Obj := From.Get_Load_Object;
Impl := Callback_Impl (Obj.all)'Access;
if Name = "id" then
return ADO.Objects.To_Object (Impl.Get_Key);
elsif Name = "url" then
return Util.Beans.Objects.To_Object (Impl.Url);
end if;
return Util.Beans.Objects.Null_Object;
end Get_Value;
procedure List (Object : in out Callback_Vector;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class) is
Stmt : ADO.Statements.Query_Statement
:= Session.Create_Statement (Query, CALLBACK_DEF'Access);
begin
Stmt.Execute;
Callback_Vectors.Clear (Object);
while Stmt.Has_Elements loop
declare
Item : Callback_Ref;
Impl : constant Callback_Access := new Callback_Impl;
begin
Impl.Load (Stmt, Session);
ADO.Objects.Set_Object (Item, Impl.all'Access);
Object.Append (Item);
end;
Stmt.Next;
end loop;
end List;
-- ------------------------------
-- Load the object from current iterator position
-- ------------------------------
procedure Load (Object : in out Callback_Impl;
Stmt : in out ADO.Statements.Query_Statement'Class;
Session : in out ADO.Sessions.Session'Class) is
begin
Object.Set_Key_Value (Stmt.Get_Identifier (0));
Object.Url := Stmt.Get_Unbounded_String (1);
if not Stmt.Is_Null (3) then
Object.Application.Set_Key_Value (Stmt.Get_Identifier (3), Session);
end if;
Object.Version := Stmt.Get_Integer (2);
ADO.Objects.Set_Created (Object);
end Load;
function Session_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is
Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => SESSION_DEF'Access);
begin
ADO.Objects.Set_Value (Result, Id);
return Result;
end Session_Key;
function Session_Key (Id : in String) return ADO.Objects.Object_Key is
Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => SESSION_DEF'Access);
begin
ADO.Objects.Set_Value (Result, Id);
return Result;
end Session_Key;
function "=" (Left, Right : Session_Ref'Class) return Boolean is
begin
return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right);
end "=";
procedure Set_Field (Object : in out Session_Ref'Class;
Impl : out Session_Access) is
Result : ADO.Objects.Object_Record_Access;
begin
Object.Prepare_Modify (Result);
Impl := Session_Impl (Result.all)'Access;
end Set_Field;
-- Internal method to allocate the Object_Record instance
procedure Allocate (Object : in out Session_Ref) is
Impl : Session_Access;
begin
Impl := new Session_Impl;
Impl.Create_Date := ADO.DEFAULT_TIME;
Impl.Expire_Date := ADO.DEFAULT_TIME;
ADO.Objects.Set_Object (Object, Impl.all'Access);
end Allocate;
-- ----------------------------------------
-- Data object: Session
-- ----------------------------------------
procedure Set_Id (Object : in out Session_Ref;
Value : in ADO.Identifier) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value);
end Set_Id;
function Get_Id (Object : in Session_Ref)
return ADO.Identifier is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Object.all)'Access;
begin
return Impl.Get_Key_Value;
end Get_Id;
procedure Set_Create_Date (Object : in out Session_Ref;
Value : in Ada.Calendar.Time) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Time (Impl.all, 2, Impl.Create_Date, Value);
end Set_Create_Date;
function Get_Create_Date (Object : in Session_Ref)
return Ada.Calendar.Time is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Create_Date;
end Get_Create_Date;
procedure Set_Salt (Object : in out Session_Ref;
Value : in String) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_String (Impl.all, 3, Impl.Salt, Value);
end Set_Salt;
procedure Set_Salt (Object : in out Session_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 3, Impl.Salt, Value);
end Set_Salt;
function Get_Salt (Object : in Session_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Salt);
end Get_Salt;
function Get_Salt (Object : in Session_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Salt;
end Get_Salt;
procedure Set_Expire_Date (Object : in out Session_Ref;
Value : in Ada.Calendar.Time) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Time (Impl.all, 4, Impl.Expire_Date, Value);
end Set_Expire_Date;
function Get_Expire_Date (Object : in Session_Ref)
return Ada.Calendar.Time is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Expire_Date;
end Get_Expire_Date;
procedure Set_Application (Object : in out Session_Ref;
Value : in AWA.OAuth.Models.Application_Ref'Class) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 5, Impl.Application, Value);
end Set_Application;
function Get_Application (Object : in Session_Ref)
return AWA.OAuth.Models.Application_Ref'Class is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Application;
end Get_Application;
procedure Set_User (Object : in out Session_Ref;
Value : in AWA.Users.Models.User_Ref'Class) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 6, Impl.User, Value);
end Set_User;
function Get_User (Object : in Session_Ref)
return AWA.Users.Models.User_Ref'Class is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.User;
end Get_User;
procedure Set_Session (Object : in out Session_Ref;
Value : in AWA.Users.Models.Session_Ref'Class) is
Impl : Session_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 7, Impl.Session, Value);
end Set_Session;
function Get_Session (Object : in Session_Ref)
return AWA.Users.Models.Session_Ref'Class is
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Session;
end Get_Session;
-- Copy of the object.
procedure Copy (Object : in Session_Ref;
Into : in out Session_Ref) is
Result : Session_Ref;
begin
if not Object.Is_Null then
declare
Impl : constant Session_Access
:= Session_Impl (Object.Get_Load_Object.all)'Access;
Copy : constant Session_Access
:= new Session_Impl;
begin
ADO.Objects.Set_Object (Result, Copy.all'Access);
Copy.Copy (Impl.all);
Copy.Create_Date := Impl.Create_Date;
Copy.Salt := Impl.Salt;
Copy.Expire_Date := Impl.Expire_Date;
Copy.Application := Impl.Application;
Copy.User := Impl.User;
Copy.Session := Impl.Session;
end;
end if;
Into := Result;
end Copy;
procedure Find (Object : in out Session_Ref;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean) is
Impl : constant Session_Access := new Session_Impl;
begin
Impl.Find (Session, Query, Found);
if Found then
ADO.Objects.Set_Object (Object, Impl.all'Access);
else
ADO.Objects.Set_Object (Object, null);
Destroy (Impl);
end if;
end Find;
procedure Load (Object : in out Session_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier) is
Impl : constant Session_Access := new Session_Impl;
Found : Boolean;
Query : ADO.SQL.Query;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Impl.Find (Session, Query, Found);
if not Found then
Destroy (Impl);
raise ADO.Objects.NOT_FOUND;
end if;
ADO.Objects.Set_Object (Object, Impl.all'Access);
end Load;
procedure Load (Object : in out Session_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier;
Found : out Boolean) is
Impl : constant Session_Access := new Session_Impl;
Query : ADO.SQL.Query;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Impl.Find (Session, Query, Found);
if not Found then
Destroy (Impl);
else
ADO.Objects.Set_Object (Object, Impl.all'Access);
end if;
end Load;
procedure Save (Object : in out Session_Ref;
Session : in out ADO.Sessions.Master_Session'Class) is
Impl : ADO.Objects.Object_Record_Access := Object.Get_Object;
begin
if Impl = null then
Impl := new Session_Impl;
ADO.Objects.Set_Object (Object, Impl);
end if;
if not ADO.Objects.Is_Created (Impl.all) then
Impl.Create (Session);
else
Impl.Save (Session);
end if;
end Save;
procedure Delete (Object : in out Session_Ref;
Session : in out ADO.Sessions.Master_Session'Class) is
Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object;
begin
if Impl /= null then
Impl.Delete (Session);
end if;
end Delete;
-- --------------------
-- Free the object
-- --------------------
procedure Destroy (Object : access Session_Impl) is
type Session_Impl_Ptr is access all Session_Impl;
procedure Unchecked_Free is new Ada.Unchecked_Deallocation
(Session_Impl, Session_Impl_Ptr);
pragma Warnings (Off, "*redundant conversion*");
Ptr : Session_Impl_Ptr := Session_Impl (Object.all)'Access;
pragma Warnings (On, "*redundant conversion*");
begin
Unchecked_Free (Ptr);
end Destroy;
procedure Find (Object : in out Session_Impl;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean) is
Stmt : ADO.Statements.Query_Statement
:= Session.Create_Statement (Query, SESSION_DEF'Access);
begin
Stmt.Execute;
if Stmt.Has_Elements then
Object.Load (Stmt, Session);
Stmt.Next;
Found := not Stmt.Has_Elements;
else
Found := False;
end if;
end Find;
overriding
procedure Load (Object : in out Session_Impl;
Session : in out ADO.Sessions.Session'Class) is
Found : Boolean;
Query : ADO.SQL.Query;
Id : constant ADO.Identifier := Object.Get_Key_Value;
begin
Query.Bind_Param (Position => 1, Value => Id);
Query.Set_Filter ("id = ?");
Object.Find (Session, Query, Found);
if not Found then
raise ADO.Objects.NOT_FOUND;
end if;
end Load;
procedure Save (Object : in out Session_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Stmt : ADO.Statements.Update_Statement
:= Session.Create_Statement (SESSION_DEF'Access);
begin
if Object.Is_Modified (1) then
Stmt.Save_Field (Name => COL_0_3_NAME, -- id
Value => Object.Get_Key);
Object.Clear_Modified (1);
end if;
if Object.Is_Modified (2) then
Stmt.Save_Field (Name => COL_1_3_NAME, -- create_date
Value => Object.Create_Date);
Object.Clear_Modified (2);
end if;
if Object.Is_Modified (3) then
Stmt.Save_Field (Name => COL_2_3_NAME, -- salt
Value => Object.Salt);
Object.Clear_Modified (3);
end if;
if Object.Is_Modified (4) then
Stmt.Save_Field (Name => COL_3_3_NAME, -- expire_date
Value => Object.Expire_Date);
Object.Clear_Modified (4);
end if;
if Object.Is_Modified (5) then
Stmt.Save_Field (Name => COL_4_3_NAME, -- application_id
Value => Object.Application);
Object.Clear_Modified (5);
end if;
if Object.Is_Modified (6) then
Stmt.Save_Field (Name => COL_5_3_NAME, -- user_id
Value => Object.User);
Object.Clear_Modified (6);
end if;
if Object.Is_Modified (7) then
Stmt.Save_Field (Name => COL_6_3_NAME, -- session_id
Value => Object.Session);
Object.Clear_Modified (7);
end if;
if Stmt.Has_Save_Fields then
Stmt.Set_Filter (Filter => "id = ?");
Stmt.Add_Param (Value => Object.Get_Key);
declare
Result : Integer;
begin
Stmt.Execute (Result);
if Result /= 1 then
if Result /= 0 then
raise ADO.Objects.UPDATE_ERROR;
end if;
end if;
end;
end if;
end Save;
procedure Create (Object : in out Session_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Query : ADO.Statements.Insert_Statement
:= Session.Create_Statement (SESSION_DEF'Access);
Result : Integer;
begin
Session.Allocate (Id => Object);
Query.Save_Field (Name => COL_0_3_NAME, -- id
Value => Object.Get_Key);
Query.Save_Field (Name => COL_1_3_NAME, -- create_date
Value => Object.Create_Date);
Query.Save_Field (Name => COL_2_3_NAME, -- salt
Value => Object.Salt);
Query.Save_Field (Name => COL_3_3_NAME, -- expire_date
Value => Object.Expire_Date);
Query.Save_Field (Name => COL_4_3_NAME, -- application_id
Value => Object.Application);
Query.Save_Field (Name => COL_5_3_NAME, -- user_id
Value => Object.User);
Query.Save_Field (Name => COL_6_3_NAME, -- session_id
Value => Object.Session);
Query.Execute (Result);
if Result /= 1 then
raise ADO.Objects.INSERT_ERROR;
end if;
ADO.Objects.Set_Created (Object);
end Create;
procedure Delete (Object : in out Session_Impl;
Session : in out ADO.Sessions.Master_Session'Class) is
Stmt : ADO.Statements.Delete_Statement
:= Session.Create_Statement (SESSION_DEF'Access);
begin
Stmt.Set_Filter (Filter => "id = ?");
Stmt.Add_Param (Value => Object.Get_Key);
Stmt.Execute;
end Delete;
-- ------------------------------
-- Get the bean attribute identified by the name.
-- ------------------------------
overriding
function Get_Value (From : in Session_Ref;
Name : in String) return Util.Beans.Objects.Object is
Obj : ADO.Objects.Object_Record_Access;
Impl : access Session_Impl;
begin
if From.Is_Null then
return Util.Beans.Objects.Null_Object;
end if;
Obj := From.Get_Load_Object;
Impl := Session_Impl (Obj.all)'Access;
if Name = "id" then
return ADO.Objects.To_Object (Impl.Get_Key);
elsif Name = "create_date" then
return Util.Beans.Objects.Time.To_Object (Impl.Create_Date);
elsif Name = "salt" then
return Util.Beans.Objects.To_Object (Impl.Salt);
elsif Name = "expire_date" then
return Util.Beans.Objects.Time.To_Object (Impl.Expire_Date);
end if;
return Util.Beans.Objects.Null_Object;
end Get_Value;
procedure List (Object : in out Session_Vector;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class) is
Stmt : ADO.Statements.Query_Statement
:= Session.Create_Statement (Query, SESSION_DEF'Access);
begin
Stmt.Execute;
Session_Vectors.Clear (Object);
while Stmt.Has_Elements loop
declare
Item : Session_Ref;
Impl : constant Session_Access := new Session_Impl;
begin
Impl.Load (Stmt, Session);
ADO.Objects.Set_Object (Item, Impl.all'Access);
Object.Append (Item);
end;
Stmt.Next;
end loop;
end List;
-- ------------------------------
-- Load the object from current iterator position
-- ------------------------------
procedure Load (Object : in out Session_Impl;
Stmt : in out ADO.Statements.Query_Statement'Class;
Session : in out ADO.Sessions.Session'Class) is
begin
Object.Set_Key_Value (Stmt.Get_Identifier (0));
Object.Create_Date := Stmt.Get_Time (1);
Object.Salt := Stmt.Get_Unbounded_String (2);
Object.Expire_Date := Stmt.Get_Time (3);
if not Stmt.Is_Null (4) then
Object.Application.Set_Key_Value (Stmt.Get_Identifier (4), Session);
end if;
if not Stmt.Is_Null (5) then
Object.User.Set_Key_Value (Stmt.Get_Identifier (5), Session);
end if;
if not Stmt.Is_Null (6) then
Object.Session.Set_Key_Value (Stmt.Get_Identifier (6), Session);
end if;
ADO.Objects.Set_Created (Object);
end Load;
end AWA.OAuth.Models;
|
------------------------------------------------------------------------------
-- --
-- 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.Generic_Collections;
package AMF.DI.Styles.Collections is
pragma Preelaborate;
package DI_Style_Collections is
new AMF.Generic_Collections
(DI_Style,
DI_Style_Access);
type Set_Of_DI_Style is
new DI_Style_Collections.Set with null record;
Empty_Set_Of_DI_Style : constant Set_Of_DI_Style;
type Ordered_Set_Of_DI_Style is
new DI_Style_Collections.Ordered_Set with null record;
Empty_Ordered_Set_Of_DI_Style : constant Ordered_Set_Of_DI_Style;
type Bag_Of_DI_Style is
new DI_Style_Collections.Bag with null record;
Empty_Bag_Of_DI_Style : constant Bag_Of_DI_Style;
type Sequence_Of_DI_Style is
new DI_Style_Collections.Sequence with null record;
Empty_Sequence_Of_DI_Style : constant Sequence_Of_DI_Style;
private
Empty_Set_Of_DI_Style : constant Set_Of_DI_Style
:= (DI_Style_Collections.Set with null record);
Empty_Ordered_Set_Of_DI_Style : constant Ordered_Set_Of_DI_Style
:= (DI_Style_Collections.Ordered_Set with null record);
Empty_Bag_Of_DI_Style : constant Bag_Of_DI_Style
:= (DI_Style_Collections.Bag with null record);
Empty_Sequence_Of_DI_Style : constant Sequence_Of_DI_Style
:= (DI_Style_Collections.Sequence with null record);
end AMF.DI.Styles.Collections;
|
with Tkmrpc.Types;
with Tkmrpc.Operations.Ike;
package Tkmrpc.Request.Ike.Esa_Reset is
Data_Size : constant := 8;
type Data_Type is record
Esa_Id : Types.Esa_Id_Type;
end record;
for Data_Type use record
Esa_Id at 0 range 0 .. (8 * 8) - 1;
end record;
for Data_Type'Size use Data_Size * 8;
Padding_Size : constant := Request.Body_Size - Data_Size;
subtype Padding_Range is Natural range 1 .. Padding_Size;
subtype Padding_Type is Types.Byte_Sequence (Padding_Range);
type Request_Type is record
Header : Request.Header_Type;
Data : Data_Type;
Padding : Padding_Type;
end record;
for Request_Type use record
Header at 0 range 0 .. (Request.Header_Size * 8) - 1;
Data at Request.Header_Size range 0 .. (Data_Size * 8) - 1;
Padding at Request.Header_Size + Data_Size range
0 .. (Padding_Size * 8) - 1;
end record;
for Request_Type'Size use Request.Request_Size * 8;
Null_Request : constant Request_Type :=
Request_Type'
(Header =>
Request.Header_Type'(Operation => Operations.Ike.Esa_Reset,
Request_Id => 0),
Data => Data_Type'(Esa_Id => Types.Esa_Id_Type'First),
Padding => Padding_Type'(others => 0));
end Tkmrpc.Request.Ike.Esa_Reset;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2015, Vadim Godunko <vgodunko@gmail.com> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Asis.Declarations;
with Asis.Elements;
package body Properties.Declarations.Constant_Declarations is
------------
-- Bounds --
------------
function Bounds
(Engine : access Engines.Contexts.Context;
Element : Asis.Declaration;
Name : Engines.Text_Property) return League.Strings.Universal_String
is
Tipe : constant Asis.Definition :=
Asis.Declarations.Object_Declaration_View (Element);
begin
return Engine.Text.Get_Property (Tipe, Name);
end Bounds;
----------
-- Code --
----------
function Code
(Engine : access Engines.Contexts.Context;
Element : Asis.Declaration;
Name : Engines.Text_Property) return League.Strings.Universal_String
is
List : constant Asis.Defining_Name_List :=
Asis.Declarations.Names (Element);
Inside_Package : constant Boolean := Engine.Boolean.Get_Property
(Element, Engines.Inside_Package);
Init_Code : League.Strings.Universal_String;
Constant_Name : League.Strings.Universal_String;
Text : League.Strings.Universal_String;
begin
Init_Code := Engine.Text.Get_Property (Element, Engines.Initialize);
for J in List'Range loop
if Inside_Package then
Text.Append ("_ec.");
else
Text.Append ("var ");
end if;
Constant_Name := Engine.Text.Get_Property (List (J), Name);
Text.Append (Constant_Name);
if not Init_Code.Is_Empty then
Text.Append (" = ");
Text.Append (Init_Code);
end if;
Text.Append (";");
end loop;
return Text;
end Code;
-----------------------
-- Has_Simple_Output --
-----------------------
function Has_Simple_Output
(Engine : access Engines.Contexts.Context;
Element : Asis.Declaration;
Name : Engines.Boolean_Property) return Boolean
is
pragma Unreferenced (Name);
begin
return Asis.Elements.Mode_Kind (Element) in
Asis.An_In_Out_Mode | Asis.An_Out_Mode
and then Engine.Boolean.Get_Property
(Asis.Declarations.Object_Declaration_View (Element),
Engines.Is_Simple_Type);
end Has_Simple_Output;
----------------
-- Initialize --
----------------
function Initialize
(Engine : access Engines.Contexts.Context;
Element : Asis.Declaration;
Name : Engines.Text_Property) return League.Strings.Universal_String
is
Is_Simple_Ref : constant Boolean :=
Engine.Boolean.Get_Property (Element, Engines.Is_Simple_Ref);
Tipe : constant Asis.Definition :=
Asis.Declarations.Object_Declaration_View (Element);
Init : constant Asis.Expression :=
Asis.Declarations.Initialization_Expression (Element);
Result : League.Strings.Universal_String;
begin
if Is_Simple_Ref then
Result.Append ("{all: ");
end if;
if not Asis.Elements.Is_Nil (Init) then
Result.Append (Engine.Text.Get_Property (Init, Engines.Code));
else
Result.Append (Engine.Text.Get_Property (Tipe, Name));
end if;
if Is_Simple_Ref then
Result.Append ("}");
end if;
return Result;
end Initialize;
-------------------
-- Is_Simple_Ref --
-------------------
function Is_Simple_Ref
(Engine : access Engines.Contexts.Context;
Element : Asis.Declaration;
Name : Engines.Boolean_Property) return Boolean
is
pragma Unreferenced (Name);
Tipe : constant Asis.Definition :=
Asis.Declarations.Object_Declaration_View (Element);
begin
return Asis.Elements.Has_Aliased (Element)
and then
Engine.Boolean.Get_Property (Tipe, Engines.Is_Simple_Type);
end Is_Simple_Ref;
end Properties.Declarations.Constant_Declarations;
|
-- Copyright 2014-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/>.
with System;
package Pck is
type Bounded is array (Integer range <>) of Integer;
function New_Bounded (Low, High : Integer) return Bounded;
procedure Do_Nothing (A : System.Address);
end Pck;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ADA.WIDE_TEXT_IO.RESET_STANDARD_FILES --
-- --
-- S p e c --
-- --
-- Copyright (C) 2009-2020, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package provides a reset routine that resets the standard files used
-- by Ada.Wide_Text_IO. This is useful in systems such as VxWorks where
-- Ada.Wide_Text_IO is elaborated at the program start, but a system restart
-- may alter the status of these files, resulting in incorrect operation of
-- Wide_Text_IO (in particular if the standard input file is changed to be
-- interactive, then Get_Line may hang looking for an extra character after
-- the end of the line.
procedure Ada.Wide_Text_IO.Reset_Standard_Files;
-- Reset standard Wide_Text_IO files as described above
|
-- Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
with Interfaces;
with Pck; use Pck;
procedure P is
subtype Double is Interfaces.IEEE_Float_64;
D1 : Double := 123.0;
D2 : Double;
pragma Import (Ada, D2);
for D2'Address use D1'Address;
begin
Do_Nothing (D1'Address); -- START
Do_Nothing (D2'Address);
end P;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- A D A . W I D E _ T E X T _ I O . E N U M E R A T I O N _ A U X --
-- --
-- B o d y --
-- --
-- $Revision$
-- --
-- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
-- MA 02111-1307, USA. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Wide_Text_IO.Generic_Aux; use Ada.Wide_Text_IO.Generic_Aux;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Interfaces.C_Streams; use Interfaces.C_Streams;
with System.WCh_Con; use System.WCh_Con;
package body Ada.Wide_Text_IO.Enumeration_Aux is
subtype TFT is Ada.Wide_Text_IO.File_Type;
-- File type required for calls to routines in Aux
-----------------------
-- Local Subprograms --
-----------------------
procedure Store_Char
(File : File_Type;
WC : Wide_Character;
Buf : out Wide_String;
Ptr : in out Integer);
-- Store a single character in buffer, checking for overflow.
-- These definitions replace the ones in Ada.Characters.Handling, which
-- do not seem to work for some strange not understood reason ??? at
-- least in the OS/2 version.
function To_Lower (C : Character) return Character;
function To_Upper (C : Character) return Character;
------------------
-- Get_Enum_Lit --
------------------
procedure Get_Enum_Lit
(File : File_Type;
Buf : out Wide_String;
Buflen : out Natural)
is
ch : int;
WC : Wide_Character;
begin
Buflen := 0;
Load_Skip (TFT (File));
ch := Nextc (TFT (File));
-- Character literal case. If the initial character is a quote, then
-- we read as far as we can without backup (see ACVC test CE3905L)
if ch = Character'Pos (''') then
Get (File, WC);
Store_Char (File, WC, Buf, Buflen);
ch := Nextc (TFT (File));
if ch = LM or else ch = EOF then
return;
end if;
Get (File, WC);
Store_Char (File, WC, Buf, Buflen);
ch := Nextc (TFT (File));
if ch /= Character'Pos (''') then
return;
end if;
Get (File, WC);
Store_Char (File, WC, Buf, Buflen);
-- Similarly for identifiers, read as far as we can, in particular,
-- do read a trailing underscore (again see ACVC test CE3905L to
-- understand why we do this, although it seems somewhat peculiar).
else
-- Identifier must start with a letter. Any wide character value
-- outside the normal Latin-1 range counts as a letter for this.
if ch < 255 and then not Is_Letter (Character'Val (ch)) then
return;
end if;
-- If we do have a letter, loop through the characters quitting on
-- the first non-identifier character (note that this includes the
-- cases of hitting a line mark or page mark).
loop
Get (File, WC);
Store_Char (File, WC, Buf, Buflen);
ch := Nextc (TFT (File));
exit when ch = EOF;
if ch = Character'Pos ('_') then
exit when Buf (Buflen) = '_';
elsif ch = Character'Pos (ASCII.ESC) then
null;
elsif File.WC_Method in WC_Upper_Half_Encoding_Method
and then ch > 127
then
null;
else
exit when Is_Letter (Character'Val (ch))
and then not Is_Digit (Character'Val (ch));
end if;
end loop;
end if;
end Get_Enum_Lit;
---------
-- Put --
---------
procedure Put
(File : File_Type;
Item : Wide_String;
Width : Field;
Set : Type_Set)
is
Actual_Width : constant Integer :=
Integer'Max (Integer (Width), Item'Length);
begin
Check_On_One_Line (TFT (File), Actual_Width);
if Set = Lower_Case and then Item (1) /= ''' then
declare
Iteml : Wide_String (Item'First .. Item'Last);
begin
for J in Item'Range loop
if Is_Character (Item (J)) then
Iteml (J) :=
To_Wide_Character (To_Lower (To_Character (Item (J))));
else
Iteml (J) := Item (J);
end if;
end loop;
Put (File, Iteml);
end;
else
Put (File, Item);
end if;
for J in 1 .. Actual_Width - Item'Length loop
Put (File, ' ');
end loop;
end Put;
----------
-- Puts --
----------
procedure Puts
(To : out Wide_String;
Item : in Wide_String;
Set : Type_Set)
is
Ptr : Natural;
begin
if Item'Length > To'Length then
raise Layout_Error;
else
Ptr := To'First;
for J in Item'Range loop
if Set = Lower_Case
and then Item (1) /= '''
and then Is_Character (Item (J))
then
To (Ptr) :=
To_Wide_Character (To_Lower (To_Character (Item (J))));
else
To (Ptr) := Item (J);
end if;
Ptr := Ptr + 1;
end loop;
while Ptr <= To'Last loop
To (Ptr) := ' ';
Ptr := Ptr + 1;
end loop;
end if;
end Puts;
-------------------
-- Scan_Enum_Lit --
-------------------
procedure Scan_Enum_Lit
(From : Wide_String;
Start : out Natural;
Stop : out Natural)
is
WC : Wide_Character;
-- Processing for Scan_Enum_Lit
begin
Start := From'First;
loop
if Start > From'Last then
raise End_Error;
elsif Is_Character (From (Start))
and then not Is_Blank (To_Character (From (Start)))
then
exit;
else
Start := Start + 1;
end if;
end loop;
-- Character literal case. If the initial character is a quote, then
-- we read as far as we can without backup (see ACVC test CE3905L
-- which is for the analogous case for reading from a file).
if From (Start) = ''' then
Stop := Start;
if Stop = From'Last then
raise Data_Error;
else
Stop := Stop + 1;
end if;
if From (Stop) in ' ' .. '~'
or else From (Stop) >= Wide_Character'Val (16#80#)
then
if Stop = From'Last then
raise Data_Error;
else
Stop := Stop + 1;
if From (Stop) = ''' then
return;
end if;
end if;
end if;
Stop := Stop - 1;
raise Data_Error;
-- Similarly for identifiers, read as far as we can, in particular,
-- do read a trailing underscore (again see ACVC test CE3905L to
-- understand why we do this, although it seems somewhat peculiar).
else
-- Identifier must start with a letter, any wide character outside
-- the normal Latin-1 range is considered a letter for this test.
if Is_Character (From (Start))
and then not Is_Letter (To_Character (From (Start)))
then
raise Data_Error;
end if;
-- If we do have a letter, loop through the characters quitting on
-- the first non-identifier character (note that this includes the
-- cases of hitting a line mark or page mark).
Stop := Start + 1;
while Stop < From'Last loop
WC := From (Stop + 1);
exit when
Is_Character (WC)
and then
not Is_Letter (To_Character (WC))
and then
not Is_Letter (To_Character (WC))
and then
(WC /= '_' or else From (Stop - 1) = '_');
Stop := Stop + 1;
end loop;
end if;
end Scan_Enum_Lit;
----------------
-- Store_Char --
----------------
procedure Store_Char
(File : File_Type;
WC : Wide_Character;
Buf : out Wide_String;
Ptr : in out Integer)
is
begin
if Ptr = Buf'Last then
raise Data_Error;
else
Ptr := Ptr + 1;
Buf (Ptr) := WC;
end if;
end Store_Char;
--------------
-- To_Lower --
--------------
function To_Lower (C : Character) return Character is
begin
if C in 'A' .. 'Z' then
return Character'Val (Character'Pos (C) + 32);
else
return C;
end if;
end To_Lower;
--------------
-- To_Upper --
--------------
function To_Upper (C : Character) return Character is
begin
if C in 'a' .. 'z' then
return Character'Val (Character'Pos (C) - 32);
else
return C;
end if;
end To_Upper;
end Ada.Wide_Text_IO.Enumeration_Aux;
|
-- { dg-do compile }
-- { dg-options "-O" }
with Ada.Text_IO;
procedure Opt69 is
procedure Inner
(A : String := (1 .. 15 => ASCII.NUL);
B : String := (1 .. 5 => ASCII.NUL);
C : String := (1 .. 5 => ASCII.NUL))
is
Aa : String (1 .. 15);
Bb : String (1 .. 5);
Cc : String (1 .. 5);
begin
Aa := A;
Bb := B;
Cc := C;
Ada.Text_IO.Put_Line (Aa);
Ada.Text_IO.Put_Line (Bb);
Ada.Text_IO.Put_Line (Cc);
end;
begin
Inner;
end;
|
<?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>ps2ip_fifo</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>6</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>ps2ip_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>ps2ip.V.data.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</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>ps2ip_V_strb_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>ps2ip.V.strb.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</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>ps2ip_V_last_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>ps2ip.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="_4">
<Value>
<Obj>
<type>1</type>
<id>4</id>
<name>ps2ipFifo_V_data_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>32</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="_5">
<Value>
<Obj>
<type>1</type>
<id>5</id>
<name>ps2ipFifo_V_strb_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>4</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="_6">
<Value>
<Obj>
<type>1</type>
<id>6</id>
<name>ps2ipFifo_V_last_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>1</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>9</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>12</id>
<name>tmp</name>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>14</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="10" tracking_level="0" version="0">
<first>C:\Work\Courses\HRY591\project\files\hls_distro</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>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>14</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>25</item>
<item>26</item>
<item>27</item>
<item>28</item>
<item>30</item>
</oprand_edges>
<opcode>nbreadreq</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>13</id>
<name/>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>14</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>14</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>31</item>
<item>32</item>
<item>33</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name>empty</name>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>16</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>16</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>37</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
<item>140</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>16</id>
<name>tmp_data_V</name>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>16</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>16</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.data.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>17</id>
<name>tmp_strb_V</name>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>16</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>16</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.strb.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>4</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>18</id>
<name>tmp_last_V</name>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>16</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>16</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>41</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name/>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>17</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>17</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>7</count>
<item_version>0</item_version>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
<item>47</item>
<item>48</item>
<item>49</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>20</id>
<name/>
<fileName>my_ip_hls/ps2ip_fifo.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>18</lineNumber>
<contextFuncName>ps2ip_fifo</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>C:\Work\Courses\HRY591\project\files\hls_distro</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>my_ip_hls/ps2ip_fifo.cpp</first>
<second>ps2ip_fifo</second>
</first>
<second>18</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>50</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>0</count>
<item_version>0</item_version>
</oprand_edges>
<opcode>ret</opcode>
<m_Display>0</m_Display>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_16">
<Value>
<Obj>
<type>2</type>
<id>29</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>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_17">
<Obj>
<type>3</type>
<id>14</id>
<name>entry</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>12</item>
<item>13</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_18">
<Obj>
<type>3</type>
<id>21</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>6</count>
<item_version>0</item_version>
<item>15</item>
<item>16</item>
<item>17</item>
<item>18</item>
<item>19</item>
<item>20</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_19">
<Obj>
<type>3</type>
<id>23</id>
<name>ps2ip_fifo.exit</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>22</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>24</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_20">
<id>26</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_21">
<id>27</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_22">
<id>28</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_23">
<id>30</id>
<edge_type>1</edge_type>
<source_obj>29</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_24">
<id>31</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>13</sink_obj>
</item>
<item class_id_reference="20" object_id="_25">
<id>32</id>
<edge_type>2</edge_type>
<source_obj>23</source_obj>
<sink_obj>13</sink_obj>
</item>
<item class_id_reference="20" object_id="_26">
<id>33</id>
<edge_type>2</edge_type>
<source_obj>21</source_obj>
<sink_obj>13</sink_obj>
</item>
<item class_id_reference="20" object_id="_27">
<id>36</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_28">
<id>37</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_29">
<id>38</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_30">
<id>39</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_31">
<id>40</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>17</sink_obj>
</item>
<item class_id_reference="20" object_id="_32">
<id>41</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>18</sink_obj>
</item>
<item class_id_reference="20" object_id="_33">
<id>44</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_34">
<id>45</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_35">
<id>46</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_36">
<id>47</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_37">
<id>48</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_38">
<id>49</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_39">
<id>50</id>
<edge_type>2</edge_type>
<source_obj>23</source_obj>
<sink_obj>20</sink_obj>
</item>
<item class_id_reference="20" object_id="_40">
<id>137</id>
<edge_type>2</edge_type>
<source_obj>14</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_41">
<id>138</id>
<edge_type>2</edge_type>
<source_obj>14</source_obj>
<sink_obj>23</sink_obj>
</item>
<item class_id_reference="20" object_id="_42">
<id>139</id>
<edge_type>2</edge_type>
<source_obj>21</source_obj>
<sink_obj>23</sink_obj>
</item>
<item class_id_reference="20" object_id="_43">
<id>140</id>
<edge_type>4</edge_type>
<source_obj>12</source_obj>
<sink_obj>15</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="_44">
<mId>1</mId>
<mTag>ps2ip_fifo</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>3</count>
<item_version>0</item_version>
<item>14</item>
<item>21</item>
<item>23</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>1</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"/>
</item>
</cdfg_regions>
<fsm class_id="24" tracking_level="1" version="0" object_id="_45">
<states 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="_46">
<id>1</id>
<operations class_id="27" tracking_level="0" version="0">
<count>6</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="1" version="0" object_id="_47">
<id>12</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_48">
<id>13</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_49">
<id>15</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_50">
<id>16</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_51">
<id>17</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_52">
<id>18</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_53">
<id>2</id>
<operations>
<count>8</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_54">
<id>7</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_55">
<id>8</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_56">
<id>9</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_57">
<id>10</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_58">
<id>11</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_59">
<id>19</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_60">
<id>20</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_61">
<id>22</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
</states>
<transitions class_id="29" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="1" version="0" object_id="_62">
<inState>1</inState>
<outState>2</outState>
<condition class_id="31" tracking_level="0" version="0">
<id>7</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>
</transitions>
</fsm>
<res class_id="34" tracking_level="1" version="0" object_id="_63">
<dp_component_resource class_id="35" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_component_resource>
<dp_expression_resource>
<count>4</count>
<item_version>0</item_version>
<item class_id="36" tracking_level="0" version="0">
<first>ap_block_state1_pp0_stage0_iter0 ( or ) </first>
<second class_id="37" tracking_level="0" version="0">
<count>4</count>
<item_version>0</item_version>
<item class_id="38" 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>8</second>
</item>
</second>
</item>
<item>
<first>ap_block_state2_pp0_stage0_iter1 ( 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>8</second>
</item>
</second>
</item>
<item>
<first>ps2ipFifo_V_data_V1_status ( 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>8</second>
</item>
</second>
</item>
<item>
<first>tmp_nbreadreq_fu_40_p5 ( and ) </first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>8</second>
</item>
</second>
</item>
</dp_expression_resource>
<dp_fifo_resource>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_resource>
<dp_memory_resource>
<count>0</count>
<item_version>0</item_version>
</dp_memory_resource>
<dp_multiplexer_resource>
<count>7</count>
<item_version>0</item_version>
<item>
<first>ap_NS_iter1_fsm</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>15</second>
</item>
</second>
</item>
<item>
<first>ap_done</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>2</second>
</item>
<item>
<first>LUT</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>ps2ipFifo_V_data_V_blk_n</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>2</second>
</item>
<item>
<first>LUT</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>ps2ipFifo_V_last_V_blk_n</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>2</second>
</item>
<item>
<first>LUT</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>ps2ipFifo_V_strb_V_blk_n</first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0Size)</first>
<second>2</second>
</item>
<item>
<first>(1Bits)</first>
<second>1</second>
</item>
<item>
<first>(2Count)</first>
<second>2</second>
</item>
<item>
<first>LUT</first>
<second>9</second>
</item>
</second>
</item>
<item>
<first>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>9</second>
</item>
</second>
</item>
<item>
<first>slaveIn_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>9</second>
</item>
</second>
</item>
</dp_multiplexer_resource>
<dp_register_resource>
<count>8</count>
<item_version>0</item_version>
<item>
<first>ap_CS_iter0_fsm</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_CS_iter1_fsm</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_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>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>tmp_data_V_reg_91</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>32</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>32</second>
</item>
</second>
</item>
<item>
<first>tmp_last_V_reg_101</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>tmp_reg_87</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>tmp_strb_V_reg_96</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>(Bits)</first>
<second>4</second>
</item>
<item>
<first>(Consts)</first>
<second>0</second>
</item>
<item>
<first>FF</first>
<second>4</second>
</item>
</second>
</item>
</dp_register_resource>
<dp_dsp_resource>
<count>0</count>
<item_version>0</item_version>
</dp_dsp_resource>
<dp_component_map class_id="39" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_component_map>
<dp_expression_map>
<count>0</count>
<item_version>0</item_version>
</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="40" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="41" tracking_level="0" version="0">
<first>12</first>
<second class_id="42" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>13</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>15</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>16</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>17</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>18</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="43" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="44" tracking_level="0" version="0">
<first>14</first>
<second class_id="45" tracking_level="0" version="0">
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>23</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="46" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="47" tracking_level="1" version="0" object_id="_64">
<region_name>ps2ip_fifo</region_name>
<basic_blocks>
<count>3</count>
<item_version>0</item_version>
<item>14</item>
<item>21</item>
<item>23</item>
</basic_blocks>
<nodes>
<count>0</count>
<item_version>0</item_version>
</nodes>
<anchor_node>-1</anchor_node>
<region_type>8</region_type>
<interval>1</interval>
<pipe_depth>2</pipe_depth>
</item>
</regions>
<dp_fu_nodes class_id="48" tracking_level="0" version="0">
<count>6</count>
<item_version>0</item_version>
<item class_id="49" tracking_level="0" version="0">
<first>40</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>52</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
<item>
<first>62</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>75</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>16</item>
</second>
</item>
<item>
<first>79</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>17</item>
</second>
</item>
<item>
<first>83</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>18</item>
</second>
</item>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="51" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="52" tracking_level="0" version="0">
<first>tmp_data_V_fu_75</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>16</item>
</second>
</item>
<item>
<first>tmp_last_V_fu_83</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>18</item>
</second>
</item>
<item>
<first>tmp_strb_V_fu_79</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>17</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>3</count>
<item_version>0</item_version>
<item>
<first>StgValue_14_write_fu_62</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>empty_read_fu_52</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
<item>
<first>tmp_nbreadreq_fu_40</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</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="53" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_mem_port_nodes>
<dp_reg_nodes>
<count>4</count>
<item_version>0</item_version>
<item>
<first>87</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>91</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>16</item>
</second>
</item>
<item>
<first>96</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>17</item>
</second>
</item>
<item>
<first>101</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>18</item>
</second>
</item>
</dp_reg_nodes>
<dp_regname_nodes>
<count>4</count>
<item_version>0</item_version>
<item>
<first>tmp_data_V_reg_91</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>16</item>
</second>
</item>
<item>
<first>tmp_last_V_reg_101</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>18</item>
</second>
</item>
<item>
<first>tmp_reg_87</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>tmp_strb_V_reg_96</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>17</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="54" tracking_level="0" version="0">
<count>6</count>
<item_version>0</item_version>
<item class_id="55" tracking_level="0" version="0">
<first>ps2ipFifo_V_data_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>19</item>
</second>
</item>
</second>
</item>
<item>
<first>ps2ipFifo_V_last_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>19</item>
</second>
</item>
</second>
</item>
<item>
<first>ps2ipFifo_V_strb_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>19</item>
</second>
</item>
</second>
</item>
<item>
<first>ps2ip_V_data_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
</second>
</item>
<item>
<first>ps2ip_V_last_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
</second>
</item>
<item>
<first>ps2ip_V_strb_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>12</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
</second>
</item>
</dp_port_io_nodes>
<port2core class_id="56" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="57" tracking_level="0" version="0">
<first>4</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>5</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>6</first>
<second>FIFO_SRL</second>
</item>
</port2core>
<node2core>
<count>0</count>
<item_version>0</item_version>
</node2core>
</syndb>
</boost_serialization>
|
-- int_in.ada
--
--
-- Title: Integer Input
-- Created: Wed Apr 14 12:53:06 1993
-- Author: Eric Gustafson
-- <egustafs@play-doh>
--
with TEXT_IO;
procedure INT_IN is
package INT_IO is new TEXT_IO.INTEGER_IO( INTEGER );
use TEXT_IO;
use INT_IO;
I : INTEGER;
VALID_INPUT : BOOLEAN;
begin -- INT_IN
VALID_INPUT := FALSE;
WHILE NOT( VALID_INPUT ) loop
begin
PUT("Enter Number: ");
GET( I );
VALID_INPUT := TRUE;
NEW_LINE(2);
exception
when DATA_ERROR =>
SKIP_LINE;
NEW_LINE;
PUT_LINE("Invalid format!");
when others =>
raise;
end;
end loop;
PUT("You entered:");
PUT( I );
NEW_LINE;
end INT_IN;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2015, Vadim Godunko <vgodunko@gmail.com> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This procedure detects parameters to link with SQLite3 library.
------------------------------------------------------------------------------
with Ada.Strings.Fixed;
with GNAT.OS_Lib;
with GNAT.Strings;
with Configure.Builder;
with Configure.Pkg_Config;
package body Configure.Tests.SQLite3 is
SQLite3_Package_Name : constant String := "sqlite3";
Has_SQLite3 : constant Unbounded_String := +"HAS_SQLITE3";
SQLite3_Library_Options : constant Unbounded_String
:= +"SQLITE3_LIBRARY_OPTIONS";
-------------
-- Execute --
-------------
overriding procedure Execute
(Self : in out SQLite3_Test;
Arguments : in out Unbounded_String_Vector)
is
use type GNAT.Strings.String_Access;
use all type Configure.Tests.Operating_System.Operating_Systems;
SQLite3_DLL_Name : constant String := "sqlite3.dll";
SQLite3_DLL_Path : constant GNAT.Strings.String_Access
:= GNAT.OS_Lib.Locate_Exec_On_Path (SQLite3_DLL_Name);
begin
-- Command line parameter has preference other automatic detection.
Self.Report_Check ("checking whether to build SQLite3 module");
Self.Switches.Parse_Switches (Arguments);
if Self.Switches.Is_Enabled then
if Self.Switches.Is_Libdir_Specified then
Substitutions.Insert
(SQLite3_Library_Options,
+"""-L"
& Self.Switches.Libdir
& """, ""-lsqlite3""");
Self.Report_Status ("yes (command line)");
elsif Configure.Pkg_Config.Has_Pkg_Config then
if Configure.Pkg_Config.Has_Package (SQLite3_Package_Name) then
Self.Report_Status ("yes (pkg-config)");
-- Check for SQLite3 version using pkg-config.
Self.Report_Check ("checking for SQLite3 version");
declare
Version : aliased Unbounded_String;
begin
if Configure.Pkg_Config.Package_Version_At_Least
(SQLite3_Package_Name, "3.6", Version'Access)
then
Self.Report_Status (+Version);
Self.Report_Check ("checking for linker switches");
declare
Libs : constant String_Vectors.Vector
:= Configure.Pkg_Config.Package_Libs
(SQLite3_Package_Name);
Opts : Unbounded_String;
begin
for J in Libs.First_Index .. Libs.Last_Index loop
if Length (Opts) /= 0 then
Append (Opts, ", ");
end if;
Append (Opts, '"');
Append (Opts, Libs.Element (J));
Append (Opts, '"');
end loop;
Substitutions.Insert (SQLite3_Library_Options, Opts);
Self.Report_Status (+Opts);
end;
else
Self.Report_Status (+Version & " (unsupported)");
end if;
end;
else
Self.Report_Status ("no (not found)");
end if;
elsif Self.Operating_System_Test.Get_Operating_System = Windows
and SQLite3_DLL_Path /= null
then
Substitutions.Insert
(SQLite3_Library_Options,
+"""-L"
& SQLite3_DLL_Path
(SQLite3_DLL_Path'First .. SQLite3_DLL_Path'Last
- SQLite3_DLL_Name'Length)
& """, ""-lsqlite3""");
Self.Report_Status ("yes (" & SQLite3_DLL_Name & " in PATH)");
else
Self.Report_Status ("no (pkg-config not found)");
end if;
else
Self.Report_Status ("no (command line)");
end if;
-- Check that SQLite3 application can be linked with specified/detected
-- set of options.
if Substitutions.Contains (SQLite3_Library_Options) then
Self.Report_Check
("checking whether SQLite3 library is usable");
if Configure.Builder.Build ("config.tests/sqlite3/") then
Self.Report_Status ("yes");
else
Self.Report_Status ("no");
-- Switches don't allow to build application, remove them.
Substitutions.Delete (SQLite3_Library_Options);
end if;
end if;
-- Insert empty value for substitution variable when SQLite3 driver
-- module is disabled.
if not Substitutions.Contains (SQLite3_Library_Options) then
Substitutions.Insert (SQLite3_Library_Options, Null_Unbounded_String);
Substitutions.Insert (Has_SQLite3, Null_Unbounded_String);
if Self.Switches.Is_Enabled
and Self.Switches.Is_Enable_Specified
then
Fatal_Error
("SQLite3 library is not found but support is requested");
else
Information ("SQLite3 driver module is disabled");
end if;
else
Substitutions.Insert (Has_SQLite3, To_Unbounded_String ("true"));
end if;
end Execute;
----------
-- Help --
----------
overriding function Help
(Self : SQLite3_Test) return Unbounded_String_Vector is
begin
return Self.Switches.Help;
end Help;
----------
-- Name --
----------
overriding function Name (Self : SQLite3_Test) return String is
begin
return "sqlite3";
end Name;
end Configure.Tests.SQLite3;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- T A B L E --
-- --
-- S p e c --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
-- This package provides an implementation of dynamically resizable one
-- dimensional arrays. The idea is to mimic the normal Ada semantics for
-- arrays as closely as possible with the one additional capability of
-- dynamically modifying the value of the Last attribute.
-- This package uses a very efficient memory management scheme and any
-- change must be carefully evaluated on compilation of real software.
-- Note that this interface should remain synchronized with those in
-- GNAT.Table and GNAT.Dynamic_Tables to keep coherency between these
-- three related units.
with Types; use Types;
package Table is
pragma Elaborate_Body;
generic
type Table_Component_Type is private;
type Table_Index_Type is range <>;
Table_Low_Bound : Table_Index_Type;
Table_Initial : Pos;
Table_Increment : Nat;
Table_Name : String;
Release_Threshold : Nat := 0;
package Table is
-- Table_Component_Type and Table_Index_Type specify the type of the
-- array, Table_Low_Bound is the lower bound. Table_Index_Type must be
-- an integer type. The effect is roughly to declare:
-- Table : array (Table_Index_Type range Table_Low_Bound .. <>)
-- of Table_Component_Type;
-- Note: since the upper bound can be one less than the lower
-- bound for an empty array, the table index type must be able
-- to cover this range, e.g. if the lower bound is 1, then the
-- Table_Index_Type should be Natural rather than Positive.
-- Table_Component_Type may be any Ada type, except that controlled
-- types are not supported. Note however that default initialization
-- will NOT occur for array components.
-- The Table_Initial values controls the allocation of the table when
-- it is first allocated, either by default, or by an explicit Init
-- call. The value used is Opt.Table_Factor * Table_Initial.
-- The Table_Increment value controls the amount of increase, if the
-- table has to be increased in size. The value given is a percentage
-- value (e.g. 100 = increase table size by 100%, i.e. double it).
-- The Table_Name parameter is simply use in debug output messages it
-- has no other usage, and is not referenced in non-debugging mode.
-- The Last and Set_Last subprograms provide control over the current
-- logical allocation. They are quite efficient, so they can be used
-- freely (expensive reallocation occurs only at major granularity
-- chunks controlled by the allocation parameters).
-- Note: We do not make the table components aliased, since this would
-- restrict the use of table for discriminated types. If it is necessary
-- to take the access of a table element, use Unrestricted_Access.
-- WARNING: On HPPA, the virtual addressing approach used in this unit
-- is incompatible with the indexing instructions on the HPPA. So when
-- using this unit, compile your application with -mdisable-indexing.
-- WARNING: If the table is reallocated, then the address of all its
-- components will change. So do not capture the address of an element
-- and then use the address later after the table may be reallocated.
-- One tricky case of this is passing an element of the table to a
-- subprogram by reference where the table gets reallocated during
-- the execution of the subprogram. The best rule to follow is never
-- to pass a table element as a parameter except for the case of IN
-- mode parameters with scalar values.
type Table_Type is
array (Table_Index_Type range <>) of Table_Component_Type;
subtype Big_Table_Type is
Table_Type (Table_Low_Bound .. Table_Index_Type'Last);
-- We work with pointers to a bogus array type that is constrained
-- with the maximum possible range bound. This means that the pointer
-- is a thin pointer, which is more efficient. Since subscript checks
-- in any case must be on the logical, rather than physical bounds,
-- safety is not compromised by this approach.
type Table_Ptr is access all Big_Table_Type;
for Table_Ptr'Storage_Size use 0;
-- The table is actually represented as a pointer to allow reallocation
Table : aliased Table_Ptr := null;
-- The table itself. The lower bound is the value of Low_Bound.
-- Logically the upper bound is the current value of Last (although
-- the actual size of the allocated table may be larger than this).
-- The program may only access and modify Table entries in the range
-- First .. Last.
Locked : Boolean := False;
-- Increasing the value of Last is permitted only if this switch is set
-- to False. A client may set Locked to True, in which case any attempt
-- to increase the value of Last (which might expand the table) will
-- cause an assertion failure. Note that while a table is locked, its
-- address in memory remains fixed and unchanging. This feature is used
-- to control table expansion during Gigi processing. Gigi assumes that
-- tables other than the Uint and Ureal tables do not move during
-- processing, which means that they cannot be expanded. The Locked
-- flag is used to enforce this restriction.
procedure Init;
-- This procedure allocates a new table of size Initial (freeing any
-- previously allocated larger table). It is not necessary to call
-- Init when a table is first instantiated (since the instantiation does
-- the same initialization steps). However, it is harmless to do so, and
-- Init is convenient in reestablishing a table for new use.
function Last return Table_Index_Type;
pragma Inline (Last);
-- Returns the current value of the last used entry in the table, which
-- can then be used as a subscript for Table. Note that the only way to
-- modify Last is to call the Set_Last procedure. Last must always be
-- used to determine the logically last entry.
procedure Release;
-- Storage is allocated in chunks according to the values given in the
-- Initial and Increment parameters. If Release_Threshold is 0 or the
-- length of the table does not exceed this threshold then a call to
-- Release releases all storage that is allocated, but is not logically
-- part of the current array value; otherwise the call to Release leaves
-- the current array value plus 0.1% of the current table length free
-- elements located at the end of the table (this parameter facilitates
-- reopening large tables and adding a few elements without allocating a
-- chunk of memory). In both cases current array values are not affected
-- by this call.
procedure Free;
-- Free all allocated memory for the table. A call to init is required
-- before any use of this table after calling Free.
First : constant Table_Index_Type := Table_Low_Bound;
-- Export First as synonym for Low_Bound (parallel with use of Last)
procedure Set_Last (New_Val : Table_Index_Type);
pragma Inline (Set_Last);
-- This procedure sets Last to the indicated value. If necessary the
-- table is reallocated to accommodate the new value (i.e. on return
-- the allocated table has an upper bound of at least Last). If Set_Last
-- reduces the size of the table, then logically entries are removed
-- from the table. If Set_Last increases the size of the table, then
-- new entries are logically added to the table.
procedure Increment_Last;
pragma Inline (Increment_Last);
-- Adds 1 to Last (same as Set_Last (Last + 1)
procedure Decrement_Last;
pragma Inline (Decrement_Last);
-- Subtracts 1 from Last (same as Set_Last (Last - 1)
procedure Append (New_Val : Table_Component_Type);
pragma Inline (Append);
-- Equivalent to:
-- x.Increment_Last;
-- x.Table (x.Last) := New_Val;
-- i.e. the table size is increased by one, and the given new item
-- stored in the newly created table element.
procedure Append_All (New_Vals : Table_Type);
-- Appends all components of New_Vals
procedure Set_Item
(Index : Table_Index_Type;
Item : Table_Component_Type);
pragma Inline (Set_Item);
-- Put Item in the table at position Index. The table is expanded if
-- current table length is less than Index and in that case Last is set
-- to Index. Item will replace any value already present in the table
-- at this position.
type Saved_Table is private;
-- Type used for Save/Restore subprograms
function Save return Saved_Table;
-- Resets table to empty, but saves old contents of table in returned
-- value, for possible later restoration by a call to Restore.
procedure Restore (T : Saved_Table);
-- Given a Saved_Table value returned by a prior call to Save, restores
-- the table to the state it was in at the time of the Save call.
private
Last_Val : Int;
-- Current value of Last. Note that we declare this in the private part
-- because we don't want the client to modify Last except through one of
-- the official interfaces (since a modification to Last may require a
-- reallocation of the table).
Max : Int;
-- Subscript of the maximum entry in the currently allocated table
type Saved_Table is record
Last_Val : Int;
Max : Int;
Table : Table_Ptr;
end record;
end Table;
end Table;
|
----------------------------------------------------------------------------
-- Symbolic Expressions (symexpr)
--
-- Copyright (C) 2012, Riccardo Bernardini
--
-- This file is part of symexpr.
--
-- symexpr is free software: you can redistribute it and/or modify
-- it under the terms of the Lesser GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- symexpr 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 Lesser GNU General Public License
-- along with gclp. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------------------------------------------
with Ada.Strings.Fixed;
package body Test_Report is
function Pad_To (What : String; To : Positive)
return String
is
use Ada.Strings.Fixed;
begin
if What'Length < To then
return (To - What'Length) * " " & What;
else
return What;
end if;
end Pad_To;
procedure Be_Verbose (This : in out Reporter_Type;
Flag : in Boolean := True) is
begin
This.Verbose := Flag;
end Be_Verbose;
procedure Set_Tab (This : in out Reporter_Type;
Tab : in Positive) is
begin
This.Tab := Tab;
end Set_Tab;
procedure Close_Suite (This : in out Reporter_Type) is
Suite_Name : constant String := To_String (This.Name);
begin
if (This.N_Tests = 0) then
return;
end if;
if (Suite_Name /= "") then
declare
Buf : constant String := " Test suite '" & Suite_Name & "'";
begin
if (This.Tab <= Buf'Length) then
This.Tab := Buf'Length + 1;
end if;
if This.Tab > Buf'Length then
Put (File => This.Output_To.all,
Item => Buf
& To_String ((This.Tab - Buf'Length) * '.'));
else
Put (File => This.Output_To.all,
Item => Buf & "...");
This.Tab := Buf'Length + 3;
end if;
Put (File => This.Output_To.all,
Item => " passed ");
end;
else
Put (File => This.Output_To.all,
Item => "Passed ");
end if;
declare
Plural : String := "s";
begin
if (This.N_Test_Ok = 1) then
Plural := " ";
end if;
Put (File => This.Output_To.all,
Item => Pad_To (Positive'Image (This.N_Test_OK), 3)
& " test" & Plural & " out of "
& Pad_To (Natural'Image (This.N_Tests), 3)
& ": ");
end;
if (This.N_Tests = This.N_Test_OK) then
This.N_Suite_OK := This.N_Suite_OK + 1;
Put_Line (File => This.Output_To.all,
Item => "SUCCESS");
else
Put (File => This.Output_To.all,
Item => "FAILURE");
Put (" ");
declare
use Boolean_Lists;
Position : Cursor;
begin
Position := This.Suite_Results.First;
while Position /= No_Element loop
if Element (Position) then
Put ("+");
else
Put ("-");
end if;
Next (Position);
end loop;
end;
This.Status := Ada.Command_Line.Failure;
end if;
This.N_Tests := 0;
This.N_Test_OK := 0;
This.N_Suites := This.N_Suites + 1;
end Close_Suite;
procedure Final (This : in out Reporter_Type;
Set_Status : in Boolean := True) is
function Plural(X : Natural) return String is
begin
if (X = 1) then
return "";
else
return "s";
end if;
end Plural;
begin
if (This.N_Suites = 0 and This.N_Tests = 0) then
return;
end if;
-- Put_Line ("XXX" & Integer'Image (This.N_Tests));
if (This.N_Tests > 0) then
Close_Suite(This);
end if;
if (This.N_Suites > 1) then
New_Line (File => This.Output_To.all);
Put (File => This.Output_To.all,
Item => "Passed "
& Pad_To (Integer'Image (This.N_Suite_OK), 3)
& " test suite" & Plural (This.N_Suite_OK) & " out of "
& Pad_To (Integer'Image (This.N_Suites), 3)
& ": ");
if (This.N_Suites = This.N_Suite_OK) then
Put_Line(File => This.Output_To.all,
Item => "SUCCESS");
else
Put_Line(File => This.Output_To.all,
Item => "FAILURE");
end if;
end if;
if (Set_Status) then
Ada.Command_Line.Set_Exit_Status(This.Status);
end if;
end Final;
procedure New_Suite (This : in out Reporter_Type;
Name : in String := "") is
begin
if (This.Verbose) then
Put_line (This.Output_To.all, "New test suite " & Name);
end if;
-- Put_Line ("YYY" & Integer'Image (This.N_Tests));
if (This.N_Tests /= 0) then
Close_Suite(This);
end if;
This.Name := To_Unbounded_String (Name);
This.Suite_Results.Clear;
end New_Suite;
procedure Success (This : in out Reporter_Type) is
begin
New_Result (This, True);
end Success;
procedure Failure (This : in out Reporter_Type) is
begin
New_Result (This, False);
end Failure;
procedure New_Result (This : in out Reporter_Type;
Ok : in Boolean) is
begin
if (This.Verbose) then
if (Ok) then
Put_line (This.Output_To.all, "Success");
else
Put_line (This.Output_To.all, "FAILURE");
end if;
end if;
This.N_Tests := This.N_Tests + 1;
if (Ok) then
This.N_Test_OK := This.N_Test_OK + 1;
end if;
This.Suite_Results.Append (OK);
end New_Result;
procedure Do_Suite (This : in out Reporter_Type;
Cases : in Test_Case_Array;
Name : in String := "") is
begin
New_Suite(This, Name);
for I in Cases'Range loop
if (This.Verbose) then
Put (File => This.Output_To.all,
Item => "Test # " & Positive'Image(I) & " ");
end if;
New_Result(This, Check(Cases(I)));
end loop;
end Do_Suite;
procedure Set_Output (This : in out Reporter_Type;
File : in File_Access) is
begin
This.Output_To := File;
end Set_Output;
end Test_Report;
-- -- function "and" (X, Y : Ada.Command_Line.Exit_Status)
-- -- return Ada.Command_Line.Exit_Status is
-- -- begin
-- -- if (X = Ada.Command_Line.Success) then
-- -- return Y;
-- -- else
-- -- return Ada.Command_Line.Failure;
-- -- end if;
-- -- end "and";
--
-- procedure Do_Report (This : in out Reporter_Type;
-- Num_Trials : in Positive;
-- Num_Success : in Natural;
-- Name : in String := "";
-- Set_Status : in Boolean := True)
-- is
--
-- begin
-- This.N_Suites := This.N_Suites + 1;
--
-- if (Name /= "") then
-- Put ("Test " & Name & ": passed ");
-- else
-- Put ("Passed ");
-- end if;
--
-- Put (Positive'Image(Num_Success)
-- & " tests out of "
-- & Natural'Image(Num_Trials)
-- & ": ");
--
-- if (Num_Success = Num_Trials) then
-- This.N_Suite_OK := This.N_Suite_OK + 1;
-- Put_Line ("SUCCESS");
-- else
-- Put_Line ("FAILURE");
-- This.Status := Ada.Command_Line.Failure;
-- end if;
--
-- if (Set_Status) then
-- Ada.Command_Line.Set_Exit_Status(This.Status);
-- end if;
-- end Do_Report;
|
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Types;
package Ada.Numerics.Long_Long_Complex_Types is
new Generic_Complex_Types (Long_Long_Float);
pragma Pure (Ada.Numerics.Long_Long_Complex_Types);
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with SDA_Exceptions; use SDA_Exceptions;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
--! Les Unbounded_String ont une capacité variable, contrairement au String
--! pour lesquelles une capacité doit être fixée.
with TH;
procedure Test_TH is
package TH_String_Integer is
new TH (Capacite => 11, T_Cle => Unbounded_String, T_Donnee => Integer, Hachage => Length);
use TH_String_Integer;
-- Retourner une chaîne avec des guillemets autour de S
function Avec_Guillemets (S: Unbounded_String) return String is
begin
return '"' & To_String (S) & '"';
end;
-- Utiliser & entre String à gauche et Unbounded_String à droite. Des
-- guillemets sont ajoutées autour de la Unbounded_String
-- Il s'agit d'un masquage de l'opérteur & défini dans Strings.Unbounded
function "&" (Left: String; Right: Unbounded_String) return String is
begin
return Left & Avec_Guillemets (Right);
end;
-- Surcharge l'opérateur unaire "+" pour convertir une String
-- en Unbounded_String.
-- Cette astuce permet de simplifier l'initialisation
-- de cles un peu plus loin.
function "+" (Item : in String) return Unbounded_String
renames To_Unbounded_String;
-- Afficher une Unbounded_String et un entier.
procedure Afficher (S : in Unbounded_String; N: in Integer) is
begin
Put (Avec_Guillemets (S));
Put (" : ");
Put (N, 1);
New_Line;
end Afficher;
-- Afficher la Sda.
procedure Afficher is
new Pour_Chaque (Afficher);
Nb_Cles : constant Integer := 7;
Cles : constant array (1..Nb_Cles) of Unbounded_String
:= (+"un", +"deux", +"trois", +"quatre", +"cinq",
+"quatre-vingt-dix-neuf", +"vingt-et-un");
Inconnu : constant Unbounded_String := To_Unbounded_String ("Inconnu");
Donnees : constant array (1..Nb_Cles) of Integer
:= (1, 2, 3, 4, 5, 99, 21);
Somme_Donnees : constant Integer := 135;
Somme_Donnees_Len4 : constant Integer := 7; -- somme si Length (Cle) = 4
Somme_Donnees_Q: constant Integer := 103; -- somme si initiale de Cle = 'q'
-- Initialiser l'annuaire avec les Donnees et Cles ci-dessus.
-- Attention, c'est à l'appelant de libérer la mémoire associée en
-- utilisant Vider.
-- Si Bavard est vrai, les insertions sont tracées (affichées).
procedure Construire_Exemple_Sujet (Annuaire : out T_TH; Bavard: Boolean := False) is
begin
Initialiser (Annuaire);
pragma Assert (Est_Vide (Annuaire));
pragma Assert (Taille (Annuaire) = 0);
for I in 1..Nb_Cles loop
Enregistrer (Annuaire, Cles (I), Donnees (I));
if Bavard then
Put_Line ("Après insertion de la clé " & Cles (I));
Afficher (Annuaire); New_Line;
else
null;
end if;
pragma Assert (not Est_Vide (Annuaire));
pragma Assert (Taille (Annuaire) = I);
for J in 1..I loop
pragma Assert (La_Donnee (Annuaire, Cles (J)) = Donnees (J));
end loop;
for J in I+1..Nb_Cles loop
pragma Assert (not Cle_Presente (Annuaire, Cles (J)));
end loop;
end loop;
end Construire_Exemple_Sujet;
procedure Tester_Exemple_Sujet is
Annuaire : T_TH;
begin
Construire_Exemple_Sujet (Annuaire, True);
Vider (Annuaire);
end Tester_Exemple_Sujet;
-- Tester suppression en commençant par les derniers éléments ajoutés
procedure Tester_Supprimer_Inverse is
Annuaire : T_TH;
begin
Put_Line ("=== Tester_Supprimer_Inverse..."); New_Line;
Construire_Exemple_Sujet (Annuaire);
for I in reverse 1..Nb_Cles loop
Supprimer (Annuaire, Cles (I));
Put_Line ("Après suppression de " & Cles (I) & " :");
Afficher (Annuaire); New_Line;
for J in 1..I-1 loop
pragma Assert (Cle_Presente (Annuaire, Cles (J)));
pragma Assert (La_Donnee (Annuaire, Cles (J)) = Donnees (J));
end loop;
for J in I..Nb_Cles loop
pragma Assert (not Cle_Presente (Annuaire, Cles (J)));
end loop;
end loop;
Vider (Annuaire);
end Tester_Supprimer_Inverse;
-- Tester suppression en commençant les les premiers éléments ajoutés
procedure Tester_Supprimer is
Annuaire : T_TH;
begin
Put_Line ("=== Tester_Supprimer..."); New_Line;
Construire_Exemple_Sujet (Annuaire);
for I in 1..Nb_Cles loop
Put_Line ("Suppression de " & Cles (I) & " :");
Supprimer (Annuaire, Cles (I));
Afficher (Annuaire); New_Line;
for J in 1..I loop
pragma Assert (not Cle_Presente (Annuaire, Cles (J)));
end loop;
for J in I+1..Nb_Cles loop
pragma Assert (Cle_Presente (Annuaire, Cles (J)));
pragma Assert (La_Donnee (Annuaire, Cles (J)) = Donnees (J));
end loop;
end loop;
Vider (Annuaire);
end Tester_Supprimer;
procedure Tester_Supprimer_Un_Element is
-- Tester supprimer sur un élément, celui à Indice dans Cles.
procedure Tester_Supprimer_Un_Element (Indice: in Integer) is
Annuaire : T_TH;
begin
Construire_Exemple_Sujet (Annuaire);
Put_Line ("Suppression de " & Cles (Indice) & " :");
Supprimer (Annuaire, Cles (Indice));
Afficher (Annuaire); New_Line;
for J in 1..Nb_Cles loop
if J = Indice then
pragma Assert (not Cle_Presente (Annuaire, Cles (J)));
else
pragma Assert (Cle_Presente (Annuaire, Cles (J)));
end if;
end loop;
Vider (Annuaire);
end Tester_Supprimer_Un_Element;
begin
Put_Line ("=== Tester_Supprimer_Un_Element..."); New_Line;
for I in 1..Nb_Cles loop
Tester_Supprimer_Un_Element (I);
end loop;
end Tester_Supprimer_Un_Element;
procedure Tester_Remplacer_Un_Element is
-- Tester enregistrer sur un élément présent, celui à Indice dans Cles.
procedure Tester_Remplacer_Un_Element (Indice: in Integer; Nouveau: in Integer) is
Annuaire : T_TH;
begin
Construire_Exemple_Sujet (Annuaire);
Put_Line ("Remplacement de " & Cles (Indice)
& " par " & Integer'Image(Nouveau) & " :");
enregistrer (Annuaire, Cles (Indice), Nouveau);
Afficher (Annuaire); New_Line;
for J in 1..Nb_Cles loop
pragma Assert (Cle_Presente (Annuaire, Cles (J)));
if J = Indice then
pragma Assert (La_Donnee (Annuaire, Cles (J)) = Nouveau);
else
pragma Assert (La_Donnee (Annuaire, Cles (J)) = Donnees (J));
end if;
end loop;
Vider (Annuaire);
end Tester_Remplacer_Un_Element;
begin
Put_Line ("=== Tester_Remplacer_Un_Element..."); New_Line;
for I in 1..Nb_Cles loop
Tester_Remplacer_Un_Element (I, 0);
null;
end loop;
end Tester_Remplacer_Un_Element;
procedure Tester_Supprimer_Erreur is
Annuaire : T_TH;
begin
begin
Put_Line ("=== Tester_Supprimer_Erreur..."); New_Line;
Construire_Exemple_Sujet (Annuaire);
Supprimer (Annuaire, Inconnu);
exception
when Cle_Absente_Exception =>
null;
when others =>
pragma Assert (False);
end;
Vider (Annuaire);
end Tester_Supprimer_Erreur;
procedure Tester_La_Donnee_Erreur is
Annuaire : T_TH;
Inutile: Integer;
begin
begin
Put_Line ("=== Tester_Supprimer_Erreur..."); New_Line;
Construire_Exemple_Sujet (Annuaire);
Inutile := La_Donnee (Annuaire, Inconnu);
exception
when Cle_Absente_Exception =>
null;
when others =>
pragma Assert (False);
end;
Vider (Annuaire);
end Tester_La_Donnee_Erreur;
procedure Tester_Pour_chaque is
Annuaire : T_TH;
Somme: Integer;
procedure Sommer (Cle: Unbounded_String; Donnee: Integer) is
begin
Put (" + ");
Put (Donnee, 2);
New_Line;
Somme := Somme + Donnee;
end;
procedure Sommer is
new Pour_Chaque (Sommer);
begin
Put_Line ("=== Tester_Pour_Chaque..."); New_Line;
Construire_Exemple_Sujet(Annuaire);
Somme := 0;
Sommer (Annuaire);
pragma Assert (Somme = Somme_Donnees);
Vider(Annuaire);
New_Line;
end Tester_Pour_chaque;
procedure Tester_Pour_chaque_Somme_Si_Cle_Commence_Par_Q is
Annuaire : T_TH;
Somme: Integer;
procedure Sommer_Cle_Commence_Par_Q (Cle: Unbounded_String; Donnee: Integer) is
begin
if To_String (Cle) (1) = 'q' then
Put (" + ");
Put (Donnee, 2);
New_Line;
Somme := Somme + Donnee;
else
null;
end if;
end;
procedure Sommer is
new Pour_Chaque (Sommer_Cle_Commence_Par_Q);
begin
Put_Line ("=== Tester_Pour_Chaque_Somme_Si_Cle_Commence_Par_Q..."); New_Line;
Construire_Exemple_Sujet(Annuaire);
Somme := 0;
Sommer (Annuaire);
pragma Assert (Somme = Somme_Donnees_Q);
Vider(Annuaire);
New_Line;
end Tester_Pour_chaque_Somme_Si_Cle_Commence_Par_Q;
procedure Tester_Pour_chaque_Somme_Len4_Erreur is
Annuaire : T_TH;
Somme: Integer;
procedure Sommer_Len4_Erreur (Cle: Unbounded_String; Donnee: Integer) is
Nouvelle_Exception: Exception;
begin
if Length (Cle) = 4 then
Put (" + ");
Put (Donnee, 2);
New_Line;
Somme := Somme + Donnee;
else
raise Nouvelle_Exception;
end if;
end;
procedure Sommer is
new Pour_Chaque (Sommer_Len4_Erreur);
begin
Put_Line ("=== Tester_Pour_Chaque_Somme_Len4_Erreur..."); New_Line;
Construire_Exemple_Sujet(Annuaire);
Somme := 0;
Sommer (Annuaire);
pragma Assert (Somme = Somme_Donnees_Len4);
Vider(Annuaire);
New_Line;
end Tester_Pour_chaque_Somme_Len4_Erreur;
begin
Tester_Exemple_Sujet;
Tester_Supprimer_Inverse;
Tester_Supprimer;
Tester_Supprimer_Un_Element;
Tester_Remplacer_Un_Element;
Tester_Supprimer_Erreur;
Tester_La_Donnee_Erreur;
Tester_Pour_chaque;
Tester_Pour_chaque_Somme_Si_Cle_Commence_Par_Q;
Tester_Pour_chaque_Somme_Len4_Erreur;
Put_Line ("Fin des tests : OK.");
end Test_TH;
|
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
procedure Main is
Target: constant Integer := 2020;
Puzzle_Input: constant array (1 .. 200) of Integer := (
2000, 50, 1984, 1600, 1736, 1572, 2010, 1559, 1999, 1764,
1808, 1745, 1343, 1495, 1860, 1977, 1981, 1640, 1966, 1961,
1978, 1719, 1930, 535, 1804, 1535, 1507, 1284, 1618, 1991,
1589, 1593, 1960, 1953, 1963, 1697, 1741, 1823, 1932, 1789,
1822, 1972, 1570, 1651, 1800, 1514, 726, 1567, 72, 1987,
1791, 1842, 1020, 1541, 1383, 1505, 2009, 1925, 13, 1973,
1599, 1632, 1905, 1626, 1554, 1913, 1890, 1583, 1513, 1828,
187, 1616, 1508, 1524, 1613, 1648, 32, 1612, 1992, 1671,
1955, 1943, 1936, 1870, 1629, 1493, 1770, 1699, 1990, 1658,
1592, 1596, 1888, 1540, 239, 1677, 1602, 1877, 1481, 2004,
1985, 1829, 1980, 2008, 1964, 897, 1843, 1750, 1969, 1790,
1989, 1606, 1484, 1983, 1986, 1501, 1511, 1543, 1869, 1051,
1810, 1716, 1633, 1850, 1500, 1120, 1849, 1941, 1403, 1515,
1915, 1862, 2002, 1952, 1893, 1494, 1610, 1797, 1908, 1534,
1979, 2006, 1971, 1993, 1432, 1547, 1488, 1642, 1982, 1666,
1856, 1889, 1691, 1976, 1962, 2005, 1611, 1665, 1816, 1880,
1896, 1552, 1809, 1844, 1553, 1841, 1785, 1968, 1491, 1498,
1995, 1748, 1533, 1988, 2001, 1917, 1788, 1537, 1659, 1574,
1724, 1997, 923, 1476, 1763, 1817, 1998, 1848, 1974, 1830,
1672, 1861, 1652, 1551, 1363, 1645, 1996, 1965, 1967, 1778);
begin
for A of Puzzle_Input loop
for B of Puzzle_Input loop
if A + B = Target then
Put("Product ot two numbers: ");
Put(A*B);
New_Line;
end if;
for C of Puzzle_Input loop
if A + B + C = Target then
Put("Product ot three numbers: ");
Put(A*B*C);
New_Line;
end if;
end loop;
end loop;
end loop;
end Main;
|
-- C9A003A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- CHECK THAT ABORTING A TERMINATED TASK DOES NOT CAUSE EXCEPTIONS.
-- RM 5/21/82
-- SPS 11/21/82
-- PWN 09/11/94 REMOVED PRAGMA PRIORITY FOR ADA 9X
with Impdef;
WITH REPORT; USE REPORT;
WITH SYSTEM; USE SYSTEM;
PROCEDURE C9A003A IS
-- THE TASK WILL HAVE HIGHER PRIORITY ( PRIORITY'LAST )
BEGIN
-------------------------------------------------------------------
TEST ("C9A003A", "CHECK THAT ABORTING A TERMINATED TASK" &
" DOES NOT CAUSE EXCEPTIONS" );
DECLARE
TASK TYPE T_TYPE IS
ENTRY E ;
END T_TYPE ;
T_OBJECT1 : T_TYPE ;
TASK BODY T_TYPE IS
BUSY : BOOLEAN := FALSE ;
BEGIN
NULL;
END T_TYPE ;
BEGIN
IF NOT T_OBJECT1'TERMINATED THEN
DELAY 20.0 * Impdef.One_Second;
END IF;
IF NOT T_OBJECT1'TERMINATED THEN
COMMENT( "TASK NOT YET TERMINATED (AFTER 20 S.)" );
END IF;
BEGIN
ABORT T_OBJECT1 ;
EXCEPTION
WHEN OTHERS =>
FAILED( "EXCEPTION RAISED (WHEN ABORTING A" &
" TERMINATED TASK)" );
END ;
END ;
-------------------------------------------------------------------
RESULT;
END C9A003A ;
|
<?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>call_Loop_LB2D_shift</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="3" tracking_level="1" version="0" object_id="_1">
<Value class_id="4" tracking_level="0" version="0">
<Obj class_id="5" tracking_level="0" version="0">
<type>1</type>
<id>1</id>
<name>slice_stream_V_value_V</name>
<fileName></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>96</bitwidth>
</Value>
<direction>0</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs class_id="7" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_2">
<Value>
<Obj>
<type>1</type>
<id>2</id>
<name>out_stream_V_value_V</name>
<fileName></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>288</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>36</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_3">
<Value>
<Obj>
<type>0</type>
<id>3</id>
<name>buffer_1_value_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>buffer[1].value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_4">
<Value>
<Obj>
<type>0</type>
<id>4</id>
<name>buffer_0_value_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>buffer[0].value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>63</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_5">
<Value>
<Obj>
<type>0</type>
<id>9</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>64</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_6">
<Value>
<Obj>
<type>0</type>
<id>11</id>
<name>n1</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>n1</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>65</item>
<item>66</item>
<item>68</item>
<item>69</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>12</id>
<name>tmp_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="11" tracking_level="0" version="0">
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second class_id="12" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="13" tracking_level="0" version="0">
<first class_id="14" tracking_level="0" version="0">
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>70</item>
<item>72</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>14</id>
<name>n1_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>n1</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>73</item>
<item>75</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>76</item>
<item>77</item>
<item>78</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>92</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>21</id>
<name>i_0_i_i</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>80</item>
<item>81</item>
<item>82</item>
<item>83</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name>tmp_3</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>84</item>
<item>86</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>24</id>
<name>i</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>i</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>87</item>
<item>88</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>25</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>89</item>
<item>90</item>
<item>91</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>30</id>
<name>tmp_value_V_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>40</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>40</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>100</item>
<item>101</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>tmp</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>10</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>103</item>
<item>104</item>
<item>105</item>
<item>107</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>32</id>
<name>icmp</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>108</item>
<item>110</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>42</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>42</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>111</item>
<item>112</item>
<item>113</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>35</id>
<name>buffer_1_value_V_lo_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>114</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>36</id>
<name>buffer_0_value_V_lo</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>115</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>37</id>
<name>tmp_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></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>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name>tmp_4</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>117</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>39</id>
<name>tmp_5</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>118</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>40</id>
<name>p_Result_5_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>120</item>
<item>121</item>
<item>123</item>
<item>125</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>41</id>
<name>p_Result_5_1_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>126</item>
<item>127</item>
<item>128</item>
<item>129</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>42</id>
<name>p_Result_5_1_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>130</item>
<item>131</item>
<item>132</item>
<item>133</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>p_Result_5_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>134</item>
<item>135</item>
<item>137</item>
<item>139</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_28">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name>p_Result_5_2_1</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>140</item>
<item>141</item>
<item>142</item>
<item>143</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>45</id>
<name>p_Result_5_2_2</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>144</item>
<item>145</item>
<item>146</item>
<item>147</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>46</id>
<name>tmp_value_V</name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>50</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>50</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.value.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<oprand_edges>
<count>10</count>
<item_version>0</item_version>
<item>149</item>
<item>150</item>
<item>151</item>
<item>152</item>
<item>153</item>
<item>154</item>
<item>155</item>
<item>156</item>
<item>157</item>
<item>158</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>47</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>52</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>52</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>160</item>
<item>161</item>
<item>162</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>48</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>53</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>53</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>163</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>50</id>
<name>buffer_1_value_V_lo</name>
<fileName>../../../lib_files/Stencil.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>operator=</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>37</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
<item>
<first>
<first>../../../lib_files/Stencil.h</first>
<second>operator=</second>
</first>
<second>75</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>96</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>93</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name></name>
<fileName>../../../lib_files/Stencil.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>75</lineNumber>
<contextFuncName>operator=</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>37</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
<item>
<first>
<first>../../../lib_files/Stencil.h</first>
<second>operator=</second>
</first>
<second>75</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>94</item>
<item>95</item>
<item>279</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>53</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>40</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>40</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>96</item>
<item>97</item>
<item>277</item>
<item>278</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>54</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>32</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>32</second>
</item>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>linebuffer_1D&lt;1920, 3, 1, 1, 1, 3, unsigned int&gt;</second>
</first>
<second>143</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>98</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>57</id>
<name></name>
<fileName>../../../lib_files/Linebuffer.h</fileName>
<fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</fileDirectory>
<lineNumber>216</lineNumber>
<contextFuncName>call</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>../../../lib_files/Linebuffer.h</first>
<second>call</second>
</first>
<second>216</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>59</id>
<name></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>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_39">
<Value>
<Obj>
<type>2</type>
<id>61</id>
<name>empty</name>
<fileName></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>1</content>
</item>
<item class_id_reference="16" object_id="_40">
<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>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_41">
<Value>
<Obj>
<type>2</type>
<id>71</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1078</content>
</item>
<item class_id_reference="16" object_id="_42">
<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>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_43">
<Value>
<Obj>
<type>2</type>
<id>85</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1920</content>
</item>
<item class_id_reference="16" object_id="_44">
<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>10</content>
</item>
<item class_id_reference="16" object_id="_45">
<Value>
<Obj>
<type>2</type>
<id>109</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>10</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_46">
<Value>
<Obj>
<type>2</type>
<id>122</id>
<name>empty</name>
<fileName></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="_47">
<Value>
<Obj>
<type>2</type>
<id>124</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="_48">
<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>64</content>
</item>
<item class_id_reference="16" object_id="_49">
<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>95</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_50">
<Obj>
<type>3</type>
<id>10</id>
<name>newFuncRoot</name>
<fileName></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>3</count>
<item_version>0</item_version>
<item>3</item>
<item>4</item>
<item>9</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_51">
<Obj>
<type>3</type>
<id>16</id>
<name>.preheader</name>
<fileName></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>11</item>
<item>12</item>
<item>14</item>
<item>15</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_52">
<Obj>
<type>3</type>
<id>20</id>
<name></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>19</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_53">
<Obj>
<type>3</type>
<id>26</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>21</item>
<item>22</item>
<item>24</item>
<item>25</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_54">
<Obj>
<type>3</type>
<id>34</id>
<name></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>30</item>
<item>31</item>
<item>32</item>
<item>33</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_55">
<Obj>
<type>3</type>
<id>49</id>
<name>.preheader.i.i.preheader.0</name>
<fileName></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>14</count>
<item_version>0</item_version>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
<item>39</item>
<item>40</item>
<item>41</item>
<item>42</item>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
<item>47</item>
<item>48</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_56">
<Obj>
<type>3</type>
<id>55</id>
<name>._crit_edge.i.i</name>
<fileName></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>50</item>
<item>52</item>
<item>53</item>
<item>54</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_57">
<Obj>
<type>3</type>
<id>58</id>
<name>linebuffer_1D<1920ul, 3ul, 1ul, 1ul, 1ul, 3ul, unsigned int>.exit</name>
<fileName></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>57</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_58">
<Obj>
<type>3</type>
<id>60</id>
<name>.exitStub</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>59</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>91</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_59">
<id>62</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>3</sink_obj>
</item>
<item class_id_reference="20" object_id="_60">
<id>63</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>4</sink_obj>
</item>
<item class_id_reference="20" object_id="_61">
<id>64</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>9</sink_obj>
</item>
<item class_id_reference="20" object_id="_62">
<id>65</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_63">
<id>66</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_64">
<id>68</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_65">
<id>69</id>
<edge_type>2</edge_type>
<source_obj>10</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_66">
<id>70</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_67">
<id>72</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>12</sink_obj>
</item>
<item class_id_reference="20" object_id="_68">
<id>73</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>14</sink_obj>
</item>
<item class_id_reference="20" object_id="_69">
<id>75</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>14</sink_obj>
</item>
<item class_id_reference="20" object_id="_70">
<id>76</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_71">
<id>77</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_72">
<id>78</id>
<edge_type>2</edge_type>
<source_obj>60</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_73">
<id>79</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>57</sink_obj>
</item>
<item class_id_reference="20" object_id="_74">
<id>80</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_75">
<id>81</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_76">
<id>82</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_77">
<id>83</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>21</sink_obj>
</item>
<item class_id_reference="20" object_id="_78">
<id>84</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_79">
<id>86</id>
<edge_type>1</edge_type>
<source_obj>85</source_obj>
<sink_obj>22</sink_obj>
</item>
<item class_id_reference="20" object_id="_80">
<id>87</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_81">
<id>88</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>24</sink_obj>
</item>
<item class_id_reference="20" object_id="_82">
<id>89</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_83">
<id>90</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_84">
<id>91</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>25</sink_obj>
</item>
<item class_id_reference="20" object_id="_85">
<id>92</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_86">
<id>93</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>50</sink_obj>
</item>
<item class_id_reference="20" object_id="_87">
<id>94</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_88">
<id>95</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>52</sink_obj>
</item>
<item class_id_reference="20" object_id="_89">
<id>96</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_90">
<id>97</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_91">
<id>98</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>54</sink_obj>
</item>
<item class_id_reference="20" object_id="_92">
<id>101</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>30</sink_obj>
</item>
<item class_id_reference="20" object_id="_93">
<id>104</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_94">
<id>105</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_95">
<id>107</id>
<edge_type>1</edge_type>
<source_obj>106</source_obj>
<sink_obj>31</sink_obj>
</item>
<item class_id_reference="20" object_id="_96">
<id>108</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>32</sink_obj>
</item>
<item class_id_reference="20" object_id="_97">
<id>110</id>
<edge_type>1</edge_type>
<source_obj>109</source_obj>
<sink_obj>32</sink_obj>
</item>
<item class_id_reference="20" object_id="_98">
<id>111</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_99">
<id>112</id>
<edge_type>2</edge_type>
<source_obj>49</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_100">
<id>113</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_101">
<id>114</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_102">
<id>115</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_103">
<id>116</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_104">
<id>117</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>38</sink_obj>
</item>
<item class_id_reference="20" object_id="_105">
<id>118</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>39</sink_obj>
</item>
<item class_id_reference="20" object_id="_106">
<id>121</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_107">
<id>123</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_108">
<id>125</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>40</sink_obj>
</item>
<item class_id_reference="20" object_id="_109">
<id>127</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_110">
<id>128</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_111">
<id>129</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>41</sink_obj>
</item>
<item class_id_reference="20" object_id="_112">
<id>131</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_113">
<id>132</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_114">
<id>133</id>
<edge_type>1</edge_type>
<source_obj>124</source_obj>
<sink_obj>42</sink_obj>
</item>
<item class_id_reference="20" object_id="_115">
<id>135</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_116">
<id>137</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_117">
<id>139</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>43</sink_obj>
</item>
<item class_id_reference="20" object_id="_118">
<id>141</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_119">
<id>142</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_120">
<id>143</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>44</sink_obj>
</item>
<item class_id_reference="20" object_id="_121">
<id>145</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_122">
<id>146</id>
<edge_type>1</edge_type>
<source_obj>136</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_123">
<id>147</id>
<edge_type>1</edge_type>
<source_obj>138</source_obj>
<sink_obj>45</sink_obj>
</item>
<item class_id_reference="20" object_id="_124">
<id>150</id>
<edge_type>1</edge_type>
<source_obj>45</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_125">
<id>151</id>
<edge_type>1</edge_type>
<source_obj>44</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_126">
<id>152</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_127">
<id>153</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_128">
<id>154</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_129">
<id>155</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_130">
<id>156</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_131">
<id>157</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_132">
<id>158</id>
<edge_type>1</edge_type>
<source_obj>37</source_obj>
<sink_obj>46</sink_obj>
</item>
<item class_id_reference="20" object_id="_133">
<id>161</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>47</sink_obj>
</item>
<item class_id_reference="20" object_id="_134">
<id>162</id>
<edge_type>1</edge_type>
<source_obj>46</source_obj>
<sink_obj>47</sink_obj>
</item>
<item class_id_reference="20" object_id="_135">
<id>163</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>48</sink_obj>
</item>
<item class_id_reference="20" object_id="_136">
<id>266</id>
<edge_type>2</edge_type>
<source_obj>10</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_137">
<id>267</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>60</sink_obj>
</item>
<item class_id_reference="20" object_id="_138">
<id>268</id>
<edge_type>2</edge_type>
<source_obj>16</source_obj>
<sink_obj>20</sink_obj>
</item>
<item class_id_reference="20" object_id="_139">
<id>269</id>
<edge_type>2</edge_type>
<source_obj>20</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_140">
<id>270</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>58</sink_obj>
</item>
<item class_id_reference="20" object_id="_141">
<id>271</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_142">
<id>272</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>55</sink_obj>
</item>
<item class_id_reference="20" object_id="_143">
<id>273</id>
<edge_type>2</edge_type>
<source_obj>34</source_obj>
<sink_obj>49</sink_obj>
</item>
<item class_id_reference="20" object_id="_144">
<id>274</id>
<edge_type>2</edge_type>
<source_obj>49</source_obj>
<sink_obj>55</sink_obj>
</item>
<item class_id_reference="20" object_id="_145">
<id>275</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>26</sink_obj>
</item>
<item class_id_reference="20" object_id="_146">
<id>276</id>
<edge_type>2</edge_type>
<source_obj>58</source_obj>
<sink_obj>16</sink_obj>
</item>
<item class_id_reference="20" object_id="_147">
<id>277</id>
<edge_type>4</edge_type>
<source_obj>50</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_148">
<id>278</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>53</sink_obj>
</item>
<item class_id_reference="20" object_id="_149">
<id>279</id>
<edge_type>4</edge_type>
<source_obj>36</source_obj>
<sink_obj>52</sink_obj>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>7</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_150">
<mId>1</mId>
<mTag>call_Loop_LB2D_shift</mTag>
<mType>0</mType>
<sub_regions>
<count>3</count>
<item_version>0</item_version>
<item>2</item>
<item>3</item>
<item>7</item>
</sub_regions>
<basic_blocks>
<count>0</count>
<item_version>0</item_version>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>2072995</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_151">
<mId>2</mId>
<mTag>Entry</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>10</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_152">
<mId>3</mId>
<mTag>LB2D_shift</mTag>
<mType>1</mType>
<sub_regions>
<count>3</count>
<item_version>0</item_version>
<item>4</item>
<item>5</item>
<item>6</item>
</sub_regions>
<basic_blocks>
<count>0</count>
<item_version>0</item_version>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>1078</mMinTripCount>
<mMaxTripCount>1078</mMaxTripCount>
<mMinLatency>2072994</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_153">
<mId>4</mId>
<mTag>Region 1</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>2</count>
<item_version>0</item_version>
<item>16</item>
<item>20</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_154">
<mId>5</mId>
<mTag>LB1D_shiftreg</mTag>
<mType>1</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>34</item>
<item>49</item>
<item>55</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>1920</mMinTripCount>
<mMaxTripCount>1920</mMaxTripCount>
<mMinLatency>1920</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_155">
<mId>6</mId>
<mTag>Region 2</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>58</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
<item class_id_reference="22" object_id="_156">
<mId>7</mId>
<mTag>Return</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>60</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>0</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></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>36</count>
<item_version>0</item_version>
<item class_id="27" tracking_level="0" version="0">
<first>3</first>
<second class_id="28" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>4</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>9</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>11</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>12</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>14</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>15</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>24</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>25</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>30</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>32</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>39</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>40</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>41</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>42</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>45</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>47</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>48</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>50</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>52</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>54</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>3</first>
<second>0</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="29" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="0" version="0">
<first>10</first>
<second class_id="31" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>16</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
<item>
<first>26</first>
<second>
<first>2</first>
<second>2</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>2</first>
<second>3</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>55</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>3</first>
<second>3</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="32" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="1" version="0" object_id="_157">
<region_name>LB1D_shiftreg</region_name>
<basic_blocks>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>34</item>
<item>49</item>
<item>55</item>
</basic_blocks>
<nodes>
<count>0</count>
<item_version>0</item_version>
</nodes>
<anchor_node>-1</anchor_node>
<region_type>8</region_type>
<interval>1</interval>
<pipe_depth>2</pipe_depth>
</item>
</regions>
<dp_fu_nodes class_id="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>
|
pragma License (Unrestricted);
-- implementation unit
package System.UTF_Conversions.From_32_To_16 is
pragma Pure;
pragma Suppress (All_Checks); -- for instantiation
procedure Convert is
new Convert_Procedure (
Wide_Wide_Character,
Wide_Wide_String,
Wide_Character,
Wide_String,
From_UTF_32,
To_UTF_16);
function Convert is
new Convert_Function (
Wide_Wide_Character,
Wide_Wide_String,
Wide_Character,
Wide_String,
Expanding_From_32_To_16,
Convert);
end System.UTF_Conversions.From_32_To_16;
|
with ada.text_io; use ada.text_io;
with ada.integer_text_io;
with Ada.Unchecked_Deallocation;
with ada.unchecked_conversion;
--use ada.unchecked_conversion;
package tools is
type deck is private;
type card is private;
type cardPTR is private;-- all funct here
function makeDeck(d:deck ) return deck;
function makeEmptyDeck (d:deck ) return deck;
procedure showDeck( d: in deck );
-- function drawCard( drawDeck: in out deck; discardDeck: in out deck ) return cardPTR;
procedure drawToHand (hand : in out deck; drawDeck: in out deck; discardDeck: in out deck);
procedure shuffle ( draw:in out deck; discard: in out deck );
procedure display(Hand : in deck );
procedure discardHand(Hand: in out deck;discard: in out deck);
function getScore(hand : in deck ) return integer;
function checkBust(total : in integer) return boolean;
-- -- function Convert is new ada.unchecked_conversion ( Source =>
-- -- function Convert is new ada.unchecked_conversion ( Source => cardValue, Target => Character);
private
-- subtype cardValue is integer 1..13;
-- -- subtype cardSuit is integer 1..4;
type cardValue is ('A','J','Q','K','1','2','3','4','5','6','7','8','9');
Type cardSuit is (C,S,H,D);
package Value_IO is new Ada.Text_IO.Enumeration_IO(cardValue);
package Suit_IO is new Ada.Text_IO.Enumeration_IO(cardSuit);
-- type cardPtr is access card;
type cardPTR is access card;
type card is
record
val : cardValue;
suit : cardSuit;
next : cardPTR;
end record;
type deck is
record
first :cardPTR;
end record;
-- type deck is
-- -- record
-- -- next : cardPTR;
-- -- end record;
end tools;
|
-----------------------------------------------------------------------
-- servlet-routes -- Request routing
-- Copyright (C) 2015, 2016, 2017, 2018, 2019, 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.Unchecked_Deallocation;
with Util.Strings;
with Util.Beans.Objects;
with Util.Log.Loggers;
package body Servlet.Routes is
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Servlet.Routes");
-- ------------------------------
-- Get path information after the routing.
-- ------------------------------
function Get_Path (Context : in Route_Context_Type;
Mode : in Path_Mode := FULL) return String is
begin
if Context.Path = null then
return "";
elsif Mode = FULL then
return Context.Path.all;
else
declare
Pos : constant Natural := Get_Path_Pos (Context);
begin
if Mode = PREFIX then
if Pos > Context.Path'Last then
return Context.Path.all;
elsif Pos /= 0 then
return Context.Path (Context.Path'First .. Pos - 1);
else
return "";
end if;
else
if Pos > Context.Path'Last then
return "";
elsif Pos /= 0 then
return Context.Path (Pos .. Context.Path'Last);
else
return Context.Path.all;
end if;
end if;
end;
end if;
end Get_Path;
-- ------------------------------
-- Get the path parameter value for the given parameter index.
-- The <tt>No_Parameter</tt> exception is raised if the parameter does not exist.
-- ------------------------------
function Get_Parameter (Context : in Route_Context_Type;
Index : in Positive) return String is
begin
if Index > Context.Count then
raise No_Parameter;
else
declare
Param : Route_Param_Type renames Context.Params (Index);
begin
return Context.Path (Param.First .. Param.Last);
end;
end if;
end Get_Parameter;
-- ------------------------------
-- Get the number of path parameters that were extracted for the route.
-- ------------------------------
function Get_Parameter_Count (Context : in Route_Context_Type) return Natural is
begin
return Context.Count;
end Get_Parameter_Count;
-- ------------------------------
-- Return the route associated with the resolved route context.
-- ------------------------------
function Get_Route (Context : in Route_Context_Type) return Route_Type_Accessor is
begin
return Context.Route.Value;
end Get_Route;
function Get_Route (Context : in Route_Context_Type) return Route_Type_Ref is
begin
return Context.Route;
end Get_Route;
-- ------------------------------
-- Return True if there is no route.
-- ------------------------------
function Is_Null (Context : in Route_Context_Type) return Boolean is
begin
return Context.Route.Is_Null;
end Is_Null;
-- ------------------------------
-- Change the context to use a new route.
-- ------------------------------
procedure Change_Route (Context : in out Route_Context_Type;
To : in Route_Type_Ref) is
begin
Context.Route := To;
end Change_Route;
-- ------------------------------
-- Return the position of the variable part of the path.
-- If the URI matches a wildcard pattern, the position of the last '/' in the wildcard pattern
-- is returned.
-- ------------------------------
function Get_Path_Pos (Context : in Route_Context_Type) return Natural is
begin
if Context.Count = 0 then
return 0;
else
return Context.Params (Context.Count).Route.Get_Path_Pos (Context.Params (Context.Count));
end if;
end Get_Path_Pos;
-- ------------------------------
-- Inject the parameters that have been extracted from the path according
-- to the selected route.
-- ------------------------------
procedure Inject_Parameters (Context : in Route_Context_Type;
Into : in out Util.Beans.Basic.Bean'Class;
ELContext : in EL.Contexts.ELContext'Class) is
begin
if Context.Count > 0 then
Log.Debug ("Inject route parameters from {0}", Context.Path.all);
for I in 1 .. Context.Count loop
declare
Param : Route_Param_Type renames Context.Params (I);
begin
Param.Route.Inject_Parameter (Context.Path (Param.First .. Param.Last),
Into, ELContext);
end;
end loop;
end if;
end Inject_Parameters;
-- ------------------------------
-- Release the storage held by the route context.
-- ------------------------------
overriding
procedure Finalize (Context : in out Route_Context_Type) is
procedure Free is
new Ada.Unchecked_Deallocation (Object => String, Name => String_Access);
begin
Free (Context.Path);
end Finalize;
-- ------------------------------
-- Insert the route node at the correct place in the children list
-- according to the rule kind.
-- ------------------------------
procedure Insert (Parent : in Route_Node_Access;
Node : in Route_Node_Access;
Kind : in Route_Match_Type) is
Previous, Current : Route_Node_Access;
begin
Current := Parent.Children;
case Kind is
-- Add at head of the list.
when YES_MATCH =>
null;
when MAYBE_MATCH =>
while Current /= null loop
if not (Current.all in Path_Node_Type'Class) then
exit;
end if;
Previous := Current;
Current := Current.Next_Route;
end loop;
-- Add before the
when EXT_MATCH =>
while Current /= null loop
if not (Current.all in Path_Node_Type'Class)
and not (Current.all in Param_Node_Type'Class)
and not (Current.all in EL_Node_Type'Class)
then
exit;
end if;
Previous := Current;
Current := Current.Next_Route;
end loop;
when WILDCARD_MATCH =>
while Current /= null loop
Previous := Current;
Current := Current.Next_Route;
end loop;
when others =>
null;
end case;
if Previous /= null then
Node.Next_Route := Previous.Next_Route;
Previous.Next_Route := Node;
else
Node.Next_Route := Parent.Children;
Parent.Children := Node;
end if;
end Insert;
-- ------------------------------
-- Add a route associated with the given path pattern. The pattern is split into components.
-- Some path components can be a fixed string (/home) and others can be variable.
-- When a path component is variable, the value can be retrieved from the route context.
-- Once the route path is created, the <tt>Process</tt> procedure is called with the route
-- reference.
-- ------------------------------
procedure Add_Route (Router : in out Router_Type;
Pattern : in String;
ELContext : in EL.Contexts.ELContext'Class;
Process : not null access procedure (Route : in out Route_Type_Ref)) is
First : Natural := Pattern'First;
Pos : Natural;
Node : Route_Node_Access := Router.Route.Children;
Match : Route_Match_Type := NO_MATCH;
New_Path : Path_Node_Access;
Parent : Route_Node_Access := Router.Route'Unchecked_Access;
Parent2 : Route_Node_Access;
Found : Boolean;
begin
Log.Info ("Adding route {0}", Pattern);
loop
-- Ignore consecutive '/'.
while First <= Pattern'Last and then Pattern (First) = '/' loop
First := First + 1;
end loop;
-- Find the path component's end.
Pos := Util.Strings.Index (Pattern, '/', First);
if Pos = 0 then
Pos := Pattern'Last;
else
Pos := Pos - 1;
end if;
if First > Pattern'Last then
Found := False;
-- Find an exact match for this component.
while Node /= null loop
if Node.all in Path_Node_Type'Class then
Match := Node.Matches (Pattern (First .. Pos), Pos = Pattern'Last);
if Match = YES_MATCH then
Parent := Node;
Node := Node.Children;
Found := True;
exit;
end if;
end if;
Node := Node.Next_Route;
end loop;
-- Add a path node matching the component at begining of the children list.
-- (before the Param_Node and EL_Node instances if any).
if not Found then
New_Path := new Path_Node_Type (Len => 0);
Insert (Parent, New_Path.all'Access, YES_MATCH);
Parent := Parent.Children;
end if;
elsif Pattern (First) = '#' then
declare
E : EL_Node_Access;
begin
Found := False;
-- Find the EL_Node that have the same EL expression.
while Node /= null loop
if Node.all in EL_Node_Type'Class then
E := EL_Node_Type'Class (Node.all)'Access;
if E.Value.Get_Expression = Pattern (First .. Pos) then
Parent := Node;
Node := Node.Children;
Found := True;
exit;
end if;
end if;
Node := Node.Next_Route;
end loop;
if not Found then
E := new EL_Node_Type;
E.Value := EL.Expressions.Create_Expression (Pattern (First .. Pos), ELContext);
Insert (Parent, E.all'Access, MAYBE_MATCH);
Parent := E.all'Access;
end if;
end;
elsif Pattern (First) = ':' then
declare
Param : Param_Node_Access;
begin
First := First + 1;
Found := False;
-- Find the Param_Node that have the same name.
while Node /= null loop
if Node.all in Param_Node_Type'Class then
Param := Param_Node_Type'Class (Node.all)'Access;
if Param.Name = Pattern (First .. Pos) then
Parent := Node;
Node := Node.Children;
Found := True;
exit;
end if;
end if;
Node := Node.Next_Route;
end loop;
-- Append the param node for the component.
if not Found then
Param := new Param_Node_Type (Len => Pos - First + 1);
Param.Name := Pattern (First .. Pos);
Insert (Parent, Param.all'Access, MAYBE_MATCH);
Parent := Param.all'Access;
end if;
end;
elsif Pattern (First) = '{' and First < Pos - 1 and Pattern (Pos) = '}' then
declare
Param : Param_Node_Access;
begin
First := First + 1;
Found := False;
-- Find the Param_Node that have the same name.
while Node /= null loop
if Node.all in Param_Node_Type'Class then
Param := Param_Node_Type'Class (Node.all)'Access;
if Param.Name = Pattern (First .. Pos - 1) then
Parent := Node;
Node := Node.Children;
Found := True;
exit;
end if;
end if;
Node := Node.Next_Route;
end loop;
-- Append the param node for the component.
if not Found then
Param := new Param_Node_Type (Len => Pos - 1 - First + 1);
Param.Name := Pattern (First .. Pos - 1);
Insert (Parent, Param.all'Access, MAYBE_MATCH);
Parent := Param.all'Access;
end if;
end;
elsif Pattern (First) = '*' and First = Pattern'Last then
Found := False;
-- Find the Wildcard_Node.
while Node /= null loop
Found := Node.all in Wildcard_Node_Type'Class;
exit when Found;
Node := Node.Next_Route;
end loop;
if not Found then
declare
Wildcard : Wildcard_Node_Access;
begin
Wildcard := new Wildcard_Node_Type;
Node := Wildcard.all'Access;
Insert (Parent, Node, WILDCARD_MATCH);
end;
end if;
Parent2 := Parent;
Parent := Node;
elsif Pattern (First) = '*' and Pos = Pattern'Last then
-- if First + 1 >= Pattern'Last or else Pattern (First + 1) /= '.' then
-- return;
-- end if;
declare
Ext : Extension_Node_Access;
begin
First := First + 1;
Found := False;
-- Find the Extension_Node that have the same name.
while Node /= null loop
if Node.all in Extension_Node_Type'Class then
Ext := Extension_Node_Type'Class (Node.all)'Access;
if Ext.Ext = Pattern (First .. Pos) then
Parent := Node;
Node := Node.Children;
Found := True;
exit;
end if;
end if;
Node := Node.Next_Route;
end loop;
if not Found then
Ext := new Extension_Node_Type (Len => Pos - First + 1);
Ext.Ext := Pattern (First .. Pos);
Insert (Parent, Ext.all'Access, EXT_MATCH);
Parent := Ext.all'Access;
end if;
end;
else
Found := False;
-- Find an exact match for this component.
while Node /= null loop
if Node.all in Path_Node_Type'Class then
Match := Node.Matches (Pattern (First .. Pos), Pos = Pattern'Last);
if Match = YES_MATCH then
Parent := Node;
Node := Node.Children;
Found := True;
exit;
end if;
end if;
Node := Node.Next_Route;
end loop;
-- Add a path node matching the component at begining of the children list.
-- (before the Param_Node and EL_Node instances if any).
if not Found then
New_Path := new Path_Node_Type (Len => Pos - First + 1);
New_Path.Name := Pattern (First .. Pos);
Insert (Parent, New_Path.all'Access, YES_MATCH);
Parent := Parent.Children;
end if;
end if;
First := Pos + 2;
exit when First > Pattern'Last;
end loop;
Process (Parent.Route);
if Parent2 /= null then
Parent2.Route := Parent.Route;
end if;
end Add_Route;
-- ------------------------------
-- Walk the routes that have been added by <tt>Add_Route</tt> and call the <tt>Process</tt>
-- procedure with each path pattern and route object.
-- ------------------------------
procedure Iterate (Router : in Router_Type;
Process : not null access procedure (Pattern : in String;
Route : in Route_Type_Accessor)) is
begin
Router.Route.Iterate ("", Process);
end Iterate;
-- ------------------------------
-- Build the route context from the given path by looking at the different routes registered
-- in the router with <tt>Add_Route</tt>.
-- ------------------------------
procedure Find_Route (Router : in Router_Type;
Path : in String;
Context : in out Route_Context_Type'Class) is
Match : Route_Match_Type;
begin
Log.Debug ("Finding route for {0}", Path);
Context.Path := new String '(Path);
Router.Route.Find_Match (Context.Path.all, Context.Path'First, Match, Context);
end Find_Route;
-- Find recursively a match on the given route sub-tree. The match must start at the position
-- <tt>First</tt> in the path up to the last path position. While the path components are
-- checked, the route context is populated with variable components. When the full path
-- matches, <tt>YES_MATCH</tt> is returned in the context gets the route instance.
procedure Find_Match (Node : in Route_Node_Type;
Path : in String;
First : in Natural;
Match : out Route_Match_Type;
Context : in out Route_Context_Type'Class) is
N : Route_Node_Access := Node.Children;
Pos : Natural := First;
Last : Natural;
begin
while Pos <= Path'Last and then Path (Pos) = '/' loop
Pos := Pos + 1;
end loop;
Last := Util.Strings.Index (Path, '/', Pos);
if Last = 0 then
Last := Path'Last;
else
Last := Last - 1;
end if;
while N /= null loop
Match := N.Matches (Path (Pos .. Last), Last = Path'Last);
case Match is
when YES_MATCH =>
if Last = Path'Last then
Context.Route := N.Route;
return;
end if;
N.Find_Match (Path, Last + 2, Match, Context);
if Match = YES_MATCH then
return;
end if;
when MAYBE_MATCH =>
declare
Count : constant Natural := Context.Count + 1;
begin
Context.Count := Count;
Context.Params (Count).Route := N;
Context.Params (Count).First := Pos;
Context.Params (Count).Last := Last;
-- We reached the end of the path and we have a route, this is a match.
if Last = Path'Last and not N.Route.Is_Null then
Match := YES_MATCH;
Context.Route := N.Route;
return;
end if;
N.Find_Match (Path, Last + 2, Match, Context);
if Match = YES_MATCH then
return;
end if;
Context.Count := Count - 1;
end;
when WILDCARD_MATCH =>
declare
Ext : constant Natural := Util.Strings.Rindex (Path, '/');
Count : Natural;
begin
Match := N.Matches (Path (Ext + 1 .. Path'Last), True);
if Match = YES_MATCH or Match = WILDCARD_MATCH or Match = EXT_MATCH then
Count := Context.Count + 1;
Context.Count := Count;
Context.Params (Count).Route := N;
Context.Params (Count).First := Pos;
Context.Params (Count).Last := Path'Last;
Context.Route := N.Route;
if Match = EXT_MATCH or Match = WILDCARD_MATCH then
Match := YES_MATCH;
end if;
return;
end if;
end;
when EXT_MATCH =>
if Last = Path'Last then
declare
Count : Natural;
begin
Count := Context.Count + 1;
Context.Count := Context.Count + 1;
Context.Count := Count;
Context.Params (Count).Route := N;
Context.Params (Count).First := Pos;
Context.Params (Count).Last := Path'Last;
Context.Route := N.Route;
Match := YES_MATCH;
return;
end;
end if;
N.Find_Match (Path, Last + 2, Match, Context);
if Match = YES_MATCH then
return;
end if;
when NO_MATCH =>
null;
end case;
N := N.Next_Route;
end loop;
Match := NO_MATCH;
end Find_Match;
-- ------------------------------
-- Walk the routes that have been added by <tt>Add_Route</tt> and call the <tt>Process</tt>
-- procedure with each path pattern and route object.
-- ------------------------------
procedure Iterate (Node : in Route_Node_Type;
Path : in String;
Process : not null access procedure (Pattern : in String;
Route : in Route_Type_Accessor)) is
Child : Route_Node_Access := Node.Children;
begin
if not Node.Route.Is_Null then
Process (Path, Node.Route.Value);
end if;
while Child /= null loop
Child.Iterate (Path & "/" & Child.Get_Pattern, Process);
Child := Child.Next_Route;
end loop;
end Iterate;
-- ------------------------------
-- Return the position of the variable part of the path.
-- If the URI matches a wildcard pattern, the position of the last '/' in the wildcard pattern
-- is returned.
-- ------------------------------
function Get_Path_Pos (Node : in Route_Node_Type;
Param : in Route_Param_Type) return Natural is
pragma Unreferenced (Node);
begin
return Param.Last + 1;
end Get_Path_Pos;
-- ------------------------------
-- Check if the route node accepts the given path component.
-- Returns YES_MATCH if the name corresponds exactly to the node's name.
-- ------------------------------
overriding
function Matches (Node : in Path_Node_Type;
Name : in String;
Is_Last : in Boolean) return Route_Match_Type is
pragma Unreferenced (Is_Last);
begin
if Node.Name = Name then
return YES_MATCH;
else
return NO_MATCH;
end if;
end Matches;
-- ------------------------------
-- Return the component path pattern that this route node represents (ie, 'Name').
-- ------------------------------
overriding
function Get_Pattern (Node : in Path_Node_Type) return String is
begin
return Node.Name;
end Get_Pattern;
-- ------------------------------
-- Check if the route node accepts the given path component.
-- Returns MAYBE_MATCH.
-- ------------------------------
overriding
function Matches (Node : in EL_Node_Type;
Name : in String;
Is_Last : in Boolean) return Route_Match_Type is
pragma Unreferenced (Node, Name, Is_Last);
begin
return MAYBE_MATCH;
end Matches;
-- ------------------------------
-- Return the component path pattern that this route node represents (ie, the EL expr).
-- ------------------------------
overriding
function Get_Pattern (Node : in EL_Node_Type) return String is
begin
return Node.Value.Get_Expression;
end Get_Pattern;
-- ------------------------------
-- Inject the parameter that was extracted from the path.
-- ------------------------------
overriding
procedure Inject_Parameter (Node : in EL_Node_Type;
Param : in String;
Into : in out Util.Beans.Basic.Bean'Class;
ELContext : in EL.Contexts.ELContext'Class) is
pragma Unreferenced (Into);
begin
Node.Value.Set_Value (Value => Util.Beans.Objects.To_Object (Param),
Context => ELContext);
end Inject_Parameter;
-- ------------------------------
-- Check if the route node accepts the given path component.
-- Returns MAYBE_MATCH.
-- ------------------------------
overriding
function Matches (Node : in Param_Node_Type;
Name : in String;
Is_Last : in Boolean) return Route_Match_Type is
pragma Unreferenced (Node, Name, Is_Last);
begin
return MAYBE_MATCH;
end Matches;
-- ------------------------------
-- Return the component path pattern that this route node represents (ie, Name).
-- ------------------------------
overriding
function Get_Pattern (Node : in Param_Node_Type) return String is
begin
return ":" & Node.Name;
end Get_Pattern;
-- ------------------------------
-- Inject the parameter that was extracted from the path.
-- ------------------------------
overriding
procedure Inject_Parameter (Node : in Param_Node_Type;
Param : in String;
Into : in out Util.Beans.Basic.Bean'Class;
ELContext : in EL.Contexts.ELContext'Class) is
pragma Unreferenced (ELContext);
begin
Into.Set_Value (Name => Node.Name, Value => Util.Beans.Objects.To_Object (Param));
end Inject_Parameter;
-- ------------------------------
-- Check if the route node accepts the given path component.
-- Returns MAYBE_MATCH.
-- ------------------------------
overriding
function Matches (Node : in Extension_Node_Type;
Name : in String;
Is_Last : in Boolean) return Route_Match_Type is
Pos : Natural;
begin
if not Is_Last then
return WILDCARD_MATCH;
else
Pos := Util.Strings.Rindex (Name, '.');
if Pos = 0 then
return NO_MATCH;
elsif Name (Pos .. Name'Last) = Node.Ext then
return EXT_MATCH;
else
return NO_MATCH;
end if;
end if;
end Matches;
-- ------------------------------
-- Return the component path pattern that this route node represents (ie, *.Ext).
-- ------------------------------
overriding
function Get_Pattern (Node : in Extension_Node_Type) return String is
begin
return "*" & Node.Ext;
end Get_Pattern;
-- ------------------------------
-- Check if the route node accepts the given extension.
-- Returns WILDCARD_MATCH.
-- ------------------------------
overriding
function Matches (Node : in Wildcard_Node_Type;
Name : in String;
Is_Last : in Boolean) return Route_Match_Type is
pragma Unreferenced (Node, Name, Is_Last);
begin
return WILDCARD_MATCH;
end Matches;
-- ------------------------------
-- Return the component path pattern that this route node represents (ie, *).
-- ------------------------------
overriding
function Get_Pattern (Node : in Wildcard_Node_Type) return String is
pragma Unreferenced (Node);
begin
return "*";
end Get_Pattern;
-- ------------------------------
-- Return the position of the variable part of the path.
-- If the URI matches a wildcard pattern, the position of the last '/' in the wildcard pattern
-- is returned.
-- ------------------------------
overriding
function Get_Path_Pos (Node : in Wildcard_Node_Type;
Param : in Route_Param_Type) return Natural is
pragma Unreferenced (Node);
begin
return Param.First - 1;
end Get_Path_Pos;
-- ------------------------------
-- Release the storage held by the router.
-- ------------------------------
overriding
procedure Finalize (Router : in out Router_Type) is
procedure Free is
new Ada.Unchecked_Deallocation (Object => Route_Node_Type'Class,
Name => Route_Node_Access);
procedure Destroy (Node : in out Route_Node_Access);
-- ------------------------------
-- Destroy a node recursively.
-- ------------------------------
procedure Destroy (Node : in out Route_Node_Access) is
Child : Route_Node_Access;
begin
loop
Child := Node.Children;
exit when Child = null;
Node.Children := Child.Next_Route;
Destroy (Child);
end loop;
Free (Node);
end Destroy;
Child : Route_Node_Access;
begin
loop
Child := Router.Route.Children;
exit when Child = null;
Router.Route.Children := Child.Next_Route;
Destroy (Child);
end loop;
end Finalize;
end Servlet.Routes;
|
package DDS.Request_Reply.requesteruntypedimpl is
pragma Elaborate_Body;
end;
|
-- 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.Natural_Container.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Game.Test_Data.Tests
.Natural_Container
.Test_Data
.New_Test with
null record;
end Game.Test_Data.Tests.Natural_Container.Test_Data.Tests;
-- end read only
|
-- Abstract :
--
-- see spec
--
-- Copyright (C) 2017, 2018 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or
-- modify it under terms of the GNU General Public License as
-- published by the Free Software Foundation; either version 3, or (at
-- your option) any later version. This library is distributed in the
-- hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-- the implied warranty of 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 this program; 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 under Section 7 of GPL version 3, you are granted
-- additional permissions described in the GCC Runtime Library Exception,
-- version 3.1, as published by the Free Software Foundation.
pragma License (Modified_GPL);
package body SAL.Gen_Definite_Doubly_Linked_Lists is
---------
-- Public operations, declaration order.
overriding
procedure Adjust (Container : in out List)
is
Next_Source : Node_Access := Container.Head;
New_Node : Node_Access;
begin
if Next_Source = null then
return;
end if;
Container.Tail := null;
loop
New_Node := new Node_Type'
(Element => Next_Source.Element,
Next => null,
Prev => Container.Tail);
if Container.Tail = null then
Container.Head := New_Node;
Container.Tail := New_Node;
else
Container.Tail.Next := New_Node;
Container.Tail := New_Node;
end if;
Next_Source := Next_Source.Next;
exit when Next_Source = null;
end loop;
end Adjust;
overriding
procedure Finalize (Container : in out List)
is
Next : Node_Access := Container.Head;
begin
loop
exit when Next = null;
Next := Container.Head.Next;
Free (Container.Head);
Container.Head := Next;
end loop;
Container.Tail := null;
end Finalize;
function Length (Container : in List) return Ada.Containers.Count_Type
is begin
return Container.Count;
end Length;
procedure Append (Container : in out List; Element : in Element_Type)
is
use all type Ada.Containers.Count_Type;
New_Node : constant Node_Access := new Node_Type'
(Element => Element,
Prev => Container.Tail,
Next => null);
begin
if Container.Tail = null then
Container.Head := New_Node;
Container.Tail := New_Node;
else
Container.Tail.Next := New_Node;
Container.Tail := New_Node;
end if;
Container.Count := Container.Count + 1;
end Append;
procedure Prepend (Container : in out List; Element : in Element_Type)
is
use all type Ada.Containers.Count_Type;
New_Node : constant Node_Access := new Node_Type'
(Element => Element,
Prev => null,
Next => Container.Head);
begin
if Container.Tail = null then
Container.Head := New_Node;
Container.Tail := New_Node;
else
Container.Head.Prev := New_Node;
Container.Head := New_Node;
end if;
Container.Count := Container.Count + 1;
end Prepend;
function To_List (Element : in Element_Type) return List
is begin
return Result : List do
Result.Append (Element);
end return;
end To_List;
function Has_Element (Position : in Cursor) return Boolean
is begin
return Position.Ptr /= null;
end Has_Element;
function First (Container : in List) return Cursor
is begin
if Container.Head = null then
return No_Element;
else
return (Container'Unrestricted_Access, Container.Head);
end if;
end First;
function Last (Container : in List) return Cursor
is begin
if Container.Tail = null then
return No_Element;
else
return (Container'Unrestricted_Access, Container.Tail);
end if;
end Last;
procedure Next (Position : in out Cursor)
is begin
if Position.Ptr /= null then
if Position.Ptr.Next = null then
Position := No_Element;
else
Position.Ptr := Position.Ptr.Next;
end if;
end if;
end Next;
function Next (Position : in Cursor) return Cursor
is begin
if Position.Ptr = null then
return Position;
else
if Position.Ptr.Next = null then
return No_Element;
else
return (Position.Container, Position.Ptr.Next);
end if;
end if;
end Next;
function Previous (Position : in Cursor) return Cursor
is begin
if Position.Ptr = null then
return Position;
else
if Position.Ptr.Prev = null then
return No_Element;
else
return (Position.Container, Position.Ptr.Prev);
end if;
end if;
end Previous;
function Element (Position : in Cursor) return Element_Type
is begin
return Position.Ptr.Element;
end Element;
procedure Delete (Container : in out List; Position : in out Cursor)
is
use all type Ada.Containers.Count_Type;
Node : Node_Access renames Position.Ptr;
begin
if Node.Next = null then
Container.Tail := Node.Prev;
else
Node.Next.Prev := Node.Prev;
end if;
if Node.Prev = null then
Container.Head := Node.Next;
else
Node.Prev.Next := Node.Next;
end if;
Free (Node);
Position := No_Element;
Container.Count := Container.Count - 1;
end Delete;
procedure Insert
(Container : in out List;
Before : in Cursor;
Element : in Element_Type)
is
use all type Ada.Containers.Count_Type;
begin
if Before = No_Element then
Container.Append (Element);
else
if Before.Ptr = Container.Head then
declare
-- old list: before ...
-- newlist: new before ...
New_Node : constant Node_Access := new Node_Type'
(Element => Element,
Prev => null,
Next => Before.Ptr);
begin
Before.Ptr.Prev := New_Node;
Container.Head := New_Node;
end;
else
declare
-- old list: ... prev before ...
-- newlist: ... prev new before ...
New_Node : constant Node_Access := new Node_Type'
(Element => Element,
Prev => Before.Ptr.Prev,
Next => Before.Ptr);
begin
Before.Ptr.Prev.Next := New_Node;
Before.Ptr.Prev := New_Node;
end;
end if;
Container.Count := Container.Count + 1;
end if;
end Insert;
function Persistent_Ref (Position : in Cursor) return access Element_Type
is begin
return Position.Ptr.Element'Access;
end Persistent_Ref;
function Constant_Reference (Container : in List; Position : in Cursor) return Constant_Reference_Type
is
pragma Unreferenced (Container);
begin
return (Element => Position.Ptr.all.Element'Access);
end Constant_Reference;
function Constant_Ref (Position : in Cursor) return Constant_Reference_Type
is begin
return (Element => Position.Ptr.all.Element'Access);
end Constant_Ref;
function Reference (Container : in List; Position : in Cursor) return Reference_Type
is
pragma Unreferenced (Container);
begin
return (Element => Position.Ptr.all.Element'Access);
end Reference;
function Ref (Position : in Cursor) return Reference_Type
is begin
return (Element => Position.Ptr.all.Element'Access);
end Ref;
function Iterate (Container : aliased in List) return Iterator_Interfaces.Reversible_Iterator'Class
is begin
return Iterator'(Container => Container'Unrestricted_Access);
end Iterate;
overriding function First (Object : Iterator) return Cursor
is begin
return First (Object.Container.all);
end First;
overriding function Last (Object : Iterator) return Cursor
is begin
return Last (Object.Container.all);
end Last;
overriding function Next (Object : in Iterator; Position : in Cursor) return Cursor
is
pragma Unreferenced (Object);
begin
return Next (Position);
end Next;
overriding function Previous (Object : in Iterator; Position : in Cursor) return Cursor
is
pragma Unreferenced (Object);
begin
return Previous (Position);
end Previous;
end SAL.Gen_Definite_Doubly_Linked_Lists;
|
with Interfaces; use Interfaces;
with Interfaces.C; use Interfaces.C;
package SPI is
MODE0: constant Integer := 0;
BIT_ORDER_MSBFIRST: constant Integer := 1;
CLOCK_DIVIDER_128: constant Integer := 128;
CS0: constant Integer := 0;
LOW: constant Integer := 0;
procedure Start;
pragma Import (C, Start, "bcm2835_spi_begin");
procedure Stop;
pragma Import (C, Stop, "bcm2835_spi_end");
procedure Set_Bit_Order(Order: Integer);
pragma Import (C, Set_Bit_Order, "bcm2835_spi_setBitOrder");
procedure Set_Data_Mode(Order: Integer);
pragma Import (C, Set_Data_Mode, "bcm2835_spi_setDataMode");
procedure Set_Clock_Divider(Order: Integer);
pragma Import (C, Set_Clock_Divider, "bcm2835_spi_setClockDivider");
procedure Set_Chip_Select(A: Integer);
pragma Import (C, Set_Chip_Select, "bcm2835_spi_chipSelect");
procedure Set_Chip_Select_Polarity(A, B: Integer);
pragma Import (C, Set_Chip_Select_Polarity, "bcm2835_spi_setChipSelectPolarity");
procedure Write(Data: Unsigned_8);
pragma Import (C, Write, "bcm2835_spi_transfer");
end SPI;
|
Foo : constant := 42;
Foo : constant Blahtype := Blahvalue;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- A D A . C O M M A N D _ L I N E . E N V I R O N M E N T --
-- --
-- B o d y --
-- --
-- $Revision$
-- --
-- Copyright (C) 1996-2001 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
-- MA 02111-1307, USA. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with System;
package body Ada.Command_Line.Environment is
-----------------------
-- Environment_Count --
-----------------------
function Environment_Count return Natural is
function Env_Count return Natural;
pragma Import (C, Env_Count, "__gnat_env_count");
begin
return Env_Count;
end Environment_Count;
-----------------------
-- Environment_Value --
-----------------------
function Environment_Value (Number : in Positive) return String is
procedure Fill_Env (E : System.Address; Env_Num : Integer);
pragma Import (C, Fill_Env, "__gnat_fill_env");
function Len_Env (Env_Num : Integer) return Integer;
pragma Import (C, Len_Env, "__gnat_len_env");
begin
if Number > Environment_Count then
raise Constraint_Error;
end if;
declare
Env : aliased String (1 .. Len_Env (Number - 1));
begin
Fill_Env (Env'Address, Number - 1);
return Env;
end;
end Environment_Value;
end Ada.Command_Line.Environment;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.