CombinedText
stringlengths
4
3.42M
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Generic_Shared_Instance.Creator; package body Apsepp.Generic_Fixture.Creator is ---------------------------------------------------------------------------- function Alloc return Shared_Instance.Instance_Type_Access is (Shared_Instance.Instance_Type_Access (Allocate)); ---------------------------------------------------------------------------- package Shared_Instance_Creator is new Shared_Instance.Creator (Allocate => Alloc, Just_Pretend => Just_Pretend); ---------------------------------------------------------------------------- function Has_Actually_Created return Boolean is (Shared_Instance_Creator.Has_Actually_Created); ---------------------------------------------------------------------------- end Apsepp.Generic_Fixture.Creator;
-- This spec has been automatically generated from STM32WL5x_CM0P.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.TZSC is pragma Preelaborate; --------------- -- Registers -- --------------- -- TZIC interrupt enable register 1 type IER1_Register is record -- TZICIE TZICIE : Boolean := True; -- TZSCIE TZSCIE : Boolean := True; -- AESIE AESIE : Boolean := True; -- RNGIE RNGIE : Boolean := True; -- SUBGHZSPIIE SUBGHZSPIIE : Boolean := True; -- PWRIE PWRIE : Boolean := True; -- FLASHIFIE FLASHIFIE : Boolean := True; -- DMA1IE DMA1IE : Boolean := True; -- DMA2IE DMA2IE : Boolean := True; -- DMAMUX1IE DMAMUX1IE : Boolean := True; -- FLASHIE FLASHIE : Boolean := True; -- SRAM1IE SRAM1IE : Boolean := True; -- SRAM2IE SRAM2IE : Boolean := True; -- PKAIE PKAIE : Boolean := True; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#3FFFF#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for IER1_Register use record TZICIE at 0 range 0 .. 0; TZSCIE at 0 range 1 .. 1; AESIE at 0 range 2 .. 2; RNGIE at 0 range 3 .. 3; SUBGHZSPIIE at 0 range 4 .. 4; PWRIE at 0 range 5 .. 5; FLASHIFIE at 0 range 6 .. 6; DMA1IE at 0 range 7 .. 7; DMA2IE at 0 range 8 .. 8; DMAMUX1IE at 0 range 9 .. 9; FLASHIE at 0 range 10 .. 10; SRAM1IE at 0 range 11 .. 11; SRAM2IE at 0 range 12 .. 12; PKAIE at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- TZIC status register 1 type MISR1_Register is record -- Read-only. TZICMF TZICMF : Boolean; -- Read-only. TZSCMF TZSCMF : Boolean; -- Read-only. AESMF AESMF : Boolean; -- Read-only. RNGMF RNGMF : Boolean; -- Read-only. SUBGHZSPIMF SUBGHZSPIMF : Boolean; -- Read-only. PWRMF PWRMF : Boolean; -- Read-only. FLASHIFMF FLASHIFMF : Boolean; -- Read-only. DMA1MF DMA1MF : Boolean; -- Read-only. DMA2MF DMA2MF : Boolean; -- Read-only. DMAMUX1MF DMAMUX1MF : Boolean; -- Read-only. FLASHMF FLASHMF : Boolean; -- Read-only. SRAM1MF SRAM1MF : Boolean; -- Read-only. SRAM2MF SRAM2MF : Boolean; -- Read-only. PKAMF PKAMF : Boolean; -- unspecified Reserved_14_31 : HAL.UInt18; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MISR1_Register use record TZICMF at 0 range 0 .. 0; TZSCMF at 0 range 1 .. 1; AESMF at 0 range 2 .. 2; RNGMF at 0 range 3 .. 3; SUBGHZSPIMF at 0 range 4 .. 4; PWRMF at 0 range 5 .. 5; FLASHIFMF at 0 range 6 .. 6; DMA1MF at 0 range 7 .. 7; DMA2MF at 0 range 8 .. 8; DMAMUX1MF at 0 range 9 .. 9; FLASHMF at 0 range 10 .. 10; SRAM1MF at 0 range 11 .. 11; SRAM2MF at 0 range 12 .. 12; PKAMF at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- TZIC interrupt status clear register 1 type ICR1_Register is record -- TZICCF TZICCF : Boolean := False; -- TZSCCF TZSCCF : Boolean := False; -- AESCF AESCF : Boolean := False; -- RNGCF RNGCF : Boolean := False; -- SUBGHZSPICF SUBGHZSPICF : Boolean := False; -- PWRCF PWRCF : Boolean := False; -- FLASHIFCF FLASHIFCF : Boolean := False; -- DMA1CF DMA1CF : Boolean := False; -- DMA2CF DMA2CF : Boolean := False; -- DMAMUX1CF DMAMUX1CF : Boolean := False; -- FLASHCF FLASHCF : Boolean := False; -- SRAM1CF SRAM1CF : Boolean := False; -- SRAM2CF SRAM2CF : Boolean := False; -- PKACF PKACF : Boolean := False; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ICR1_Register use record TZICCF at 0 range 0 .. 0; TZSCCF at 0 range 1 .. 1; AESCF at 0 range 2 .. 2; RNGCF at 0 range 3 .. 3; SUBGHZSPICF at 0 range 4 .. 4; PWRCF at 0 range 5 .. 5; FLASHIFCF at 0 range 6 .. 6; DMA1CF at 0 range 7 .. 7; DMA2CF at 0 range 8 .. 8; DMAMUX1CF at 0 range 9 .. 9; FLASHCF at 0 range 10 .. 10; SRAM1CF at 0 range 11 .. 11; SRAM2CF at 0 range 12 .. 12; PKACF at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- TZSC control register type TZSC_CR_Register is record -- LCK LCK : Boolean := False; -- unspecified Reserved_1_31 : HAL.UInt31 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_CR_Register use record LCK at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; -- TZSC security configuration register type TZSC_SECCFGR1_Register is record -- unspecified Reserved_0_1 : HAL.UInt2 := 16#0#; -- AESSEC AESSEC : Boolean := False; -- RNGSEC RNGSEC : Boolean := False; -- unspecified Reserved_4_12 : HAL.UInt9 := 16#0#; -- PKASEC PKASEC : Boolean := False; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_SECCFGR1_Register use record Reserved_0_1 at 0 range 0 .. 1; AESSEC at 0 range 2 .. 2; RNGSEC at 0 range 3 .. 3; Reserved_4_12 at 0 range 4 .. 12; PKASEC at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- TZSC privilege configuration register 1 type TZSC_PRIVCFGR1_Register is record -- unspecified Reserved_0_1 : HAL.UInt2 := 16#0#; -- AESPRIV AESPRIV : Boolean := False; -- RNGPRIV RNGPRIV : Boolean := False; -- SUBGHZSPIPRIV SUBGHZSPIPRIV : Boolean := False; -- unspecified Reserved_5_12 : HAL.UInt8 := 16#0#; -- PKAPRIV PKAPRIV : Boolean := False; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_PRIVCFGR1_Register use record Reserved_0_1 at 0 range 0 .. 1; AESPRIV at 0 range 2 .. 2; RNGPRIV at 0 range 3 .. 3; SUBGHZSPIPRIV at 0 range 4 .. 4; Reserved_5_12 at 0 range 5 .. 12; PKAPRIV at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; subtype TZSC_MPCWM1_UPWMR_LGTH_Field is HAL.UInt12; -- Unprivileged Water Mark 1 register type TZSC_MPCWM1_UPWMR_Register is record -- unspecified Reserved_0_15 : HAL.UInt16 := 16#0#; -- LGTH LGTH : TZSC_MPCWM1_UPWMR_LGTH_Field := 16#FFF#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_MPCWM1_UPWMR_Register use record Reserved_0_15 at 0 range 0 .. 15; LGTH at 0 range 16 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; subtype TZSC_MPCWM1_UPWWMR_LGTH_Field is HAL.UInt12; -- Unprivileged Writable Water Mark 1 register type TZSC_MPCWM1_UPWWMR_Register is record -- unspecified Reserved_0_15 : HAL.UInt16 := 16#0#; -- Define the length of Flash Unprivileged Writable area, in 2 LGTH : TZSC_MPCWM1_UPWWMR_LGTH_Field := 16#FFF#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_MPCWM1_UPWWMR_Register use record Reserved_0_15 at 0 range 0 .. 15; LGTH at 0 range 16 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; subtype TZSC_MPCWM2_UPWMR_LGTH_Field is HAL.UInt12; -- Unprivileged Water Mark 2 register type TZSC_MPCWM2_UPWMR_Register is record -- unspecified Reserved_0_15 : HAL.UInt16 := 16#0#; -- LGTH LGTH : TZSC_MPCWM2_UPWMR_LGTH_Field := 16#FFF#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_MPCWM2_UPWMR_Register use record Reserved_0_15 at 0 range 0 .. 15; LGTH at 0 range 16 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; subtype TZSC_MPCWM3_UPWMR_LGTH_Field is HAL.UInt12; -- Unprivileged Water Mark 3 register type TZSC_MPCWM3_UPWMR_Register is record -- unspecified Reserved_0_15 : HAL.UInt16 := 16#0#; -- LGTH LGTH : TZSC_MPCWM3_UPWMR_LGTH_Field := 16#FFF#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TZSC_MPCWM3_UPWMR_Register use record Reserved_0_15 at 0 range 0 .. 15; LGTH at 0 range 16 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- TrustZone Interrupt Control type TZIC_Peripheral is record -- TZIC interrupt enable register 1 IER1 : aliased IER1_Register; -- TZIC status register 1 MISR1 : aliased MISR1_Register; -- TZIC interrupt status clear register 1 ICR1 : aliased ICR1_Register; end record with Volatile; for TZIC_Peripheral use record IER1 at 16#0# range 0 .. 31; MISR1 at 16#10# range 0 .. 31; ICR1 at 16#20# range 0 .. 31; end record; -- TrustZone Interrupt Control TZIC_Periph : aliased TZIC_Peripheral with Import, Address => TZIC_Base; -- Global TrustZone Controller type TZSC_Peripheral is record -- TZSC control register TZSC_CR : aliased TZSC_CR_Register; -- TZSC security configuration register TZSC_SECCFGR1 : aliased TZSC_SECCFGR1_Register; -- TZSC privilege configuration register 1 TZSC_PRIVCFGR1 : aliased TZSC_PRIVCFGR1_Register; -- Unprivileged Water Mark 1 register TZSC_MPCWM1_UPWMR : aliased TZSC_MPCWM1_UPWMR_Register; -- Unprivileged Writable Water Mark 1 register TZSC_MPCWM1_UPWWMR : aliased TZSC_MPCWM1_UPWWMR_Register; -- Unprivileged Water Mark 2 register TZSC_MPCWM2_UPWMR : aliased TZSC_MPCWM2_UPWMR_Register; -- Unprivileged Water Mark 3 register TZSC_MPCWM3_UPWMR : aliased TZSC_MPCWM3_UPWMR_Register; end record with Volatile; for TZSC_Peripheral use record TZSC_CR at 16#0# range 0 .. 31; TZSC_SECCFGR1 at 16#10# range 0 .. 31; TZSC_PRIVCFGR1 at 16#20# range 0 .. 31; TZSC_MPCWM1_UPWMR at 16#130# range 0 .. 31; TZSC_MPCWM1_UPWWMR at 16#134# range 0 .. 31; TZSC_MPCWM2_UPWMR at 16#138# range 0 .. 31; TZSC_MPCWM3_UPWMR at 16#140# range 0 .. 31; end record; -- Global TrustZone Controller TZSC_Periph : aliased TZSC_Peripheral with Import, Address => TZSC_Base; end STM32_SVD.TZSC;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . S O F T _ L I N K S . T A S K I N G -- -- -- -- S p e c -- -- -- -- Copyright (C) 2009-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 tasking versions soft links that are common -- to the full and the restricted run times. The rest of the required soft -- links are set by System.Tasking.Initialization and System.Tasking.Stages -- (full run time) or System.Tasking.Restricted.Stages (restricted run time). package System.Soft_Links.Tasking is procedure Init_Tasking_Soft_Links; -- Set the tasking soft links that are common to the full and the -- restricted run times. Clients need to make sure the body of -- System.Secondary_Stack is elaborated before calling this. end System.Soft_Links.Tasking;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . F L O A T _ C O N T R O L -- -- -- -- B o d y -- -- -- -- Copyright (C) 2011-2019, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This implementation calls an imported function. package body System.Float_Control is ----------- -- Reset -- ----------- procedure Reset is procedure Init_Float; pragma Import (C, Init_Float, "__gnat_init_float"); begin Init_Float; end Reset; end System.Float_Control;
with Ada.Text_IO, Ada.Strings.Fixed; use Ada.Text_IO, Ada.Strings, Ada.Strings.Fixed; function "+" (S : String) return String is Item : constant Character := S (S'First); begin for Index in S'First + 1..S'Last loop if Item /= S (Index) then return Trim (Integer'Image (Index - S'First), Both) & Item & (+(S (Index..S'Last))); end if; end loop; return Trim (Integer'Image (S'Length), Both) & Item; end "+";
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Forms -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright 2020 Thomas E. Dickey -- -- Copyright 1999-2011,2014 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: -- $Revision: 1.33 $ -- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; use Interfaces.C.Strings; with Interfaces.C.Pointers; with Terminal_Interface.Curses.Aux; package body Terminal_Interface.Curses.Forms is use Terminal_Interface.Curses.Aux; type C_Field_Array is array (Natural range <>) of aliased Field; package F_Array is new Interfaces.C.Pointers (Natural, Field, C_Field_Array, Null_Field); ------------------------------------------------------------------------------ -- | -- | -- | -- subtype chars_ptr is Interfaces.C.Strings.chars_ptr; procedure Request_Name (Key : Form_Request_Code; Name : out String) is function Form_Request_Name (Key : C_Int) return chars_ptr; pragma Import (C, Form_Request_Name, "form_request_name"); begin Fill_String (Form_Request_Name (C_Int (Key)), Name); end Request_Name; function Request_Name (Key : Form_Request_Code) return String is function Form_Request_Name (Key : C_Int) return chars_ptr; pragma Import (C, Form_Request_Name, "form_request_name"); begin return Fill_String (Form_Request_Name (C_Int (Key))); end Request_Name; ------------------------------------------------------------------------------ -- | -- | -- | -- | -- |===================================================================== -- | man page form_field_new.3x -- |===================================================================== -- | -- | -- | function Create (Height : Line_Count; Width : Column_Count; Top : Line_Position; Left : Column_Position; Off_Screen : Natural := 0; More_Buffers : Buffer_Number := Buffer_Number'First) return Field is function Newfield (H, W, T, L, O, M : C_Int) return Field; pragma Import (C, Newfield, "new_field"); Fld : constant Field := Newfield (C_Int (Height), C_Int (Width), C_Int (Top), C_Int (Left), C_Int (Off_Screen), C_Int (More_Buffers)); begin if Fld = Null_Field then raise Form_Exception; end if; return Fld; end Create; -- | -- | -- | procedure Delete (Fld : in out Field) is function Free_Field (Fld : Field) return Eti_Error; pragma Import (C, Free_Field, "free_field"); begin Eti_Exception (Free_Field (Fld)); Fld := Null_Field; end Delete; -- | -- | -- | function Duplicate (Fld : Field; Top : Line_Position; Left : Column_Position) return Field is function Dup_Field (Fld : Field; Top : C_Int; Left : C_Int) return Field; pragma Import (C, Dup_Field, "dup_field"); F : constant Field := Dup_Field (Fld, C_Int (Top), C_Int (Left)); begin if F = Null_Field then raise Form_Exception; end if; return F; end Duplicate; -- | -- | -- | function Link (Fld : Field; Top : Line_Position; Left : Column_Position) return Field is function Lnk_Field (Fld : Field; Top : C_Int; Left : C_Int) return Field; pragma Import (C, Lnk_Field, "link_field"); F : constant Field := Lnk_Field (Fld, C_Int (Top), C_Int (Left)); begin if F = Null_Field then raise Form_Exception; end if; return F; end Link; -- | -- |===================================================================== -- | man page form_field_just.3x -- |===================================================================== -- | -- | -- | procedure Set_Justification (Fld : Field; Just : Field_Justification := None) is function Set_Field_Just (Fld : Field; Just : C_Int) return Eti_Error; pragma Import (C, Set_Field_Just, "set_field_just"); begin Eti_Exception (Set_Field_Just (Fld, C_Int (Field_Justification'Pos (Just)))); end Set_Justification; -- | -- | -- | function Get_Justification (Fld : Field) return Field_Justification is function Field_Just (Fld : Field) return C_Int; pragma Import (C, Field_Just, "field_just"); begin return Field_Justification'Val (Field_Just (Fld)); end Get_Justification; -- | -- |===================================================================== -- | man page form_field_buffer.3x -- |===================================================================== -- | -- | -- | procedure Set_Buffer (Fld : Field; Buffer : Buffer_Number := Buffer_Number'First; Str : String) is function Set_Fld_Buffer (Fld : Field; Bufnum : C_Int; S : char_array) return Eti_Error; pragma Import (C, Set_Fld_Buffer, "set_field_buffer"); begin Eti_Exception (Set_Fld_Buffer (Fld, C_Int (Buffer), To_C (Str))); end Set_Buffer; -- | -- | -- | procedure Get_Buffer (Fld : Field; Buffer : Buffer_Number := Buffer_Number'First; Str : out String) is function Field_Buffer (Fld : Field; B : C_Int) return chars_ptr; pragma Import (C, Field_Buffer, "field_buffer"); begin Fill_String (Field_Buffer (Fld, C_Int (Buffer)), Str); end Get_Buffer; function Get_Buffer (Fld : Field; Buffer : Buffer_Number := Buffer_Number'First) return String is function Field_Buffer (Fld : Field; B : C_Int) return chars_ptr; pragma Import (C, Field_Buffer, "field_buffer"); begin return Fill_String (Field_Buffer (Fld, C_Int (Buffer))); end Get_Buffer; -- | -- | -- | procedure Set_Status (Fld : Field; Status : Boolean := True) is function Set_Fld_Status (Fld : Field; St : C_Int) return Eti_Error; pragma Import (C, Set_Fld_Status, "set_field_status"); begin if Set_Fld_Status (Fld, Boolean'Pos (Status)) /= E_Ok then raise Form_Exception; end if; end Set_Status; -- | -- | -- | function Changed (Fld : Field) return Boolean is function Field_Status (Fld : Field) return C_Int; pragma Import (C, Field_Status, "field_status"); Res : constant C_Int := Field_Status (Fld); begin if Res = Curses_False then return False; else return True; end if; end Changed; -- | -- | -- | procedure Set_Maximum_Size (Fld : Field; Max : Natural := 0) is function Set_Field_Max (Fld : Field; M : C_Int) return Eti_Error; pragma Import (C, Set_Field_Max, "set_max_field"); begin Eti_Exception (Set_Field_Max (Fld, C_Int (Max))); end Set_Maximum_Size; -- | -- |===================================================================== -- | man page form_field_opts.3x -- |===================================================================== -- | -- | -- | procedure Set_Options (Fld : Field; Options : Field_Option_Set) is function Set_Field_Opts (Fld : Field; Opt : Field_Option_Set) return Eti_Error; pragma Import (C, Set_Field_Opts, "set_field_opts"); begin Eti_Exception (Set_Field_Opts (Fld, Options)); end Set_Options; -- | -- | -- | procedure Switch_Options (Fld : Field; Options : Field_Option_Set; On : Boolean := True) is function Field_Opts_On (Fld : Field; Opt : Field_Option_Set) return Eti_Error; pragma Import (C, Field_Opts_On, "field_opts_on"); function Field_Opts_Off (Fld : Field; Opt : Field_Option_Set) return Eti_Error; pragma Import (C, Field_Opts_Off, "field_opts_off"); begin if On then Eti_Exception (Field_Opts_On (Fld, Options)); else Eti_Exception (Field_Opts_Off (Fld, Options)); end if; end Switch_Options; -- | -- | -- | procedure Get_Options (Fld : Field; Options : out Field_Option_Set) is function Field_Opts (Fld : Field) return Field_Option_Set; pragma Import (C, Field_Opts, "field_opts"); begin Options := Field_Opts (Fld); end Get_Options; -- | -- | -- | function Get_Options (Fld : Field := Null_Field) return Field_Option_Set is Fos : Field_Option_Set; begin Get_Options (Fld, Fos); return Fos; end Get_Options; -- | -- |===================================================================== -- | man page form_field_attributes.3x -- |===================================================================== -- | -- | -- | procedure Set_Foreground (Fld : Field; Fore : Character_Attribute_Set := Normal_Video; Color : Color_Pair := Color_Pair'First) is function Set_Field_Fore (Fld : Field; Attr : Attributed_Character) return Eti_Error; pragma Import (C, Set_Field_Fore, "set_field_fore"); begin Eti_Exception (Set_Field_Fore (Fld, (Ch => Character'First, Color => Color, Attr => Fore))); end Set_Foreground; -- | -- | -- | procedure Foreground (Fld : Field; Fore : out Character_Attribute_Set) is function Field_Fore (Fld : Field) return Attributed_Character; pragma Import (C, Field_Fore, "field_fore"); begin Fore := Field_Fore (Fld).Attr; end Foreground; procedure Foreground (Fld : Field; Fore : out Character_Attribute_Set; Color : out Color_Pair) is function Field_Fore (Fld : Field) return Attributed_Character; pragma Import (C, Field_Fore, "field_fore"); begin Fore := Field_Fore (Fld).Attr; Color := Field_Fore (Fld).Color; end Foreground; -- | -- | -- | procedure Set_Background (Fld : Field; Back : Character_Attribute_Set := Normal_Video; Color : Color_Pair := Color_Pair'First) is function Set_Field_Back (Fld : Field; Attr : Attributed_Character) return Eti_Error; pragma Import (C, Set_Field_Back, "set_field_back"); begin Eti_Exception (Set_Field_Back (Fld, (Ch => Character'First, Color => Color, Attr => Back))); end Set_Background; -- | -- | -- | procedure Background (Fld : Field; Back : out Character_Attribute_Set) is function Field_Back (Fld : Field) return Attributed_Character; pragma Import (C, Field_Back, "field_back"); begin Back := Field_Back (Fld).Attr; end Background; procedure Background (Fld : Field; Back : out Character_Attribute_Set; Color : out Color_Pair) is function Field_Back (Fld : Field) return Attributed_Character; pragma Import (C, Field_Back, "field_back"); begin Back := Field_Back (Fld).Attr; Color := Field_Back (Fld).Color; end Background; -- | -- | -- | procedure Set_Pad_Character (Fld : Field; Pad : Character := Space) is function Set_Field_Pad (Fld : Field; Ch : C_Int) return Eti_Error; pragma Import (C, Set_Field_Pad, "set_field_pad"); begin Eti_Exception (Set_Field_Pad (Fld, C_Int (Character'Pos (Pad)))); end Set_Pad_Character; -- | -- | -- | procedure Pad_Character (Fld : Field; Pad : out Character) is function Field_Pad (Fld : Field) return C_Int; pragma Import (C, Field_Pad, "field_pad"); begin Pad := Character'Val (Field_Pad (Fld)); end Pad_Character; -- | -- |===================================================================== -- | man page form_field_info.3x -- |===================================================================== -- | -- | -- | procedure Info (Fld : Field; Lines : out Line_Count; Columns : out Column_Count; First_Row : out Line_Position; First_Column : out Column_Position; Off_Screen : out Natural; Additional_Buffers : out Buffer_Number) is type C_Int_Access is access all C_Int; function Fld_Info (Fld : Field; L, C, Fr, Fc, Os, Ab : C_Int_Access) return Eti_Error; pragma Import (C, Fld_Info, "field_info"); L, C, Fr, Fc, Os, Ab : aliased C_Int; begin Eti_Exception (Fld_Info (Fld, L'Access, C'Access, Fr'Access, Fc'Access, Os'Access, Ab'Access)); Lines := Line_Count (L); Columns := Column_Count (C); First_Row := Line_Position (Fr); First_Column := Column_Position (Fc); Off_Screen := Natural (Os); Additional_Buffers := Buffer_Number (Ab); end Info; -- | -- | -- | procedure Dynamic_Info (Fld : Field; Lines : out Line_Count; Columns : out Column_Count; Max : out Natural) is type C_Int_Access is access all C_Int; function Dyn_Info (Fld : Field; L, C, M : C_Int_Access) return Eti_Error; pragma Import (C, Dyn_Info, "dynamic_field_info"); L, C, M : aliased C_Int; begin Eti_Exception (Dyn_Info (Fld, L'Access, C'Access, M'Access)); Lines := Line_Count (L); Columns := Column_Count (C); Max := Natural (M); end Dynamic_Info; -- | -- |===================================================================== -- | man page form_win.3x -- |===================================================================== -- | -- | -- | procedure Set_Window (Frm : Form; Win : Window) is function Set_Form_Win (Frm : Form; Win : Window) return Eti_Error; pragma Import (C, Set_Form_Win, "set_form_win"); begin Eti_Exception (Set_Form_Win (Frm, Win)); end Set_Window; -- | -- | -- | function Get_Window (Frm : Form) return Window is function Form_Win (Frm : Form) return Window; pragma Import (C, Form_Win, "form_win"); W : constant Window := Form_Win (Frm); begin return W; end Get_Window; -- | -- | -- | procedure Set_Sub_Window (Frm : Form; Win : Window) is function Set_Form_Sub (Frm : Form; Win : Window) return Eti_Error; pragma Import (C, Set_Form_Sub, "set_form_sub"); begin Eti_Exception (Set_Form_Sub (Frm, Win)); end Set_Sub_Window; -- | -- | -- | function Get_Sub_Window (Frm : Form) return Window is function Form_Sub (Frm : Form) return Window; pragma Import (C, Form_Sub, "form_sub"); W : constant Window := Form_Sub (Frm); begin return W; end Get_Sub_Window; -- | -- | -- | procedure Scale (Frm : Form; Lines : out Line_Count; Columns : out Column_Count) is type C_Int_Access is access all C_Int; function M_Scale (Frm : Form; Yp, Xp : C_Int_Access) return Eti_Error; pragma Import (C, M_Scale, "scale_form"); X, Y : aliased C_Int; begin Eti_Exception (M_Scale (Frm, Y'Access, X'Access)); Lines := Line_Count (Y); Columns := Column_Count (X); end Scale; -- | -- |===================================================================== -- | man page menu_hook.3x -- |===================================================================== -- | -- | -- | procedure Set_Field_Init_Hook (Frm : Form; Proc : Form_Hook_Function) is function Set_Field_Init (Frm : Form; Proc : Form_Hook_Function) return Eti_Error; pragma Import (C, Set_Field_Init, "set_field_init"); begin Eti_Exception (Set_Field_Init (Frm, Proc)); end Set_Field_Init_Hook; -- | -- | -- | procedure Set_Field_Term_Hook (Frm : Form; Proc : Form_Hook_Function) is function Set_Field_Term (Frm : Form; Proc : Form_Hook_Function) return Eti_Error; pragma Import (C, Set_Field_Term, "set_field_term"); begin Eti_Exception (Set_Field_Term (Frm, Proc)); end Set_Field_Term_Hook; -- | -- | -- | procedure Set_Form_Init_Hook (Frm : Form; Proc : Form_Hook_Function) is function Set_Form_Init (Frm : Form; Proc : Form_Hook_Function) return Eti_Error; pragma Import (C, Set_Form_Init, "set_form_init"); begin Eti_Exception (Set_Form_Init (Frm, Proc)); end Set_Form_Init_Hook; -- | -- | -- | procedure Set_Form_Term_Hook (Frm : Form; Proc : Form_Hook_Function) is function Set_Form_Term (Frm : Form; Proc : Form_Hook_Function) return Eti_Error; pragma Import (C, Set_Form_Term, "set_form_term"); begin Eti_Exception (Set_Form_Term (Frm, Proc)); end Set_Form_Term_Hook; -- | -- |===================================================================== -- | man page form_fields.3x -- |===================================================================== -- | -- | -- | procedure Redefine (Frm : Form; Flds : Field_Array_Access) is function Set_Frm_Fields (Frm : Form; Items : System.Address) return Eti_Error; pragma Import (C, Set_Frm_Fields, "set_form_fields"); begin pragma Assert (Flds.all (Flds'Last) = Null_Field); if Flds.all (Flds'Last) /= Null_Field then raise Form_Exception; else Eti_Exception (Set_Frm_Fields (Frm, Flds.all (Flds'First)'Address)); end if; end Redefine; -- | -- | -- | function Fields (Frm : Form; Index : Positive) return Field is use F_Array; function C_Fields (Frm : Form) return Pointer; pragma Import (C, C_Fields, "form_fields"); P : Pointer := C_Fields (Frm); begin if P = null or else Index > Field_Count (Frm) then raise Form_Exception; else P := P + ptrdiff_t (C_Int (Index) - 1); return P.all; end if; end Fields; -- | -- | -- | function Field_Count (Frm : Form) return Natural is function Count (Frm : Form) return C_Int; pragma Import (C, Count, "field_count"); begin return Natural (Count (Frm)); end Field_Count; -- | -- | -- | procedure Move (Fld : Field; Line : Line_Position; Column : Column_Position) is function Move (Fld : Field; L, C : C_Int) return Eti_Error; pragma Import (C, Move, "move_field"); begin Eti_Exception (Move (Fld, C_Int (Line), C_Int (Column))); end Move; -- | -- |===================================================================== -- | man page form_new.3x -- |===================================================================== -- | -- | -- | function Create (Fields : Field_Array_Access) return Form is function NewForm (Fields : System.Address) return Form; pragma Import (C, NewForm, "new_form"); M : Form; begin pragma Assert (Fields.all (Fields'Last) = Null_Field); if Fields.all (Fields'Last) /= Null_Field then raise Form_Exception; else M := NewForm (Fields.all (Fields'First)'Address); if M = Null_Form then raise Form_Exception; end if; return M; end if; end Create; -- | -- | -- | procedure Delete (Frm : in out Form) is function Free (Frm : Form) return Eti_Error; pragma Import (C, Free, "free_form"); begin Eti_Exception (Free (Frm)); Frm := Null_Form; end Delete; -- | -- |===================================================================== -- | man page form_opts.3x -- |===================================================================== -- | -- | -- | procedure Set_Options (Frm : Form; Options : Form_Option_Set) is function Set_Form_Opts (Frm : Form; Opt : Form_Option_Set) return Eti_Error; pragma Import (C, Set_Form_Opts, "set_form_opts"); begin Eti_Exception (Set_Form_Opts (Frm, Options)); end Set_Options; -- | -- | -- | procedure Switch_Options (Frm : Form; Options : Form_Option_Set; On : Boolean := True) is function Form_Opts_On (Frm : Form; Opt : Form_Option_Set) return Eti_Error; pragma Import (C, Form_Opts_On, "form_opts_on"); function Form_Opts_Off (Frm : Form; Opt : Form_Option_Set) return Eti_Error; pragma Import (C, Form_Opts_Off, "form_opts_off"); begin if On then Eti_Exception (Form_Opts_On (Frm, Options)); else Eti_Exception (Form_Opts_Off (Frm, Options)); end if; end Switch_Options; -- | -- | -- | procedure Get_Options (Frm : Form; Options : out Form_Option_Set) is function Form_Opts (Frm : Form) return Form_Option_Set; pragma Import (C, Form_Opts, "form_opts"); begin Options := Form_Opts (Frm); end Get_Options; -- | -- | -- | function Get_Options (Frm : Form := Null_Form) return Form_Option_Set is Fos : Form_Option_Set; begin Get_Options (Frm, Fos); return Fos; end Get_Options; -- | -- |===================================================================== -- | man page form_post.3x -- |===================================================================== -- | -- | -- | procedure Post (Frm : Form; Post : Boolean := True) is function M_Post (Frm : Form) return Eti_Error; pragma Import (C, M_Post, "post_form"); function M_Unpost (Frm : Form) return Eti_Error; pragma Import (C, M_Unpost, "unpost_form"); begin if Post then Eti_Exception (M_Post (Frm)); else Eti_Exception (M_Unpost (Frm)); end if; end Post; -- | -- |===================================================================== -- | man page form_cursor.3x -- |===================================================================== -- | -- | -- | procedure Position_Cursor (Frm : Form) is function Pos_Form_Cursor (Frm : Form) return Eti_Error; pragma Import (C, Pos_Form_Cursor, "pos_form_cursor"); begin Eti_Exception (Pos_Form_Cursor (Frm)); end Position_Cursor; -- | -- |===================================================================== -- | man page form_data.3x -- |===================================================================== -- | -- | -- | function Data_Ahead (Frm : Form) return Boolean is function Ahead (Frm : Form) return C_Int; pragma Import (C, Ahead, "data_ahead"); Res : constant C_Int := Ahead (Frm); begin if Res = Curses_False then return False; else return True; end if; end Data_Ahead; -- | -- | -- | function Data_Behind (Frm : Form) return Boolean is function Behind (Frm : Form) return C_Int; pragma Import (C, Behind, "data_behind"); Res : constant C_Int := Behind (Frm); begin if Res = Curses_False then return False; else return True; end if; end Data_Behind; -- | -- |===================================================================== -- | man page form_driver.3x -- |===================================================================== -- | -- | -- | function Driver (Frm : Form; Key : Key_Code) return Driver_Result is function Frm_Driver (Frm : Form; Key : C_Int) return Eti_Error; pragma Import (C, Frm_Driver, "form_driver"); R : constant Eti_Error := Frm_Driver (Frm, C_Int (Key)); begin case R is when E_Unknown_Command => return Unknown_Request; when E_Invalid_Field => return Invalid_Field; when E_Request_Denied => return Request_Denied; when others => Eti_Exception (R); return Form_Ok; end case; end Driver; -- | -- |===================================================================== -- | man page form_page.3x -- |===================================================================== -- | -- | -- | procedure Set_Current (Frm : Form; Fld : Field) is function Set_Current_Fld (Frm : Form; Fld : Field) return Eti_Error; pragma Import (C, Set_Current_Fld, "set_current_field"); begin Eti_Exception (Set_Current_Fld (Frm, Fld)); end Set_Current; -- | -- | -- | function Current (Frm : Form) return Field is function Current_Fld (Frm : Form) return Field; pragma Import (C, Current_Fld, "current_field"); Fld : constant Field := Current_Fld (Frm); begin if Fld = Null_Field then raise Form_Exception; end if; return Fld; end Current; -- | -- | -- | procedure Set_Page (Frm : Form; Page : Page_Number := Page_Number'First) is function Set_Frm_Page (Frm : Form; Pg : C_Int) return Eti_Error; pragma Import (C, Set_Frm_Page, "set_form_page"); begin Eti_Exception (Set_Frm_Page (Frm, C_Int (Page))); end Set_Page; -- | -- | -- | function Page (Frm : Form) return Page_Number is function Get_Page (Frm : Form) return C_Int; pragma Import (C, Get_Page, "form_page"); P : constant C_Int := Get_Page (Frm); begin if P < 0 then raise Form_Exception; else return Page_Number (P); end if; end Page; function Get_Index (Fld : Field) return Positive is function Get_Fieldindex (Fld : Field) return C_Int; pragma Import (C, Get_Fieldindex, "field_index"); Res : constant C_Int := Get_Fieldindex (Fld); begin if Res = Curses_Err then raise Form_Exception; end if; return Positive (Natural (Res) + Positive'First); end Get_Index; -- | -- |===================================================================== -- | man page form_new_page.3x -- |===================================================================== -- | -- | -- | procedure Set_New_Page (Fld : Field; New_Page : Boolean := True) is function Set_Page (Fld : Field; Flg : C_Int) return Eti_Error; pragma Import (C, Set_Page, "set_new_page"); begin Eti_Exception (Set_Page (Fld, Boolean'Pos (New_Page))); end Set_New_Page; -- | -- | -- | function Is_New_Page (Fld : Field) return Boolean is function Is_New (Fld : Field) return C_Int; pragma Import (C, Is_New, "new_page"); Res : constant C_Int := Is_New (Fld); begin if Res = Curses_False then return False; else return True; end if; end Is_New_Page; procedure Free (FA : in out Field_Array_Access; Free_Fields : Boolean := False) is procedure Release is new Ada.Unchecked_Deallocation (Field_Array, Field_Array_Access); begin if FA /= null and then Free_Fields then for I in FA'First .. (FA'Last - 1) loop if FA.all (I) /= Null_Field then Delete (FA.all (I)); end if; end loop; end if; Release (FA); end Free; -- |===================================================================== function Default_Field_Options return Field_Option_Set is begin return Get_Options (Null_Field); end Default_Field_Options; function Default_Form_Options return Form_Option_Set is begin return Get_Options (Null_Form); end Default_Form_Options; end Terminal_Interface.Curses.Forms;
select A.Z; or delay 5.0; Put("Komunikat"); end select;
----------------------------------------------------------------------- -- babel-stores-local-tests - Unit tests for babel streams -- Copyright (C) 2016 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Tests; package Babel.Stores.Local.Tests is procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite); type Test is new Util.Tests.Test with null record; -- Test the Read_File and Write_File operations. procedure Test_Read_File (T : in out Test); end Babel.Stores.Local.Tests;
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of this file -- ------------------------------------------------------------------------------ -- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $ package body Regular_Expressions is ---------------- -- Add_To_DFA -- ---------------- procedure Add_To_DFA (Result : in out Automatons.DFA; Item : in Expression; Starting : in Positive) is use Symbols; use Positions; use Automatons; type Literal_Array is array (Position range <>) of Expression; type Set_Array is array (Position range <>) of Set; procedure Walk (Item : in Expression; First : in out Set; Last : in out Set; Pos : in out Position); procedure Add_To_Follow (First : in Set; Last : in Set); procedure Get_State (Automaton : in out DFA; S : out State; Pos : in out Set; Starting : in Natural := 0); function Get_Follow (Object : Set) return Set; function Get_Follow (Object : in Set; Symbol : in Symbol_Set) return Set; function Distinct (Element : Iterator) return Symbol_Set_Array; Count : constant Position := Position (Literal_Count (Item)); Literals : Literal_Array (1 .. Count); Follow : Set_Array (1 .. Count); First : Set; Last : Set; Temp : Position := 1; ------------------- -- Add_To_Follow -- ------------------- procedure Add_To_Follow (First : in Set; Last : in Set) is Element : Iterator := Start (Last); begin while Exist (Element) loop Add (Follow (+Element), First); Element := Next (Element); end loop; end Add_To_Follow; -------------- -- Distinct -- -------------- function Distinct (Element : Iterator) return Symbol_Set_Array is function Count return Natural is Iter : Iterator := Element; Result : Natural := 0; begin while Exist (Iter) loop Result := Result + 1; Iter := Next (Iter); end loop; return Result; end Count; Iter : Iterator := Element; Index : Natural := 1; Result : Symbol_Set_Array (1 .. Count); begin while Exist (Iter) loop Result (Index) := Literals (+Iter).Chars; Index := Index + 1; Iter := Next (Iter); end loop; return Distinct_Symbol_Sets (Result); end Distinct; ---------------- -- Get_Follow -- ---------------- function Get_Follow (Object : Set) return Set is Result : Set; Element : Iterator := Start (Object); begin while Exist (Element) loop Add (Result, Follow (+Element)); Element := Next (Element); end loop; return Result; end Get_Follow; ---------------- -- Get_Follow -- ---------------- function Get_Follow (Object : in Set; Symbol : in Symbol_Set) return Set is Result : Set; Element : Iterator := Start (Object); begin while Exist (Element) loop if Literals (+Element).Chars * Symbol then Add (Result, Follow (+Element)); end if; Element := Next (Element); end loop; return Result; end Get_Follow; --------------- -- Get_State -- --------------- procedure Get_State (Automaton : in out DFA; S : out State; Pos : in out Set; Starting : in Natural := 0) is Element : Iterator := Start (Pos); Target : Natural := 0; begin while Exist (Element) loop if Literals (+Element).Token > Target then Target := Literals (+Element).Token; end if; Element := Next (Element); end loop; Need_State (Automaton, S, Pos, Starting); Set_Token (Automaton, S, Token (Target)); end Get_State; ---------- -- Walk -- ---------- procedure Walk (Item : in Expression; First : in out Set; Last : in out Set; Pos : in out Position) is Result_First : Set; Result_Last : Set; begin case Item.Kind is when Literal => Literals (Pos) := Item; Add (First, Pos); Add (Last, Pos); Pos := Pos + 1; when Alternative => Walk (Item.Left, First, Last, Pos); Walk (Item.Right, First, Last, Pos); when Sequence => Walk (Item.Left, First, Result_Last, Pos); Walk (Item.Right, Result_First, Last, Pos); Add_To_Follow (Result_First, Result_Last); if Item.Left.Nullable then Add (First, Result_First); end if; if Item.Right.Nullable then Add (Last, Result_Last); end if; Clear (Result_First); Clear (Result_Last); when Iteration => Walk (Item.Item, Result_First, Result_Last, Pos); Add_To_Follow (Result_First, Result_Last); Add (First, Result_First); Add (Last, Result_Last); when Optional | Apply => Walk (Item.Child, First, Last, Pos); end case; end Walk; Current : State; begin Walk (Item, First, Last, Temp); Clear (Last); Clear_All_Sets (Result); Get_State (Result, Current, First, Starting); while Has_More (Result) loop Get_Next (Result, Current, First); declare Symbols : Symbol_Set_Array := Distinct (Start (First)); begin for I in Symbols'Range loop declare X : Set := Get_Follow (First, Symbols (I)); Next : State; Item : Iterator := Start (X); begin if Exist (Item) then Get_State (Result, Next, X); Add_Edge (Result, Current, Next, Symbols (I)); end if; end; end loop; end; end loop; end Add_To_DFA; ------------------- -- Literal_Count -- ------------------- function Literal_Count (Item : Expression) return Natural is begin case Item.Kind is when Literal => return 1; when Alternative | Sequence => return Literal_Count (Item.Left) + Literal_Count (Item.Right); when Iteration => return Literal_Count (Item.Item); when Optional | Apply => return Literal_Count (Item.Child); end case; end Literal_Count; --------------------- -- New_Alternative -- --------------------- function New_Alternative (Left : Expression; Right : Expression) return Expression is Result : Expression := new Expression_Node (Alternative); begin Result.Nullable := Left.Nullable or Right.Nullable; Result.Left := Left; Result.Right := Right; return Result; end New_Alternative; --------------- -- New_Apply -- --------------- function New_Apply (Item : Expression) return Expression is Result : Expression := new Expression_Node (Apply); begin Result.Nullable := Item.Nullable; Result.Child := Item; return Result; end New_Apply; ------------------- -- New_Iteration -- ------------------- function New_Iteration (Item : Expression; Allow_Zero : Boolean := True) return Expression is Result : Expression := new Expression_Node (Iteration); begin Result.Nullable := Item.Nullable or Allow_Zero; Result.Item := Item; Result.Allow_Zero := Allow_Zero; return Result; end New_Iteration; ----------------- -- New_Literal -- ----------------- function New_Literal (S : Symbol_Set) return Expression is Result : Expression := new Expression_Node (Literal); begin Result.Nullable := False; Result.Chars := S; return Result; end New_Literal; ------------------ -- New_Optional -- ------------------ function New_Optional (Item : Expression) return Expression is Result : Expression := new Expression_Node (Optional); begin Result.Nullable := True; Result.Child := Item; return Result; end New_Optional; -------------- -- New_Rule -- -------------- function New_Rule (Item : Expression; Token : Natural) return Expression is Result : Expression := new Expression_Node (Literal); begin Result.Nullable := False; Result.Chars := To_Range (Not_A_Symbol); Result.Token := Token; return New_Sequence (Item, Result); end New_Rule; ------------------ -- New_Sequence -- ------------------ function New_Sequence (Left : Expression; Right : Expression) return Expression is Result : Expression := new Expression_Node (Sequence); begin Result.Nullable := Left.Nullable and Right.Nullable; Result.Left := Left; Result.Right := Right; return Result; end New_Sequence; end Regular_Expressions; ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * Neither the name of the Maxim Reznik, IE nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------
------------------------------------------------------------------------------ -- -- -- 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.Internals.OCL_Elements; with AMF.OCL.Boolean_Literal_Exps; with AMF.UML.Comments.Collections; with AMF.UML.Dependencies.Collections; with AMF.UML.Elements.Collections; with AMF.UML.Named_Elements; with AMF.UML.Namespaces.Collections; with AMF.UML.Packages.Collections; with AMF.UML.String_Expressions; with AMF.UML.Types; with AMF.Visitors; package AMF.Internals.OCL_Boolean_Literal_Exps is type OCL_Boolean_Literal_Exp_Proxy is limited new AMF.Internals.OCL_Elements.OCL_Element_Proxy and AMF.OCL.Boolean_Literal_Exps.OCL_Boolean_Literal_Exp with null record; overriding function Get_Boolean_Symbol (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return Boolean; -- Getter of BooleanLiteralExp::booleanSymbol. -- overriding procedure Set_Boolean_Symbol (Self : not null access OCL_Boolean_Literal_Exp_Proxy; To : Boolean); -- Setter of BooleanLiteralExp::booleanSymbol. -- overriding function Get_Type (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Types.UML_Type_Access; -- Getter of TypedElement::type. -- -- The type of the TypedElement. -- This information is derived from the return result for this Operation. overriding procedure Set_Type (Self : not null access OCL_Boolean_Literal_Exp_Proxy; To : AMF.UML.Types.UML_Type_Access); -- Setter of TypedElement::type. -- -- The type of the TypedElement. -- This information is derived from the return result for this Operation. overriding function Get_Client_Dependency (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency; -- Getter of NamedElement::clientDependency. -- -- Indicates the dependencies that reference the client. overriding function Get_Name (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.Optional_String; -- Getter of NamedElement::name. -- -- The name of the NamedElement. overriding procedure Set_Name (Self : not null access OCL_Boolean_Literal_Exp_Proxy; To : AMF.Optional_String); -- Setter of NamedElement::name. -- -- The name of the NamedElement. overriding function Get_Name_Expression (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.String_Expressions.UML_String_Expression_Access; -- Getter of NamedElement::nameExpression. -- -- The string expression used to define the name of this named element. overriding procedure Set_Name_Expression (Self : not null access OCL_Boolean_Literal_Exp_Proxy; To : AMF.UML.String_Expressions.UML_String_Expression_Access); -- Setter of NamedElement::nameExpression. -- -- The string expression used to define the name of this named element. overriding function Get_Namespace (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access; -- Getter of NamedElement::namespace. -- -- Specifies the namespace that owns the NamedElement. overriding function Get_Qualified_Name (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.Optional_String; -- Getter of NamedElement::qualifiedName. -- -- A name which allows the NamedElement to be identified within a -- hierarchy of nested Namespaces. It is constructed from the names of the -- containing namespaces starting at the root of the hierarchy and ending -- with the name of the NamedElement itself. overriding function Get_Visibility (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Optional_UML_Visibility_Kind; -- Getter of NamedElement::visibility. -- -- Determines where the NamedElement appears within different Namespaces -- within the overall model, and its accessibility. overriding procedure Set_Visibility (Self : not null access OCL_Boolean_Literal_Exp_Proxy; To : AMF.UML.Optional_UML_Visibility_Kind); -- Setter of NamedElement::visibility. -- -- Determines where the NamedElement appears within different Namespaces -- within the overall model, and its accessibility. overriding function Get_Owned_Comment (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Comments.Collections.Set_Of_UML_Comment; -- Getter of Element::ownedComment. -- -- The Comments owned by this element. overriding function Get_Owned_Element (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element; -- Getter of Element::ownedElement. -- -- The Elements owned by this element. overriding function Get_Owner (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Elements.UML_Element_Access; -- Getter of Element::owner. -- -- The Element that owns this element. overriding function All_Namespaces (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace; -- Operation NamedElement::allNamespaces. -- -- The query allNamespaces() gives the sequence of namespaces in which the -- NamedElement is nested, working outwards. overriding function All_Owning_Packages (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Packages.Collections.Set_Of_UML_Package; -- Operation NamedElement::allOwningPackages. -- -- The query allOwningPackages() returns all the directly or indirectly -- owning packages. overriding function Is_Distinguishable_From (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy; N : AMF.UML.Named_Elements.UML_Named_Element_Access; Ns : AMF.UML.Namespaces.UML_Namespace_Access) return Boolean; -- Operation NamedElement::isDistinguishableFrom. -- -- The query isDistinguishableFrom() determines whether two NamedElements -- may logically co-exist within a Namespace. By default, two named -- elements are distinguishable if (a) they have unrelated types or (b) -- they have related types but different names. overriding function Namespace (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access; -- Operation NamedElement::namespace. -- -- Missing derivation for NamedElement::/namespace : Namespace overriding function Qualified_Name (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return League.Strings.Universal_String; -- Operation NamedElement::qualifiedName. -- -- When there is a name, and all of the containing namespaces have a name, -- the qualified name is constructed from the names of the containing -- namespaces. overriding function Separator (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return League.Strings.Universal_String; -- Operation NamedElement::separator. -- -- The query separator() gives the string that is used to separate names -- when constructing a qualified name. overriding function All_Owned_Elements (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element; -- Operation Element::allOwnedElements. -- -- The query allOwnedElements() gives all of the direct and indirect owned -- elements of an element. overriding function Must_Be_Owned (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy) return Boolean; -- Operation Element::mustBeOwned. -- -- The query mustBeOwned() indicates whether elements of this type must -- have an owner. Subclasses of Element that do not require an owner must -- override this operation. overriding procedure Enter_Element (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Leave_Element (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Visit_Element (Self : not null access constant OCL_Boolean_Literal_Exp_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); end AMF.Internals.OCL_Boolean_Literal_Exps;
----------------------------------------------------------------------- -- gen-artifacts-distribs-concat -- Concatenate based distribution artifact -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Directories; with Ada.Streams.Stream_IO; with Ada.Exceptions; with Ada.IO_Exceptions; with Util.Log.Loggers; with Util.Streams; with Util.Streams.Files; package body Gen.Artifacts.Distribs.Concat is use Util.Log; Log : constant Loggers.Logger := Loggers.Create ("Gen.Artifacts.Distribs.Concat"); -- ------------------------------ -- Create a distribution rule to copy a set of files or directories. -- ------------------------------ function Create_Rule (Node : in DOM.Core.Node) return Distrib_Rule_Access is pragma Unreferenced (Node); Result : constant Concat_Rule_Access := new Concat_Rule; begin return Result.all'Access; end Create_Rule; -- ------------------------------ -- Get a name to qualify the installation rule (used for logs). -- ------------------------------ overriding function Get_Install_Name (Rule : in Concat_Rule) return String is pragma Unreferenced (Rule); begin return "concat"; end Get_Install_Name; -- ------------------------------ -- Install the file <b>File</b> according to the distribution rule. -- Concatenate the files listed in <b>Files</b> in the target path specified by <b>Path</b>. -- ------------------------------ overriding procedure Install (Rule : in Concat_Rule; Path : in String; Files : in File_Vector; Context : in out Generator'Class) is procedure Concat_File (File : in File_Record); Dir : constant String := Ada.Directories.Containing_Directory (Path); Output : Util.Streams.Files.File_Stream; -- ------------------------------ -- Append the file to the output -- ------------------------------ procedure Concat_File (File : in File_Record) is File_Path : constant String := Rule.Get_Source_Path (File); Input : Util.Streams.Files.File_Stream; begin Log.Info ("concat {0} to {1}", File_Path, Path); Input.Open (Name => File_Path, Mode => Ada.Streams.Stream_IO.In_File); Util.Streams.Copy (From => Input, Into => Output); Input.Close; exception when Ex : Ada.IO_Exceptions.Name_Error => Context.Error ("Cannot read {0}: ", File_Path, Ada.Exceptions.Exception_Message (Ex)); end Concat_File; Iter : File_Cursor := Files.First; begin Ada.Directories.Create_Path (Dir); Output.Create (Name => Path, Mode => Ada.Streams.Stream_IO.Out_File); while File_Record_Vectors.Has_Element (Iter) loop File_Record_Vectors.Query_Element (Iter, Concat_File'Access); File_Record_Vectors.Next (Iter); end loop; Output.Close; end Install; end Gen.Artifacts.Distribs.Concat;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . E X C E P T I O N S . T R A C E B A C K -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-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. -- -- -- ------------------------------------------------------------------------------ -- This package is part of the support for tracebacks on exceptions with System.Traceback_Entries; package Ada.Exceptions.Traceback is package STBE renames System.Traceback_Entries; subtype Code_Loc is System.Address; -- Code location in executing program subtype Tracebacks_Array is STBE.Tracebacks_Array; -- A traceback array is an array of traceback entries function Tracebacks (E : Exception_Occurrence) return Tracebacks_Array; -- This function extracts the traceback information from an exception -- occurrence, and returns it formatted in the manner required for -- processing in GNAT.Traceback. See g-traceb.ads for further details. function "=" (A, B : Tracebacks_Array) return Boolean renames STBE."="; -- Make "=" operator visible directly function Get_PC (TBE : STBE.Traceback_Entry) return Code_Loc renames STBE.PC_For; -- Returns the code address held by a given traceback entry, typically the -- address of a call instruction. end Ada.Exceptions.Traceback;
-- Generated at 2017-03-27 17:51:44 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-acl-maps.sx package Natools.Static_Maps.Web.ACL is pragma Pure; type Command is (Unknown_Command, Is_In_All_Groups, Is_In_Any_Group, Is_User); function To_Command (Key : String) return Command; private Map_1_Key_0 : aliased constant String := "is-in-groups"; Map_1_Key_1 : aliased constant String := "is-in-all-groups"; Map_1_Key_2 : aliased constant String := "is-in-group"; Map_1_Key_3 : aliased constant String := "is-in-any-group"; Map_1_Key_4 : aliased constant String := "is"; Map_1_Key_5 : aliased constant String := "is-user"; Map_1_Key_6 : aliased constant String := "is-any-of"; Map_1_Keys : constant array (0 .. 6) of access constant String := (Map_1_Key_0'Access, Map_1_Key_1'Access, Map_1_Key_2'Access, Map_1_Key_3'Access, Map_1_Key_4'Access, Map_1_Key_5'Access, Map_1_Key_6'Access); Map_1_Elements : constant array (0 .. 6) of Command := (Is_In_All_Groups, Is_In_All_Groups, Is_In_Any_Group, Is_In_Any_Group, Is_User, Is_User, Is_User); end Natools.Static_Maps.Web.ACL;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ADA.STRINGS.BOUNDED.LESS_CASE_INSENSITIVE -- -- -- -- S p e c -- -- -- -- Copyright (C) 2011-2019, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ generic with package Bounded is new Ada.Strings.Bounded.Generic_Bounded_Length (<>); function Ada.Strings.Bounded.Less_Case_Insensitive (Left, Right : Bounded.Bounded_String) return Boolean; pragma Preelaborate (Ada.Strings.Bounded.Less_Case_Insensitive);
-- C87B05A.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 OVERLOADING RESOLUTION USES THE RULE THAT: -- -- IN AN INTEGER TYPE DEFINITION WITH A RANGE CONSTRAINT, THE BOUNDS -- OF THE RANGE MUST BE OF SOME INTEGER TYPE. -- TRH 1 JULY 82 WITH REPORT; USE REPORT; PROCEDURE C87B05A IS ERR : BOOLEAN := FALSE; TYPE WHOLE IS NEW INTEGER RANGE 0 .. INTEGER'LAST; TYPE AGE IS NEW INTEGER RANGE 0 .. 120; FUNCTION "+" (X : WHOLE) RETURN FLOAT IS BEGIN ERR := TRUE; RETURN 2.0; END "+"; FUNCTION "-" (X : AGE) RETURN BOOLEAN IS BEGIN ERR := TRUE; RETURN FALSE; END "-"; BEGIN TEST ("C87B05A","OVERLOADED EXPRESSIONS IN RANGE BOUNDS " & " OF INTEGER TYPE DEFINITIONS"); DECLARE TYPE ADULT IS RANGE 18 .. "+" (WHOLE'(120)); TYPE MINOR IS RANGE "-" (AGE'(0)) .. "+" (WHOLE'(17)); TYPE NEG10 IS RANGE "-" (AGE'(10)) .. "-" (AGE'(1)); BEGIN IF ERR THEN FAILED ("RESOLUTION INCORRECT - INTEGER TYPE " & "DEFINITIONS MUST HAVE INTEGER TYPE " & "RANGE BOUNDS"); END IF; END; RESULT; END C87B05A;
-- A83C01H.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 COMPONENT NAMES MAY BE THE SAME AS NAMES OF -- LABELS. -- RM 24 JUNE 1980 -- JRK 10 NOV 1980 -- RM 01 JAN 1982 WITH REPORT; PROCEDURE A83C01H IS USE REPORT; BEGIN TEST( "A83C01H" , "CHECK THAT COMPONENT NAMES MAY BE THE SAME AS" & " NAMES OF LABELS" ) ; -- TEST FOR LABELS DECLARE TYPE R1A IS RECORD LAB3 : INTEGER ; END RECORD ; TYPE R1 IS RECORD LAB1 : INTEGER ; LAB2 : R1A ; END RECORD ; A1 : R1 := ( 1 , ( LAB3 => 5 ) ); BEGIN << LAB1 >> << LAB2 >> << LAB3 >> A1.LAB1 := A1.LAB2.LAB3 ; DECLARE TYPE R1A IS RECORD LAB3 : INTEGER ; LAB4 : INTEGER ; END RECORD ; TYPE R1 IS RECORD LAB1 : INTEGER ; LAB2 : R1A ; END RECORD ; A1 : R1 := ( 3 , ( 6 , 7 ) ); BEGIN << LAB4 >> A1.LAB1 := A1.LAB2.LAB3 + A1.LAB2.LAB4 ; END ; END ; RESULT; END A83C01H;
-- Standard Ada library specification -- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual --------------------------------------------------------------------------- package Ada.Assertions is pragma Pure (Assertions); Assertion_Error : exception; procedure Assert (Check : in Boolean); procedure Assert (Check : in Boolean; Message : in String); end Ada.Assertions;
-- C37306A.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 A VARIANT PART OF A RECORD THE CHOICES WITHIN AND -- BETWEEN ALTERNATIVES CAN APPEAR IN NON-MONOTONIC ORDER. -- ASL 7/13/81 -- JWC 6/28/85 RENAMED TO -AB WITH REPORT; PROCEDURE C37306A IS USE REPORT; BEGIN TEST ("C37306A","NON-MONOTONIC ORDER OF CHOICES IN VARIANT PARTS"); DECLARE TYPE COLOR IS (WHITE,RED,ORANGE,YELLOW,GREEN,AQUA,BLUE,BLACK); TYPE REC(DISC : COLOR := BLUE) IS RECORD CASE DISC IS WHEN ORANGE => NULL; WHEN GREEN | WHITE | BLACK => NULL; WHEN YELLOW => NULL; WHEN BLUE | RED => NULL; WHEN OTHERS => NULL; END CASE; END RECORD; R : REC; BEGIN R := (DISC => WHITE); IF EQUAL(3,4) THEN R := (DISC => RED); END IF; IF R.DISC /= WHITE THEN FAILED ("ASSIGNMENT FAILED"); END IF; EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED"); END; RESULT; END C37306A;
-- -- Copyright (c) 2015, John Leimon <jleimon@gmail.com> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above copyright -- notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD -- TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN -- NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR -- CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR -- PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with Interfaces.C.Strings; with x86_64_linux_gnu_bits_types_h; with stddef_h; package libio_h is -- unsupported macro: EOF (-1) -- skipped empty struct u_IO_jump_t subtype u_IO_lock_t is System.Address; -- /usr/include/libio.h:154 type u_IO_FILE; type u_IO_marker is record u_next : access u_IO_marker; -- /usr/include/libio.h:161 u_sbuf : access u_IO_FILE; -- /usr/include/libio.h:162 u_pos : aliased int; -- /usr/include/libio.h:166 end record; pragma Convention (C_Pass_By_Copy, u_IO_marker); -- /usr/include/libio.h:160 type uu_codecvt_result is (uu_codecvt_ok, uu_codecvt_partial, uu_codecvt_error, uu_codecvt_noconv); pragma Convention (C, uu_codecvt_result); -- /usr/include/libio.h:180 type u_IO_FILE is record u_flags : aliased int; -- /usr/include/libio.h:246 u_IO_read_ptr : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:251 u_IO_read_end : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:252 u_IO_read_base : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:253 u_IO_write_base : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:254 u_IO_write_ptr : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:255 u_IO_write_end : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:256 u_IO_buf_base : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:257 u_IO_buf_end : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:258 u_IO_save_base : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:260 u_IO_backup_base : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:261 u_IO_save_end : Interfaces.C.Strings.chars_ptr; -- /usr/include/libio.h:262 u_markers : access u_IO_marker; -- /usr/include/libio.h:264 u_chain : access u_IO_FILE; -- /usr/include/libio.h:266 u_fileno : aliased int; -- /usr/include/libio.h:268 u_flags2 : aliased int; -- /usr/include/libio.h:272 u_old_offset : aliased x86_64_linux_gnu_bits_types_h.uu_off_t; -- /usr/include/libio.h:274 u_cur_column : aliased unsigned_short; -- /usr/include/libio.h:278 u_vtable_offset : aliased signed_char; -- /usr/include/libio.h:279 u_shortbuf : aliased u_IO_FILE_u_shortbuf_array; -- /usr/include/libio.h:280 u_lock : System.Address; -- /usr/include/libio.h:284 u_offset : aliased x86_64_linux_gnu_bits_types_h.uu_off64_t; -- /usr/include/libio.h:293 uu_pad1 : System.Address; -- /usr/include/libio.h:302 uu_pad2 : System.Address; -- /usr/include/libio.h:303 uu_pad3 : System.Address; -- /usr/include/libio.h:304 uu_pad4 : System.Address; -- /usr/include/libio.h:305 uu_pad5 : aliased stddef_h.size_t; -- /usr/include/libio.h:306 u_mode : aliased int; -- /usr/include/libio.h:308 u_unused2 : aliased u_IO_FILE_u_unused2_array; -- /usr/include/libio.h:310 end record; pragma Convention (C_Pass_By_Copy, u_IO_FILE); -- /usr/include/libio.h:245 -- skipped empty struct u_IO_FILE_plus -- skipped function type uu_io_read_fn -- skipped function type uu_io_write_fn -- skipped function type uu_io_seek_fn -- skipped function type uu_io_close_fn -- skipped function type cookie_read_function_t -- skipped function type cookie_write_function_t -- skipped function type cookie_seek_function_t -- skipped function type cookie_close_function_t type u_IO_cookie_io_functions_t is record read : access function (arg1 : System.Address; arg2 : Interfaces.C.Strings.chars_ptr; arg3 : stddef_h.size_t) return x86_64_linux_gnu_bits_types_h.uu_ssize_t; -- /usr/include/libio.h:371 write : access function (arg1 : System.Address; arg2 : Interfaces.C.Strings.chars_ptr; arg3 : stddef_h.size_t) return x86_64_linux_gnu_bits_types_h.uu_ssize_t; -- /usr/include/libio.h:372 seek : access function (arg1 : System.Address; arg2 : access x86_64_linux_gnu_bits_types_h.uu_off64_t; arg3 : int) return int; -- /usr/include/libio.h:373 close : access function (arg1 : System.Address) return int; -- /usr/include/libio.h:374 end record; pragma Convention (C_Pass_By_Copy, u_IO_cookie_io_functions_t); -- /usr/include/libio.h:375 -- skipped anonymous struct anon_5 subtype cookie_io_functions_t is u_IO_cookie_io_functions_t; -- skipped empty struct u_IO_cookie_file -- skipped func _IO_cookie_init -- skipped func _IO_getc -- skipped func _IO_putc -- skipped func _IO_feof -- skipped func _IO_ferror -- skipped func _IO_peekc_locked -- skipped func _IO_flockfile -- skipped func _IO_funlockfile -- skipped func _IO_ftrylockfile -- skipped func _IO_vfscanf -- skipped func _IO_vfprintf -- skipped func _IO_padn -- skipped func _IO_sgetn -- skipped func _IO_seekoff -- skipped func _IO_seekpos -- skipped func _IO_free_backup_area end libio_h;
package body ACO.Protocols.Error_Control.Masters is procedure Periodic_Actions (This : in out Master; T_Now : in Ada.Real_Time.Time) is begin This.Timers.Process (T_Now); This.Monitor.Update_Alarms (T_Now); end Periodic_Actions; function Create_Heartbeat (State : ACO.States.State; Node_Id : ACO.Messages.Node_Nr) return ACO.Messages.Message is begin return ACO.Messages.Create (Code => EC_Id, Node => Node_Id, RTR => False, Data => (ACO.Messages.Msg_Data'First => ACO.Messages.Data_Type (EC_Commands.To_EC_State (State)))); end Create_Heartbeat; procedure Send_Heartbeat (This : in out Master; Node_State : in ACO.States.State) is begin This.Handler.Put (Create_Heartbeat (Node_State, This.Id)); end Send_Heartbeat; procedure Send_Bootup (This : in out Master) is begin This.EC_Log (ACO.Log.Debug, "Sending bootup for node" & This.Id'Img); This.Send_Heartbeat (ACO.States.Initializing); end Send_Bootup; overriding procedure Signal (This : access Heartbeat_Producer_Alarm; T_Now : in Ada.Real_Time.Time) is use type Ada.Real_Time.Time; use Alarms; Ref : access Master renames This.Ref; Period : constant Natural := Ref.Od.Get_Heartbeat_Producer_Period; begin if Period > 0 then Ref.Timers.Set (Alarm_Access (This), T_Now + Ada.Real_Time.Milliseconds (Period)); Ref.Send_Heartbeat (Ref.Od.Get_Node_State); end if; end Signal; procedure Heartbeat_Producer_Start (This : in out Master) is Period : constant Natural := This.Od.Get_Heartbeat_Producer_Period; Immediately : constant Ada.Real_Time.Time := This.Handler.Current_Time; begin if Period > 0 then This.Timers.Set (Alarm => This.Producer_Alarm'Unchecked_Access, Signal_Time => Immediately); end if; end Heartbeat_Producer_Start; procedure Heartbeat_Producer_Stop (This : in out Master) is begin This.Timers.Cancel (This.Producer_Alarm'Unchecked_Access); end Heartbeat_Producer_Stop; overriding procedure On_Event (This : in out Node_State_Change_Subscriber; Data : in ACO.Events.Event_Data) is use ACO.States; Ref : access Master renames This.Ref; begin case Data.State.Current is when Initializing | Unknown_State => Ref.Heartbeat_Producer_Stop; when Pre_Operational => if Data.State.Previous = Initializing then Ref.Send_Bootup; Ref.Heartbeat_Producer_Start; end if; when Operational | Stopped => null; end case; end On_Event; procedure On_Heartbeat (This : in out Master; Id : in ACO.Messages.Node_Nr; Hbt_State : in EC_Commands.EC_State) is State : constant ACO.States.State := EC_Commands.To_State (Hbt_State); T_Now : constant Ada.Real_Time.Time := This.Handler.Current_Time; begin if This.Monitor.Is_Monitored (Id) then This.Monitor.Update_State (Id, State, T_Now); elsif EC_Commands.Is_Bootup (Hbt_State) then This.Monitor.Start (Id, State, T_Now); end if; end On_Heartbeat; overriding procedure On_Event (This : in out Entry_Update_Subscriber; Data : in ACO.Events.Event_Data) is Ref : access Master renames This.Ref; begin case Data.Index.Object is when ACO.OD.Heartbeat_Consumer_Index => Ref.Monitor.Restart (Ref.Handler.Current_Time); when ACO.OD.Heartbeat_Producer_Index => if Ref.Timers.Is_Pending (Ref.Producer_Alarm'Unchecked_Access) then Ref.Heartbeat_Producer_Stop; Ref.Heartbeat_Producer_Start; end if; when others => null; end case; end On_Event; overriding procedure Initialize (This : in out Master) is begin EC (This).Initialize; This.Od.Events.Node_Events.Attach (This.Entry_Update'Unchecked_Access); This.Od.Events.Node_Events.Attach (This.State_Change'Unchecked_Access); end Initialize; overriding procedure Finalize (This : in out Master) is begin EC (This).Finalize; This.Od.Events.Node_Events.Detach (This.Entry_Update'Unchecked_Access); This.Od.Events.Node_Events.Detach (This.State_Change'Unchecked_Access); end Finalize; end ACO.Protocols.Error_Control.Masters;
with openGL.Geometry, openGL.Texture; package openGL.Model.hexagon_Column.lit_colored_textured_faceted -- -- Models a lit, colored and textured column with 6 faceted shaft sides. -- is type Item is new Model.hexagon_Column.Item with private; type View is access all Item'Class; --------- --- Faces -- type hex_Face is record center_Color : lucid_Color; -- The color of the center of the hex. Colors : lucid_Colors (1 .. 6); -- The color of each of the faces 4 vertices. Texture : asset_Name := openGL.null_Asset; -- The texture to be applied to the face. end record; type shaft_Face is record Color : lucid_Color; -- The color of the shaft. Texture : asset_Name := null_Asset; -- The texture to be applied to the shaft. end record; --------- --- Forge -- function new_hexagon_Column (Radius : in Real; Height : in Real; Upper, Lower : in hex_Face; Shaft : in shaft_Face) return View; -------------- --- Attributes -- overriding function to_GL_Geometries (Self : access Item; Textures : access Texture.name_Map_of_texture'Class; Fonts : in Font.font_id_Map_of_font) return Geometry.views; private type Item is new Model.hexagon_Column.item with record upper_Face, lower_Face : hex_Face; Shaft : shaft_Face; end record; end openGL.Model.hexagon_Column.lit_colored_textured_faceted;
<?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>matrixmul</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>a</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>a</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>9</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>b</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>b</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>9</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>res</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>16</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>9</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>45</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>8</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</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>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>75</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>73</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>10</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>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>75</item> <item>76</item> <item>77</item> <item>78</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>exitcond2</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>75</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>79</item> <item>81</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>13</id> <name>i_1</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>82</item> <item>84</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>14</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</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>85</item> <item>86</item> <item>87</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>18</id> <name>tmp_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>88</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>19</id> <name>tmp_9</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>75</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>90</item> <item>91</item> <item>92</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>20</id> <name>p_shl_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>93</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>21</id> <name>tmp_s</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>94</item> <item>95</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>77</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</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>96</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>24</id> <name>j</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>97</item> <item>98</item> <item>99</item> <item>100</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>25</id> <name>exitcond1</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>77</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</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>101</item> <item>102</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>27</id> <name>j_1</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>77</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>77</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>103</item> <item>104</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>28</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>77</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</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>105</item> <item>106</item> <item>107</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>32</id> <name>tmp_2_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>79</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>79</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>108</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>33</id> <name>tmp_2</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>79</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>79</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>109</item> <item>110</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>34</id> <name>tmp_11_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>79</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</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>111</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>35</id> <name>res_addr</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>79</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>79</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>112</item> <item>114</item> <item>115</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>36</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>80</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>116</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>38</id> <name>res_load</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>118</item> <item>119</item> <item>120</item> <item>121</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>39</id> <name>k</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>122</item> <item>123</item> <item>124</item> <item>125</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>40</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>126</item> <item>127</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>41</id> <name>exitcond</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>80</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>128</item> <item>129</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>43</id> <name>k_1</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>130</item> <item>131</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>44</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>80</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>132</item> <item>133</item> <item>134</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>47</id> <name>tmp_4_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>135</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_4</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>136</item> <item>137</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_12_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>138</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>50</id> <name>a_addr</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>139</item> <item>140</item> <item>141</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp_10</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>80</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>142</item> <item>143</item> <item>144</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>52</id> <name>p_shl1_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>145</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>53</id> <name>tmp_11</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>146</item> <item>147</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>54</id> <name>tmp_12</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>148</item> <item>149</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_15_cast</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>150</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>56</id> <name>b_addr</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>151</item> <item>152</item> <item>153</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>57</id> <name>a_load</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>154</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>58</id> <name>tmp_5</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>155</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>59</id> <name>b_load</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>156</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>60</id> <name>tmp_6</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>157</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_7</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>158</item> <item>159</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_8</name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>81</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>160</item> <item>161</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>63</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>80</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>162</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>66</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>77</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</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>163</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>69</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>75</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>164</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>71</id> <name></name> <fileName>../labsource/labs/lab1/matrixmul.cpp</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/lab1</fileDirectory> <lineNumber>85</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../labsource/labs/lab1/matrixmul.cpp</first> <second>matrixmul</second> </first> <second>85</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>5</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_49"> <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>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_50"> <Value> <Obj> <type>2</type> <id>80</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>3</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>83</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="_52"> <Value> <Obj> <type>2</type> <id>113</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_53"> <Value> <Obj> <type>2</type> <id>117</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>10</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_54"> <Obj> <type>3</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> <node_objs> <count>1</count> <item_version>0</item_version> <item>8</item> </node_objs> </item> <item class_id_reference="18" object_id="_55"> <Obj> <type>3</type> <id>15</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>10</item> <item>11</item> <item>13</item> <item>14</item> </node_objs> </item> <item class_id_reference="18" object_id="_56"> <Obj> <type>3</type> <id>23</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> </node_objs> </item> <item class_id_reference="18" object_id="_57"> <Obj> <type>3</type> <id>29</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>24</item> <item>25</item> <item>27</item> <item>28</item> </node_objs> </item> <item class_id_reference="18" object_id="_58"> <Obj> <type>3</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> <node_objs> <count>5</count> <item_version>0</item_version> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> </node_objs> </item> <item class_id_reference="18" object_id="_59"> <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>38</item> <item>39</item> <item>40</item> <item>41</item> <item>43</item> <item>44</item> </node_objs> </item> <item class_id_reference="18" object_id="_60"> <Obj> <type>3</type> <id>64</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>17</count> <item_version>0</item_version> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> </node_objs> </item> <item class_id_reference="18" object_id="_61"> <Obj> <type>3</type> <id>67</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>66</item> </node_objs> </item> <item class_id_reference="18" object_id="_62"> <Obj> <type>3</type> <id>70</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>69</item> </node_objs> </item> <item class_id_reference="18" object_id="_63"> <Obj> <type>3</type> <id>72</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>71</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>96</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_64"> <id>73</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_65"> <id>75</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_66"> <id>76</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_67"> <id>77</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>78</id> <edge_type>2</edge_type> <source_obj>70</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>79</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>81</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>82</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>84</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>85</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>86</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>87</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>88</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>91</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>92</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>93</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>94</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>95</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>96</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>97</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>98</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>99</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>100</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>101</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>102</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>103</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>104</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>105</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>106</id> <edge_type>2</edge_type> <source_obj>37</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>107</id> <edge_type>2</edge_type> <source_obj>70</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>108</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>109</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>110</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>111</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>112</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>114</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>115</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>116</id> <edge_type>2</edge_type> <source_obj>45</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>118</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>119</id> <edge_type>2</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>120</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>121</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>122</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>123</id> <edge_type>2</edge_type> <source_obj>37</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>124</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>125</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>126</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>127</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>128</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>129</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>130</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>131</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>132</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>133</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>134</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>135</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>136</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>137</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>138</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>139</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>140</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>141</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>143</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>144</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>145</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>146</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>147</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>148</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>149</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>150</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>151</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>152</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>153</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>154</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>155</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>156</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>157</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>158</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>159</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>160</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>161</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>162</id> <edge_type>2</edge_type> <source_obj>45</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>163</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>164</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>212</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>213</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>72</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>214</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>215</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>216</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>217</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>218</id> <edge_type>2</edge_type> <source_obj>37</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>219</id> <edge_type>2</edge_type> <source_obj>45</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>220</id> <edge_type>2</edge_type> <source_obj>45</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>221</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>222</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>223</id> <edge_type>2</edge_type> <source_obj>70</source_obj> <sink_obj>15</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_160"> <mId>1</mId> <mTag>matrixmul</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>10</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>106</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_161"> <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>9</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="_162"> <mId>3</mId> <mTag>Row</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>9</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>3</mMinTripCount> <mMaxTripCount>3</mMaxTripCount> <mMinLatency>105</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_163"> <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>15</item> <item>23</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="_164"> <mId>5</mId> <mTag>Col</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>6</item> <item>7</item> <item>8</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>3</mMinTripCount> <mMaxTripCount>3</mMaxTripCount> <mMinLatency>33</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_165"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>29</item> <item>37</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="_166"> <mId>7</mId> <mTag>Product</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>45</item> <item>64</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>3</mMinTripCount> <mMaxTripCount>3</mMaxTripCount> <mMinLatency>9</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_167"> <mId>8</mId> <mTag>Region 3</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>67</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="_168"> <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>70</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="_169"> <mId>10</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>72</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="24" tracking_level="1" version="0" object_id="_170"> <states class_id="25" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_171"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_172"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_173"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_174"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_175"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_176"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_177"> <id>2</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_178"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_179"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_180"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_181"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_182"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_183"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_184"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_185"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_186"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_187"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_188"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_189"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_190"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_191"> <id>3</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_192"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_193"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_194"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_195"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_196"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_197"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_198"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_199"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_200"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_201"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_202"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_203"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_204"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_205"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_206"> <id>4</id> <operations> <count>21</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_207"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_208"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_209"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_210"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_211"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_212"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_213"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_214"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_215"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_216"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_217"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_218"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_219"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_220"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_221"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_222"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_223"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_224"> <id>57</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_225"> <id>59</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_226"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_227"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_228"> <id>5</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_229"> <id>57</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_230"> <id>59</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_231"> <id>6</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_232"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_233"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_234"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_235"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_236"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_237"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_238"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>19</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_239"> <inState>2</inState> <outState>3</outState> <condition> <id>21</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>11</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_240"> <inState>3</inState> <outState>4</outState> <condition> <id>23</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>25</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_241"> <inState>4</inState> <outState>5</outState> <condition> <id>24</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_242"> <inState>5</inState> <outState>6</outState> <condition> <id>26</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_243"> <inState>6</inState> <outState>4</outState> <condition> <id>28</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_244"> <inState>4</inState> <outState>3</outState> <condition> <id>30</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>41</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_245"> <inState>3</inState> <outState>2</outState> <condition> <id>32</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>25</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>45</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>8</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</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>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</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>34</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>41</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>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>49</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>58</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>60</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>9</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>37</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>45</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>64</first> <second> <first>3</first> <second>5</second> </second> </item> <item> <first>67</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>70</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>72</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>34</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>40</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>47</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>51</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>58</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>65</first> <second> <count>2</count> <item_version>0</item_version> <item>57</item> <item>57</item> </second> </item> <item> <first>70</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>59</item> </second> </item> <item> <first>79</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>90</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>101</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>114</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>121</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>127</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>133</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>137</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>149</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>155</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>161</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>176</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>187</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>193</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>197</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>207</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>215</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>219</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>225</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>230</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>238</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>241</first> <second> <count>2</count> <item_version>0</item_version> <item>61</item> <item>62</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>31</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>a_addr_gep_fu_51</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>b_addr_gep_fu_58</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>exitcond1_fu_155</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>exitcond2_fu_121</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>exitcond_fu_181</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>grp_fu_241</first> <second> <count>2</count> <item_version>0</item_version> <item>61</item> <item>62</item> </second> </item> <item> <first>i_1_fu_127</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>i_phi_fu_79</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>j_1_fu_161</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>j_phi_fu_90</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>k_1_fu_187</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>k_phi_fu_114</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>p_shl1_cast_fu_215</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>p_shl_cast_fu_145</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>res_addr_gep_fu_40</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>res_load_phi_fu_101</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_10_fu_207</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>tmp_11_cast_fu_176</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_11_fu_219</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>tmp_12_cast_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_12_fu_225</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>tmp_15_cast_fu_230</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>tmp_2_cast_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>tmp_2_fu_171</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>tmp_4_cast_fu_193</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_4_fu_197</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_5_fu_235</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>tmp_6_fu_238</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>tmp_9_fu_137</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>tmp_cast_fu_133</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_s_fu_149</first> <second> <count>1</count> <item_version>0</item_version> <item>21</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>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="49" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first class_id="51" tracking_level="0" version="0"> <first>a</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>57</item> <item>57</item> </second> </item> <item> <first> <first>b</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>59</item> </second> </item> <item> <first> <first>res</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>15</count> <item_version>0</item_version> <item> <first>75</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>97</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>110</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>252</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>257</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>266</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>271</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>284</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>289</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>294</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>304</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>309</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>15</count> <item_version>0</item_version> <item> <first>a_addr_reg_289</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>a_load_reg_299</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>b_addr_reg_294</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>b_load_reg_304</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>i_1_reg_252</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>i_reg_75</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>j_1_reg_266</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>j_reg_86</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>k_1_reg_284</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>k_reg_110</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>res_addr_reg_276</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>res_load_reg_97</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_2_cast_reg_271</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>tmp_8_reg_309</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>tmp_s_reg_257</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>4</count> <item_version>0</item_version> <item> <first>75</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>97</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>110</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>4</count> <item_version>0</item_version> <item> <first>i_reg_75</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>j_reg_86</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>k_reg_110</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>res_load_reg_97</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>a(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>57</item> <item>57</item> </second> </item> </second> </item> <item> <first>b(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>59</item> </second> </item> </second> </item> <item> <first>res(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>1</first> <second>RAM</second> </item> <item> <first>2</first> <second>RAM</second> </item> <item> <first>3</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 3 5 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; with Unchecked_Conversion; package body System.Pack_35 is 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_35; 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; function To_Ref is new Unchecked_Conversion (System.Address, Cluster_Ref); ------------ -- Get_35 -- ------------ function Get_35 (Arr : System.Address; N : Natural) return Bits_35 is C : constant Cluster_Ref := To_Ref (Arr + Bits * Ofs (Uns (N) / 8)); begin 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 Get_35; ------------ -- Set_35 -- ------------ procedure Set_35 (Arr : System.Address; N : Natural; E : Bits_35) is C : constant Cluster_Ref := To_Ref (Arr + Bits * Ofs (Uns (N) / 8)); begin 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 Set_35; end System.Pack_35;
------------------------------------------------------------------------------ -- -- -- 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-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 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;
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.TIM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_CMS_Field is HAL.UInt2; subtype CR1_CKD_Field is HAL.UInt2; -- control register 1 type CR1_Register is record -- Counter enable CEN : Boolean := False; -- Update disable UDIS : Boolean := False; -- Update request source URS : Boolean := False; -- One-pulse mode OPM : Boolean := False; -- Direction DIR : Boolean := False; -- Center-aligned mode selection CMS : CR1_CMS_Field := 16#0#; -- Auto-reload preload enable ARPE : Boolean := False; -- Clock division CKD : CR1_CKD_Field := 16#0#; -- unspecified Reserved_10_10 : HAL.Bit := 16#0#; -- UIF status bit remapping UIFREMAP : Boolean := False; -- Dithering Enable DITHEN : Boolean := False; -- unspecified Reserved_13_31 : HAL.UInt19 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record CEN at 0 range 0 .. 0; UDIS at 0 range 1 .. 1; URS at 0 range 2 .. 2; OPM at 0 range 3 .. 3; DIR at 0 range 4 .. 4; CMS at 0 range 5 .. 6; ARPE at 0 range 7 .. 7; CKD at 0 range 8 .. 9; Reserved_10_10 at 0 range 10 .. 10; UIFREMAP at 0 range 11 .. 11; DITHEN at 0 range 12 .. 12; Reserved_13_31 at 0 range 13 .. 31; end record; subtype CR2_MMS_Field is HAL.UInt3; subtype CR2_MMS2_Field is HAL.UInt4; -- control register 2 type CR2_Register is record -- Capture/compare preloaded control CCPC : Boolean := False; -- unspecified Reserved_1_1 : HAL.Bit := 16#0#; -- Capture/compare control update selection CCUS : Boolean := False; -- Capture/compare DMA selection CCDS : Boolean := False; -- Master mode selection MMS : CR2_MMS_Field := 16#0#; -- TI1 selection TI1S : Boolean := False; -- Output Idle state 1 OIS1 : Boolean := False; -- Output Idle state 1 OIS1N : Boolean := False; -- Output Idle state 2 OIS2 : Boolean := False; -- Output Idle state 2 OIS2N : Boolean := False; -- Output Idle state 3 OIS3 : Boolean := False; -- Output Idle state 3 OIS3N : Boolean := False; -- Output Idle state 4 OIS4 : Boolean := False; -- Output Idle state 4 (OC4N output) OIS4N : Boolean := False; -- Output Idle state 5 (OC5 output) OIS5 : Boolean := False; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- Output Idle state 6 (OC6 output) OIS6 : Boolean := False; -- unspecified Reserved_19_19 : HAL.Bit := 16#0#; -- Master mode selection 2 MMS2 : CR2_MMS2_Field := 16#0#; -- unspecified Reserved_24_24 : HAL.Bit := 16#0#; -- Master mode selection - bit 3 MMS_3 : Boolean := False; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record CCPC at 0 range 0 .. 0; Reserved_1_1 at 0 range 1 .. 1; CCUS at 0 range 2 .. 2; CCDS at 0 range 3 .. 3; MMS at 0 range 4 .. 6; TI1S at 0 range 7 .. 7; OIS1 at 0 range 8 .. 8; OIS1N at 0 range 9 .. 9; OIS2 at 0 range 10 .. 10; OIS2N at 0 range 11 .. 11; OIS3 at 0 range 12 .. 12; OIS3N at 0 range 13 .. 13; OIS4 at 0 range 14 .. 14; OIS4N at 0 range 15 .. 15; OIS5 at 0 range 16 .. 16; Reserved_17_17 at 0 range 17 .. 17; OIS6 at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; MMS2 at 0 range 20 .. 23; Reserved_24_24 at 0 range 24 .. 24; MMS_3 at 0 range 25 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype SMCR_SMS_Field is HAL.UInt3; subtype SMCR_TS_Field is HAL.UInt3; subtype SMCR_ETF_Field is HAL.UInt4; subtype SMCR_ETPS_Field is HAL.UInt2; subtype SMCR_TS_4_3_Field is HAL.UInt2; -- slave mode control register type SMCR_Register is record -- Slave mode selection SMS : SMCR_SMS_Field := 16#0#; -- OCREF clear selection OCCS : Boolean := False; -- Trigger selection TS : SMCR_TS_Field := 16#0#; -- Master/Slave mode MSM : Boolean := False; -- External trigger filter ETF : SMCR_ETF_Field := 16#0#; -- External trigger prescaler ETPS : SMCR_ETPS_Field := 16#0#; -- External clock enable ECE : Boolean := False; -- External trigger polarity ETP : Boolean := False; -- Slave mode selection - bit 3 SMS_3 : Boolean := False; -- unspecified Reserved_17_19 : HAL.UInt3 := 16#0#; -- Trigger selection - bit 4:3 TS_4_3 : SMCR_TS_4_3_Field := 16#0#; -- unspecified Reserved_22_23 : HAL.UInt2 := 16#0#; -- SMS Preload Enable SMSPE : Boolean := False; -- SMS Preload Source SMSPS : Boolean := False; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SMCR_Register use record SMS at 0 range 0 .. 2; OCCS at 0 range 3 .. 3; TS at 0 range 4 .. 6; MSM at 0 range 7 .. 7; ETF at 0 range 8 .. 11; ETPS at 0 range 12 .. 13; ECE at 0 range 14 .. 14; ETP at 0 range 15 .. 15; SMS_3 at 0 range 16 .. 16; Reserved_17_19 at 0 range 17 .. 19; TS_4_3 at 0 range 20 .. 21; Reserved_22_23 at 0 range 22 .. 23; SMSPE at 0 range 24 .. 24; SMSPS at 0 range 25 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; -- DMA/Interrupt enable register type DIER_Register is record -- Update interrupt enable UIE : Boolean := False; -- Capture/Compare 1 interrupt enable CC1IE : Boolean := False; -- Capture/Compare 2 interrupt enable CC2IE : Boolean := False; -- Capture/Compare 3 interrupt enable CC3IE : Boolean := False; -- Capture/Compare 4 interrupt enable CC4IE : Boolean := False; -- COM interrupt enable COMIE : Boolean := False; -- Trigger interrupt enable TIE : Boolean := False; -- Break interrupt enable BIE : Boolean := False; -- Update DMA request enable UDE : Boolean := False; -- Capture/Compare 1 DMA request enable CC1DE : Boolean := False; -- Capture/Compare 2 DMA request enable CC2DE : Boolean := False; -- Capture/Compare 3 DMA request enable CC3DE : Boolean := False; -- Capture/Compare 4 DMA request enable CC4DE : Boolean := False; -- COM DMA request enable COMDE : Boolean := False; -- Trigger DMA request enable TDE : Boolean := False; -- unspecified Reserved_15_19 : HAL.UInt5 := 16#0#; -- Index interrupt enable IDXIE : Boolean := False; -- Direction Change interrupt enable DIRIE : Boolean := False; -- Index Error interrupt enable IERRIE : Boolean := False; -- Transition Error interrupt enable TERRIE : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DIER_Register use record UIE at 0 range 0 .. 0; CC1IE at 0 range 1 .. 1; CC2IE at 0 range 2 .. 2; CC3IE at 0 range 3 .. 3; CC4IE at 0 range 4 .. 4; COMIE at 0 range 5 .. 5; TIE at 0 range 6 .. 6; BIE at 0 range 7 .. 7; UDE at 0 range 8 .. 8; CC1DE at 0 range 9 .. 9; CC2DE at 0 range 10 .. 10; CC3DE at 0 range 11 .. 11; CC4DE at 0 range 12 .. 12; COMDE at 0 range 13 .. 13; TDE at 0 range 14 .. 14; Reserved_15_19 at 0 range 15 .. 19; IDXIE at 0 range 20 .. 20; DIRIE at 0 range 21 .. 21; IERRIE at 0 range 22 .. 22; TERRIE at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- status register type SR_Register is record -- Update interrupt flag UIF : Boolean := False; -- Capture/compare 1 interrupt flag CC1IF : Boolean := False; -- Capture/Compare 2 interrupt flag CC2IF : Boolean := False; -- Capture/Compare 3 interrupt flag CC3IF : Boolean := False; -- Capture/Compare 4 interrupt flag CC4IF : Boolean := False; -- COM interrupt flag COMIF : Boolean := False; -- Trigger interrupt flag TIF : Boolean := False; -- Break interrupt flag BIF : Boolean := False; -- Break 2 interrupt flag B2IF : Boolean := False; -- Capture/Compare 1 overcapture flag CC1OF : Boolean := False; -- Capture/compare 2 overcapture flag CC2OF : Boolean := False; -- Capture/Compare 3 overcapture flag CC3OF : Boolean := False; -- Capture/Compare 4 overcapture flag CC4OF : Boolean := False; -- System Break interrupt flag SBIF : Boolean := False; -- unspecified Reserved_14_15 : HAL.UInt2 := 16#0#; -- Compare 5 interrupt flag CC5IF : Boolean := False; -- Compare 6 interrupt flag CC6IF : Boolean := False; -- unspecified Reserved_18_19 : HAL.UInt2 := 16#0#; -- Index interrupt flag IDXF : Boolean := False; -- Direction Change interrupt flag DIRF : Boolean := False; -- Index Error interrupt flag IERRF : Boolean := False; -- Transition Error interrupt flag TERRF : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SR_Register use record UIF at 0 range 0 .. 0; CC1IF at 0 range 1 .. 1; CC2IF at 0 range 2 .. 2; CC3IF at 0 range 3 .. 3; CC4IF at 0 range 4 .. 4; COMIF at 0 range 5 .. 5; TIF at 0 range 6 .. 6; BIF at 0 range 7 .. 7; B2IF at 0 range 8 .. 8; CC1OF at 0 range 9 .. 9; CC2OF at 0 range 10 .. 10; CC3OF at 0 range 11 .. 11; CC4OF at 0 range 12 .. 12; SBIF at 0 range 13 .. 13; Reserved_14_15 at 0 range 14 .. 15; CC5IF at 0 range 16 .. 16; CC6IF at 0 range 17 .. 17; Reserved_18_19 at 0 range 18 .. 19; IDXF at 0 range 20 .. 20; DIRF at 0 range 21 .. 21; IERRF at 0 range 22 .. 22; TERRF at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- event generation register type EGR_Register is record -- Write-only. Update generation UG : Boolean := False; -- Write-only. Capture/compare 1 generation CC1G : Boolean := False; -- Write-only. Capture/compare 2 generation CC2G : Boolean := False; -- Write-only. Capture/compare 3 generation CC3G : Boolean := False; -- Write-only. Capture/compare 4 generation CC4G : Boolean := False; -- Write-only. Capture/Compare control update generation COMG : Boolean := False; -- Write-only. Trigger generation TG : Boolean := False; -- Write-only. Break generation BG : Boolean := False; -- Write-only. Break 2 generation B2G : Boolean := False; -- unspecified Reserved_9_31 : HAL.UInt23 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EGR_Register use record UG at 0 range 0 .. 0; CC1G at 0 range 1 .. 1; CC2G at 0 range 2 .. 2; CC3G at 0 range 3 .. 3; CC4G at 0 range 4 .. 4; COMG at 0 range 5 .. 5; TG at 0 range 6 .. 6; BG at 0 range 7 .. 7; B2G at 0 range 8 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; subtype CCMR1_Output_CC1S_Field is HAL.UInt2; subtype CCMR1_Output_OC1M_Field is HAL.UInt3; subtype CCMR1_Output_CC2S_Field is HAL.UInt2; subtype CCMR1_Output_OC2M_Field is HAL.UInt3; -- capture/compare mode register 1 (output mode) type CCMR1_Output_Register is record -- Capture/Compare 1 selection CC1S : CCMR1_Output_CC1S_Field := 16#0#; -- Output Compare 1 fast enable OC1FE : Boolean := False; -- Output Compare 1 preload enable OC1PE : Boolean := False; -- Output Compare 1 mode OC1M : CCMR1_Output_OC1M_Field := 16#0#; -- Output Compare 1 clear enable OC1CE : Boolean := False; -- Capture/Compare 2 selection CC2S : CCMR1_Output_CC2S_Field := 16#0#; -- Output Compare 2 fast enable OC2FE : Boolean := False; -- Output Compare 2 preload enable OC2PE : Boolean := False; -- Output Compare 2 mode OC2M : CCMR1_Output_OC2M_Field := 16#0#; -- Output Compare 2 clear enable OC2CE : Boolean := False; -- Output Compare 1 mode - bit 3 OC1M_3 : Boolean := False; -- unspecified Reserved_17_23 : HAL.UInt7 := 16#0#; -- Output Compare 2 mode - bit 3 OC2M_3 : Boolean := False; -- unspecified Reserved_25_31 : HAL.UInt7 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR1_Output_Register use record CC1S at 0 range 0 .. 1; OC1FE at 0 range 2 .. 2; OC1PE at 0 range 3 .. 3; OC1M at 0 range 4 .. 6; OC1CE at 0 range 7 .. 7; CC2S at 0 range 8 .. 9; OC2FE at 0 range 10 .. 10; OC2PE at 0 range 11 .. 11; OC2M at 0 range 12 .. 14; OC2CE at 0 range 15 .. 15; OC1M_3 at 0 range 16 .. 16; Reserved_17_23 at 0 range 17 .. 23; OC2M_3 at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; subtype CCMR1_Input_CC1S_Field is HAL.UInt2; subtype CCMR1_Input_ICPCS_Field is HAL.UInt2; subtype CCMR1_Input_IC1F_Field is HAL.UInt4; subtype CCMR1_Input_CC2S_Field is HAL.UInt2; subtype CCMR1_Input_IC2PSC_Field is HAL.UInt2; subtype CCMR1_Input_IC2F_Field is HAL.UInt4; -- capture/compare mode register 1 (input mode) type CCMR1_Input_Register is record -- Capture/Compare 1 selection CC1S : CCMR1_Input_CC1S_Field := 16#0#; -- Input capture 1 prescaler ICPCS : CCMR1_Input_ICPCS_Field := 16#0#; -- Input capture 1 filter IC1F : CCMR1_Input_IC1F_Field := 16#0#; -- Capture/Compare 2 selection CC2S : CCMR1_Input_CC2S_Field := 16#0#; -- Input capture 2 prescaler IC2PSC : CCMR1_Input_IC2PSC_Field := 16#0#; -- Input capture 2 filter IC2F : CCMR1_Input_IC2F_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR1_Input_Register use record CC1S at 0 range 0 .. 1; ICPCS at 0 range 2 .. 3; IC1F at 0 range 4 .. 7; CC2S at 0 range 8 .. 9; IC2PSC at 0 range 10 .. 11; IC2F at 0 range 12 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CCMR2_Output_CC3S_Field is HAL.UInt2; subtype CCMR2_Output_OC3M_Field is HAL.UInt3; subtype CCMR2_Output_CC4S_Field is HAL.UInt2; subtype CCMR2_Output_OC4M_Field is HAL.UInt3; -- capture/compare mode register 2 (output mode) type CCMR2_Output_Register is record -- Capture/Compare 3 selection CC3S : CCMR2_Output_CC3S_Field := 16#0#; -- Output compare 3 fast enable OC3FE : Boolean := False; -- Output compare 3 preload enable OC3PE : Boolean := False; -- Output compare 3 mode OC3M : CCMR2_Output_OC3M_Field := 16#0#; -- Output compare 3 clear enable OC3CE : Boolean := False; -- Capture/Compare 4 selection CC4S : CCMR2_Output_CC4S_Field := 16#0#; -- Output compare 4 fast enable OC4FE : Boolean := False; -- Output compare 4 preload enable OC4PE : Boolean := False; -- Output compare 4 mode OC4M : CCMR2_Output_OC4M_Field := 16#0#; -- Output compare 4 clear enable OC4CE : Boolean := False; -- Output Compare 3 mode - bit 3 OC3M_3 : Boolean := False; -- unspecified Reserved_17_23 : HAL.UInt7 := 16#0#; -- Output Compare 4 mode - bit 3 OC4M_3 : Boolean := False; -- unspecified Reserved_25_31 : HAL.UInt7 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR2_Output_Register use record CC3S at 0 range 0 .. 1; OC3FE at 0 range 2 .. 2; OC3PE at 0 range 3 .. 3; OC3M at 0 range 4 .. 6; OC3CE at 0 range 7 .. 7; CC4S at 0 range 8 .. 9; OC4FE at 0 range 10 .. 10; OC4PE at 0 range 11 .. 11; OC4M at 0 range 12 .. 14; OC4CE at 0 range 15 .. 15; OC3M_3 at 0 range 16 .. 16; Reserved_17_23 at 0 range 17 .. 23; OC4M_3 at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; subtype CCMR2_Input_CC3S_Field is HAL.UInt2; subtype CCMR2_Input_IC3PSC_Field is HAL.UInt2; subtype CCMR2_Input_IC3F_Field is HAL.UInt4; subtype CCMR2_Input_CC4S_Field is HAL.UInt2; subtype CCMR2_Input_IC4PSC_Field is HAL.UInt2; subtype CCMR2_Input_IC4F_Field is HAL.UInt4; -- capture/compare mode register 2 (input mode) type CCMR2_Input_Register is record -- Capture/compare 3 selection CC3S : CCMR2_Input_CC3S_Field := 16#0#; -- Input capture 3 prescaler IC3PSC : CCMR2_Input_IC3PSC_Field := 16#0#; -- Input capture 3 filter IC3F : CCMR2_Input_IC3F_Field := 16#0#; -- Capture/Compare 4 selection CC4S : CCMR2_Input_CC4S_Field := 16#0#; -- Input capture 4 prescaler IC4PSC : CCMR2_Input_IC4PSC_Field := 16#0#; -- Input capture 4 filter IC4F : CCMR2_Input_IC4F_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR2_Input_Register use record CC3S at 0 range 0 .. 1; IC3PSC at 0 range 2 .. 3; IC3F at 0 range 4 .. 7; CC4S at 0 range 8 .. 9; IC4PSC at 0 range 10 .. 11; IC4F at 0 range 12 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- capture/compare enable register type CCER_Register is record -- Capture/Compare 1 output enable CC1E : Boolean := False; -- Capture/Compare 1 output Polarity CC1P : Boolean := False; -- Capture/Compare 1 complementary output enable CC1NE : Boolean := False; -- Capture/Compare 1 output Polarity CC1NP : Boolean := False; -- Capture/Compare 2 output enable CC2E : Boolean := False; -- Capture/Compare 2 output Polarity CC2P : Boolean := False; -- Capture/Compare 2 complementary output enable CC2NE : Boolean := False; -- Capture/Compare 2 output Polarity CC2NP : Boolean := False; -- Capture/Compare 3 output enable CC3E : Boolean := False; -- Capture/Compare 3 output Polarity CC3P : Boolean := False; -- Capture/Compare 3 complementary output enable CC3NE : Boolean := False; -- Capture/Compare 3 output Polarity CC3NP : Boolean := False; -- Capture/Compare 4 output enable CC4E : Boolean := False; -- Capture/Compare 3 output Polarity CC4P : Boolean := False; -- Capture/Compare 4 complementary output enable CC4NE : Boolean := False; -- Capture/Compare 4 complementary output polarity CC4NP : Boolean := False; -- Capture/Compare 5 output enable CC5E : Boolean := False; -- Capture/Compare 5 output polarity CC5P : Boolean := False; -- unspecified Reserved_18_19 : HAL.UInt2 := 16#0#; -- Capture/Compare 6 output enable CC6E : Boolean := False; -- Capture/Compare 6 output polarity CC6P : Boolean := False; -- unspecified Reserved_22_31 : HAL.UInt10 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCER_Register use record CC1E at 0 range 0 .. 0; CC1P at 0 range 1 .. 1; CC1NE at 0 range 2 .. 2; CC1NP at 0 range 3 .. 3; CC2E at 0 range 4 .. 4; CC2P at 0 range 5 .. 5; CC2NE at 0 range 6 .. 6; CC2NP at 0 range 7 .. 7; CC3E at 0 range 8 .. 8; CC3P at 0 range 9 .. 9; CC3NE at 0 range 10 .. 10; CC3NP at 0 range 11 .. 11; CC4E at 0 range 12 .. 12; CC4P at 0 range 13 .. 13; CC4NE at 0 range 14 .. 14; CC4NP at 0 range 15 .. 15; CC5E at 0 range 16 .. 16; CC5P at 0 range 17 .. 17; Reserved_18_19 at 0 range 18 .. 19; CC6E at 0 range 20 .. 20; CC6P at 0 range 21 .. 21; Reserved_22_31 at 0 range 22 .. 31; end record; subtype CNT_CNT_Field is HAL.UInt16; -- counter type CNT_Register is record -- counter value CNT : CNT_CNT_Field := 16#0#; -- unspecified Reserved_16_30 : HAL.UInt15 := 16#0#; -- Read-only. UIFCPY UIFCPY : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNT_Register use record CNT at 0 range 0 .. 15; Reserved_16_30 at 0 range 16 .. 30; UIFCPY at 0 range 31 .. 31; end record; subtype PSC_PSC_Field is HAL.UInt16; -- prescaler type PSC_Register is record -- Prescaler value PSC : PSC_PSC_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PSC_Register use record PSC at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype ARR_ARR_Field is HAL.UInt16; -- auto-reload register type ARR_Register is record -- Auto-reload value ARR : ARR_ARR_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ARR_Register use record ARR at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype RCR_REP_Field is HAL.UInt16; -- repetition counter register type RCR_Register is record -- Repetition counter value REP : RCR_REP_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RCR_Register use record REP at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CCR1_CCR1_Field is HAL.UInt16; -- capture/compare register 1 type CCR1_Register is record -- Capture/Compare 1 value CCR1 : CCR1_CCR1_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR1_Register use record CCR1 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CCR2_CCR2_Field is HAL.UInt16; -- capture/compare register 2 type CCR2_Register is record -- Capture/Compare 2 value CCR2 : CCR2_CCR2_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR2_Register use record CCR2 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CCR3_CCR3_Field is HAL.UInt16; -- capture/compare register 3 type CCR3_Register is record -- Capture/Compare value CCR3 : CCR3_CCR3_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR3_Register use record CCR3 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CCR4_CCR4_Field is HAL.UInt16; -- capture/compare register 4 type CCR4_Register is record -- Capture/Compare value CCR4 : CCR4_CCR4_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR4_Register use record CCR4 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype BDTR_DTG_Field is HAL.UInt8; subtype BDTR_LOCK_Field is HAL.UInt2; subtype BDTR_BKF_Field is HAL.UInt4; subtype BDTR_BK2F_Field is HAL.UInt4; -- break and dead-time register type BDTR_Register is record -- Dead-time generator setup DTG : BDTR_DTG_Field := 16#0#; -- Lock configuration LOCK : BDTR_LOCK_Field := 16#0#; -- Off-state selection for Idle mode OSSI : Boolean := False; -- Off-state selection for Run mode OSSR : Boolean := False; -- Break enable BKE : Boolean := False; -- Break polarity BKP : Boolean := False; -- Automatic output enable AOE : Boolean := False; -- Main output enable MOE : Boolean := False; -- Break filter BKF : BDTR_BKF_Field := 16#0#; -- Break 2 filter BK2F : BDTR_BK2F_Field := 16#0#; -- Break 2 Enable BK2E : Boolean := False; -- Break 2 polarity BK2P : Boolean := False; -- BKDSRM BKDSRM : Boolean := False; -- BK2DSRM BK2DSRM : Boolean := False; -- BKBID BKBID : Boolean := False; -- BK2ID BK2ID : Boolean := False; -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BDTR_Register use record DTG at 0 range 0 .. 7; LOCK at 0 range 8 .. 9; OSSI at 0 range 10 .. 10; OSSR at 0 range 11 .. 11; BKE at 0 range 12 .. 12; BKP at 0 range 13 .. 13; AOE at 0 range 14 .. 14; MOE at 0 range 15 .. 15; BKF at 0 range 16 .. 19; BK2F at 0 range 20 .. 23; BK2E at 0 range 24 .. 24; BK2P at 0 range 25 .. 25; BKDSRM at 0 range 26 .. 26; BK2DSRM at 0 range 27 .. 27; BKBID at 0 range 28 .. 28; BK2ID at 0 range 29 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype CCR5_CCR5_Field is HAL.UInt16; -- CCR5_GC5C array type CCR5_GC5C_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for CCR5_GC5C type CCR5_GC5C_Field (As_Array : Boolean := False) is record case As_Array is when False => -- GC5C as a value Val : HAL.UInt3; when True => -- GC5C as an array Arr : CCR5_GC5C_Field_Array; end case; end record with Unchecked_Union, Size => 3; for CCR5_GC5C_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- capture/compare register 4 type CCR5_Register is record -- Capture/Compare value CCR5 : CCR5_CCR5_Field := 16#0#; -- unspecified Reserved_16_28 : HAL.UInt13 := 16#0#; -- Group Channel 5 and Channel 1 GC5C : CCR5_GC5C_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR5_Register use record CCR5 at 0 range 0 .. 15; Reserved_16_28 at 0 range 16 .. 28; GC5C at 0 range 29 .. 31; end record; subtype CCR6_CCR6_Field is HAL.UInt16; -- capture/compare register 4 type CCR6_Register is record -- Capture/Compare value CCR6 : CCR6_CCR6_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR6_Register use record CCR6 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CCMR3_Output_OC5M_Field is HAL.UInt3; subtype CCMR3_Output_OC6M_Field is HAL.UInt3; subtype CCMR3_Output_OC5M_bit3_Field is HAL.UInt3; -- capture/compare mode register 2 (output mode) type CCMR3_Output_Register is record -- unspecified Reserved_0_1 : HAL.UInt2 := 16#0#; -- Output compare 5 fast enable OC5FE : Boolean := False; -- Output compare 5 preload enable OC5PE : Boolean := False; -- Output compare 5 mode OC5M : CCMR3_Output_OC5M_Field := 16#0#; -- Output compare 5 clear enable OC5CE : Boolean := False; -- unspecified Reserved_8_9 : HAL.UInt2 := 16#0#; -- Output compare 6 fast enable OC6FE : Boolean := False; -- Output compare 6 preload enable OC6PE : Boolean := False; -- Output compare 6 mode OC6M : CCMR3_Output_OC6M_Field := 16#0#; -- Output compare 6 clear enable OC6CE : Boolean := False; -- Output Compare 5 mode bit 3 OC5M_bit3 : CCMR3_Output_OC5M_bit3_Field := 16#0#; -- unspecified Reserved_19_23 : HAL.UInt5 := 16#0#; -- Output Compare 6 mode bit 3 OC6M_bit3 : Boolean := False; -- unspecified Reserved_25_31 : HAL.UInt7 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR3_Output_Register use record Reserved_0_1 at 0 range 0 .. 1; OC5FE at 0 range 2 .. 2; OC5PE at 0 range 3 .. 3; OC5M at 0 range 4 .. 6; OC5CE at 0 range 7 .. 7; Reserved_8_9 at 0 range 8 .. 9; OC6FE at 0 range 10 .. 10; OC6PE at 0 range 11 .. 11; OC6M at 0 range 12 .. 14; OC6CE at 0 range 15 .. 15; OC5M_bit3 at 0 range 16 .. 18; Reserved_19_23 at 0 range 19 .. 23; OC6M_bit3 at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; subtype DTR2_DTGF_Field is HAL.UInt8; -- timer Deadtime Register 2 type DTR2_Register is record -- Dead-time falling edge generator setup DTGF : DTR2_DTGF_Field := 16#0#; -- unspecified Reserved_8_15 : HAL.UInt8 := 16#0#; -- Deadtime Asymmetric Enable DTAE : Boolean := False; -- Deadtime Preload Enable DTPE : Boolean := False; -- unspecified Reserved_18_31 : HAL.UInt14 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DTR2_Register use record DTGF at 0 range 0 .. 7; Reserved_8_15 at 0 range 8 .. 15; DTAE at 0 range 16 .. 16; DTPE at 0 range 17 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; subtype ECR_IDIR_Field is HAL.UInt2; subtype ECR_IBLK_Field is HAL.UInt2; subtype ECR_IPOS_Field is HAL.UInt2; subtype ECR_PW_Field is HAL.UInt8; subtype ECR_PWPRSC_Field is HAL.UInt3; -- DMA control register type ECR_Register is record -- Index Enable IE : Boolean := False; -- Index Direction IDIR : ECR_IDIR_Field := 16#0#; -- Index Blanking IBLK : ECR_IBLK_Field := 16#0#; -- First Index FIDX : Boolean := False; -- Index Positioning IPOS : ECR_IPOS_Field := 16#0#; -- unspecified Reserved_8_15 : HAL.UInt8 := 16#0#; -- Pulse width PW : ECR_PW_Field := 16#0#; -- Pulse Width prescaler PWPRSC : ECR_PWPRSC_Field := 16#0#; -- unspecified Reserved_27_31 : HAL.UInt5 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ECR_Register use record IE at 0 range 0 .. 0; IDIR at 0 range 1 .. 2; IBLK at 0 range 3 .. 4; FIDX at 0 range 5 .. 5; IPOS at 0 range 6 .. 7; Reserved_8_15 at 0 range 8 .. 15; PW at 0 range 16 .. 23; PWPRSC at 0 range 24 .. 26; Reserved_27_31 at 0 range 27 .. 31; end record; subtype TISEL_TI1SEL_Field is HAL.UInt4; subtype TISEL_TI2SEL_Field is HAL.UInt4; subtype TISEL_TI3SEL_Field is HAL.UInt4; subtype TISEL_TI4SEL_Field is HAL.UInt4; -- TIM timer input selection register type TISEL_Register is record -- TI1[0] to TI1[15] input selection TI1SEL : TISEL_TI1SEL_Field := 16#0#; -- unspecified Reserved_4_7 : HAL.UInt4 := 16#0#; -- TI2[0] to TI2[15] input selection TI2SEL : TISEL_TI2SEL_Field := 16#0#; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; -- TI3[0] to TI3[15] input selection TI3SEL : TISEL_TI3SEL_Field := 16#0#; -- unspecified Reserved_20_23 : HAL.UInt4 := 16#0#; -- TI4[0] to TI4[15] input selection TI4SEL : TISEL_TI4SEL_Field := 16#0#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TISEL_Register use record TI1SEL at 0 range 0 .. 3; Reserved_4_7 at 0 range 4 .. 7; TI2SEL at 0 range 8 .. 11; Reserved_12_15 at 0 range 12 .. 15; TI3SEL at 0 range 16 .. 19; Reserved_20_23 at 0 range 20 .. 23; TI4SEL at 0 range 24 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; subtype AF1_ETRSEL_Field is HAL.UInt4; -- TIM alternate function option register 1 type AF1_Register is record -- BRK BKIN input enable BKINE : Boolean := False; -- BRK COMP1 enable BKCMP1E : Boolean := False; -- BRK COMP2 enable BKCMP2E : Boolean := False; -- BRK COMP3 enable BKCMP3E : Boolean := False; -- BRK COMP4 enable BKCMP4E : Boolean := False; -- BRK COMP5 enable BKCMP5E : Boolean := False; -- BRK COMP6 enable BKCMP6E : Boolean := False; -- BRK COMP7 enable BKCMP7E : Boolean := False; -- unspecified Reserved_8_8 : HAL.Bit := 16#0#; -- BRK BKIN input polarity BKINP : Boolean := False; -- BRK COMP1 input polarity BKCMP1P : Boolean := False; -- BRK COMP2 input polarity BKCMP2P : Boolean := False; -- BRK COMP3 input polarity BKCMP3P : Boolean := False; -- BRK COMP4 input polarity BKCMP4P : Boolean := False; -- ETR source selection ETRSEL : AF1_ETRSEL_Field := 16#0#; -- unspecified Reserved_18_31 : HAL.UInt14 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AF1_Register use record BKINE at 0 range 0 .. 0; BKCMP1E at 0 range 1 .. 1; BKCMP2E at 0 range 2 .. 2; BKCMP3E at 0 range 3 .. 3; BKCMP4E at 0 range 4 .. 4; BKCMP5E at 0 range 5 .. 5; BKCMP6E at 0 range 6 .. 6; BKCMP7E at 0 range 7 .. 7; Reserved_8_8 at 0 range 8 .. 8; BKINP at 0 range 9 .. 9; BKCMP1P at 0 range 10 .. 10; BKCMP2P at 0 range 11 .. 11; BKCMP3P at 0 range 12 .. 12; BKCMP4P at 0 range 13 .. 13; ETRSEL at 0 range 14 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; subtype AF2_OCRSEL_Field is HAL.UInt3; -- TIM alternate function option register 2 type AF2_Register is record -- BRK BKIN input enable BKINE : Boolean := False; -- BRK2 COMP1 enable BK2CMP1E : Boolean := False; -- BRK2 COMP2 enable BK2CMP2E : Boolean := False; -- BRK2 COMP3 enable BK2CMP3E : Boolean := False; -- BRK2 COMP4 enable BK2CMP4E : Boolean := False; -- BRK2 COMP5 enable BK2CMP5E : Boolean := False; -- BRK2 COMP6 enable BK2CMP6E : Boolean := False; -- BRK2 COMP7 enable BK2CMP7E : Boolean := False; -- unspecified Reserved_8_8 : HAL.Bit := 16#0#; -- BRK2 BKIN input polarity BK2INP : Boolean := False; -- BRK2 COMP1 input polarity BK2CMP1P : Boolean := False; -- BRK2 COMP2 input polarity BK2CMP2P : Boolean := False; -- BRK2 COMP3 input polarity BK2CMP3P : Boolean := False; -- BRK2 COMP4 input polarity BK2CMP4P : Boolean := False; -- unspecified Reserved_14_15 : HAL.UInt2 := 16#0#; -- OCREF_CLR source selection OCRSEL : AF2_OCRSEL_Field := 16#0#; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AF2_Register use record BKINE at 0 range 0 .. 0; BK2CMP1E at 0 range 1 .. 1; BK2CMP2E at 0 range 2 .. 2; BK2CMP3E at 0 range 3 .. 3; BK2CMP4E at 0 range 4 .. 4; BK2CMP5E at 0 range 5 .. 5; BK2CMP6E at 0 range 6 .. 6; BK2CMP7E at 0 range 7 .. 7; Reserved_8_8 at 0 range 8 .. 8; BK2INP at 0 range 9 .. 9; BK2CMP1P at 0 range 10 .. 10; BK2CMP2P at 0 range 11 .. 11; BK2CMP3P at 0 range 12 .. 12; BK2CMP4P at 0 range 13 .. 13; Reserved_14_15 at 0 range 14 .. 15; OCRSEL at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; subtype DCR_DBA_Field is HAL.UInt5; subtype DCR_DBL_Field is HAL.UInt5; -- control register type DCR_Register is record -- DMA base address DBA : DCR_DBA_Field := 16#0#; -- unspecified Reserved_5_7 : HAL.UInt3 := 16#0#; -- DMA burst length DBL : DCR_DBL_Field := 16#0#; -- unspecified Reserved_13_31 : HAL.UInt19 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DCR_Register use record DBA at 0 range 0 .. 4; Reserved_5_7 at 0 range 5 .. 7; DBL at 0 range 8 .. 12; Reserved_13_31 at 0 range 13 .. 31; end record; -- control register 1 type CR1_Register_1 is record -- Counter enable CEN : Boolean := False; -- Update disable UDIS : Boolean := False; -- Update request source URS : Boolean := False; -- One-pulse mode OPM : Boolean := False; -- unspecified Reserved_4_6 : HAL.UInt3 := 16#0#; -- Auto-reload preload enable ARPE : Boolean := False; -- unspecified Reserved_8_10 : HAL.UInt3 := 16#0#; -- UIF status bit remapping UIFREMAP : Boolean := False; -- Dithering Enable DITHEN : Boolean := False; -- unspecified Reserved_13_31 : HAL.UInt19 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register_1 use record CEN at 0 range 0 .. 0; UDIS at 0 range 1 .. 1; URS at 0 range 2 .. 2; OPM at 0 range 3 .. 3; Reserved_4_6 at 0 range 4 .. 6; ARPE at 0 range 7 .. 7; Reserved_8_10 at 0 range 8 .. 10; UIFREMAP at 0 range 11 .. 11; DITHEN at 0 range 12 .. 12; Reserved_13_31 at 0 range 13 .. 31; end record; -- control register 2 type CR2_Register_1 is record -- unspecified Reserved_0_3 : HAL.UInt4 := 16#0#; -- Master mode selection MMS : CR2_MMS_Field := 16#0#; -- unspecified Reserved_7_31 : HAL.UInt25 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register_1 use record Reserved_0_3 at 0 range 0 .. 3; MMS at 0 range 4 .. 6; Reserved_7_31 at 0 range 7 .. 31; end record; -- DMA/Interrupt enable register type DIER_Register_1 is record -- Update interrupt enable UIE : Boolean := False; -- unspecified Reserved_1_7 : HAL.UInt7 := 16#0#; -- Update DMA request enable UDE : Boolean := False; -- unspecified Reserved_9_31 : HAL.UInt23 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DIER_Register_1 use record UIE at 0 range 0 .. 0; Reserved_1_7 at 0 range 1 .. 7; UDE at 0 range 8 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; -- status register type SR_Register_1 is record -- Update interrupt flag UIF : Boolean := False; -- unspecified Reserved_1_31 : HAL.UInt31 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SR_Register_1 use record UIF at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; -- event generation register type EGR_Register_1 is record -- Write-only. Update generation UG : Boolean := False; -- unspecified Reserved_1_31 : HAL.UInt31 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EGR_Register_1 use record UG at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; -- control register 1 type CR1_Register_2 is record -- Counter enable CEN : Boolean := False; -- Update disable UDIS : Boolean := False; -- Update request source URS : Boolean := False; -- One-pulse mode OPM : Boolean := False; -- unspecified Reserved_4_6 : HAL.UInt3 := 16#0#; -- Auto-reload preload enable ARPE : Boolean := False; -- Clock division CKD : CR1_CKD_Field := 16#0#; -- unspecified Reserved_10_10 : HAL.Bit := 16#0#; -- UIF status bit remapping UIFREMAP : Boolean := False; -- Dithering Enable DITHEN : Boolean := False; -- unspecified Reserved_13_31 : HAL.UInt19 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register_2 use record CEN at 0 range 0 .. 0; UDIS at 0 range 1 .. 1; URS at 0 range 2 .. 2; OPM at 0 range 3 .. 3; Reserved_4_6 at 0 range 4 .. 6; ARPE at 0 range 7 .. 7; CKD at 0 range 8 .. 9; Reserved_10_10 at 0 range 10 .. 10; UIFREMAP at 0 range 11 .. 11; DITHEN at 0 range 12 .. 12; Reserved_13_31 at 0 range 13 .. 31; end record; -- control register 2 type CR2_Register_2 is record -- Capture/compare preloaded control CCPC : Boolean := False; -- unspecified Reserved_1_1 : HAL.Bit := 16#0#; -- Capture/compare control update selection CCUS : Boolean := False; -- Capture/compare DMA selection CCDS : Boolean := False; -- Master mode selection MMS : CR2_MMS_Field := 16#0#; -- TI1 selection TI1S : Boolean := False; -- Output Idle state 1 OIS1 : Boolean := False; -- Output Idle state 1 OIS1N : Boolean := False; -- Output idle state 2 (OC2 output) OIS2 : Boolean := False; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register_2 use record CCPC at 0 range 0 .. 0; Reserved_1_1 at 0 range 1 .. 1; CCUS at 0 range 2 .. 2; CCDS at 0 range 3 .. 3; MMS at 0 range 4 .. 6; TI1S at 0 range 7 .. 7; OIS1 at 0 range 8 .. 8; OIS1N at 0 range 9 .. 9; OIS2 at 0 range 10 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- slave mode control register type SMCR_Register_1 is record -- Slave mode selection SMS : SMCR_SMS_Field := 16#0#; -- unspecified Reserved_3_3 : HAL.Bit := 16#0#; -- Trigger selection TS : SMCR_TS_Field := 16#0#; -- Master/Slave mode MSM : Boolean := False; -- unspecified Reserved_8_15 : HAL.UInt8 := 16#0#; -- Slave mode selection - bit 3 SMS_3 : Boolean := False; -- unspecified Reserved_17_19 : HAL.UInt3 := 16#0#; -- Trigger selection - bit 4:3 TS_4_3 : SMCR_TS_4_3_Field := 16#0#; -- unspecified Reserved_22_31 : HAL.UInt10 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SMCR_Register_1 use record SMS at 0 range 0 .. 2; Reserved_3_3 at 0 range 3 .. 3; TS at 0 range 4 .. 6; MSM at 0 range 7 .. 7; Reserved_8_15 at 0 range 8 .. 15; SMS_3 at 0 range 16 .. 16; Reserved_17_19 at 0 range 17 .. 19; TS_4_3 at 0 range 20 .. 21; Reserved_22_31 at 0 range 22 .. 31; end record; -- DMA/Interrupt enable register type DIER_Register_2 is record -- Update interrupt enable UIE : Boolean := False; -- Capture/Compare 1 interrupt enable CC1IE : Boolean := False; -- Capture/Compare 2 interrupt enable CC2IE : Boolean := False; -- unspecified Reserved_3_4 : HAL.UInt2 := 16#0#; -- COM interrupt enable COMIE : Boolean := False; -- Trigger interrupt enable TIE : Boolean := False; -- Break interrupt enable BIE : Boolean := False; -- Update DMA request enable UDE : Boolean := False; -- Capture/Compare 1 DMA request enable CC1DE : Boolean := False; -- Capture/Compare 2 DMA request enable CC2DE : Boolean := False; -- unspecified Reserved_11_12 : HAL.UInt2 := 16#0#; -- COM DMA request enable COMDE : Boolean := False; -- Trigger DMA request enable TDE : Boolean := False; -- unspecified Reserved_15_31 : HAL.UInt17 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DIER_Register_2 use record UIE at 0 range 0 .. 0; CC1IE at 0 range 1 .. 1; CC2IE at 0 range 2 .. 2; Reserved_3_4 at 0 range 3 .. 4; COMIE at 0 range 5 .. 5; TIE at 0 range 6 .. 6; BIE at 0 range 7 .. 7; UDE at 0 range 8 .. 8; CC1DE at 0 range 9 .. 9; CC2DE at 0 range 10 .. 10; Reserved_11_12 at 0 range 11 .. 12; COMDE at 0 range 13 .. 13; TDE at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; -- status register type SR_Register_2 is record -- Update interrupt flag UIF : Boolean := False; -- Capture/compare 1 interrupt flag CC1IF : Boolean := False; -- Capture/compare 2 interrupt flag CC2IF : Boolean := False; -- unspecified Reserved_3_4 : HAL.UInt2 := 16#0#; -- COM interrupt flag COMIF : Boolean := False; -- Trigger interrupt flag TIF : Boolean := False; -- Break interrupt flag BIF : Boolean := False; -- unspecified Reserved_8_8 : HAL.Bit := 16#0#; -- Capture/Compare 1 overcapture flag CC1OF : Boolean := False; -- Capture/Compare 2 overcapture flag CC2OF : Boolean := False; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SR_Register_2 use record UIF at 0 range 0 .. 0; CC1IF at 0 range 1 .. 1; CC2IF at 0 range 2 .. 2; Reserved_3_4 at 0 range 3 .. 4; COMIF at 0 range 5 .. 5; TIF at 0 range 6 .. 6; BIF at 0 range 7 .. 7; Reserved_8_8 at 0 range 8 .. 8; CC1OF at 0 range 9 .. 9; CC2OF at 0 range 10 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- event generation register type EGR_Register_2 is record -- Write-only. Update generation UG : Boolean := False; -- Write-only. Capture/compare 1 generation CC1G : Boolean := False; -- Write-only. Capture/compare 2 generation CC2G : Boolean := False; -- unspecified Reserved_3_4 : HAL.UInt2 := 16#0#; -- Write-only. Capture/Compare control update generation COMG : Boolean := False; -- Write-only. Trigger generation TG : Boolean := False; -- Write-only. Break generation BG : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EGR_Register_2 use record UG at 0 range 0 .. 0; CC1G at 0 range 1 .. 1; CC2G at 0 range 2 .. 2; Reserved_3_4 at 0 range 3 .. 4; COMG at 0 range 5 .. 5; TG at 0 range 6 .. 6; BG at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- capture/compare mode register (output mode) type CCMR1_Output_Register_1 is record -- Capture/Compare 1 selection CC1S : CCMR1_Output_CC1S_Field := 16#0#; -- Output Compare 1 fast enable OC1FE : Boolean := False; -- Output Compare 1 preload enable OC1PE : Boolean := False; -- Output Compare 1 mode OC1M : CCMR1_Output_OC1M_Field := 16#0#; -- OC1CE OC1CE : Boolean := False; -- CC2S CC2S : CCMR1_Output_CC2S_Field := 16#0#; -- OC2FE OC2FE : Boolean := False; -- OC2PE OC2PE : Boolean := False; -- OC2M OC2M : CCMR1_Output_OC2M_Field := 16#0#; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- Output Compare 1 mode OC1M_3 : Boolean := False; -- unspecified Reserved_17_23 : HAL.UInt7 := 16#0#; -- Output Compare 2 mode - bit 3 OC2M_3 : Boolean := False; -- unspecified Reserved_25_31 : HAL.UInt7 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR1_Output_Register_1 use record CC1S at 0 range 0 .. 1; OC1FE at 0 range 2 .. 2; OC1PE at 0 range 3 .. 3; OC1M at 0 range 4 .. 6; OC1CE at 0 range 7 .. 7; CC2S at 0 range 8 .. 9; OC2FE at 0 range 10 .. 10; OC2PE at 0 range 11 .. 11; OC2M at 0 range 12 .. 14; Reserved_15_15 at 0 range 15 .. 15; OC1M_3 at 0 range 16 .. 16; Reserved_17_23 at 0 range 17 .. 23; OC2M_3 at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; subtype CCMR1_Input_IC1PSC_Field is HAL.UInt2; -- capture/compare mode register 1 (input mode) type CCMR1_Input_Register_1 is record -- Capture/Compare 1 selection CC1S : CCMR1_Input_CC1S_Field := 16#0#; -- Input capture 1 prescaler IC1PSC : CCMR1_Input_IC1PSC_Field := 16#0#; -- Input capture 1 filter IC1F : CCMR1_Input_IC1F_Field := 16#0#; -- CC2S CC2S : CCMR1_Input_CC2S_Field := 16#0#; -- IC2PSC IC2PSC : CCMR1_Input_IC2PSC_Field := 16#0#; -- IC2F IC2F : CCMR1_Input_IC2F_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR1_Input_Register_1 use record CC1S at 0 range 0 .. 1; IC1PSC at 0 range 2 .. 3; IC1F at 0 range 4 .. 7; CC2S at 0 range 8 .. 9; IC2PSC at 0 range 10 .. 11; IC2F at 0 range 12 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- capture/compare enable register type CCER_Register_1 is record -- Capture/Compare 1 output enable CC1E : Boolean := False; -- Capture/Compare 1 output Polarity CC1P : Boolean := False; -- Capture/Compare 1 complementary output enable CC1NE : Boolean := False; -- Capture/Compare 1 output Polarity CC1NP : Boolean := False; -- Capture/Compare 2 output enable CC2E : Boolean := False; -- Capture/Compare 2 output polarity CC2P : Boolean := False; -- unspecified Reserved_6_6 : HAL.Bit := 16#0#; -- Capture/Compare 2 complementary output polarity CC2NP : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCER_Register_1 use record CC1E at 0 range 0 .. 0; CC1P at 0 range 1 .. 1; CC1NE at 0 range 2 .. 2; CC1NP at 0 range 3 .. 3; CC2E at 0 range 4 .. 4; CC2P at 0 range 5 .. 5; Reserved_6_6 at 0 range 6 .. 6; CC2NP at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype RCR_REP_Field_1 is HAL.UInt8; -- repetition counter register type RCR_Register_1 is record -- Repetition counter value REP : RCR_REP_Field_1 := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RCR_Register_1 use record REP at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- break and dead-time register type BDTR_Register_1 is record -- Dead-time generator setup DTG : BDTR_DTG_Field := 16#0#; -- Lock configuration LOCK : BDTR_LOCK_Field := 16#0#; -- Off-state selection for Idle mode OSSI : Boolean := False; -- Off-state selection for Run mode OSSR : Boolean := False; -- Break enable BKE : Boolean := False; -- Break polarity BKP : Boolean := False; -- Automatic output enable AOE : Boolean := False; -- Main output enable MOE : Boolean := False; -- Break filter BKF : BDTR_BKF_Field := 16#0#; -- unspecified Reserved_20_25 : HAL.UInt6 := 16#0#; -- BKDSRM BKDSRM : Boolean := False; -- unspecified Reserved_27_27 : HAL.Bit := 16#0#; -- BKBID BKBID : Boolean := False; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BDTR_Register_1 use record DTG at 0 range 0 .. 7; LOCK at 0 range 8 .. 9; OSSI at 0 range 10 .. 10; OSSR at 0 range 11 .. 11; BKE at 0 range 12 .. 12; BKP at 0 range 13 .. 13; AOE at 0 range 14 .. 14; MOE at 0 range 15 .. 15; BKF at 0 range 16 .. 19; Reserved_20_25 at 0 range 20 .. 25; BKDSRM at 0 range 26 .. 26; Reserved_27_27 at 0 range 27 .. 27; BKBID at 0 range 28 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; -- TIM timer input selection register type TISEL_Register_1 is record -- TI1[0] to TI1[15] input selection TI1SEL : TISEL_TI1SEL_Field := 16#0#; -- unspecified Reserved_4_7 : HAL.UInt4 := 16#0#; -- TI2[0] to TI2[15] input selection TI2SEL : TISEL_TI2SEL_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TISEL_Register_1 use record TI1SEL at 0 range 0 .. 3; Reserved_4_7 at 0 range 4 .. 7; TI2SEL at 0 range 8 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; -- TIM alternate function option register 1 type AF1_Register_1 is record -- BRK BKIN input enable BKINE : Boolean := False; -- BRK COMP1 enable BKCMP1E : Boolean := False; -- BRK COMP2 enable BKCMP2E : Boolean := False; -- BRK COMP3 enable BKCMP3E : Boolean := False; -- BRK COMP4 enable BKCMP4E : Boolean := False; -- BRK COMP5 enable BKCMP5E : Boolean := False; -- BRK COMP6 enable BKCMP6E : Boolean := False; -- BRK COMP7 enable BKCMP7E : Boolean := False; -- unspecified Reserved_8_8 : HAL.Bit := 16#0#; -- BRK BKIN input polarity BKINP : Boolean := False; -- BRK COMP1 input polarity BKCMP1P : Boolean := False; -- BRK COMP2 input polarity BKCMP2P : Boolean := False; -- BRK COMP3 input polarity BKCMP3P : Boolean := False; -- BRK COMP4 input polarity BKCMP4P : Boolean := False; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AF1_Register_1 use record BKINE at 0 range 0 .. 0; BKCMP1E at 0 range 1 .. 1; BKCMP2E at 0 range 2 .. 2; BKCMP3E at 0 range 3 .. 3; BKCMP4E at 0 range 4 .. 4; BKCMP5E at 0 range 5 .. 5; BKCMP6E at 0 range 6 .. 6; BKCMP7E at 0 range 7 .. 7; Reserved_8_8 at 0 range 8 .. 8; BKINP at 0 range 9 .. 9; BKCMP1P at 0 range 10 .. 10; BKCMP2P at 0 range 11 .. 11; BKCMP3P at 0 range 12 .. 12; BKCMP4P at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- TIM alternate function option register 2 type AF2_Register_1 is record -- unspecified Reserved_0_15 : HAL.UInt16 := 16#0#; -- OCREF_CLR source selection OCRSEL : AF2_OCRSEL_Field := 16#0#; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AF2_Register_1 use record Reserved_0_15 at 0 range 0 .. 15; OCRSEL at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; -- control register 2 type CR2_Register_3 is record -- Capture/compare preloaded control CCPC : Boolean := False; -- unspecified Reserved_1_1 : HAL.Bit := 16#0#; -- Capture/compare control update selection CCUS : Boolean := False; -- Capture/compare DMA selection CCDS : Boolean := False; -- unspecified Reserved_4_7 : HAL.UInt4 := 16#0#; -- Output Idle state 1 OIS1 : Boolean := False; -- Output Idle state 1 OIS1N : Boolean := False; -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register_3 use record CCPC at 0 range 0 .. 0; Reserved_1_1 at 0 range 1 .. 1; CCUS at 0 range 2 .. 2; CCDS at 0 range 3 .. 3; Reserved_4_7 at 0 range 4 .. 7; OIS1 at 0 range 8 .. 8; OIS1N at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; -- DMA/Interrupt enable register type DIER_Register_3 is record -- Update interrupt enable UIE : Boolean := False; -- Capture/Compare 1 interrupt enable CC1IE : Boolean := False; -- unspecified Reserved_2_4 : HAL.UInt3 := 16#0#; -- COM interrupt enable COMIE : Boolean := False; -- unspecified Reserved_6_6 : HAL.Bit := 16#0#; -- Break interrupt enable BIE : Boolean := False; -- Update DMA request enable UDE : Boolean := False; -- Capture/Compare 1 DMA request enable CC1DE : Boolean := False; -- unspecified Reserved_10_12 : HAL.UInt3 := 16#0#; -- COM DMA request enable COMDE : Boolean := False; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DIER_Register_3 use record UIE at 0 range 0 .. 0; CC1IE at 0 range 1 .. 1; Reserved_2_4 at 0 range 2 .. 4; COMIE at 0 range 5 .. 5; Reserved_6_6 at 0 range 6 .. 6; BIE at 0 range 7 .. 7; UDE at 0 range 8 .. 8; CC1DE at 0 range 9 .. 9; Reserved_10_12 at 0 range 10 .. 12; COMDE at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- status register type SR_Register_3 is record -- Update interrupt flag UIF : Boolean := False; -- Capture/compare 1 interrupt flag CC1IF : Boolean := False; -- unspecified Reserved_2_4 : HAL.UInt3 := 16#0#; -- COM interrupt flag COMIF : Boolean := False; -- unspecified Reserved_6_6 : HAL.Bit := 16#0#; -- Break interrupt flag BIF : Boolean := False; -- unspecified Reserved_8_8 : HAL.Bit := 16#0#; -- Capture/Compare 1 overcapture flag CC1OF : Boolean := False; -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SR_Register_3 use record UIF at 0 range 0 .. 0; CC1IF at 0 range 1 .. 1; Reserved_2_4 at 0 range 2 .. 4; COMIF at 0 range 5 .. 5; Reserved_6_6 at 0 range 6 .. 6; BIF at 0 range 7 .. 7; Reserved_8_8 at 0 range 8 .. 8; CC1OF at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; -- event generation register type EGR_Register_3 is record -- Write-only. Update generation UG : Boolean := False; -- Write-only. Capture/compare 1 generation CC1G : Boolean := False; -- unspecified Reserved_2_4 : HAL.UInt3 := 16#0#; -- Write-only. Capture/Compare control update generation COMG : Boolean := False; -- unspecified Reserved_6_6 : HAL.Bit := 16#0#; -- Write-only. Break generation BG : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EGR_Register_3 use record UG at 0 range 0 .. 0; CC1G at 0 range 1 .. 1; Reserved_2_4 at 0 range 2 .. 4; COMG at 0 range 5 .. 5; Reserved_6_6 at 0 range 6 .. 6; BG at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- capture/compare mode register (output mode) type CCMR1_Output_Register_2 is record -- Capture/Compare 1 selection CC1S : CCMR1_Output_CC1S_Field := 16#0#; -- Output Compare 1 fast enable OC1FE : Boolean := False; -- Output Compare 1 preload enable OC1PE : Boolean := False; -- Output Compare 1 mode OC1M : CCMR1_Output_OC1M_Field := 16#0#; -- unspecified Reserved_7_15 : HAL.UInt9 := 16#0#; -- Output Compare 1 mode OC1M_3 : Boolean := False; -- unspecified Reserved_17_31 : HAL.UInt15 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR1_Output_Register_2 use record CC1S at 0 range 0 .. 1; OC1FE at 0 range 2 .. 2; OC1PE at 0 range 3 .. 3; OC1M at 0 range 4 .. 6; Reserved_7_15 at 0 range 7 .. 15; OC1M_3 at 0 range 16 .. 16; Reserved_17_31 at 0 range 17 .. 31; end record; -- capture/compare mode register 1 (input mode) type CCMR1_Input_Register_2 is record -- Capture/Compare 1 selection CC1S : CCMR1_Input_CC1S_Field := 16#0#; -- Input capture 1 prescaler IC1PSC : CCMR1_Input_IC1PSC_Field := 16#0#; -- Input capture 1 filter IC1F : CCMR1_Input_IC1F_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCMR1_Input_Register_2 use record CC1S at 0 range 0 .. 1; IC1PSC at 0 range 2 .. 3; IC1F at 0 range 4 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- capture/compare enable register type CCER_Register_2 is record -- Capture/Compare 1 output enable CC1E : Boolean := False; -- Capture/Compare 1 output Polarity CC1P : Boolean := False; -- Capture/Compare 1 complementary output enable CC1NE : Boolean := False; -- Capture/Compare 1 output Polarity CC1NP : Boolean := False; -- unspecified Reserved_4_31 : HAL.UInt28 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCER_Register_2 use record CC1E at 0 range 0 .. 0; CC1P at 0 range 1 .. 1; CC1NE at 0 range 2 .. 2; CC1NP at 0 range 3 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; -- TIM timer input selection register type TISEL_Register_2 is record -- TI1[0] to TI1[15] input selection TI1SEL : TISEL_TI1SEL_Field := 16#0#; -- unspecified Reserved_4_31 : HAL.UInt28 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TISEL_Register_2 use record TI1SEL at 0 range 0 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; -- TIM option register 1 type OR1_Register is record -- HSE Divided by 32 enable HSE32EN : Boolean := False; -- unspecified Reserved_1_31 : HAL.UInt31 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OR1_Register use record HSE32EN at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; ----------------- -- Peripherals -- ----------------- type TIM1_Disc is (Output, Input); -- Advanced-timers type TIM1_Peripheral (Discriminent : TIM1_Disc := Output) is record -- control register 1 CR1 : aliased CR1_Register; -- control register 2 CR2 : aliased CR2_Register; -- slave mode control register SMCR : aliased SMCR_Register; -- DMA/Interrupt enable register DIER : aliased DIER_Register; -- status register SR : aliased SR_Register; -- event generation register EGR : aliased EGR_Register; -- capture/compare enable register CCER : aliased CCER_Register; -- counter CNT : aliased CNT_Register; -- prescaler PSC : aliased PSC_Register; -- auto-reload register ARR : aliased ARR_Register; -- repetition counter register RCR : aliased RCR_Register; -- capture/compare register 1 CCR1 : aliased CCR1_Register; -- capture/compare register 2 CCR2 : aliased CCR2_Register; -- capture/compare register 3 CCR3 : aliased CCR3_Register; -- capture/compare register 4 CCR4 : aliased CCR4_Register; -- break and dead-time register BDTR : aliased BDTR_Register; -- capture/compare register 4 CCR5 : aliased CCR5_Register; -- capture/compare register 4 CCR6 : aliased CCR6_Register; -- capture/compare mode register 2 (output mode) CCMR3_Output : aliased CCMR3_Output_Register; -- timer Deadtime Register 2 DTR2 : aliased DTR2_Register; -- DMA control register ECR : aliased ECR_Register; -- TIM timer input selection register TISEL : aliased TISEL_Register; -- TIM alternate function option register 1 AF1 : aliased AF1_Register; -- TIM alternate function option register 2 AF2 : aliased AF2_Register; -- control register DCR : aliased DCR_Register; -- DMA address for full transfer DMAR : aliased HAL.UInt32; case Discriminent is when Output => -- capture/compare mode register 1 (output mode) CCMR1_Output : aliased CCMR1_Output_Register; -- capture/compare mode register 2 (output mode) CCMR2_Output : aliased CCMR2_Output_Register; when Input => -- capture/compare mode register 1 (input mode) CCMR1_Input : aliased CCMR1_Input_Register; -- capture/compare mode register 2 (input mode) CCMR2_Input : aliased CCMR2_Input_Register; end case; end record with Unchecked_Union, Volatile; for TIM1_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; SMCR at 16#8# range 0 .. 31; DIER at 16#C# range 0 .. 31; SR at 16#10# range 0 .. 31; EGR at 16#14# range 0 .. 31; CCER at 16#20# range 0 .. 31; CNT at 16#24# range 0 .. 31; PSC at 16#28# range 0 .. 31; ARR at 16#2C# range 0 .. 31; RCR at 16#30# range 0 .. 31; CCR1 at 16#34# range 0 .. 31; CCR2 at 16#38# range 0 .. 31; CCR3 at 16#3C# range 0 .. 31; CCR4 at 16#40# range 0 .. 31; BDTR at 16#44# range 0 .. 31; CCR5 at 16#48# range 0 .. 31; CCR6 at 16#4C# range 0 .. 31; CCMR3_Output at 16#50# range 0 .. 31; DTR2 at 16#54# range 0 .. 31; ECR at 16#58# range 0 .. 31; TISEL at 16#5C# range 0 .. 31; AF1 at 16#60# range 0 .. 31; AF2 at 16#64# range 0 .. 31; DCR at 16#3DC# range 0 .. 31; DMAR at 16#3E0# range 0 .. 31; CCMR1_Output at 16#18# range 0 .. 31; CCMR2_Output at 16#1C# range 0 .. 31; CCMR1_Input at 16#18# range 0 .. 31; CCMR2_Input at 16#1C# range 0 .. 31; end record; -- Advanced-timers TIM1_Periph : aliased TIM1_Peripheral with Import, Address => TIM1_Base; -- Advanced-timers TIM2_Periph : aliased TIM1_Peripheral with Import, Address => TIM2_Base; -- Advanced-timers TIM3_Periph : aliased TIM1_Peripheral with Import, Address => TIM3_Base; -- Advanced-timers TIM4_Periph : aliased TIM1_Peripheral with Import, Address => TIM4_Base; -- Advanced-timers TIM5_Periph : aliased TIM1_Peripheral with Import, Address => TIM5_Base; -- Advanced-timers TIM8_Periph : aliased TIM1_Peripheral with Import, Address => TIM8_Base; -- Advanced-timers TIM20_Periph : aliased TIM1_Peripheral with Import, Address => TIM20_Base; -- Basic-timers type TIM6_Peripheral is record -- control register 1 CR1 : aliased CR1_Register_1; -- control register 2 CR2 : aliased CR2_Register_1; -- DMA/Interrupt enable register DIER : aliased DIER_Register_1; -- status register SR : aliased SR_Register_1; -- event generation register EGR : aliased EGR_Register_1; -- counter CNT : aliased CNT_Register; -- prescaler PSC : aliased PSC_Register; -- auto-reload register ARR : aliased ARR_Register; end record with Volatile; for TIM6_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; DIER at 16#C# range 0 .. 31; SR at 16#10# range 0 .. 31; EGR at 16#14# range 0 .. 31; CNT at 16#24# range 0 .. 31; PSC at 16#28# range 0 .. 31; ARR at 16#2C# range 0 .. 31; end record; -- Basic-timers TIM6_Periph : aliased TIM6_Peripheral with Import, Address => TIM6_Base; -- Basic-timers TIM7_Periph : aliased TIM6_Peripheral with Import, Address => TIM7_Base; type TIM15_Disc is (Output, Input); -- General purpose timers type TIM15_Peripheral (Discriminent : TIM15_Disc := Output) is record -- control register 1 CR1 : aliased CR1_Register_2; -- control register 2 CR2 : aliased CR2_Register_2; -- slave mode control register SMCR : aliased SMCR_Register_1; -- DMA/Interrupt enable register DIER : aliased DIER_Register_2; -- status register SR : aliased SR_Register_2; -- event generation register EGR : aliased EGR_Register_2; -- capture/compare enable register CCER : aliased CCER_Register_1; -- counter CNT : aliased CNT_Register; -- prescaler PSC : aliased PSC_Register; -- auto-reload register ARR : aliased ARR_Register; -- repetition counter register RCR : aliased RCR_Register_1; -- capture/compare register 1 CCR1 : aliased CCR1_Register; -- capture/compare register 2 CCR2 : aliased CCR2_Register; -- break and dead-time register BDTR : aliased BDTR_Register_1; -- timer Deadtime Register 2 DTR2 : aliased DTR2_Register; -- TIM timer input selection register TISEL : aliased TISEL_Register_1; -- TIM alternate function option register 1 AF1 : aliased AF1_Register_1; -- TIM alternate function option register 2 AF2 : aliased AF2_Register_1; -- DMA control register DCR : aliased DCR_Register; -- DMA address for full transfer DMAR : aliased HAL.UInt32; case Discriminent is when Output => -- capture/compare mode register (output mode) CCMR1_Output : aliased CCMR1_Output_Register_1; when Input => -- capture/compare mode register 1 (input mode) CCMR1_Input : aliased CCMR1_Input_Register_1; end case; end record with Unchecked_Union, Volatile; for TIM15_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; SMCR at 16#8# range 0 .. 31; DIER at 16#C# range 0 .. 31; SR at 16#10# range 0 .. 31; EGR at 16#14# range 0 .. 31; CCER at 16#20# range 0 .. 31; CNT at 16#24# range 0 .. 31; PSC at 16#28# range 0 .. 31; ARR at 16#2C# range 0 .. 31; RCR at 16#30# range 0 .. 31; CCR1 at 16#34# range 0 .. 31; CCR2 at 16#38# range 0 .. 31; BDTR at 16#44# range 0 .. 31; DTR2 at 16#54# range 0 .. 31; TISEL at 16#5C# range 0 .. 31; AF1 at 16#60# range 0 .. 31; AF2 at 16#64# range 0 .. 31; DCR at 16#3DC# range 0 .. 31; DMAR at 16#3E0# range 0 .. 31; CCMR1_Output at 16#18# range 0 .. 31; CCMR1_Input at 16#18# range 0 .. 31; end record; -- General purpose timers TIM15_Periph : aliased TIM15_Peripheral with Import, Address => TIM15_Base; type TIM16_Disc is (Output, Input); -- General purpose timers type TIM16_Peripheral (Discriminent : TIM16_Disc := Output) is record -- control register 1 CR1 : aliased CR1_Register_2; -- control register 2 CR2 : aliased CR2_Register_3; -- DMA/Interrupt enable register DIER : aliased DIER_Register_3; -- status register SR : aliased SR_Register_3; -- event generation register EGR : aliased EGR_Register_3; -- capture/compare enable register CCER : aliased CCER_Register_2; -- counter CNT : aliased CNT_Register; -- prescaler PSC : aliased PSC_Register; -- auto-reload register ARR : aliased ARR_Register; -- repetition counter register RCR : aliased RCR_Register_1; -- capture/compare register 1 CCR1 : aliased CCR1_Register; -- break and dead-time register BDTR : aliased BDTR_Register_1; -- timer Deadtime Register 2 DTR2 : aliased DTR2_Register; -- TIM timer input selection register TISEL : aliased TISEL_Register_2; -- TIM alternate function option register 1 AF1 : aliased AF1_Register_1; -- TIM alternate function option register 2 AF2 : aliased AF2_Register_1; -- TIM option register 1 OR1 : aliased OR1_Register; -- DMA control register DCR : aliased DCR_Register; -- DMA address for full transfer DMAR : aliased HAL.UInt32; case Discriminent is when Output => -- capture/compare mode register (output mode) CCMR1_Output : aliased CCMR1_Output_Register_2; when Input => -- capture/compare mode register 1 (input mode) CCMR1_Input : aliased CCMR1_Input_Register_2; end case; end record with Unchecked_Union, Volatile; for TIM16_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; DIER at 16#C# range 0 .. 31; SR at 16#10# range 0 .. 31; EGR at 16#14# range 0 .. 31; CCER at 16#20# range 0 .. 31; CNT at 16#24# range 0 .. 31; PSC at 16#28# range 0 .. 31; ARR at 16#2C# range 0 .. 31; RCR at 16#30# range 0 .. 31; CCR1 at 16#34# range 0 .. 31; BDTR at 16#44# range 0 .. 31; DTR2 at 16#54# range 0 .. 31; TISEL at 16#5C# range 0 .. 31; AF1 at 16#60# range 0 .. 31; AF2 at 16#64# range 0 .. 31; OR1 at 16#68# range 0 .. 31; DCR at 16#3DC# range 0 .. 31; DMAR at 16#3E0# range 0 .. 31; CCMR1_Output at 16#18# range 0 .. 31; CCMR1_Input at 16#18# range 0 .. 31; end record; -- General purpose timers TIM16_Periph : aliased TIM16_Peripheral with Import, Address => TIM16_Base; -- General purpose timers TIM17_Periph : aliased TIM16_Peripheral with Import, Address => TIM17_Base; end STM32_SVD.TIM;
-- CE3810A.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 PUT CAN OPERATE ON STRINGS. ALSO CHECK THAT -- LAYOUT_ERROR IS RAISED WHEN THE STRING IS INSUFFICIENTLY LONG. -- HISTORY: -- SPS 10/07/82 -- VKG 01/20/83 -- SPS 02/18/83 -- DWC 09/15/87 SPLIT CASE FOR FIXED_IO INTO CE3810B.ADA AND -- ADDED CASED FOR AFT AND EXP TO RAISE LAYOUT_ERROR. WITH REPORT; USE REPORT; WITH TEXT_IO; USE TEXT_IO; PROCEDURE CE3810A IS BEGIN TEST ("CE3810A", "CHECK THAT FLOAT_IO PUT " & "OPERATES ON STRINGS CORRECTLY"); DECLARE TYPE FL IS DIGITS 4; PACKAGE FLIO IS NEW FLOAT_IO (FL); USE FLIO; ST : STRING (1 .. 2 + (FL'DIGITS-1) + 3 + 2); ST1 : STRING (1 .. 10) := " 2.345E+02"; ST2 : STRING (1 .. 2); BEGIN PUT (ST, 234.5); IF ST /= ST1 THEN FAILED ("PUT FLOAT TO STRING INCORRECT; OUTPUT WAS """ & ST & """"); END IF; BEGIN PUT (ST(1 .. 8), 234.5); FAILED ("LAYOUT_ERROR NOT RAISED - FLOAT - 1"); EXCEPTION WHEN LAYOUT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - FLOAT - 1"); END; BEGIN PUT (ST, 2.3, 9, 0); FAILED ("LAYOUT_ERROR NOT RAISED - FLOAT - 2"); EXCEPTION WHEN LAYOUT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - FLOAT - 2"); END; BEGIN PUT (ST2, 2.0, 0, 0); FAILED ("LAYOUT_ERROR NOT RAISED - FLOAT - 3"); EXCEPTION WHEN LAYOUT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - FLOAT - 3"); END; BEGIN PUT (ST, 2.345, 6, 2); FAILED ("LAYOUT_ERROR NOT RAISED - FLOAT - 4"); EXCEPTION WHEN LAYOUT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - FLOAT - 4"); END; BEGIN PUT (ST, 2.0, 0, 7); FAILED ("LAYOUT_ERROR NOT RAISED - FLOAT - 5"); EXCEPTION WHEN LAYOUT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - FLOAT - 5"); END; END; RESULT; END CE3810A;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . N U M E R I C S . D I S C R E T E _ R A N D O M -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2001 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, 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. -- -- -- ------------------------------------------------------------------------------ -- Note: the implementation used in this package was contributed by -- Robert Eachus. It is based on the work of L. Blum, M. Blum, and -- M. Shub, SIAM Journal of Computing, Vol 15. No 2, May 1986. The -- particular choices for P and Q chosen here guarantee a period of -- 562,085,314,430,582 (about 2**49), and the generated sequence has -- excellent randomness properties. For further details, see the -- paper "Fast Generation of Trustworthy Random Numbers", by Robert -- Eachus, which describes both the algorithm and the efficient -- implementation approach used here. with Interfaces; generic type Result_Subtype is (<>); package Ada.Numerics.Discrete_Random is -- Basic facilities. type Generator is limited private; function Random (Gen : Generator) return Result_Subtype; procedure Reset (Gen : Generator); procedure Reset (Gen : Generator; Initiator : Integer); -- Advanced facilities. type State is private; procedure Save (Gen : Generator; To_State : out State); procedure Reset (Gen : Generator; From_State : State); Max_Image_Width : constant := 80; function Image (Of_State : State) return String; function Value (Coded_State : String) return State; private subtype Int is Interfaces.Integer_32; subtype Rst is Result_Subtype; type Flt is digits 14; RstF : constant Flt := Flt (Rst'Pos (Rst'First)); RstL : constant Flt := Flt (Rst'Pos (Rst'Last)); Offs : constant Flt := RstF - 0.5; K1 : constant := 94_833_359; K1F : constant := 94_833_359.0; K2 : constant := 47_416_679; K2F : constant := 47_416_679.0; Scal : constant Flt := (RstL - RstF + 1.0) / (K1F * K2F); type State is record X1 : Int := Int (2999 ** 2); X2 : Int := Int (1439 ** 2); P : Int := K1; Q : Int := K2; FP : Flt := K1F; Scl : Flt := Scal; end record; type Generator is limited record Gen_State : State; end record; end Ada.Numerics.Discrete_Random;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . T R A C E B A C K -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1999-2000 Ada Core Technologies, 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. -- -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). -- -- -- ------------------------------------------------------------------------------ -- This version assumes that System.Machine_State_Operations.Pop_Frame can -- work with the Info parameter being null. with System.Machine_State_Operations; package body System.Traceback is use System.Machine_State_Operations; ---------------- -- Call_Chain -- ---------------- procedure Call_Chain (Traceback : System.Address; Max_Len : Natural; Len : out Natural; Exclude_Min, Exclude_Max : System.Address := System.Null_Address) is type Tracebacks_Array is array (1 .. Max_Len) of Code_Loc; pragma Suppress_Initialization (Tracebacks_Array); M : Machine_State; Code : Code_Loc; J : Natural := 1; Trace : Tracebacks_Array; for Trace'Address use Traceback; begin M := Allocate_Machine_State; Set_Machine_State (M); loop Code := Get_Code_Loc (M); exit when Code = Null_Address or else J = Max_Len + 1; if Code < Exclude_Min or else Code > Exclude_Max then Trace (J) := Code; J := J + 1; end if; Pop_Frame (M, System.Null_Address); end loop; Len := J - 1; Free_Machine_State (M); end Call_Chain; ------------------ -- C_Call_Chain -- ------------------ function C_Call_Chain (Traceback : System.Address; Max_Len : Natural) return Natural is Val : Natural; begin Call_Chain (Traceback, Max_Len, Val); return Val; end C_Call_Chain; end System.Traceback;
-- This spec has been automatically generated from STM32L0x1.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.LPTIM is pragma Preelaborate; --------------- -- Registers -- --------------- -- Interrupt and Status Register type ISR_Register is record -- Read-only. Compare match CMPM : STM32_SVD.Bit; -- Read-only. Autoreload match ARRM : STM32_SVD.Bit; -- Read-only. External trigger edge event EXTTRIG : STM32_SVD.Bit; -- Read-only. Compare register update OK CMPOK : STM32_SVD.Bit; -- Read-only. Autoreload register update OK ARROK : STM32_SVD.Bit; -- Read-only. Counter direction change down to up UP : STM32_SVD.Bit; -- Read-only. Counter direction change up to down DOWN : STM32_SVD.Bit; -- unspecified Reserved_7_31 : STM32_SVD.UInt25; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record CMPM at 0 range 0 .. 0; ARRM at 0 range 1 .. 1; EXTTRIG at 0 range 2 .. 2; CMPOK at 0 range 3 .. 3; ARROK at 0 range 4 .. 4; UP at 0 range 5 .. 5; DOWN at 0 range 6 .. 6; Reserved_7_31 at 0 range 7 .. 31; end record; -- Interrupt Clear Register type ICR_Register is record -- Write-only. compare match Clear Flag CMPMCF : STM32_SVD.Bit; -- Write-only. Autoreload match Clear Flag ARRMCF : STM32_SVD.Bit; -- Write-only. External trigger valid edge Clear Flag EXTTRIGCF : STM32_SVD.Bit; -- Write-only. Compare register update OK Clear Flag CMPOKCF : STM32_SVD.Bit; -- Write-only. Autoreload register update OK Clear Flag ARROKCF : STM32_SVD.Bit; -- Write-only. Direction change to UP Clear Flag UPCF : STM32_SVD.Bit; -- Write-only. Direction change to down Clear Flag DOWNCF : STM32_SVD.Bit; -- unspecified Reserved_7_31 : STM32_SVD.UInt25; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ICR_Register use record CMPMCF at 0 range 0 .. 0; ARRMCF at 0 range 1 .. 1; EXTTRIGCF at 0 range 2 .. 2; CMPOKCF at 0 range 3 .. 3; ARROKCF at 0 range 4 .. 4; UPCF at 0 range 5 .. 5; DOWNCF at 0 range 6 .. 6; Reserved_7_31 at 0 range 7 .. 31; end record; -- Interrupt Enable Register type IER_Register is record -- Compare match Interrupt Enable CMPMIE : STM32_SVD.Bit; -- Autoreload match Interrupt Enable ARRMIE : STM32_SVD.Bit; -- External trigger valid edge Interrupt Enable EXTTRIGIE : STM32_SVD.Bit; -- Compare register update OK Interrupt Enable CMPOKIE : STM32_SVD.Bit; -- Autoreload register update OK Interrupt Enable ARROKIE : STM32_SVD.Bit; -- Direction change to UP Interrupt Enable UPIE : STM32_SVD.Bit; -- Direction change to down Interrupt Enable DOWNIE : STM32_SVD.Bit; -- unspecified Reserved_7_31 : STM32_SVD.UInt25; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for IER_Register use record CMPMIE at 0 range 0 .. 0; ARRMIE at 0 range 1 .. 1; EXTTRIGIE at 0 range 2 .. 2; CMPOKIE at 0 range 3 .. 3; ARROKIE at 0 range 4 .. 4; UPIE at 0 range 5 .. 5; DOWNIE at 0 range 6 .. 6; Reserved_7_31 at 0 range 7 .. 31; end record; -- Configuration Register type CFGR_Register is record -- Clock selector CKSEL : STM32_SVD.Bit; -- Clock Polarity CKPOL : STM32_SVD.UInt2; -- Configurable digital filter for external clock CKFLT : STM32_SVD.UInt2; -- unspecified Reserved_5_5 : STM32_SVD.Bit; -- Configurable digital filter for trigger TRGFLT : STM32_SVD.UInt2; -- unspecified Reserved_8_8 : STM32_SVD.Bit; -- Clock prescaler PRESC : STM32_SVD.UInt3; -- unspecified Reserved_12_12 : STM32_SVD.Bit; -- Trigger selector TRIGSEL : STM32_SVD.UInt3; -- unspecified Reserved_16_16 : STM32_SVD.Bit; -- Trigger enable and polarity TRIGEN : STM32_SVD.UInt2; -- Timeout enable TIMOUT : STM32_SVD.Bit; -- Waveform shape WAVE : STM32_SVD.Bit; -- Waveform shape polarity WAVPOL : STM32_SVD.Bit; -- Registers update mode PRELOAD : STM32_SVD.Bit; -- counter mode enabled COUNTMODE : STM32_SVD.Bit; -- Encoder mode enable ENC : STM32_SVD.Bit; -- unspecified Reserved_25_31 : STM32_SVD.UInt7; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CFGR_Register use record CKSEL at 0 range 0 .. 0; CKPOL at 0 range 1 .. 2; CKFLT at 0 range 3 .. 4; Reserved_5_5 at 0 range 5 .. 5; TRGFLT at 0 range 6 .. 7; Reserved_8_8 at 0 range 8 .. 8; PRESC at 0 range 9 .. 11; Reserved_12_12 at 0 range 12 .. 12; TRIGSEL at 0 range 13 .. 15; Reserved_16_16 at 0 range 16 .. 16; TRIGEN at 0 range 17 .. 18; TIMOUT at 0 range 19 .. 19; WAVE at 0 range 20 .. 20; WAVPOL at 0 range 21 .. 21; PRELOAD at 0 range 22 .. 22; COUNTMODE at 0 range 23 .. 23; ENC at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; -- Control Register type CR_Register is record -- LPTIM Enable ENABLE : STM32_SVD.Bit; -- LPTIM start in single mode SNGSTRT : STM32_SVD.Bit; -- Timer start in continuous mode CNTSTRT : STM32_SVD.Bit; -- unspecified Reserved_3_31 : STM32_SVD.UInt29; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR_Register use record ENABLE at 0 range 0 .. 0; SNGSTRT at 0 range 1 .. 1; CNTSTRT at 0 range 2 .. 2; Reserved_3_31 at 0 range 3 .. 31; end record; -- Compare Register type CMP_Register is record -- Compare value. CMP : STM32_SVD.UInt16; -- unspecified Reserved_16_31 : STM32_SVD.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP_Register use record CMP at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- Autoreload Register type ARR_Register is record -- Auto reload value. ARR : STM32_SVD.UInt16; -- unspecified Reserved_16_31 : STM32_SVD.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ARR_Register use record ARR at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- Counter Register type CNT_Register is record -- Read-only. Counter value. CNT : STM32_SVD.UInt16; -- unspecified Reserved_16_31 : STM32_SVD.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNT_Register use record CNT at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Low power timer type LPTIM_Peripheral is record -- Interrupt and Status Register ISR : aliased ISR_Register; -- Interrupt Clear Register ICR : aliased ICR_Register; -- Interrupt Enable Register IER : aliased IER_Register; -- Configuration Register CFGR : aliased CFGR_Register; -- Control Register CR : aliased CR_Register; -- Compare Register CMP : aliased CMP_Register; -- Autoreload Register ARR : aliased ARR_Register; -- Counter Register CNT : aliased CNT_Register; end record with Volatile; for LPTIM_Peripheral use record ISR at 16#0# range 0 .. 31; ICR at 16#4# range 0 .. 31; IER at 16#8# range 0 .. 31; CFGR at 16#C# range 0 .. 31; CR at 16#10# range 0 .. 31; CMP at 16#14# range 0 .. 31; ARR at 16#18# range 0 .. 31; CNT at 16#1C# range 0 .. 31; end record; -- Low power timer LPTIM_Periph : aliased LPTIM_Peripheral with Import, Address => LPTIM_Base; end STM32_SVD.LPTIM;
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Clocks.Updated.Round is procedure round_clock_set_draw_hook (W, D : in System.Address); pragma Import (C, round_clock_set_draw_hook, "round_clock_set_draw_hook"); pragma Inline (round_clock_set_draw_hook); procedure round_clock_set_handle_hook (W, H : in System.Address); pragma Import (C, round_clock_set_handle_hook, "round_clock_set_handle_hook"); pragma Inline (round_clock_set_handle_hook); function new_fl_round_clock (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_round_clock, "new_fl_round_clock"); pragma Inline (new_fl_round_clock); procedure free_fl_round_clock (F : in System.Address); pragma Import (C, free_fl_round_clock, "free_fl_round_clock"); pragma Inline (free_fl_round_clock); procedure fl_round_clock_draw (W : in System.Address); pragma Import (C, fl_round_clock_draw, "fl_round_clock_draw"); pragma Inline (fl_round_clock_draw); procedure fl_round_clock_draw2 (C : in System.Address; X, Y, W, H : in Interfaces.C.int); pragma Import (C, fl_round_clock_draw2, "fl_round_clock_draw2"); pragma Inline (fl_round_clock_draw2); function fl_round_clock_handle (W : in System.Address; E : in Interfaces.C.int) return Interfaces.C.int; pragma Import (C, fl_round_clock_handle, "fl_round_clock_handle"); pragma Inline (fl_round_clock_handle); procedure Finalize (This : in out Round_Clock) is begin if This.Void_Ptr /= System.Null_Address and then This in Round_Clock'Class then free_fl_round_clock (This.Void_Ptr); This.Void_Ptr := System.Null_Address; end if; Finalize (Updated_Clock (This)); end Finalize; package body Forge is function Create (X, Y, W, H : in Integer; Text : in String) return Round_Clock is begin return This : Round_Clock do This.Void_Ptr := new_fl_round_clock (Interfaces.C.int (X), Interfaces.C.int (Y), Interfaces.C.int (W), Interfaces.C.int (H), Interfaces.C.To_C (Text)); fl_widget_set_user_data (This.Void_Ptr, Widget_Convert.To_Address (This'Unchecked_Access)); round_clock_set_draw_hook (This.Void_Ptr, Draw_Hook'Address); round_clock_set_handle_hook (This.Void_Ptr, Handle_Hook'Address); end return; end Create; end Forge; procedure Draw (This : in out Round_Clock) is begin fl_round_clock_draw (This.Void_Ptr); end Draw; procedure Draw (This : in out Clock; X, Y, W, H : in Integer) is begin fl_round_clock_draw2 (This.Void_Ptr, Interfaces.C.int (X), Interfaces.C.int (Y), Interfaces.C.int (W), Interfaces.C.int (H)); end Draw; function Handle (This : in out Round_Clock; Event : in Event_Kind) return Event_Outcome is begin return Event_Outcome'Val (fl_round_clock_handle (This.Void_Ptr, Event_Kind'Pos (Event))); end Handle; end FLTK.Widgets.Clocks.Updated.Round;
-- diff (Ada.Exceptions.Finally) with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with System; package body Ada.Containers.Ordered_Maps is use type Binary_Trees.Node_Access; use type Copy_On_Write.Data_Access; function Upcast is new Unchecked_Conversion (Cursor, Binary_Trees.Node_Access); function Downcast is new Unchecked_Conversion (Binary_Trees.Node_Access, Cursor); function Upcast is new Unchecked_Conversion (Data_Access, Copy_On_Write.Data_Access); function Downcast is new Unchecked_Conversion (Copy_On_Write.Data_Access, Data_Access); -- diff (Free) -- diff (Free) procedure Free is new Unchecked_Deallocation (Node, Cursor); function Compare_Keys (Left, Right : Key_Type) return Integer; function Compare_Keys (Left, Right : Key_Type) return Integer is begin if Left < Right then return -1; elsif Right < Left then return 1; else return 0; end if; end Compare_Keys; type Context_Type is limited record Left : not null access Key_Type; end record; pragma Suppress_Initialization (Context_Type); function Compare_Key ( Position : not null Binary_Trees.Node_Access; Params : System.Address) return Integer; function Compare_Key ( Position : not null Binary_Trees.Node_Access; Params : System.Address) return Integer is Context : Context_Type; for Context'Address use Params; begin return Compare_Keys (Context.Left.all, Downcast (Position).Key); end Compare_Key; -- diff (Allocate_Element) -- -- -- -- -- -- -- -- procedure Allocate_Node ( Item : out Cursor; Key : Key_Type; New_Item : Element_Type); procedure Allocate_Node ( Item : out Cursor; Key : Key_Type; New_Item : Element_Type) is -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff begin Item := new Node'(Super => <>, Key => Key, Element => New_Item); -- diff -- diff -- diff -- diff end Allocate_Node; procedure Copy_Node ( Target : out Binary_Trees.Node_Access; Source : not null Binary_Trees.Node_Access); procedure Copy_Node ( Target : out Binary_Trees.Node_Access; Source : not null Binary_Trees.Node_Access) is Source_Node : constant Cursor := Downcast (Source); New_Node : Cursor; begin Allocate_Node (New_Node, Source_Node.Key, Source_Node.Element); Target := Upcast (New_Node); end Copy_Node; procedure Free_Node (Object : in out Binary_Trees.Node_Access); procedure Free_Node (Object : in out Binary_Trees.Node_Access) is X : Cursor := Downcast (Object); begin -- diff -- diff Free (X); Object := null; end Free_Node; procedure Allocate_Data ( Target : out not null Copy_On_Write.Data_Access; New_Length : Count_Type; Capacity : Count_Type); procedure Allocate_Data ( Target : out not null Copy_On_Write.Data_Access; New_Length : Count_Type; Capacity : Count_Type) is pragma Unreferenced (New_Length); pragma Unreferenced (Capacity); New_Data : constant Data_Access := new Data'(Super => <>, Root => null, Length => 0); begin Target := Upcast (New_Data); end Allocate_Data; procedure Copy_Data ( Target : out not null Copy_On_Write.Data_Access; Source : not null Copy_On_Write.Data_Access; Length : Count_Type; New_Length : Count_Type; Capacity : Count_Type); procedure Copy_Data ( Target : out not null Copy_On_Write.Data_Access; Source : not null Copy_On_Write.Data_Access; Length : Count_Type; New_Length : Count_Type; Capacity : Count_Type) is pragma Unreferenced (Length); pragma Unreferenced (New_Length); pragma Unreferenced (Capacity); begin Allocate_Data (Target, 0, 0); Base.Copy ( Downcast (Target).Root, Downcast (Target).Length, Source => Downcast (Source).Root, Copy => Copy_Node'Access); end Copy_Data; procedure Free is new Unchecked_Deallocation (Data, Data_Access); procedure Free_Data (Data : in out Copy_On_Write.Data_Access); procedure Free_Data (Data : in out Copy_On_Write.Data_Access) is X : Data_Access := Downcast (Data); begin Binary_Trees.Free (X.Root, X.Length, Free => Free_Node'Access); Free (X); Data := null; end Free_Data; procedure Unique (Container : in out Map; To_Update : Boolean); procedure Unique (Container : in out Map; To_Update : Boolean) is begin if Copy_On_Write.Shared (Container.Super.Data) then Copy_On_Write.Unique ( Target => Container.Super'Access, To_Update => To_Update, Allocate => Allocate_Data'Access, Move => Copy_Data'Access, Copy => Copy_Data'Access, Free => Free_Data'Access); end if; end Unique; -- implementation function Equivalent_Keys (Left, Right : Key_Type) return Boolean is begin return Compare_Keys (Left, Right) = 0; end Equivalent_Keys; function Empty_Map return Map is begin return (Finalization.Controlled with Super => (null, null)); end Empty_Map; function Has_Element (Position : Cursor) return Boolean is begin return Position /= No_Element; end Has_Element; overriding function "=" (Left, Right : Map) return Boolean is function Equivalent (Left, Right : not null Binary_Trees.Node_Access) return Boolean; function Equivalent (Left, Right : not null Binary_Trees.Node_Access) return Boolean is begin return Equivalent_Keys ( Downcast (Left).Key, Downcast (Right).Key) and then Downcast (Left).Element = Downcast (Right).Element; end Equivalent; Left_Length : constant Count_Type := Length (Left); Right_Length : constant Count_Type := Length (Right); begin if Left_Length /= Right_Length then return False; elsif Left_Length = 0 or else Left.Super.Data = Right.Super.Data then return True; else Unique (Left'Unrestricted_Access.all, False); -- private Unique (Right'Unrestricted_Access.all, False); -- private return Binary_Trees.Equivalent ( Downcast (Left.Super.Data).Root, Downcast (Right.Super.Data).Root, Equivalent => Equivalent'Access); end if; end "="; function Length (Container : Map) return Count_Type is Data : constant Data_Access := Downcast (Container.Super.Data); begin if Data = null then return 0; else return Data.Length; end if; end Length; function Is_Empty (Container : Map) return Boolean is Data : constant Data_Access := Downcast (Container.Super.Data); begin return Data = null or else Data.Root = null; end Is_Empty; procedure Clear (Container : in out Map) is begin Copy_On_Write.Clear (Container.Super'Access, Free => Free_Data'Access); end Clear; function Key (Position : Cursor) return Key_Type is begin return Position.Key; end Key; function Element (Position : Cursor) return Element_Type is begin return Position.Element; end Element; procedure Replace_Element ( Container : in out Map; Position : Cursor; New_Item : Element_Type) is begin Unique (Container, True); -- diff Position.Element := New_Item; end Replace_Element; procedure Query_Element ( Position : Cursor; Process : not null access procedure ( Key : Key_Type; Element : Element_Type)) is begin Process (Position.Key, Position.Element); end Query_Element; procedure Update_Element ( Container : in out Map'Class; Position : Cursor; Process : not null access procedure ( Key : Key_Type; Element : in out Element_Type)) is begin Process ( Position.Key, Reference (Map (Container), Position).Element.all); end Update_Element; function Constant_Reference (Container : aliased Map; Position : Cursor) return Constant_Reference_Type is pragma Unreferenced (Container); begin return (Element => Position.all.Element'Access); -- [gcc-6] .all end Constant_Reference; function Reference (Container : aliased in out Map; Position : Cursor) return Reference_Type is begin Unique (Container, True); -- diff return (Element => Position.all.Element'Access); -- [gcc-6] .all end Reference; function Constant_Reference (Container : aliased Map; Key : Key_Type) return Constant_Reference_Type is begin return Constant_Reference (Container, Find (Container, Key)); end Constant_Reference; function Reference (Container : aliased in out Map; Key : Key_Type) return Reference_Type is begin return Reference (Container, Find (Container, Key)); end Reference; procedure Assign (Target : in out Map; Source : Map) is begin Copy_On_Write.Assign ( Target.Super'Access, Source.Super'Access, Free => Free_Data'Access); end Assign; function Copy (Source : Map) return Map is begin return Result : Map do Copy_On_Write.Copy ( Result.Super'Access, Source.Super'Access, Allocate => Allocate_Data'Access, Copy => Copy_Data'Access); end return; end Copy; procedure Move (Target : in out Map; Source : in out Map) is begin Copy_On_Write.Move ( Target.Super'Access, Source.Super'Access, Free => Free_Data'Access); -- diff -- diff -- diff end Move; procedure Insert ( Container : in out Map; Key : Key_Type; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean) is -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff -- diff Before : constant Cursor := Ceiling (Container, Key); begin -- diff Inserted := Before = null or else Key < Before.Key; if Inserted then Unique (Container, True); Allocate_Node (Position, Key, New_Item); declare Data : constant Data_Access := Downcast (Container.Super.Data); begin Base.Insert ( Data.Root, Data.Length, Upcast (Before), Upcast (Position)); end; else Position := Before; end if; end Insert; procedure Insert ( Container : in out Map; Key : Key_Type; Position : out Cursor; Inserted : out Boolean) is Before : constant Cursor := Ceiling (Container, Key); begin if Before = null or else Key < Before.Key then Unique (Container, True); Position := new Node'(Super => <>, Key => Key, Element => <>); declare Data : constant Data_Access := Downcast (Container.Super.Data); begin Base.Insert ( Data.Root, Data.Length, Upcast (Before), Upcast (Position)); end; Inserted := True; else Position := Before; Inserted := False; end if; end Insert; procedure Insert ( Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then raise Constraint_Error; end if; end Insert; procedure Include ( Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then Replace_Element (Container, Position, New_Item); end if; end Include; procedure Replace ( Container : in out Map; Key : Key_Type; New_Item : Element_Type) is begin Replace_Element (Container, Find (Container, Key), New_Item); end Replace; procedure Exclude (Container : in out Map; Key : Key_Type) is Position : Cursor := Find (Container, Key); begin if Position /= null then Delete (Container, Position); end if; end Exclude; procedure Delete (Container : in out Map; Key : Key_Type) is Position : Cursor := Find (Container, Key); begin Delete (Container, Position); end Delete; procedure Delete (Container : in out Map; Position : in out Cursor) is Position_2 : Binary_Trees.Node_Access := Upcast (Position); begin Unique (Container, True); declare Data : constant Data_Access := Downcast (Container.Super.Data); begin Base.Remove (Data.Root, Data.Length, Position_2); end; Free_Node (Position_2); Position := null; end Delete; procedure Delete_First (Container : in out Map'Class) is Position : Cursor := First (Map (Container)); begin Delete (Map (Container), Position); end Delete_First; procedure Delete_Last (Container : in out Map'Class) is Position : Cursor := Last (Map (Container)); begin Delete (Map (Container), Position); end Delete_Last; function First (Container : Map) return Cursor is begin if Is_Empty (Container) then return null; else Unique (Container'Unrestricted_Access.all, False); return Downcast (Binary_Trees.First ( Downcast (Container.Super.Data).Root)); end if; end First; function First_Element (Container : Map'Class) return Element_Type is begin return Element (First (Map (Container))); end First_Element; function First_Key (Container : Map'Class) return Key_Type is begin return Key (First (Map (Container))); end First_Key; function Last (Container : Map) return Cursor is begin if Is_Empty (Container) then return null; else Unique (Container'Unrestricted_Access.all, False); return Downcast (Binary_Trees.Last ( Downcast (Container.Super.Data).Root)); end if; end Last; function Last_Element (Container : Map'Class) return Element_Type is begin return Element (Last (Map (Container))); end Last_Element; function Last_Key (Container : Map'Class) return Key_Type is begin return Key (Last (Map (Container))); end Last_Key; function Next (Position : Cursor) return Cursor is begin return Downcast (Binary_Trees.Next (Upcast (Position))); end Next; procedure Next (Position : in out Cursor) is begin Position := Downcast (Binary_Trees.Next (Upcast (Position))); end Next; function Previous (Position : Cursor) return Cursor is begin return Downcast (Binary_Trees.Previous (Upcast (Position))); end Previous; procedure Previous (Position : in out Cursor) is begin Position := Downcast (Binary_Trees.Previous (Upcast (Position))); end Previous; function Find (Container : Map; Key : Key_Type) return Cursor is begin if Is_Empty (Container) then return null; else Unique (Container'Unrestricted_Access.all, False); declare Context : aliased Context_Type := (Left => Key'Unrestricted_Access); begin return Downcast (Binary_Trees.Find ( Downcast (Container.Super.Data).Root, Binary_Trees.Just, Context'Address, Compare => Compare_Key'Access)); end; end if; end Find; function Element ( Container : Map'Class; Key : Key_Type) return Element_Type is begin return Element (Find (Map (Container), Key)); end Element; function Floor (Container : Map; Key : Key_Type) return Cursor is begin if Is_Empty (Container) then return null; else Unique (Container'Unrestricted_Access.all, False); declare Context : aliased Context_Type := (Left => Key'Unrestricted_Access); begin return Downcast (Binary_Trees.Find ( Downcast (Container.Super.Data).Root, Binary_Trees.Floor, Context'Address, Compare => Compare_Key'Access)); end; end if; end Floor; function Ceiling (Container : Map; Key : Key_Type) return Cursor is begin if Is_Empty (Container) then return null; else Unique (Container'Unrestricted_Access.all, False); declare Context : aliased Context_Type := (Left => Key'Unrestricted_Access); begin return Downcast (Binary_Trees.Find ( Downcast (Container.Super.Data).Root, Binary_Trees.Ceiling, Context'Address, Compare => Compare_Key'Access)); end; end if; end Ceiling; function Contains (Container : Map; Key : Key_Type) return Boolean is begin return Find (Container, Key) /= null; end Contains; function "<" (Left, Right : Cursor) return Boolean is begin return Left /= Right and then Left.Key < Right.Key; end "<"; function ">" (Left, Right : Cursor) return Boolean is begin return Right < Left; end ">"; function "<" (Left : Cursor; Right : Key_Type) return Boolean is begin return Left.Key < Right; end "<"; function ">" (Left : Cursor; Right : Key_Type) return Boolean is begin return Right < Left; end ">"; function "<" (Left : Key_Type; Right : Cursor) return Boolean is begin return Left < Right.Key; end "<"; function ">" (Left : Key_Type; Right : Cursor) return Boolean is begin return Right < Left; end ">"; procedure Iterate ( Container : Map'Class; Process : not null access procedure (Position : Cursor)) is type P1 is access procedure (Position : Cursor); type P2 is access procedure (Position : Binary_Trees.Node_Access); function Cast is new Unchecked_Conversion (P1, P2); begin if not Is_Empty (Map (Container)) then Unique (Map (Container)'Unrestricted_Access.all, False); Binary_Trees.Iterate ( Downcast (Container.Super.Data).Root, Cast (Process)); end if; end Iterate; procedure Reverse_Iterate ( Container : Map'Class; Process : not null access procedure (Position : Cursor)) is type P1 is access procedure (Position : Cursor); type P2 is access procedure (Position : Binary_Trees.Node_Access); function Cast is new Unchecked_Conversion (P1, P2); begin if not Is_Empty (Map (Container)) then Unique (Map (Container)'Unrestricted_Access.all, False); Binary_Trees.Reverse_Iterate ( Downcast (Container.Super.Data).Root, Cast (Process)); end if; end Reverse_Iterate; function Iterate (Container : Map'Class) return Map_Iterator_Interfaces.Reversible_Iterator'Class is begin return Map_Iterator'( First => First (Map (Container)), Last => Last (Map (Container))); end Iterate; function Iterate (Container : Map'Class; First, Last : Cursor) return Map_Iterator_Interfaces.Reversible_Iterator'Class is pragma Unreferenced (Container); Actual_First : Cursor := First; Actual_Last : Cursor := Last; begin if Actual_First = No_Element or else Actual_Last = No_Element or else Actual_Last < Actual_First then Actual_First := No_Element; Actual_Last := No_Element; end if; return Map_Iterator'(First => Actual_First, Last => Actual_Last); end Iterate; overriding procedure Adjust (Object : in out Map) is begin Copy_On_Write.Adjust (Object.Super'Access); end Adjust; overriding function First (Object : Map_Iterator) return Cursor is begin return Object.First; end First; overriding function Next (Object : Map_Iterator; Position : Cursor) return Cursor is begin if Position = Object.Last then return No_Element; else return Next (Position); end if; end Next; overriding function Last (Object : Map_Iterator) return Cursor is begin return Object.Last; end Last; overriding function Previous (Object : Map_Iterator; Position : Cursor) return Cursor is begin if Position = Object.First then return No_Element; else return Previous (Position); end if; end Previous; package body Streaming is procedure Read ( Stream : not null access Streams.Root_Stream_Type'Class; Item : out Map) is Length : Count_Type'Base; begin Count_Type'Base'Read (Stream, Length); Clear (Item); for I in 1 .. Length loop declare New_Key : Key_Type; Position : Cursor; Inserted : Boolean; begin Key_Type'Read (Stream, New_Key); Insert (Item, New_Key, Position, Inserted); Element_Type'Read (Stream, Position.Element); end; end loop; end Read; procedure Write ( Stream : not null access Streams.Root_Stream_Type'Class; Item : Map) is Length : constant Count_Type := Ordered_Maps.Length (Item); begin Count_Type'Write (Stream, Length); if Length > 0 then declare Position : Cursor := First (Item); begin while Position /= null loop Key_Type'Write (Stream, Position.Key); Element_Type'Write (Stream, Position.Element); Next (Position); end loop; end; end if; end Write; end Streaming; end Ada.Containers.Ordered_Maps;
<?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>pooling2d_cl_1</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>data_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>data.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>2704</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>res_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>576</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>91</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>pool_V</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</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>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName>pool.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>124</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>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>4</id> <name>pool_V_addr</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>11</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>125</item> <item>127</item> <item>128</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>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>150</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>150</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>129</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>7</id> <name>ff</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ff</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>132</item> <item>133</item> <item>134</item> <item>135</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>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>8</id> <name>ff_cast2_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>150</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>150</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>136</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>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>9</id> <name>exitcond</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>150</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>150</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>137</item> <item>139</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.36</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>11</id> <name>ff_1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>150</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>150</second> </item> </second> </item> </inlineStackInfo> <originalName>ff</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>140</item> <item>142</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.78</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>150</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>150</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>143</item> <item>144</item> <item>145</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>14</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>152</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>146</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>16</id> <name>ii</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ii</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>147</item> <item>148</item> <item>150</item> <item>151</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>17</id> <name>tmp</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>152</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>152</item> <item>154</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.30</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>19</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>152</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>155</item> <item>156</item> <item>157</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>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>21</id> <name>p_shl</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>159</item> <item>160</item> <item>162</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>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_shl_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>163</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>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>23</id> <name>p_shl5</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>165</item> <item>166</item> <item>167</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>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>24</id> <name>p_shl5_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>168</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_s</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>169</item> <item>170</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>1.73</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>172</item> <item>173</item> <item>175</item> <item>177</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>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>27</id> <name>tmp_2</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>179</item> <item>180</item> <item>181</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>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>28</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>154</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>154</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>182</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>30</id> <name>jj</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>jj</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>183</item> <item>184</item> <item>185</item> <item>186</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>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>31</id> <name>tmp_3</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>154</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>154</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>187</item> <item>188</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>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>33</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>154</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>154</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>189</item> <item>190</item> <item>191</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>35</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>159</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>192</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>37</id> <name>kk</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>kk</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>194</item> <item>195</item> <item>197</item> <item>198</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>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>38</id> <name>kk_cast8</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>199</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>39</id> <name>tmp_4</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>159</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>200</item> <item>202</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.95</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>41</id> <name>kk_1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName>kk</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>203</item> <item>205</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.56</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>42</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>159</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>206</item> <item>207</item> <item>208</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>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>44</id> <name>tmp_8</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>209</item> <item>210</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.73</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_55_cast_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</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>211</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>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>46</id> <name>tmp_9</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>162</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>212</item> <item>214</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>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>47</id> <name>tmp_31</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>164</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>215</item> <item>216</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_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="_36"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_10</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</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>218</item> <item>219</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>4.35</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>49</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>220</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>51</id> <name>ll</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ll</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>221</item> <item>222</item> <item>223</item> <item>224</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>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>52</id> <name>ll_cast7</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>225</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>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>53</id> <name>tmp_11</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</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>226</item> <item>227</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.95</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>55</id> <name>ll_1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</second> </item> </second> </item> </inlineStackInfo> <originalName>ll</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>228</item> <item>229</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.56</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>56</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</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>230</item> <item>231</item> <item>232</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>58</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>162</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>233</item> <item>234</item> <item>235</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>60</id> <name>tmp_12</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>236</item> <item>237</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.73</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_13</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>162</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>238</item> <item>239</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>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>62</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>162</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>240</item> <item>241</item> <item>242</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>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>64</id> <name>tmp_16</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>253</item> <item>254</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.56</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>65</id> <name>tmp_17</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>255</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>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>66</id> <name>tmp_18</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>256</item> <item>257</item> <item>258</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>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>67</id> <name>tmp_66_cast_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>259</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>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>68</id> <name>tmp1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>260</item> <item>261</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.91</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp1_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>262</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>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>70</id> <name>tmp_19</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>263</item> <item>264</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.54</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>71</id> <name>tmp_20</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>265</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>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>72</id> <name>data_V_addr</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>266</item> <item>267</item> <item>268</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>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>73</id> <name>data_V_load</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>269</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>3.25</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>74</id> <name>extLd</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>270</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>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>75</id> <name>pool_V_addr_3</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>271</item> <item>272</item> <item>273</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>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>76</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>166</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>274</item> <item>275</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>77</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>276</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>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>79</id> <name>tmp_14</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>164</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>243</item> <item>244</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.56</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>80</id> <name>tmp_15</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>164</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>245</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>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>81</id> <name>pool_V_addr_2</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>164</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>246</item> <item>247</item> <item>248</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>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>82</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>164</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>250</item> <item>251</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>83</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>165</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>165</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>252</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>85</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>161</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>277</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>70</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>87</id> <name></name> <fileName></fileName> <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>193</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>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>89</id> <name>tmp_5</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>279</item> <item>280</item> <item>282</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>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>90</id> <name>tmp_51_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>283</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>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>91</id> <name>tmp_6</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>284</item> <item>285</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.63</m_delay> <m_topoIndex>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>92</id> <name>tmp_53_cast</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</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>286</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_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="_72"> <Value> <Obj> <type>0</type> <id>93</id> <name>tmp_7</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>174</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>287</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="_73"> <Value> <Obj> <type>0</type> <id>94</id> <name>y_V</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>12</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</second> </item> </second> </item> </inlineStackInfo> <originalName>y.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>288</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>95</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>13</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>289</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>97</id> <name>agg_result_V_i_i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>y.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>290</item> <item>291</item> <item>292</item> <item>293</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>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>98</id> <name>i_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>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>295</item> <item>296</item> <item>297</item> <item>298</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_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="_77"> <Value> <Obj> <type>0</type> <id>99</id> <name>exitcond_i_i</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>13</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>299</item> <item>301</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.13</m_delay> <m_topoIndex>79</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>101</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>13</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>302</item> <item>303</item> <item>304</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>80</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>103</id> <name>tmp_i_i</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>14</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>305</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="_80"> <Value> <Obj> <type>0</type> <id>104</id> <name>pool_V_addr_1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>14</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>306</item> <item>307</item> <item>308</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>82</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>105</id> <name>pool_V_load</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>14</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>309</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.32</m_delay> <m_topoIndex>83</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>106</id> <name>tmp_i_i_37</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>14</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>310</item> <item>311</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>2.20</m_delay> <m_topoIndex>89</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>107</id> <name>y_V_3</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>14</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</second> </item> </second> </item> </inlineStackInfo> <originalName>y.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>312</item> <item>313</item> <item>314</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.70</m_delay> <m_topoIndex>90</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>108</id> <name>i</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>13</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>315</item> <item>316</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.65</m_delay> <m_topoIndex>84</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>109</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>max&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4&amp;gt;</second> </first> <second>13</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pool_op&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, 4, 0&amp;gt;</second> </first> <second>61</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>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.00</m_delay> <m_topoIndex>91</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>111</id> <name>res_V_addr</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>175</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>318</item> <item>319</item> <item>320</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>85</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>112</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>175</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>175</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>321</item> <item>322</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>86</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>113</id> <name>jj_1</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>154</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>154</second> </item> </second> </item> </inlineStackInfo> <originalName>jj</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>323</item> <item>325</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.73</m_delay> <m_topoIndex>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>114</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>154</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>154</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>326</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>88</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>116</id> <name>ii_3</name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>152</second> </item> </second> </item> </inlineStackInfo> <originalName>ii</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>327</item> <item>328</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.73</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>117</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>152</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>329</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>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>119</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>130</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>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>121</id> <name></name> <fileName>firmware/nnet_utils/nnet_pooling.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>184</lineNumber> <contextFuncName>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_pooling.h</first> <second>pooling2d_cl&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config10&amp;gt;</second> </first> <second>184</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>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>20</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_94"> <Value> <Obj> <type>2</type> <id>123</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_95"> <Value> <Obj> <type>2</type> <id>126</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_96"> <Value> <Obj> <type>2</type> <id>131</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_97"> <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>5</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_98"> <Value> <Obj> <type>2</type> <id>141</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_99"> <Value> <Obj> <type>2</type> <id>149</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="_100"> <Value> <Obj> <type>2</type> <id>153</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>12</content> </item> <item class_id_reference="16" object_id="_101"> <Value> <Obj> <type>2</type> <id>161</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_102"> <Value> <Obj> <type>2</type> <id>174</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>5</content> </item> <item class_id_reference="16" object_id="_103"> <Value> <Obj> <type>2</type> <id>176</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>10</content> </item> <item class_id_reference="16" object_id="_104"> <Value> <Obj> <type>2</type> <id>196</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_105"> <Value> <Obj> <type>2</type> <id>201</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_106"> <Value> <Obj> <type>2</type> <id>204</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_107"> <Value> <Obj> <type>2</type> <id>213</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>11</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>217</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>208</content> </item> <item class_id_reference="16" object_id="_109"> <Value> <Obj> <type>2</type> <id>249</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>14</bitwidth> </Value> <const_type>0</const_type> <content>8192</content> </item> <item class_id_reference="16" object_id="_110"> <Value> <Obj> <type>2</type> <id>281</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="_111"> <Value> <Obj> <type>2</type> <id>294</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_112"> <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>3</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_113"> <Value> <Obj> <type>2</type> <id>324</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>2</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_114"> <Obj> <type>3</type> <id>6</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>3</count> <item_version>0</item_version> <item>3</item> <item>4</item> <item>5</item> </node_objs> </item> <item class_id_reference="18" object_id="_115"> <Obj> <type>3</type> <id>13</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>5</count> <item_version>0</item_version> <item>7</item> <item>8</item> <item>9</item> <item>11</item> <item>12</item> </node_objs> </item> <item class_id_reference="18" object_id="_116"> <Obj> <type>3</type> <id>15</id> <name>.preheader12.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>14</item> </node_objs> </item> <item class_id_reference="18" object_id="_117"> <Obj> <type>3</type> <id>20</id> <name>.preheader12</name> <fileName></fileName> <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>16</item> <item>17</item> <item>19</item> </node_objs> </item> <item class_id_reference="18" object_id="_118"> <Obj> <type>3</type> <id>29</id> <name>.preheader11.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>8</count> <item_version>0</item_version> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> </node_objs> </item> <item class_id_reference="18" object_id="_119"> <Obj> <type>3</type> <id>34</id> <name>.preheader11</name> <fileName></fileName> <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>30</item> <item>31</item> <item>33</item> </node_objs> </item> <item class_id_reference="18" object_id="_120"> <Obj> <type>3</type> <id>36</id> <name>.preheader10.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>35</item> </node_objs> </item> <item class_id_reference="18" object_id="_121"> <Obj> <type>3</type> <id>43</id> <name>.preheader10</name> <fileName></fileName> <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>37</item> <item>38</item> <item>39</item> <item>41</item> <item>42</item> </node_objs> </item> <item class_id_reference="18" object_id="_122"> <Obj> <type>3</type> <id>50</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>6</count> <item_version>0</item_version> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> </node_objs> </item> <item class_id_reference="18" object_id="_123"> <Obj> <type>3</type> <id>57</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>5</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>53</item> <item>55</item> <item>56</item> </node_objs> </item> <item class_id_reference="18" object_id="_124"> <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>1</count> <item_version>0</item_version> <item>58</item> </node_objs> </item> <item class_id_reference="18" object_id="_125"> <Obj> <type>3</type> <id>63</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>3</count> <item_version>0</item_version> <item>60</item> <item>61</item> <item>62</item> </node_objs> </item> <item class_id_reference="18" object_id="_126"> <Obj> <type>3</type> <id>78</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>14</count> <item_version>0</item_version> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> </node_objs> </item> <item class_id_reference="18" object_id="_127"> <Obj> <type>3</type> <id>84</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>5</count> <item_version>0</item_version> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> </node_objs> </item> <item class_id_reference="18" object_id="_128"> <Obj> <type>3</type> <id>86</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>85</item> </node_objs> </item> <item class_id_reference="18" object_id="_129"> <Obj> <type>3</type> <id>88</id> <name>.preheader10.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>87</item> </node_objs> </item> <item class_id_reference="18" object_id="_130"> <Obj> <type>3</type> <id>96</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>7</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> </node_objs> </item> <item class_id_reference="18" object_id="_131"> <Obj> <type>3</type> <id>102</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>97</item> <item>98</item> <item>99</item> <item>101</item> </node_objs> </item> <item class_id_reference="18" object_id="_132"> <Obj> <type>3</type> <id>110</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>7</count> <item_version>0</item_version> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> </node_objs> </item> <item class_id_reference="18" object_id="_133"> <Obj> <type>3</type> <id>115</id> <name>pool_op&lt;ap_fixed&lt;14, 2, 0, 0, 0&gt;, 4, 0&gt;.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>4</count> <item_version>0</item_version> <item>111</item> <item>112</item> <item>113</item> <item>114</item> </node_objs> </item> <item class_id_reference="18" object_id="_134"> <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>2</count> <item_version>0</item_version> <item>116</item> <item>117</item> </node_objs> </item> <item class_id_reference="18" object_id="_135"> <Obj> <type>3</type> <id>120</id> <name>.loopexit.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>119</item> </node_objs> </item> <item class_id_reference="18" object_id="_136"> <Obj> <type>3</type> <id>122</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>121</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>206</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_137"> <id>124</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>3</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>125</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>4</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>127</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>4</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>128</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>4</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>129</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>5</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>130</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>119</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>132</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>7</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>133</id> <edge_type>2</edge_type> <source_obj>6</source_obj> <sink_obj>7</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>134</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>7</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>135</id> <edge_type>2</edge_type> <source_obj>120</source_obj> <sink_obj>7</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>136</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>137</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>139</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>140</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>142</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>143</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>144</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>145</id> <edge_type>2</edge_type> <source_obj>122</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>146</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>147</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>16</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>148</id> <edge_type>2</edge_type> <source_obj>118</source_obj> <sink_obj>16</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>150</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>151</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>152</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>154</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>155</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>156</id> <edge_type>2</edge_type> <source_obj>120</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>157</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>160</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="_166"> <id>162</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>163</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>166</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="_169"> <id>167</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>168</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="_171"> <id>169</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="_172"> <id>170</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="_173"> <id>173</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>175</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>177</id> <edge_type>1</edge_type> <source_obj>176</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>180</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>181</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>182</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>183</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>30</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>184</id> <edge_type>2</edge_type> <source_obj>115</source_obj> <sink_obj>30</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>185</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>186</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>187</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>188</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>189</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>190</id> <edge_type>2</edge_type> <source_obj>118</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>191</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>192</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>193</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>194</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>37</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>195</id> <edge_type>2</edge_type> <source_obj>88</source_obj> <sink_obj>37</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>197</id> <edge_type>1</edge_type> <source_obj>196</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>198</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>199</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>200</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>202</id> <edge_type>1</edge_type> <source_obj>201</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>203</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>205</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>206</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>207</id> <edge_type>2</edge_type> <source_obj>50</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>208</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>209</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>210</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>211</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>212</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>214</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>215</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>216</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>218</id> <edge_type>1</edge_type> <source_obj>217</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>219</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>220</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>221</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>51</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>222</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>51</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>223</id> <edge_type>1</edge_type> <source_obj>196</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>224</id> <edge_type>2</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>225</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>226</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>227</id> <edge_type>1</edge_type> <source_obj>201</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>228</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>229</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>230</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>231</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>232</id> <edge_type>2</edge_type> <source_obj>88</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>233</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>234</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>235</id> <edge_type>2</edge_type> <source_obj>84</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>236</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>237</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>238</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>239</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>240</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>241</id> <edge_type>2</edge_type> <source_obj>78</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>242</id> <edge_type>2</edge_type> <source_obj>84</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>243</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>244</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>245</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>246</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>247</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>248</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>250</id> <edge_type>1</edge_type> <source_obj>249</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>251</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>252</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>253</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>254</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>255</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>257</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>258</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>259</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>260</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>261</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>262</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>263</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>264</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>265</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>266</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>267</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>268</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>269</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>270</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>271</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>272</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>273</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>274</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>275</id> <edge_type>1</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="_265"> <id>276</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>277</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>280</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>282</id> <edge_type>1</edge_type> <source_obj>281</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>283</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="_270"> <id>284</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="_271"> <id>285</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>286</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>287</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="_274"> <id>288</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>289</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>290</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>291</id> <edge_type>2</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="_278"> <id>292</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>97</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>293</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>97</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>295</id> <edge_type>1</edge_type> <source_obj>294</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>296</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>297</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>98</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>298</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>98</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>299</id> <edge_type>1</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="_285"> <id>301</id> <edge_type>1</edge_type> <source_obj>300</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>302</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>303</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>304</id> <edge_type>2</edge_type> <source_obj>115</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>305</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>306</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>307</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>308</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>309</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="_294"> <id>310</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>311</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>312</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="_297"> <id>313</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="_298"> <id>314</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>315</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>316</id> <edge_type>1</edge_type> <source_obj>294</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>317</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>318</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>319</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>320</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>321</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>322</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>323</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>325</id> <edge_type>1</edge_type> <source_obj>324</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>326</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>327</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>328</id> <edge_type>1</edge_type> <source_obj>324</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>329</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>359</id> <edge_type>2</edge_type> <source_obj>6</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>360</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>122</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>361</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>362</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>363</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>364</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>365</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>366</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>367</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>368</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>369</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>370</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>371</id> <edge_type>2</edge_type> <source_obj>50</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>372</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>373</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>374</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>375</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>376</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>377</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>378</id> <edge_type>2</edge_type> <source_obj>78</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>379</id> <edge_type>2</edge_type> <source_obj>84</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>380</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>57</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>381</id> <edge_type>2</edge_type> <source_obj>88</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>382</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>383</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>384</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>385</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>102</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>386</id> <edge_type>2</edge_type> <source_obj>115</source_obj> <sink_obj>34</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>387</id> <edge_type>2</edge_type> <source_obj>118</source_obj> <sink_obj>20</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>388</id> <edge_type>2</edge_type> <source_obj>120</source_obj> <sink_obj>13</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_343"> <mId>1</mId> <mTag>pooling2d_cl.1</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>18</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>15777</mMinLatency> <mMaxLatency>22689</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_344"> <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>6</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="_345"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>17</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>16</mMinTripCount> <mMaxTripCount>16</mMaxTripCount> <mMinLatency>15776</mMinLatency> <mMaxLatency>22688</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_346"> <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>13</item> <item>15</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="_347"> <mId>5</mId> <mTag>Loop 1.1</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>6</item> <item>7</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>6</mMinTripCount> <mMaxTripCount>6</mMaxTripCount> <mMinLatency>984</mMinLatency> <mMaxLatency>1416</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_348"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>20</item> <item>29</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="_349"> <mId>7</mId> <mTag>Loop 1.1.1</mTag> <mType>1</mType> <sub_regions> <count>5</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>13</item> <item>14</item> <item>15</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>6</mMinTripCount> <mMaxTripCount>6</mMaxTripCount> <mMinLatency>162</mMinLatency> <mMaxLatency>234</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_350"> <mId>8</mId> <mTag>Region 3</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>34</item> <item>36</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="_351"> <mId>9</mId> <mTag>Loop 1.1.1.1</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <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>2</mMinTripCount> <mMaxTripCount>2</mMaxTripCount> <mMinLatency>14</mMinLatency> <mMaxLatency>26</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_352"> <mId>10</mId> <mTag>Region 4</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>43</item> <item>50</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="_353"> <mId>11</mId> <mTag>Loop 1.1.1.1.1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>6</count> <item_version>0</item_version> <item>57</item> <item>59</item> <item>63</item> <item>78</item> <item>84</item> <item>86</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>2</mMinTripCount> <mMaxTripCount>2</mMaxTripCount> <mMinLatency>4</mMinLatency> <mMaxLatency>10</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_354"> <mId>12</mId> <mTag>Region 5</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>88</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="_355"> <mId>13</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>96</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_356"> <mId>14</mId> <mTag>Loop 1.1.1.2</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>102</item> <item>110</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>3</mMinTripCount> <mMaxTripCount>3</mMaxTripCount> <mMinLatency>9</mMinLatency> <mMaxLatency>9</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_357"> <mId>15</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>115</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="_358"> <mId>16</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>118</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="_359"> <mId>17</mId> <mTag>Region 9</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>120</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="_360"> <mId>18</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>122</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="24" tracking_level="1" version="0" object_id="_361"> <states class_id="25" tracking_level="0" version="0"> <count>15</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_362"> <id>1</id> <operations 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="_363"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_364"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_365"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_366"> <id>2</id> <operations> <count>8</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_367"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_368"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_369"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_370"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_371"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_372"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_373"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_374"> <id>121</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_375"> <id>3</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_376"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_377"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_378"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_379"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_380"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_381"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_382"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_383"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_384"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_385"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_386"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_387"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_388"> <id>119</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_389"> <id>4</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_390"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_391"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_392"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_393"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_394"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_395"> <id>116</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_396"> <id>117</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_397"> <id>5</id> <operations> <count>8</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_398"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_399"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_400"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_401"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_402"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_403"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_404"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_405"> <id>94</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_406"> <id>6</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_407"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_408"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_409"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_410"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_411"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_412"> <id>7</id> <operations> <count>20</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_413"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_414"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_415"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_416"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_417"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_418"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_419"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_420"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_421"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_422"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_423"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_424"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_425"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_426"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_427"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_428"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_429"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_430"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_431"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_432"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_433"> <id>8</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_434"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_435"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_436"> <id>9</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_437"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_438"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_439"> <id>73</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_440"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_441"> <id>73</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_442"> <id>11</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_443"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_444"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_445"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_446"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_447"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_448"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_449"> <id>12</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_450"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_451"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_452"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_453"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_454"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_455"> <id>94</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_456"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_457"> <id>13</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_458"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_459"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_460"> <id>99</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_461"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_462"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_463"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_464"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_465"> <id>105</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_466"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_467"> <id>111</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_468"> <id>112</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_469"> <id>113</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_470"> <id>114</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_471"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_472"> <id>105</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_473"> <id>15</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_474"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_475"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_476"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>21</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_477"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>-1</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_478"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>9</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_479"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>17</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_480"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>31</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_481"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>39</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_482"> <inState>5</inState> <outState>12</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>39</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_483"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_484"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>3</count> <item_version>0</item_version> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>46</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_485"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_486"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_487"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_488"> <inState>7</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>2</count> <item_version>0</item_version> <item> <count>2</count> <item_version>0</item_version> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>0</second> </item> </item> <item> <count>2</count> <item_version>0</item_version> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>46</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_489"> <inState>11</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_490"> <inState>7</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>53</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_491"> <inState>12</inState> <outState>13</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_492"> <inState>13</inState> <outState>14</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>99</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_493"> <inState>14</inState> <outState>15</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_494"> <inState>15</inState> <outState>13</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_495"> <inState>13</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>99</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_496"> <inState>4</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>31</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_497"> <inState>3</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>17</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>91</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>3</first> <second class_id="39" 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>5</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>7</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</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>16</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>2</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>23</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>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</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>3</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>8</first> <second>1</second> </second> </item> <item> <first>74</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>95</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>12</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>12</first> <second>0</second> </second> </item> <item> <first>99</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>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>1</second> </second> </item> <item> <first>106</first> <second> <first>14</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>14</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>14</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>116</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>117</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>119</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>121</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>6</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>15</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>34</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>36</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>43</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>50</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>57</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>59</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>63</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>78</first> <second> <first>6</first> <second>10</second> </second> </item> <item> <first>84</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>86</first> <second> <first>10</first> <second>10</second> </second> </item> <item> <first>88</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>96</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>102</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>110</first> <second> <first>6</first> <second>8</second> </second> </item> <item> <first>115</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>118</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>120</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>122</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>64</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>64</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>68</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>76</first> <second> <count>6</count> <item_version>0</item_version> <item>94</item> <item>94</item> <item>82</item> <item>76</item> <item>105</item> <item>105</item> </second> </item> <item> <first>81</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>89</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>96</first> <second> <count>2</count> <item_version>0</item_version> <item>73</item> <item>73</item> </second> </item> <item> <first>102</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>109</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>116</first> <second> <count>1</count> <item_version>0</item_version> <item>111</item> </second> </item> <item> <first>123</first> <second> <count>1</count> <item_version>0</item_version> <item>112</item> </second> </item> <item> <first>133</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>157</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>169</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>203</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>210</first> <second> <count>2</count> <item_version>0</item_version> <item>64</item> <item>79</item> </second> </item> <item> <first>215</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>219</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>225</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>237</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>245</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>249</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>257</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>261</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>267</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>277</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>285</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>291</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>297</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>301</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>307</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>313</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>319</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>322</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>327</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>333</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>339</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>343</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>349</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>355</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>361</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>367</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>375</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>379</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>384</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>389</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>392</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>397</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>401</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>405</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>409</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>417</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>421</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>426</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>430</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>434</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>440</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>445</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>451</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>457</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>462</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>61</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>agg_result_V_i_i_phi_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>data_V_addr_gep_fu_89</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>exitcond_fu_219</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>exitcond_i_i_fu_434</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>extLd_fu_405</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>ff_1_fu_225</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>ff_cast2_cast_fu_215</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>ff_phi_fu_133</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>grp_fu_210</first> <second> <count>2</count> <item_version>0</item_version> <item>64</item> <item>79</item> </second> </item> <item> <first>i_fu_445</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>i_i_i_phi_fu_203</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>ii_3_fu_291</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>ii_phi_fu_145</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>jj_1_fu_451</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>jj_phi_fu_157</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>kk_1_fu_307</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>kk_cast8_fu_297</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>kk_phi_fu_169</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>ll_1_fu_349</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>ll_cast7_fu_339</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>ll_phi_fu_181</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>p_shl5_cast_fu_257</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>p_shl5_fu_249</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>p_shl_cast_fu_245</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>p_shl_fu_237</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>pool_V_addr_1_gep_fu_109</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>pool_V_addr_2_gep_fu_81</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>pool_V_addr_3_gep_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>pool_V_addr_gep_fu_68</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>pool_V_alloca_fu_64</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>res_V_addr_gep_fu_116</first> <second> <count>1</count> <item_version>0</item_version> <item>111</item> </second> </item> <item> <first>tmp1_cast_fu_389</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>tmp1_fu_379</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_10_fu_333</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_11_fu_343</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>tmp_12_fu_355</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>tmp_13_fu_361</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_15_fu_384</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>tmp_17_fu_401</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>tmp_18_fu_367</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>tmp_19_fu_392</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>tmp_1_fu_267</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_20_fu_397</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>tmp_2_fu_277</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>tmp_31_fu_327</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_3_fu_285</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>tmp_4_fu_301</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>tmp_51_cast_fu_417</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>tmp_53_cast_fu_426</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>tmp_55_cast_cast_fu_319</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_5_fu_409</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>tmp_66_cast_cast_fu_375</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_6_fu_421</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>tmp_7_fu_430</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>tmp_8_fu_313</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>tmp_9_fu_322</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>tmp_fu_231</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>tmp_i_i_37_fu_457</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>tmp_i_i_fu_440</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>tmp_s_fu_261</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>y_V_3_fu_462</first> <second> <count>1</count> <item_version>0</item_version> <item>107</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>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="49" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first class_id="51" tracking_level="0" version="0"> <first>data_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>73</item> <item>73</item> </second> </item> <item> <first> <first>pool_V</first> <second>0</second> </first> <second> <count>6</count> <item_version>0</item_version> <item>94</item> <item>94</item> <item>82</item> <item>76</item> <item>105</item> <item>105</item> </second> </item> <item> <first> <first>res_V</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>112</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>31</count> <item_version>0</item_version> <item> <first>129</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>141</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>153</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>165</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>177</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>188</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>199</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>469</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>474</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>482</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>490</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>498</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>506</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>511</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>517</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>521</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>526</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>534</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>539</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>543</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>548</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>553</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>558</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>563</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>568</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>573</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>581</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>586</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>591</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>596</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>602</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>31</count> <item_version>0</item_version> <item> <first>agg_result_V_i_i_reg_188</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>data_V_addr_reg_558</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>data_V_load_reg_563</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>ff_1_reg_482</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>ff_cast2_cast_reg_474</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>ff_reg_129</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>i_i_i_reg_199</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>i_reg_586</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>ii_3_reg_498</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>ii_reg_141</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>jj_1_reg_591</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>jj_reg_153</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>kk_1_reg_506</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>kk_reg_165</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>ll_1_reg_534</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>ll_reg_177</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>pool_V_addr_1_reg_581</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>pool_V_addr_reg_469</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>pool_V_load_reg_596</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>tmp1_reg_548</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_10_reg_526</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_13_reg_539</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_16_reg_543</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp_19_reg_553</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>tmp_2_reg_490</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>tmp_31_reg_521</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_7_reg_568</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>tmp_8_reg_511</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>tmp_9_reg_517</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>y_V_3_reg_602</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>y_V_reg_573</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>7</count> <item_version>0</item_version> <item> <first>129</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>141</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>153</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>165</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>177</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>188</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>199</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>7</count> <item_version>0</item_version> <item> <first>agg_result_V_i_i_reg_188</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>ff_reg_129</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>i_i_i_reg_199</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>ii_reg_141</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>jj_reg_153</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>kk_reg_165</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>ll_reg_177</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>data_V(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>73</item> <item>73</item> </second> </item> </second> </item> <item> <first>res_V(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>1</count> <item_version>0</item_version> <item>112</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>1</first> <second>RAM</second> </item> <item> <first>2</first> <second>RAM</second> </item> </port2core> <node2core> <count>1</count> <item_version>0</item_version> <item> <first>3</first> <second>RAM</second> </item> </node2core> </syndb> </boost_serialization>
-- Copyright 2008, Google Inc. 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 Google Inc. nor the names of its contributors may -- be used to endorse or promote products derived from this software -- without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. package body Curve25519_Add with SPARK_Mode is function Add (X, Y : Integer_255) return Integer_255 is Sum : Integer_255 := (others => 0); procedure Prove_Add with Ghost, Pre => (for all J in Sum'Range => Sum (J) = X (J) + Y (J)), Post => To_Big_Integer (Sum) = To_Big_Integer (X) + To_Big_Integer (Y) is X_255, Y_255, Sum_255 : Big_Integer := Zero; begin for J in Sum'Range loop X_255 := X_255 + (+X (J)) * Conversion_Array (J); pragma Assert (X_255 = Partial_Conversion (X, J)); Y_255 := Y_255 + (+Y (J)) * Conversion_Array (J); pragma Assert (Y_255 = Partial_Conversion (Y, J)); Sum_255 := Sum_255 + (+Sum (J)) * Conversion_Array (J); pragma Assert (Sum_255 = Partial_Conversion (Sum, J)); pragma Loop_Invariant (X_255 = Partial_Conversion (X, J)); pragma Loop_Invariant (Y_255 = Partial_Conversion (Y, J)); pragma Loop_Invariant (Sum_255 = Partial_Conversion (Sum, J)); pragma Loop_Invariant (Partial_Conversion (Sum, J) = Partial_Conversion (X, J) + Partial_Conversion (Y, J)); end loop; end Prove_Add; begin for J in Sum'Range loop Sum (J) := X (J) + Y (J); pragma Loop_Invariant (for all K in 0 .. J => Sum (K) = X (K) + Y (K)); end loop; Prove_Add; return Sum; end Add; end Curve25519_Add;
package Asis.Extensions is function Is_Static_Expression (Element : Asis.Expression) return Boolean; -- Element - Specifies the expression to query -- -- Checks if Element is static expression as defined in RM 4.9 -- -- Returns False for any unexpected Element. -- -- Expected Element_Kinds: -- An_Expression function Unique_Name (Name : Asis.Defining_Name) return Asis.Program_Text; -- Name - Defining name to query -- -- Return name unique between all defining names. -- -- Expected Element_Kinds: -- A_Defining_Name end Asis.Extensions; ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * Neither the name of the Maxim Reznik, IE nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------
-- Error in samples has been corrcted with Kernel.Serial_Output; use Kernel.Serial_Output; with ada.strings.unbounded; use ada.strings.unbounded; with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io; with System; use System; with tools; use tools; package body devices is EYES_REACTION_WHEN_BEEP: constant integer := 0; -- 0 = no reaction -- 1 = short reaction -- 2 = large reaction -------------------------------------------------------------------------- -- Procedures to access electrode sensors -------------------------------------------------------------------------- protected Sensores_Electrodos is procedure Reading_Sensors (L: out EEG_Samples_Type); private i: Indice_Secuencia_Sensores := 1; Secuencia: tipo_Secuencia_Sensores := EEG_Simulation; end Sensores_Electrodos; --procedure Reading_Sensors (L: out Tipo_Registro) -- renames Sensores_Electrodos.Reading_Sensors; procedure Reading_Sensors (L: out EEG_Samples_Type) is begin Sensores_Electrodos.Reading_Sensors (L); end Reading_Sensors; protected body Sensores_Electrodos is procedure Reading_Sensors (L: out EEG_Samples_Type) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := indice_Secuencia_Sensores (integer(t * 10.0) mod 100); L := Secuencia(i); --i := i + 1; Execution_Time (WCET_EEG); end Reading_Sensors; end Sensores_Electrodos; --------------------------------------------------------------------- -- Procedures to get and analyze an eyes image --------------------------------------------------------------------- protected Lectura_EyesImage is procedure Reading_EyesImage (L: out Eyes_Samples_Type); procedure Reaction (Level: in integer); private i: Indice_Secuencia_EyesImage := 1; Secuencia: tipo_Secuencia_EyesImage := Eyes_Simulation; end Lectura_EyesImage; procedure Reading_EyesImage (L: out Eyes_Samples_Type) is begin Lectura_EyesImage.Reading_EyesImage (L); end Reading_EyesImage; protected body Lectura_EyesImage is procedure Reading_EyesImage (L: out Eyes_Samples_Type) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_eyesImage (integer(t * 10.0) mod 100); L := Secuencia(i); --i := i + 1; Execution_Time (WCET_Eyes_Image); end Reading_EyesImage; procedure Reaction (Level: in integer) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_eyesImage (t * 10.0); if (Level = 1) then for k in i..i+4 loop secuencia (k):= (Eyes_Samples_Values(80),Eyes_Samples_Values(80)); end loop; elsif (Level = 2) then for k in i..Indice_Secuencia_eyesImage'Last loop Secuencia (k):= (Eyes_Samples_Values(80),Eyes_Samples_Values(80)); end loop; end if; end Reaction; end Lectura_EyesImage; --------------------------------------------------------------------- -- Procedures to get front vehicle distance --------------------------------------------------------------------- protected Lectura_Distancia is procedure Reading_Distance (L: out Distance_Samples_Type); procedure Reaction (Level: in integer); private i: Indice_Secuencia_Distancia := 1; Secuencia: tipo_Secuencia_Distancia := Distance_Simulation; end Lectura_Distancia; procedure Reading_Distance (L: out Distance_Samples_Type) is begin Lectura_Distancia.Reading_distance (L); end Reading_Distance; protected body Lectura_distancia is procedure Reading_Distance (L: out Distance_Samples_Type) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_Distancia (integer(t * 10.0) mod 100); L := Secuencia(i); --i := i + 1; Execution_Time (WCET_Eyes_Image); end Reading_Distance; procedure Reaction (Level: in integer) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; j: Indice_Secuencia_Distancia := 1; begin t := Time_index(To_Duration(Clock - Big_Bang)); j := Indice_Secuencia_Distancia (t * 10.0); if (Level = 1) then for k in j..j+4 loop secuencia (k):= (Distance_Samples_Type(80)); end loop; elsif (Level = 2) then for k in i..Indice_Secuencia_Distancia'Last loop Secuencia (k):= (Distance_Samples_Type(80)); end loop; end if; end Reaction; end Lectura_Distancia; --------------------------------------------------------------------- -- Procedures to get current speed --------------------------------------------------------------------- protected Lectura_Velocidad is procedure Reading_Speed (V: out Speed_Samples_Type); procedure Reaction (Level: in integer); private i: Indice_Secuencia_Velocidad := 1; Secuencia: tipo_Secuencia_Velocidad := Speed_Simulation; end Lectura_Velocidad; procedure Reading_Speed (V: out Speed_Samples_Type) is begin Lectura_Velocidad.Reading_Speed (V); end Reading_Speed; protected body Lectura_Velocidad is procedure Reading_Speed (V: out Speed_Samples_Type) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_Velocidad (integer(t * 10.0) mod 100); V := Secuencia(i); --i := i + 1; Execution_Time (WCET_Speed); end Reading_Speed; procedure Reaction (Level: in integer) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; j: Indice_Secuencia_Velocidad := 1; begin t := Time_index(To_Duration(Clock - Big_Bang)); j := Indice_Secuencia_Velocidad (t * 10.0); if (Level = 1) then for k in j..j+4 loop secuencia (k):= (Speed_Samples_Type(70)); end loop; elsif (Level = 2) then for k in i..Indice_Secuencia_Velocidad'Last loop Secuencia (k):= (Speed_Samples_Type(70)); end loop; end if; end Reaction; end Lectura_Velocidad; --------------------------------------------------------------------- -- Procedures to get head position --------------------------------------------------------------------- protected Lectura_HeadPosition is procedure Reading_HeadPosition (H: out HeadPosition_Samples_Type); procedure Reaction (Level: in integer); private i: Indice_Secuencia_HeadPosition := 1; Secuencia: tipo_Secuencia_HeadPosition := HeadPosition_Simulation; end Lectura_HeadPosition; procedure Reading_HeadPosition (H: out HeadPosition_Samples_Type) is begin Lectura_HeadPosition.Reading_HeadPosition (H); end Reading_HeadPosition; protected body Lectura_HeadPosition is procedure Reading_HeadPosition (H: out HeadPosition_Samples_Type) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_HeadPosition (integer(t * 10.0) mod 100); H := Secuencia(i); --i := i + 1; Execution_Time (WCET_HeadPosition); end Reading_HeadPosition; procedure Reaction (Level: in integer) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_HeadPosition (t * 10.0); if (Level = 1) then for k in i..i+4 loop secuencia (k):= (HeadPosition_Samples_Values(0),HeadPosition_Samples_Values(0)); end loop; elsif (Level = 2) then for k in i..Indice_Secuencia_HeadPosition'Last loop Secuencia (k):= (HeadPosition_Samples_Values(0),HeadPosition_Samples_Values(0)); end loop; end if; end Reaction; end Lectura_HeadPosition; --------------------------------------------------------------------- -- Procedures to get current steering wheel position --------------------------------------------------------------------- protected Lectura_Volante is procedure Reading_Steering (S: out Steering_Samples_Type); procedure Reaction (Level: in integer); private i: Indice_Secuencia_Volante := 1; Secuencia: tipo_Secuencia_Volante := Steering_Simulation; end Lectura_Volante; procedure Reading_Steering (S: out Steering_Samples_Type) is begin Lectura_Volante.Reading_Steering (S); end Reading_Steering; protected body Lectura_Volante is procedure Reading_Steering (S: out Steering_Samples_Type) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; begin t := Time_index(To_Duration(Clock - Big_Bang)); i := Indice_Secuencia_Volante (integer(t * 10.0) mod 100); S := Secuencia(i); --i := i + 1; Execution_Time (WCET_Steering); end Reading_Steering; procedure Reaction (Level: in integer) is type Time_index is delta 0.1 range 0.0..100.0; t: Time_index; j: Indice_Secuencia_Volante := 1; begin t := Time_index(To_Duration(Clock - Big_Bang)); j := Indice_Secuencia_Volante (t * 10.0); if (Level = 1) then for k in j..j+4 loop secuencia (k):= (Steering_Samples_Type(70)); end loop; elsif (Level = 2) then for k in i..Indice_Secuencia_Volante'Last loop Secuencia (k):= (Steering_Samples_Type(70)); end loop; end if; end Reaction; end Lectura_Volante; --------------------------------------------------------------------- -- Cuerpo de los procedmientos y objetos para DISPOSITIVOS E/S --------------------------------------------------------------------- procedure Display_Pulse_Rate (P: Values_Pulse_Rate) is begin Current_Time (Big_Bang); Put ("............# "); Put ("Pulse Rate: "); Print_an_Integer (Integer(P)); Execution_Time (WCET_Display); end Display_Pulse_Rate; ----------------------------------------------------------------------------- procedure Display_Distance (D: Distance_Samples_Type) is begin Current_Time (Big_Bang); Put ("............# "); Put ("Distance: "); Print_an_Integer (Integer(D)); Execution_Time (WCET_Distance); end Display_Distance; ----------------------------------------------------------------------------- procedure Display_Speed (V: Speed_Samples_Type) is begin Current_Time (Big_Bang); Put ("............# "); Put ("Speed: "); Print_an_Integer (Integer(V)); Execution_Time (WCET_Speed); end Display_Speed; ----------------------------------------------------------------------------- procedure Display_Steering (S: Steering_Samples_Type) is begin Current_Time (Big_Bang); Put ("............# "); Put ("Steering: "); Print_an_Integer (Integer(S)); Execution_Time (WCET_Steering); end Display_Steering; --------------------------------------------------------------------- procedure Display_HeadPosition_Sample (H: HeadPosition_Samples_Type) is begin Current_Time (Big_Bang); Put ("............# "); Put ("HeadPosition: "); for i in HeadPosition_Samples_Index loop Print_an_Integer (Integer(H(i))); end loop; Execution_Time (WCET_Display); end Display_HeadPosition_Sample; ----------------------------------------------------------------------------- procedure Display_Electrodes_Sample (R: EEG_Samples_Type) is begin Current_Time (Big_Bang); Put ("............# "); Put ("Electrodes Values: "); for i in EEG_Samples_Index loop Print_an_Integer (Integer(R(i))); end loop; Execution_Time (WCET_Display); end Display_Electrodes_Sample; ----------------------------------------------------------------------------- procedure Display_Eyes_Sample (R: Eyes_Samples_Type) is Average: Eyes_Samples_Values; begin Current_Time (Big_Bang); Put ("............# "); Put ("Eyes Openness: "); for i in Eyes_Samples_Index loop Print_an_Integer (Integer(R(i))); end loop; Average := (R(Right) + R(Left))/2; if Average > 80 then Put (" (O,O)"); elsif Average > 60 then Put (" (o,o)"); elsif Average > 30 then Put (" (*,*)"); else Put (" (-,-)"); end if; Execution_Time (WCET_Display); end Display_Eyes_Sample; ----------------------------------------------------------------------------- procedure Display_Cronometro (Origen : Ada.Real_Time.Time; Hora: Ada.Real_Time.Time ) is type Crono is delta 0.1 range 0.0..100.0; begin Current_Time (Big_Bang); Put ("............%Crono:"); --Put (Duration'Image(To_Duration(Clock - Origen))); Put (Crono'Image(Crono(To_Duration(Hora - Origen)))); end Display_Cronometro; ----------------------------------------------------------------------------- procedure Light (E: Light_States) is begin Current_Time (Big_Bang); case E is when On => Put ("............Light: ^ON^"); when Off => Put ("............Light: _off_"); end case; Execution_Time (WCET_Light); end Light; ----------------------------------------------------------------------------- procedure Beep (v: Volume) is -- emite un sonido durante 0.3 segundos con volumne "v" begin Current_Time (Big_Bang); Put ("............%B"); for i in 1..v loop Put ("EE"); end loop ; Put ("P"); Put (Volume'Image(v)); Execution_Time (WCET_Alarm); --Lectura_EyesImage.Reaction (EYES_REACTION_WHEN_BEEP); end Beep; ----------------------------------------------------------------------------- procedure Activate_Automatic_Driving is begin Current_Time (Big_Bang); Put ("!!!! Automatic driving system activated !!!!"); Execution_Time (WCET_Automatic_Driving); end Activate_Automatic_Driving; ----------------------------------------------------------------------------- procedure Activate_Brake is begin Current_Time (Big_Bang); Put ("!!!! Brake activated !!!!"); Execution_Time (WCET_Brake); end Activate_Brake; --------------------------------------------------------------------------------------- begin null; end devices;
with Ada.Directories; use Ada.Directories; with Ada.Strings.Unbounded; with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO ; with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; with Ada.Containers.Vectors; use Ada.Containers; procedure Main is nameOk : boolean := false; fileExists : boolean; fileName : string := "input.txt"; File : File_Type; type AgeIndex is range 0 .. 8; type PopulationByAge is array (AgeIndex) of Long_Long_Integer; Population : PopulationByAge := (0, 0, 0, 0, 0, 0, 0, 0, 0); procedure Render is begin for Indx in AgeIndex'Range loop Ada.Text_IO.Put (AgeIndex'Image(Indx) & ": " & Long_Long_Integer'Image(Population(Indx)) & "x | "); end loop; Ada.Text_IO.Put_Line(""); end Render; procedure SimulateDay is nextPopulation: PopulationByAge := (0, 0, 0, 0, 0, 0, Population(AgeIndex(0)), 0, Population(AgeIndex(0))); begin -- iterate over "age" for Indx in AgeIndex'First..AgeIndex'Last-1 loop -- Ada.Text_IO.Put (AgeIndex'Image(Indx)); nextPopulation(Indx) := nextPopulation(Indx) + Population(Indx + 1); end loop; Population := nextPopulation; end SimulateDay; function OverallSum return Long_Long_Integer is sum: Long_Long_Integer := 0; begin for Indx in AgeIndex'Range loop sum := sum + Long_Long_Integer(Population(Indx)); end loop; return sum; end OverallSum; begin fileExists := Exists(fileName); if fileExists then Open (File => File, Mode => In_File, Name => fileName); declare line : string := Get_Line (File); IntegerVariable: Integer; IntLast : Natural := 1; begin Ada.Text_IO.Put_Line (line); while IntLast <= Line'Last loop Ada.Integer_Text_IO.Get (From => line(IntLast..line'Last), Item => IntegerVariable, Last => IntLast); Ada.Text_IO.Put_Line (Integer'Image(IntegerVariable)); IntLast := IntLast + 2; Population(AgeIndex(IntegerVariable)) := Population(AgeIndex(IntegerVariable)) + 1; end loop; end; else Ada.Text_IO.Put_Line("input.txt file not found"); end if; for i in 1..256 loop SimulateDay; end loop; Render; Ada.Text_IO.Put_Line("Overall sum is " & Long_Long_Integer'Image(OverallSum)); end Main;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Nodes.Generic_Vectors; with Program.Elements.Enumeration_Literal_Specifications; package Program.Nodes.Enumeration_Literal_Specification_Vectors is new Program.Nodes.Generic_Vectors (Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Vector); pragma Preelaborate (Program.Nodes.Enumeration_Literal_Specification_Vectors);
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- T E X T _ I O -- -- -- -- S p e c -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ pragma Ada_2005; -- Explicit setting of Ada 2005 mode is required here, since we want to with a -- child unit (not possible in Ada 83 mode), and Text_IO is not considered to -- be an internal unit that is automatically compiled in Ada 2005 mode (since -- a user is allowed to redeclare Text_IO). with Ada.Text_IO; package Text_IO renames Ada.Text_IO;
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . C O M P I L E R _ O P T I O N S -- -- -- -- S p e c -- -- -- -- $Revision: 2 $ -- -- -- -- Copyright (c) 1991,1992,1993,1994, FSU, All Rights Reserved -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU Library General Public License as published by the -- -- Free Software Foundation; either version 2, or (at your option) any -- -- later version. GNARL is distributed in the hope that it will be use- -- -- ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Gen- -- -- eral Library Public License for more details. You should have received -- -- a copy of the GNU Library General Public License along with GNARL; see -- -- file COPYING.LIB. If not, write to the Free Software Foundation, 675 -- -- Mass Ave, Cambridge, MA 02139, USA. -- -- -- ------------------------------------------------------------------------------ package System.Compiler_Options is function Main_Priority return Priority; pragma Import (C, Main_Priority, "__main_priority"); end System.Compiler_Options;
-- Copyright 2013-2014 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with IO; use IO; with Callee; use Callee; package body Caller is procedure Verbose_Increment (Val : in out Float; Msg : String) is begin Put_Line ("DEBUG: " & Msg); Increment (Val, "Verbose_Increment"); end Verbose_Increment; end Caller;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Requeue_Statements is function Create (Requeue_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Entry_Name : not null Program.Elements.Expressions.Expression_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Abort_Token : Program.Lexical_Elements.Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Requeue_Statement is begin return Result : Requeue_Statement := (Requeue_Token => Requeue_Token, Entry_Name => Entry_Name, With_Token => With_Token, Abort_Token => Abort_Token, Semicolon_Token => Semicolon_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Entry_Name : not null Program.Elements.Expressions .Expression_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False; Has_With_Abort : Boolean := False) return Implicit_Requeue_Statement is begin return Result : Implicit_Requeue_Statement := (Entry_Name => Entry_Name, Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Has_With_Abort => Has_With_Abort, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Entry_Name (Self : Base_Requeue_Statement) return not null Program.Elements.Expressions.Expression_Access is begin return Self.Entry_Name; end Entry_Name; overriding function Requeue_Token (Self : Requeue_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Requeue_Token; end Requeue_Token; overriding function With_Token (Self : Requeue_Statement) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.With_Token; end With_Token; overriding function Abort_Token (Self : Requeue_Statement) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Abort_Token; end Abort_Token; overriding function Semicolon_Token (Self : Requeue_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Semicolon_Token; end Semicolon_Token; overriding function Has_With_Abort (Self : Requeue_Statement) return Boolean is begin return Self.With_Token.Assigned; end Has_With_Abort; overriding function Is_Part_Of_Implicit (Self : Implicit_Requeue_Statement) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Requeue_Statement) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Requeue_Statement) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; overriding function Has_With_Abort (Self : Implicit_Requeue_Statement) return Boolean is begin return Self.Has_With_Abort; end Has_With_Abort; procedure Initialize (Self : aliased in out Base_Requeue_Statement'Class) is begin Set_Enclosing_Element (Self.Entry_Name, Self'Unchecked_Access); null; end Initialize; overriding function Is_Requeue_Statement_Element (Self : Base_Requeue_Statement) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Requeue_Statement_Element; overriding function Is_Statement_Element (Self : Base_Requeue_Statement) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Statement_Element; overriding procedure Visit (Self : not null access Base_Requeue_Statement; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Requeue_Statement (Self); end Visit; overriding function To_Requeue_Statement_Text (Self : aliased in out Requeue_Statement) return Program.Elements.Requeue_Statements .Requeue_Statement_Text_Access is begin return Self'Unchecked_Access; end To_Requeue_Statement_Text; overriding function To_Requeue_Statement_Text (Self : aliased in out Implicit_Requeue_Statement) return Program.Elements.Requeue_Statements .Requeue_Statement_Text_Access is pragma Unreferenced (Self); begin return null; end To_Requeue_Statement_Text; end Program.Nodes.Requeue_Statements;
-- Score PIXAL le 07/10/2020 à 15:08 : 100% with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Fréquence d'un élément dans un tableau procedure Freq_Element is Capacite: constant Integer := 10; -- Cette taille est arbitraire type T_TableauBrut is array (1..Capacite) of Integer; type T_Tableau is record Elements: T_TableauBrut; Taille: Integer; -- Invariant: 0 <= Taille and Taille <= Capacite; end record; -- Initialiser un tableau Tab à partir d'éléments lus au clavier. -- La nombre d'éléments est d'abord demandée, suivi des éléments. -- Les éléments en surnombre par rapport à la capacité du tableau -- sont ignorés et le message "Données tronquées" est affiché. procedure Lire (Tab: out T_Tableau) is Taille_Souhaitee: Integer; Nb_Elements: Integer; -- Nombre d'éléments à lire begin -- Demander la taille Put ("Nombre d'éléments ? "); Get (Taille_Souhaitee); if Taille_Souhaitee > Capacite then Nb_Elements := Capacite; elsif Taille_Souhaitee < 0 then Nb_Elements := 0; else Nb_Elements := Taille_Souhaitee; end if; -- Demander les éléments du tableau for N in 1..Nb_Elements loop Put ("Element "); Put (N, 1); Put (" ? "); Get (Tab.Elements (N)); end loop; Tab.Taille := Nb_Elements; if Nb_Elements < Taille_Souhaitee then Put_Line ("Données tronquées"); else null; end if; end Lire; -- Afficher le tableau. Les éléments sont affichés entre crochets, séparés -- par des virgules. procedure Ecrire(Tab: in T_Tableau) is begin Put ('['); if Tab.Taille > 0 then -- Écrire le premier élément Put (Tab.Elements (1), 1); -- Écrire les autres éléments précédés d'une virgule for I in 2..Tab.Taille loop Put (", "); Put (Tab.Elements (I), 1); end loop; else null; end if; Put (']'); end Ecrire; --------------------[ Ne pas changer le code qui précède ]--------------------- function Frequence (Tableau: in T_Tableau; Element: in Integer) return Integer is Count: Integer; begin Count := 0; for J in 1..Tableau.Taille loop if Tableau.Elements(J) = Element then Count := Count + 1; end if; end loop; return Count; end Frequence; ----[ Ne pas changer le code qui suit, sauf pour la question optionnelle ]---- Tab1: T_Tableau; -- Un tableau Cherche: Integer; -- l'élément cherché Nb: Integer; -- Fréquence de Chercher dans Tab begin -- Saisir le tableau Lire (Tab1); -- Afficher le tableau lu Put ("Tableau lu : "); Ecrire (Tab1); New_Line; -- Demander l'élément cherché Put ("Cherché ? "); Get (Cherche); -- Déterminer la fréquence de Cherche dans Tab1 Nb := Frequence(Tab1, Cherche); -- Afficher la fréquence Put ("Fréquence : "); Put (Nb, 1); New_Line; end Freq_Element;
-- This spec has been automatically generated from STM32F429x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with HAL; with System; package STM32_SVD.EXTI is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------ -- IMR_Register -- ------------------ ------------ -- IMR.MR -- ------------ -- IMR_MR array type IMR_MR_Field_Array is array (0 .. 22) of Boolean with Component_Size => 1, Size => 23; -- Type definition for IMR_MR type IMR_MR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MR as a value Val : HAL.UInt23; when True => -- MR as an array Arr : IMR_MR_Field_Array; end case; end record with Unchecked_Union, Size => 23; for IMR_MR_Field use record Val at 0 range 0 .. 22; Arr at 0 range 0 .. 22; end record; -- Interrupt mask register (EXTI_IMR) type IMR_Register is record -- Interrupt Mask on line 0 MR : IMR_MR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for IMR_Register use record MR at 0 range 0 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; ------------------ -- EMR_Register -- ------------------ ------------ -- EMR.MR -- ------------ -- EMR_MR array type EMR_MR_Field_Array is array (0 .. 22) of Boolean with Component_Size => 1, Size => 23; -- Type definition for EMR_MR type EMR_MR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MR as a value Val : HAL.UInt23; when True => -- MR as an array Arr : EMR_MR_Field_Array; end case; end record with Unchecked_Union, Size => 23; for EMR_MR_Field use record Val at 0 range 0 .. 22; Arr at 0 range 0 .. 22; end record; -- Event mask register (EXTI_EMR) type EMR_Register is record -- Event Mask on line 0 MR : EMR_MR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for EMR_Register use record MR at 0 range 0 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; ------------------- -- RTSR_Register -- ------------------- ------------- -- RTSR.TR -- ------------- -- RTSR_TR array type RTSR_TR_Field_Array is array (0 .. 22) of Boolean with Component_Size => 1, Size => 23; -- Type definition for RTSR_TR type RTSR_TR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TR as a value Val : HAL.UInt23; when True => -- TR as an array Arr : RTSR_TR_Field_Array; end case; end record with Unchecked_Union, Size => 23; for RTSR_TR_Field use record Val at 0 range 0 .. 22; Arr at 0 range 0 .. 22; end record; -- Rising Trigger selection register (EXTI_RTSR) type RTSR_Register is record -- Rising trigger event configuration of line 0 TR : RTSR_TR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTSR_Register use record TR at 0 range 0 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; ------------------- -- FTSR_Register -- ------------------- ------------- -- FTSR.TR -- ------------- -- FTSR_TR array type FTSR_TR_Field_Array is array (0 .. 22) of Boolean with Component_Size => 1, Size => 23; -- Type definition for FTSR_TR type FTSR_TR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TR as a value Val : HAL.UInt23; when True => -- TR as an array Arr : FTSR_TR_Field_Array; end case; end record with Unchecked_Union, Size => 23; for FTSR_TR_Field use record Val at 0 range 0 .. 22; Arr at 0 range 0 .. 22; end record; -- Falling Trigger selection register (EXTI_FTSR) type FTSR_Register is record -- Falling trigger event configuration of line 0 TR : FTSR_TR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for FTSR_Register use record TR at 0 range 0 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; -------------------- -- SWIER_Register -- -------------------- ----------------- -- SWIER.SWIER -- ----------------- -- SWIER array type SWIER_Field_Array is array (0 .. 22) of Boolean with Component_Size => 1, Size => 23; -- Type definition for SWIER type SWIER_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SWIER as a value Val : HAL.UInt23; when True => -- SWIER as an array Arr : SWIER_Field_Array; end case; end record with Unchecked_Union, Size => 23; for SWIER_Field use record Val at 0 range 0 .. 22; Arr at 0 range 0 .. 22; end record; -- Software interrupt event register (EXTI_SWIER) type SWIER_Register is record -- Software Interrupt on line 0 SWIER : SWIER_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SWIER_Register use record SWIER at 0 range 0 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; ----------------- -- PR_Register -- ----------------- ----------- -- PR.PR -- ----------- -- PR array type PR_Field_Array is array (0 .. 22) of Boolean with Component_Size => 1, Size => 23; -- Type definition for PR type PR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- PR as a value Val : HAL.UInt23; when True => -- PR as an array Arr : PR_Field_Array; end case; end record with Unchecked_Union, Size => 23; for PR_Field use record Val at 0 range 0 .. 22; Arr at 0 range 0 .. 22; end record; -- Pending register (EXTI_PR) type PR_Register is record -- Pending bit 0 PR : PR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for PR_Register use record PR at 0 range 0 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- External interrupt/event controller type EXTI_Peripheral is record -- Interrupt mask register (EXTI_IMR) IMR : IMR_Register; -- Event mask register (EXTI_EMR) EMR : EMR_Register; -- Rising Trigger selection register (EXTI_RTSR) RTSR : RTSR_Register; -- Falling Trigger selection register (EXTI_FTSR) FTSR : FTSR_Register; -- Software interrupt event register (EXTI_SWIER) SWIER : SWIER_Register; -- Pending register (EXTI_PR) PR : PR_Register; end record with Volatile; for EXTI_Peripheral use record IMR at 0 range 0 .. 31; EMR at 4 range 0 .. 31; RTSR at 8 range 0 .. 31; FTSR at 12 range 0 .. 31; SWIER at 16 range 0 .. 31; PR at 20 range 0 .. 31; end record; -- External interrupt/event controller EXTI_Periph : aliased EXTI_Peripheral with Import, Address => EXTI_Base; end STM32_SVD.EXTI;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- I N T E R F A C E S . C O B O L -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- The body of Interfaces.COBOL is implementation independent (i.e. the same -- version is used with all versions of GNAT). The specialization to a -- particular COBOL format is completely contained in the private part of -- the spec. with Interfaces; use Interfaces; with System; use System; with Ada.Unchecked_Conversion; package body Interfaces.COBOL is ----------------------------------------------- -- Declarations for External Binary Handling -- ----------------------------------------------- subtype B1 is Byte_Array (1 .. 1); subtype B2 is Byte_Array (1 .. 2); subtype B4 is Byte_Array (1 .. 4); subtype B8 is Byte_Array (1 .. 8); -- Representations for 1,2,4,8 byte binary values function To_B1 is new Ada.Unchecked_Conversion (Integer_8, B1); function To_B2 is new Ada.Unchecked_Conversion (Integer_16, B2); function To_B4 is new Ada.Unchecked_Conversion (Integer_32, B4); function To_B8 is new Ada.Unchecked_Conversion (Integer_64, B8); -- Conversions from native binary to external binary function From_B1 is new Ada.Unchecked_Conversion (B1, Integer_8); function From_B2 is new Ada.Unchecked_Conversion (B2, Integer_16); function From_B4 is new Ada.Unchecked_Conversion (B4, Integer_32); function From_B8 is new Ada.Unchecked_Conversion (B8, Integer_64); -- Conversions from external binary to signed native binary function From_B1U is new Ada.Unchecked_Conversion (B1, Unsigned_8); function From_B2U is new Ada.Unchecked_Conversion (B2, Unsigned_16); function From_B4U is new Ada.Unchecked_Conversion (B4, Unsigned_32); function From_B8U is new Ada.Unchecked_Conversion (B8, Unsigned_64); -- Conversions from external binary to unsigned native binary ----------------------- -- Local Subprograms -- ----------------------- function Binary_To_Decimal (Item : Byte_Array; Format : Binary_Format) return Integer_64; -- This function converts a numeric value in the given format to its -- corresponding integer value. This is the non-generic implementation -- of Decimal_Conversions.To_Decimal. The generic routine does the -- final conversion to the fixed-point format. function Numeric_To_Decimal (Item : Numeric; Format : Display_Format) return Integer_64; -- This function converts a numeric value in the given format to its -- corresponding integer value. This is the non-generic implementation -- of Decimal_Conversions.To_Decimal. The generic routine does the -- final conversion to the fixed-point format. function Packed_To_Decimal (Item : Packed_Decimal; Format : Packed_Format) return Integer_64; -- This function converts a packed value in the given format to its -- corresponding integer value. This is the non-generic implementation -- of Decimal_Conversions.To_Decimal. The generic routine does the -- final conversion to the fixed-point format. procedure Swap (B : in out Byte_Array; F : Binary_Format); -- Swaps the bytes if required by the binary format F function To_Display (Item : Integer_64; Format : Display_Format; Length : Natural) return Numeric; -- This function converts the given integer value into display format, -- using the given format, with the length in bytes of the result given -- by the last parameter. This is the non-generic implementation of -- Decimal_Conversions.To_Display. The conversion of the item from its -- original decimal format to Integer_64 is done by the generic routine. function To_Packed (Item : Integer_64; Format : Packed_Format; Length : Natural) return Packed_Decimal; -- This function converts the given integer value into packed format, -- using the given format, with the length in digits of the result given -- by the last parameter. This is the non-generic implementation of -- Decimal_Conversions.To_Display. The conversion of the item from its -- original decimal format to Integer_64 is done by the generic routine. function Valid_Numeric (Item : Numeric; Format : Display_Format) return Boolean; -- This is the non-generic implementation of Decimal_Conversions.Valid -- for the display case. function Valid_Packed (Item : Packed_Decimal; Format : Packed_Format) return Boolean; -- This is the non-generic implementation of Decimal_Conversions.Valid -- for the packed case. ----------------------- -- Binary_To_Decimal -- ----------------------- function Binary_To_Decimal (Item : Byte_Array; Format : Binary_Format) return Integer_64 is Len : constant Natural := Item'Length; begin if Len = 1 then if Format in Binary_Unsigned_Format then return Integer_64 (From_B1U (Item)); else return Integer_64 (From_B1 (Item)); end if; elsif Len = 2 then declare R : B2 := Item; begin Swap (R, Format); if Format in Binary_Unsigned_Format then return Integer_64 (From_B2U (R)); else return Integer_64 (From_B2 (R)); end if; end; elsif Len = 4 then declare R : B4 := Item; begin Swap (R, Format); if Format in Binary_Unsigned_Format then return Integer_64 (From_B4U (R)); else return Integer_64 (From_B4 (R)); end if; end; elsif Len = 8 then declare R : B8 := Item; begin Swap (R, Format); if Format in Binary_Unsigned_Format then return Integer_64 (From_B8U (R)); else return Integer_64 (From_B8 (R)); end if; end; -- Length is not 1, 2, 4 or 8 else raise Conversion_Error; end if; end Binary_To_Decimal; ------------------------ -- Numeric_To_Decimal -- ------------------------ -- The following assumptions are made in the coding of this routine: -- The range of COBOL_Digits is compact and the ten values -- represent the digits 0-9 in sequence -- The range of COBOL_Plus_Digits is compact and the ten values -- represent the digits 0-9 in sequence with a plus sign. -- The range of COBOL_Minus_Digits is compact and the ten values -- represent the digits 0-9 in sequence with a minus sign. -- The COBOL_Minus_Digits set is disjoint from COBOL_Digits -- These assumptions are true for all COBOL representations we know of function Numeric_To_Decimal (Item : Numeric; Format : Display_Format) return Integer_64 is pragma Unsuppress (Range_Check); Sign : COBOL_Character := COBOL_Plus; Result : Integer_64 := 0; begin if not Valid_Numeric (Item, Format) then raise Conversion_Error; end if; for J in Item'Range loop declare K : constant COBOL_Character := Item (J); begin if K in COBOL_Digits then Result := Result * 10 + (COBOL_Character'Pos (K) - COBOL_Character'Pos (COBOL_Digits'First)); elsif K in COBOL_Minus_Digits then Result := Result * 10 + (COBOL_Character'Pos (K) - COBOL_Character'Pos (COBOL_Minus_Digits'First)); Sign := COBOL_Minus; -- Only remaining possibility is COBOL_Plus or COBOL_Minus else Sign := K; end if; end; end loop; if Sign = COBOL_Plus then return Result; else return -Result; end if; exception when Constraint_Error => raise Conversion_Error; end Numeric_To_Decimal; ----------------------- -- Packed_To_Decimal -- ----------------------- function Packed_To_Decimal (Item : Packed_Decimal; Format : Packed_Format) return Integer_64 is pragma Unsuppress (Range_Check); Result : Integer_64 := 0; Sign : constant Decimal_Element := Item (Item'Last); begin if not Valid_Packed (Item, Format) then raise Conversion_Error; end if; case Packed_Representation is when IBM => for J in Item'First .. Item'Last - 1 loop Result := Result * 10 + Integer_64 (Item (J)); end loop; if Sign = 16#0B# or else Sign = 16#0D# then return -Result; else return +Result; end if; end case; exception when Constraint_Error => raise Conversion_Error; end Packed_To_Decimal; ---------- -- Swap -- ---------- procedure Swap (B : in out Byte_Array; F : Binary_Format) is Little_Endian : constant Boolean := System.Default_Bit_Order = System.Low_Order_First; begin -- Return if no swap needed case F is when H | HU => if not Little_Endian then return; end if; when L | LU => if Little_Endian then return; end if; when N | NU => return; end case; -- Here a swap is needed declare Len : constant Natural := B'Length; begin for J in 1 .. Len / 2 loop declare Temp : constant Byte := B (J); begin B (J) := B (Len + 1 - J); B (Len + 1 - J) := Temp; end; end loop; end; end Swap; ----------------------- -- To_Ada (function) -- ----------------------- function To_Ada (Item : Alphanumeric) return String is Result : String (Item'Range); begin for J in Item'Range loop Result (J) := COBOL_To_Ada (Item (J)); end loop; return Result; end To_Ada; ------------------------ -- To_Ada (procedure) -- ------------------------ procedure To_Ada (Item : Alphanumeric; Target : out String; Last : out Natural) is Last_Val : Integer; begin if Item'Length > Target'Length then raise Constraint_Error; end if; Last_Val := Target'First - 1; for J in Item'Range loop Last_Val := Last_Val + 1; Target (Last_Val) := COBOL_To_Ada (Item (J)); end loop; Last := Last_Val; end To_Ada; ------------------------- -- To_COBOL (function) -- ------------------------- function To_COBOL (Item : String) return Alphanumeric is Result : Alphanumeric (Item'Range); begin for J in Item'Range loop Result (J) := Ada_To_COBOL (Item (J)); end loop; return Result; end To_COBOL; -------------------------- -- To_COBOL (procedure) -- -------------------------- procedure To_COBOL (Item : String; Target : out Alphanumeric; Last : out Natural) is Last_Val : Integer; begin if Item'Length > Target'Length then raise Constraint_Error; end if; Last_Val := Target'First - 1; for J in Item'Range loop Last_Val := Last_Val + 1; Target (Last_Val) := Ada_To_COBOL (Item (J)); end loop; Last := Last_Val; end To_COBOL; ---------------- -- To_Display -- ---------------- function To_Display (Item : Integer_64; Format : Display_Format; Length : Natural) return Numeric is Result : Numeric (1 .. Length); Val : Integer_64 := Item; procedure Convert (First, Last : Natural); -- Convert the number in Val into COBOL_Digits, storing the result -- in Result (First .. Last). Raise Conversion_Error if too large. procedure Embed_Sign (Loc : Natural); -- Used for the nonseparate formats to embed the appropriate sign -- at the specified location (i.e. at Result (Loc)) ------------- -- Convert -- ------------- procedure Convert (First, Last : Natural) is J : Natural; begin J := Last; while J >= First loop Result (J) := COBOL_Character'Val (COBOL_Character'Pos (COBOL_Digits'First) + Integer (Val mod 10)); Val := Val / 10; if Val = 0 then for K in First .. J - 1 loop Result (J) := COBOL_Digits'First; end loop; return; else J := J - 1; end if; end loop; raise Conversion_Error; end Convert; ---------------- -- Embed_Sign -- ---------------- procedure Embed_Sign (Loc : Natural) is Digit : Natural range 0 .. 9; begin Digit := COBOL_Character'Pos (Result (Loc)) - COBOL_Character'Pos (COBOL_Digits'First); if Item >= 0 then Result (Loc) := COBOL_Character'Val (COBOL_Character'Pos (COBOL_Plus_Digits'First) + Digit); else Result (Loc) := COBOL_Character'Val (COBOL_Character'Pos (COBOL_Minus_Digits'First) + Digit); end if; end Embed_Sign; -- Start of processing for To_Display begin case Format is when Unsigned => if Val < 0 then raise Conversion_Error; else Convert (1, Length); end if; when Leading_Separate => if Val < 0 then Result (1) := COBOL_Minus; Val := -Val; else Result (1) := COBOL_Plus; end if; Convert (2, Length); when Trailing_Separate => if Val < 0 then Result (Length) := COBOL_Minus; Val := -Val; else Result (Length) := COBOL_Plus; end if; Convert (1, Length - 1); when Leading_Nonseparate => Val := abs Val; Convert (1, Length); Embed_Sign (1); when Trailing_Nonseparate => Val := abs Val; Convert (1, Length); Embed_Sign (Length); end case; return Result; end To_Display; --------------- -- To_Packed -- --------------- function To_Packed (Item : Integer_64; Format : Packed_Format; Length : Natural) return Packed_Decimal is Result : Packed_Decimal (1 .. Length); Val : Integer_64; procedure Convert (First, Last : Natural); -- Convert the number in Val into a sequence of Decimal_Element values, -- storing the result in Result (First .. Last). Raise Conversion_Error -- if the value is too large to fit. ------------- -- Convert -- ------------- procedure Convert (First, Last : Natural) is J : Natural := Last; begin while J >= First loop Result (J) := Decimal_Element (Val mod 10); Val := Val / 10; if Val = 0 then for K in First .. J - 1 loop Result (K) := 0; end loop; return; else J := J - 1; end if; end loop; raise Conversion_Error; end Convert; -- Start of processing for To_Packed begin case Packed_Representation is when IBM => if Format = Packed_Unsigned then if Item < 0 then raise Conversion_Error; else Result (Length) := 16#F#; Val := Item; end if; elsif Item >= 0 then Result (Length) := 16#C#; Val := Item; else -- Item < 0 Result (Length) := 16#D#; Val := -Item; end if; Convert (1, Length - 1); return Result; end case; end To_Packed; ------------------- -- Valid_Numeric -- ------------------- function Valid_Numeric (Item : Numeric; Format : Display_Format) return Boolean is begin if Item'Length = 0 then return False; end if; -- All character positions except first and last must be Digits. -- This is true for all the formats. for J in Item'First + 1 .. Item'Last - 1 loop if Item (J) not in COBOL_Digits then return False; end if; end loop; case Format is when Unsigned => return Item (Item'First) in COBOL_Digits and then Item (Item'Last) in COBOL_Digits; when Leading_Separate => return (Item (Item'First) = COBOL_Plus or else Item (Item'First) = COBOL_Minus) and then Item (Item'Last) in COBOL_Digits; when Trailing_Separate => return Item (Item'First) in COBOL_Digits and then (Item (Item'Last) = COBOL_Plus or else Item (Item'Last) = COBOL_Minus); when Leading_Nonseparate => return (Item (Item'First) in COBOL_Plus_Digits or else Item (Item'First) in COBOL_Minus_Digits) and then Item (Item'Last) in COBOL_Digits; when Trailing_Nonseparate => return Item (Item'First) in COBOL_Digits and then (Item (Item'Last) in COBOL_Plus_Digits or else Item (Item'Last) in COBOL_Minus_Digits); end case; end Valid_Numeric; ------------------ -- Valid_Packed -- ------------------ function Valid_Packed (Item : Packed_Decimal; Format : Packed_Format) return Boolean is begin case Packed_Representation is when IBM => for J in Item'First .. Item'Last - 1 loop if Item (J) > 9 then return False; end if; end loop; -- For unsigned, sign digit must be F if Format = Packed_Unsigned then return Item (Item'Last) = 16#F#; -- For signed, accept all standard and non-standard signs else return Item (Item'Last) >= 16#A#; end if; end case; end Valid_Packed; ------------------------- -- Decimal_Conversions -- ------------------------- package body Decimal_Conversions is --------------------- -- Length (binary) -- --------------------- -- Note that the tests here are all compile time tests function Length (Format : Binary_Format) return Natural is pragma Unreferenced (Format); begin if Num'Digits <= 2 then return 1; elsif Num'Digits <= 4 then return 2; elsif Num'Digits <= 9 then return 4; else -- Num'Digits in 10 .. 18 return 8; end if; end Length; ---------------------- -- Length (display) -- ---------------------- function Length (Format : Display_Format) return Natural is begin if Format = Leading_Separate or else Format = Trailing_Separate then return Num'Digits + 1; else return Num'Digits; end if; end Length; --------------------- -- Length (packed) -- --------------------- -- Note that the tests here are all compile time checks function Length (Format : Packed_Format) return Natural is pragma Unreferenced (Format); begin case Packed_Representation is when IBM => return (Num'Digits + 2) / 2 * 2; end case; end Length; --------------- -- To_Binary -- --------------- function To_Binary (Item : Num; Format : Binary_Format) return Byte_Array is begin -- Note: all these tests are compile time tests if Num'Digits <= 2 then return To_B1 (Integer_8'Integer_Value (Item)); elsif Num'Digits <= 4 then declare R : B2 := To_B2 (Integer_16'Integer_Value (Item)); begin Swap (R, Format); return R; end; elsif Num'Digits <= 9 then declare R : B4 := To_B4 (Integer_32'Integer_Value (Item)); begin Swap (R, Format); return R; end; else -- Num'Digits in 10 .. 18 declare R : B8 := To_B8 (Integer_64'Integer_Value (Item)); begin Swap (R, Format); return R; end; end if; exception when Constraint_Error => raise Conversion_Error; end To_Binary; --------------------------------- -- To_Binary (internal binary) -- --------------------------------- function To_Binary (Item : Num) return Binary is pragma Unsuppress (Range_Check); begin return Binary'Integer_Value (Item); exception when Constraint_Error => raise Conversion_Error; end To_Binary; ------------------------- -- To_Decimal (binary) -- ------------------------- function To_Decimal (Item : Byte_Array; Format : Binary_Format) return Num is pragma Unsuppress (Range_Check); begin return Num'Fixed_Value (Binary_To_Decimal (Item, Format)); exception when Constraint_Error => raise Conversion_Error; end To_Decimal; ---------------------------------- -- To_Decimal (internal binary) -- ---------------------------------- function To_Decimal (Item : Binary) return Num is pragma Unsuppress (Range_Check); begin return Num'Fixed_Value (Item); exception when Constraint_Error => raise Conversion_Error; end To_Decimal; -------------------------- -- To_Decimal (display) -- -------------------------- function To_Decimal (Item : Numeric; Format : Display_Format) return Num is pragma Unsuppress (Range_Check); begin return Num'Fixed_Value (Numeric_To_Decimal (Item, Format)); exception when Constraint_Error => raise Conversion_Error; end To_Decimal; --------------------------------------- -- To_Decimal (internal long binary) -- --------------------------------------- function To_Decimal (Item : Long_Binary) return Num is pragma Unsuppress (Range_Check); begin return Num'Fixed_Value (Item); exception when Constraint_Error => raise Conversion_Error; end To_Decimal; ------------------------- -- To_Decimal (packed) -- ------------------------- function To_Decimal (Item : Packed_Decimal; Format : Packed_Format) return Num is pragma Unsuppress (Range_Check); begin return Num'Fixed_Value (Packed_To_Decimal (Item, Format)); exception when Constraint_Error => raise Conversion_Error; end To_Decimal; ---------------- -- To_Display -- ---------------- function To_Display (Item : Num; Format : Display_Format) return Numeric is pragma Unsuppress (Range_Check); begin return To_Display (Integer_64'Integer_Value (Item), Format, Length (Format)); exception when Constraint_Error => raise Conversion_Error; end To_Display; -------------------- -- To_Long_Binary -- -------------------- function To_Long_Binary (Item : Num) return Long_Binary is pragma Unsuppress (Range_Check); begin return Long_Binary'Integer_Value (Item); exception when Constraint_Error => raise Conversion_Error; end To_Long_Binary; --------------- -- To_Packed -- --------------- function To_Packed (Item : Num; Format : Packed_Format) return Packed_Decimal is pragma Unsuppress (Range_Check); begin return To_Packed (Integer_64'Integer_Value (Item), Format, Length (Format)); exception when Constraint_Error => raise Conversion_Error; end To_Packed; -------------------- -- Valid (binary) -- -------------------- function Valid (Item : Byte_Array; Format : Binary_Format) return Boolean is Val : Num; pragma Unreferenced (Val); begin Val := To_Decimal (Item, Format); return True; exception when Conversion_Error => return False; end Valid; --------------------- -- Valid (display) -- --------------------- function Valid (Item : Numeric; Format : Display_Format) return Boolean is begin return Valid_Numeric (Item, Format); end Valid; -------------------- -- Valid (packed) -- -------------------- function Valid (Item : Packed_Decimal; Format : Packed_Format) return Boolean is begin return Valid_Packed (Item, Format); end Valid; end Decimal_Conversions; end Interfaces.COBOL;
with Ada.Strings; with Ada.Strings.Fixed; with Ada.Characters.Handling; use Ada.Characters.Handling; with SPDX.Licenses; with SPDX.Exceptions; package body SPDX is function Token_Str (This : Expression; Loc : Location) return String; function Is_Custom_Id (Str : String) return Boolean; procedure Parse_License (This : in out Expression); procedure Parse_Compound_Expression (This : in out Expression); procedure Parse_Simple_Expression (This : in out Expression); procedure Parse_Exception (This : in out Expression); --------------- -- Token_Str -- --------------- function Token_Str (This : Expression; Loc : Location) return String is begin if Loc.From not in This.Str'Range or else Loc.To not in This.Str'Range then return ""; else return This.Str (Loc.From .. Loc.To); end if; end Token_Str; ------------------ -- Is_Custom_Id -- ------------------ function Is_Custom_Id (Str : String) return Boolean is Lower : constant String := To_Lower (Str); Prefix : constant String := "custom-"; begin return Lower'Length > Prefix'Length and then Lower (Lower'First .. Lower'First + Prefix'Length - 1) = Prefix; end Is_Custom_Id; ------------------- -- Parse_License -- ------------------- procedure Parse_License (This : in out Expression) is begin Parse_Compound_Expression (This); if This.Error /= None then return; end if; if not This.Tokens.Is_Empty then This.Error := Unexpected_Token; This.Err_Loc := This.Tokens.First_Element.Loc; end if; end Parse_License; ------------------------------- -- Parse_Compound_Expression -- ------------------------------- procedure Parse_Compound_Expression (This : in out Expression) is begin -- compound = ( compound ) -- | simple -- | simple AND compound -- | simple OR compound if This.Tokens.Is_Empty then This.Error := Empty_Expression; This.Err_Loc := (This.Str'Last, This.Str'Last); return; end if; case This.Tokens.First_Element.Kind is when Paren_Open => This.Tokens.Delete_First; Parse_Compound_Expression (This); if This.Error /= None then return; end if; if This.Tokens.Is_Empty then This.Error := Paren_Close_Expected; This.Err_Loc := (This.Str'Last, This.Str'Last); return; end if; if This.Tokens.First_Element.Kind /= Paren_Close then This.Error := Paren_Close_Expected; This.Err_Loc := This.Tokens.First_Element.Loc; return; end if; -- Delete the Paren_Close This.Tokens.Delete_First; when Id_Str => Parse_Simple_Expression (This); if This.Error /= None then return; end if; when others => This.Error := Unexpected_Token; This.Err_Loc := This.Tokens.First_Element.Loc; return; end case; if This.Tokens.Is_Empty then -- End of expression return; end if; if This.Tokens.First_Element.Kind in Op_And | Op_Or then -- Just skip operator as we do not build the AST This.Tokens.Delete_First; Parse_Compound_Expression (This); end if; end Parse_Compound_Expression; ----------------------------- -- Parse_Simple_Expression -- ----------------------------- procedure Parse_Simple_Expression (This : in out Expression) is begin -- simple = id -- | id+ -- | id exception -- | id+ exception if This.Tokens.Is_Empty then This.Error := License_Id_Expected; This.Err_Loc := (This.Str'Last, This.Str'Last); return; end if; if This.Tokens.First_Element.Kind /= Id_Str then This.Error := License_Id_Expected; This.Err_Loc := This.Tokens.First_Element.Loc; return; end if; declare License_Id : constant String := Token_Str (This, This.Tokens.First_Element.Loc); begin if This.Allow_Custom and then Is_Custom_Id (License_Id) then This.Has_Custom_Id := True; elsif not SPDX.Licenses.Valid_Id (License_Id) then This.Error := Invalid_License_Id; This.Err_Loc := This.Tokens.First_Element.Loc; end if; This.Tokens.Delete_First; if This.Tokens.Is_Empty then return; end if; -- + operator if This.Tokens.First_Element.Kind = Op_Or_Later then This.Tokens.Delete_First; end if; if This.Tokens.Is_Empty then return; end if; Parse_Exception (This); end; end Parse_Simple_Expression; --------------------- -- Parse_Exception -- --------------------- procedure Parse_Exception (This : in out Expression) is begin -- exception = <nothing> -- | WITH id if This.Tokens.First_Element.Kind = Op_With then This.Tokens.Delete_First; if This.Tokens.Is_Empty then This.Error := Exception_Id_Expected; This.Err_Loc := (This.Str'Last, This.Str'Last); return; end if; if This.Tokens.First_Element.Kind /= Id_Str then This.Error := Exception_Id_Expected; This.Err_Loc := This.Tokens.First_Element.Loc; return; end if; declare Exception_Id : constant String := Token_Str (This, This.Tokens.First_Element.Loc); begin if not SPDX.Exceptions.Valid_Id (Exception_Id) then This.Error := Invalid_Exception_Id; This.Err_Loc := This.Tokens.First_Element.Loc; end if; This.Tokens.Delete_First; end; end if; end Parse_Exception; ----------- -- Parse -- ----------- function Parse (Str : String; Allow_Custom : Boolean := False) return Expression is Exp : Expression (Str'Length); begin Exp.Str := Str; Exp.Allow_Custom := Allow_Custom; Tokenize (Exp); if Exp.Error /= None then return Exp; end if; Parse_License (Exp); return Exp; end Parse; ----------- -- Error -- ----------- function Error (This : Expression) return String is function Img (N : Natural) return String; function Img (Loc : Location) return String; --------- -- Img -- --------- function Img (N : Natural) return String is (Ada.Strings.Fixed.Trim (N'Img, Ada.Strings.Left)); --------- -- Img -- --------- function Img (Loc : Location) return String is ((Img (Loc.From) & ":" & Img (Loc.To))); begin case This.Error is when None => return ""; when Or_Later_Misplaced => return "+ operator must follow and indentifier without " & "whitespace (" & Img (This.Err_Loc) & ")"; when Invalid_Char => return "Invalid character at " & Img (This.Err_Loc.From); when Operator_Lowcase => return "Operator must be uppercase at (" & Img (This.Err_Loc) & ")"; when Unexpected_Token => return "Unexpected token at (" & Img (This.Err_Loc) & ")"; when Paren_Close_Expected => return "Missing closing parentheses ')' at (" & Img (This.Err_Loc) & ")"; when License_Id_Expected => return "License id expected at (" & Img (This.Err_Loc) & ")"; when Invalid_License_Id => return "Invalid license ID: '" & Token_Str (This, This.Err_Loc) & "' (" & Img (This.Err_Loc) & ")"; when Exception_Id_Expected => return "License exception id expected at (" & Img (This.Err_Loc) & ")"; when Invalid_Exception_Id => return "Invalid license exception ID: '" & Token_Str (This, This.Err_Loc) & "' (" & Img (This.Err_Loc) & ")"; when Empty_Expression => return "Empty license expression at (" & Img (This.Err_Loc) & ")"; end case; end Error; ----------- -- Valid -- ----------- function Valid (This : Expression) return Boolean is begin return This.Error = None; end Valid; --------- -- Img -- --------- function Img (This : Expression) return String is begin return This.Str; end Img; ---------------- -- Has_Custom -- ---------------- function Has_Custom (This : Expression) return Boolean is (This.Has_Custom_Id); -------------- -- Tokenize -- -------------- procedure Tokenize (This : in out Expression) is Tokens : Token_Vector.Vector renames This.Tokens; Str : String renames This.Str; Index : Natural := Str'First; begin while Index in Str'Range loop if Str (Index) in Whitespace_Characters then Index := Index + 1; -- Skip whitespace elsif Str (Index) = '(' then Tokens.Append ((Paren_Open, (Index, Index))); Index := Index + 1; elsif Str (Index) = ')' then Tokens.Append ((Paren_Close, (Index, Index))); Index := Index + 1; elsif Str (Index) = '+' then This.Error := Or_Later_Misplaced; This.Err_Loc := (Index, Index); return; elsif Str (Index) in Id_Characters then -- Operator or identifier declare From : constant Natural := Index; begin while Index in Str'Range and then Str (Index) in Id_Characters | '+' loop Index := Index + 1; end loop; declare To : constant Natural := Index - 1; Substr : constant String := Str (From .. To); begin if Substr = "WITH" then Tokens.Append ((Op_With, (From, To))); elsif Substr = "OR" then Tokens.Append ((Op_Or, (From, To))); elsif Substr = "AND" then Tokens.Append ((Op_And, (From, To))); elsif To_Lower (Substr) = "with" or else To_Lower (Substr) = "or" or else To_Lower (Substr) = "and" then This.Error := Operator_Lowcase; This.Err_Loc := (From, To); return; else if Str (To) = '+' then -- + operator can be found after and id (without -- whitespace). Tokens.Append ((Id_Str, (From, To - 1))); Tokens.Append ((Op_Or_Later, (To, To))); else Tokens.Append ((Id_Str, (From, To))); end if; end if; end; end; else This.Error := Invalid_Char; This.Err_Loc := (Index, Index); return; end if; end loop; end Tokenize; end SPDX;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . R E G E X P -- -- -- -- S p e c -- -- -- -- Copyright (C) 1998-2019, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Simple Regular expression matching -- This package provides a simple implementation of a regular expression -- pattern matching algorithm, using a subset of the syntax of regular -- expressions copied from familiar Unix style utilities. -- Note: this package is in the System hierarchy so that it can be directly -- be used by other predefined packages. User access to this package is via -- a renaming of this package in GNAT.Regexp (file g-regexp.ads). with Ada.Finalization; package System.Regexp is -- The regular expression must first be compiled, using the Compile -- function, which creates a finite state matching table, allowing -- very fast matching once the expression has been compiled. -- The following is the form of a regular expression, expressed in Ada -- reference manual style BNF is as follows -- regexp ::= term -- regexp ::= term | term -- alternation (term or term ...) -- term ::= item -- term ::= item item ... -- concatenation (item then item) -- item ::= elmt -- match elmt -- item ::= elmt * -- zero or more elmt's -- item ::= elmt + -- one or more elmt's -- item ::= elmt ? -- matches elmt or nothing -- elmt ::= nchr -- matches given character -- elmt ::= [nchr nchr ...] -- matches any character listed -- elmt ::= [^ nchr nchr ...] -- matches any character not listed -- elmt ::= [char - char] -- matches chars in given range -- elmt ::= . -- matches any single character -- elmt ::= ( regexp ) -- parens used for grouping -- char ::= any character, including special characters -- nchr ::= any character except \()[].*+?^ or \char to match char -- ... is used to indication repetition (one or more terms) -- See also regexp(1) man page on Unix systems for further details -- A second kind of regular expressions is provided. This one is more -- like the wild card patterns used in file names by the Unix shell (or -- DOS prompt) command lines. The grammar is the following: -- regexp ::= term -- term ::= elmt -- term ::= elmt elmt ... -- concatenation (elmt then elmt) -- term ::= {elmt, elmt, ...} -- alternation (matches any of elmt) -- elmt ::= * -- any string of 0 or more characters -- elmt ::= ? -- matches any character -- elmt ::= char -- elmt ::= [^ char char ...] -- matches any character not listed -- elmt ::= [char char ...] -- matches any character listed -- elmt ::= [char - char] -- matches any character in given range -- \char is also supported by this grammar. -- Important note : This package was mainly intended to match regular -- expressions against file names. The whole string has to match the -- regular expression. If only a substring matches, then the function -- Match will return False. type Regexp is private; -- Private type used to represent a regular expression Error_In_Regexp : exception; -- Exception raised when an error is found in the regular expression function Compile (Pattern : String; Glob : Boolean := False; Case_Sensitive : Boolean := True) return Regexp; -- Compiles a regular expression S. If the syntax of the given -- expression is invalid (does not match above grammar), Error_In_Regexp -- is raised. If Glob is True, the pattern is considered as a 'globbing -- pattern', that is a pattern as given by the second grammar above. -- As a special case, if Pattern is the empty string it will always -- match. function Match (S : String; R : Regexp) return Boolean; -- True if S matches R, otherwise False. Raises Constraint_Error if -- R is an uninitialized regular expression value. private type Regexp_Value; type Regexp_Access is access Regexp_Value; type Regexp is new Ada.Finalization.Controlled with record R : Regexp_Access := null; end record; pragma Finalize_Storage_Only (Regexp); procedure Finalize (R : in out Regexp); -- Free the memory occupied by R procedure Adjust (R : in out Regexp); -- Called after an assignment (do a copy of the Regexp_Access.all) end System.Regexp;
package Asis.Gela.Parser.Shift_Reduce is type Small_Integer is range -32_000 .. 32_000; type Shift_Reduce_Entry is record T : Small_Integer; Act : Small_Integer; end record; pragma Pack(Shift_Reduce_Entry); subtype Row is Integer range -1 .. Integer'Last; --pragma suppress(index_check); type Shift_Reduce_Array is array (Row range <>) of Shift_Reduce_Entry; Shift_Reduce_Matrix : constant Shift_Reduce_Array := ( (-1,-1) -- Dummy Entry -- state 0 ,( 1, 9),( 62, 58),( 63, 56),( 69, 49) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 82, 32),( 83, 57),( 94, 27),( 103, 51) ,( 106, 50),(-1,-751) -- state 1 ,( 1, 9),( 62, 58) ,( 63, 56),( 69, 49),( 73, 52),( 79, 53) ,( 80, 47),( 81, 17),( 82, 32),( 83, 57) ,( 94, 27),( 103, 51),( 106, 50),(-1,-750) -- state 2 ,(-1,-1059) -- state 3 ,( 62, 58),( 63, 56),( 73, 52) ,( 79, 53),( 80, 47),( 83, 57),( 94, 27) ,(-1,-3000) -- state 4 ,(-1,-754) -- state 5 ,(-1,-755) -- state 6 ,(-1,-756) -- state 7 ,( 1, 9),( 69, 49),( 81, 17),( 82, 32) ,( 103, 51),( 106, 50),(-1,-771) -- state 8 ,( 5, 67) ,(-1,-3000) -- state 9 ,( 33, 69),(-1,-3000) -- state 10 ,(-1,-757) -- state 11 ,(-1,-758) -- state 12 ,(-1,-759) -- state 13 ,( 24, 71),(-1,-3000) -- state 14 ,(-1,-772) -- state 15 ,(-1,-773) -- state 16 ,(-1,-774) -- state 17 ,(-1,-77) -- state 18 ,(-1,-760) -- state 19 ,(-1,-761) -- state 20 ,(-1,-762) -- state 21 ,(-1,-763) -- state 22 ,(-1,-767) -- state 23 ,(-1,-768) -- state 24 ,(-1,-764) -- state 25 ,(-1,-765) -- state 26 ,(-1,-766) -- state 27 ,(-1,-90) -- state 28 ,(-1,-775) -- state 29 ,(-1,-776) -- state 30 ,(-1,-617) -- state 31 ,(-1,-618) -- state 32 ,(-1,-78) -- state 33 ,( 62, 58) ,( 83, 57),(-1,-3000) -- state 34 ,( 33, 69),( 68, 74) ,( 89, 75),(-1,-3000) -- state 35 ,( 33, 69),(-1,-3000) -- state 36 ,(-1,-806) -- state 37 ,(-1,-807) -- state 38 ,( 5, 67),( 47, 81) ,(-1,-3000) -- state 39 ,( 62, 58),( 80, 47),( 83, 57) ,(-1,-3000) -- state 40 ,( 82, 32),( 106, 50),(-1,-3000) -- state 41 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 42 ,( 5, 67),( 8, 99),( 9, 102),( 101, 103) ,(-1,-3000) -- state 43 ,( 79, 53),(-1,-3000) -- state 44 ,(-1,-1091) -- state 45 ,(-1,-509) -- state 46 ,(-1,-510) -- state 47 ,(-1,-76) -- state 48 ,( 1, 9) ,( 5, 67),( 81, 17),( 101, 103),( 103, 51) ,( 106, 50),(-1,-811) -- state 49 ,(-1,-65) -- state 50 ,(-1,-102) -- state 51 ,(-1,-99) -- state 52 ,(-1,-69) -- state 53 ,(-1,-75) -- state 54 ,( 5, 67) ,(-1,-3000) -- state 55 ,( 5, 67),( 9, 102),(-1,-3000) -- state 56 ,(-1,-59) -- state 57 ,(-1,-79) -- state 58 ,(-1,-58) -- state 59 ,( 0,-3001) ,(-1,-3000) -- state 60 ,(-1,-1058) -- state 61 ,(-1,-752) -- state 62 ,(-1,-753) -- state 63 ,( 1, 9),( 69, 49),( 81, 17),( 82, 32) ,( 103, 51),( 106, 50),(-1,-770) -- state 64 ,(-1,-1061) -- state 65 ,(-1,-938) -- state 66 ,(-1,-939) -- state 67 ,(-1,-1) -- state 68 ,( 24, 71) ,( 33, 69),(-1,-3000) -- state 69 ,(-1,-29) -- state 70 ,(-1,-1084) -- state 71 ,(-1,-20) -- state 72 ,( 5, 67),(-1,-3000) -- state 73 ,( 33, 69) ,( 68, 74),( 89, 75),(-1,-3000) -- state 74 ,(-1,-64) -- state 75 ,(-1,-85) -- state 76 ,(-1,-508) -- state 77 ,( 1, 9),( 5, 67) ,( 61, 193),( 62, 58),( 63, 56),( 72, 138) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 83, 57),( 84, 195),( 95, 192),( 98, 194) ,( 101, 103),( 103, 51),(-1,-321) -- state 78 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 79 ,(-1,-568) -- state 80 ,(-1,-518) -- state 81 ,(-1,-43) -- state 82 ,( 30, 201),(-1,-934) -- state 83 ,( 68, 74),( 89, 75),(-1,-3000) -- state 84 ,( 5, 67) ,(-1,-3000) -- state 85 ,( 5, 67),(-1,-3000) -- state 86 ,( 33, 69) ,( 89, 75),(-1,-3000) -- state 87 ,( 33, 69),(-1,-3000) -- state 88 ,( 106, 50),(-1,-3000) -- state 89 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 90 ,(-1,-333) -- state 91 ,(-1,-334) -- state 92 ,(-1,-335) -- state 93 ,(-1,-336) -- state 94 ,(-1,-337) -- state 95 ,(-1,-338) -- state 96 ,(-1,-339) -- state 97 ,(-1,-340) -- state 98 ,( 23, 211),( 24, 71) ,( 30, 201),(-1,-3000) -- state 99 ,(-1,-4) -- state 100 ,(-1,-519) -- state 101 ,( 28, 218),( 33, 69),(-1,-341) -- state 102 ,(-1,-5) -- state 103 ,(-1,-97) -- state 104 ,( 28, 218),( 33, 69),(-1,-341) -- state 105 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 106 ,(-1,-1090) -- state 107 ,( 1, 9),( 5, 67),( 81, 17) ,( 101, 103),( 103, 51),( 106, 50),(-1,-810) -- state 108 ,(-1,-1073) -- state 109 ,(-1,-935) -- state 110 ,(-1,-936) -- state 111 ,(-1,-937) -- state 112 ,(-1,-812) -- state 113 ,(-1,-813) -- state 114 ,(-1,-814) -- state 115 ,(-1,-815) -- state 116 ,( 32, 225),(-1,-3000) -- state 117 ,( 5, 67),(-1,-3000) -- state 118 ,(-1,-885) -- state 119 ,(-1,-886) -- state 120 ,( 62, 58),( 80, 47) ,( 83, 57),(-1,-3000) -- state 121 ,( 28, 218),(-1,-177) -- state 122 ,(-1,-120) -- state 123 ,( 24, 71),(-1,-522) -- state 124 ,(-1,-516) -- state 125 ,(-1,-517) -- state 126 ,(-1,-520) -- state 127 ,( 24, 71),( 91, 237) ,(-1,-513) -- state 128 ,(-1,-3000) -- state 129 ,(-1,-1060) -- state 130 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 131 ,( 33, 69),(-1,-3000) -- state 132 ,(-1,-105) -- state 133 ,( 25, 272) ,(-1,-3000) -- state 134 ,(-1,-507) -- state 135 ,( 1, 9),( 5, 67) ,( 61, 193),( 62, 58),( 63, 56),( 72, 138) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 83, 57),( 84, 195),( 95, 192),( 98, 194) ,( 101, 103),( 103, 51),(-1,-321) -- state 136 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 137 ,( 1, 9) ,( 5, 67),( 61, 193),( 62, 58),( 63, 56) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 83, 57),( 84, 195),( 95, 192),( 98, 194) ,( 101, 103),( 103, 51),(-1,-320) -- state 138 ,(-1,-68) -- state 139 ,(-1,-979) -- state 140 ,(-1,-322) -- state 141 ,(-1,-323) -- state 142 ,(-1,-324) -- state 143 ,(-1,-325) -- state 144 ,(-1,-326) -- state 145 ,(-1,-327) -- state 146 ,(-1,-328) -- state 147 ,(-1,-108) -- state 148 ,(-1,-109) -- state 149 ,(-1,-110) -- state 150 ,(-1,-111) -- state 151 ,(-1,-112) -- state 152 ,(-1,-113) -- state 153 ,(-1,-114) -- state 154 ,(-1,-115) -- state 155 ,(-1,-116) -- state 156 ,(-1,-117) -- state 157 ,(-1,-118) -- state 158 ,(-1,-119) -- state 159 ,(-1,-905) -- state 160 ,(-1,-906) -- state 161 ,(-1,-907) -- state 162 ,(-1,-329) -- state 163 ,(-1,-330) -- state 164 ,(-1,-331) -- state 165 ,(-1,-332) -- state 166 ,(-1,-783) -- state 167 ,(-1,-784) -- state 168 ,(-1,-785) -- state 169 ,(-1,-786) -- state 170 ,(-1,-121) -- state 171 ,(-1,-122) -- state 172 ,(-1,-123) -- state 173 ,(-1,-124) -- state 174 ,( 5, 67) ,(-1,-3000) -- state 175 ,( 32, 225),(-1,-3000) -- state 176 ,(-1,-174) -- state 177 ,(-1,-175) -- state 178 ,( 62, 58),( 83, 57),(-1,-3000) -- state 179 ,( 33, 69),( 68, 74),( 89, 75),(-1,-3000) -- state 180 ,(-1,-623) -- state 181 ,(-1,-624) -- state 182 ,(-1,-625) -- state 183 ,(-1,-626) -- state 184 ,(-1,-627) -- state 185 ,( 5, 67),( 47, 81),(-1,-3000) -- state 186 ,( 5, 67),(-1,-3000) -- state 187 ,( 5, 67),( 47, 81) ,( 101, 103),(-1,-3000) -- state 188 ,( 5, 67),( 47, 81) ,( 101, 103),(-1,-3000) -- state 189 ,( 5, 67),(-1,-3000) -- state 190 ,(-1,-127) -- state 191 ,(-1,-128) -- state 192 ,(-1,-91) -- state 193 ,(-1,-57) -- state 194 ,(-1,-94) -- state 195 ,(-1,-80) -- state 196 ,( 46, 292),(-1,-3000) -- state 197 ,( 5, 67),(-1,-3000) -- state 198 ,( 33, 69),(-1,-341) -- state 199 ,( 30, 201),(-1,-933) -- state 200 ,( 5, 67),(-1,-3000) -- state 201 ,(-1,-26) -- state 202 ,( 1, 9),( 5, 67),( 57, 301) ,( 61, 193),( 62, 58),( 63, 56),( 72, 138) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 82, 32),( 83, 57),( 84, 195),( 95, 192) ,( 98, 194),( 101, 103),( 103, 51),(-1,-3000) -- state 203 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 204 ,( 68, 74),(-1,-3000) -- state 205 ,( 68, 74),( 89, 75) ,(-1,-3000) -- state 206 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 207 ,(-1,-808) -- state 208 ,(-1,-809) -- state 209 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 210 ,( 28, 218) ,( 33, 69),(-1,-341) -- state 211 ,(-1,-19) -- state 212 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),( 77, 330) ,(-1,-3000) -- state 213 ,( 5, 67),( 8, 99),( 9, 102) ,( 42, 332),(-1,-3000) -- state 214 ,( 5, 67),(-1,-3000) -- state 215 ,(-1,-547) -- state 216 ,( 28, 218),( 33, 69),(-1,-3000) -- state 217 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 218 ,(-1,-24) -- state 219 ,(-1,-782) -- state 220 ,( 28, 218),( 33, 69) ,(-1,-3000) -- state 221 ,(-1,-620) -- state 222 ,( 23,-341),( 24,-341) ,( 30,-341),(-1,-142) -- state 223 ,( 28, 218),( 33, 69) ,(-1,-3000) -- state 224 ,(-1,-1072) -- state 225 ,(-1,-28) -- state 226 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),( 66, 352) ,( 73, 52),( 78, 353),(-1,-3000) -- state 227 ,( 24, 71) ,( 68, 74),(-1,-3000) -- state 228 ,( 33, 69),( 68, 74) ,(-1,-3000) -- state 229 ,( 5, 67),(-1,-3000) -- state 230 ,( 28, 218) ,(-1,-176) -- state 231 ,( 5, 67),(-1,-3000) -- state 232 ,(-1,-521) -- state 233 ,( 5, 67),(-1,-3000) -- state 234 ,(-1,-511) -- state 235 ,( 91, 237) ,(-1,-3000) -- state 236 ,( 5, 67),( 8, 99),( 9, 102) ,( 40, 354),( 73, 52),(-1,-3000) -- state 237 ,(-1,-87) -- state 238 ,(-1,-512) -- state 239 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 240 ,(-1,-107) -- state 241 ,( 18, 376) ,(-1,-339) -- state 242 ,( 43, 378),( 76, 379),( 107, 380) ,(-1,-383) -- state 243 ,( 12, 396),( 15, 394),( 16, 392) ,( 21, 395),( 22, 393),( 34, 391),( 66, 352) ,( 73, 52),(-1,-395) -- state 244 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 245 ,( 20, 406),( 27, 249),( 29, 250) ,(-1,-403) -- state 246 ,(-1,-429) -- state 247 ,(-1,-430) -- state 248 ,( 26, 413) ,( 31, 414),( 71, 415),( 88, 416),(-1,-405) -- state 249 ,(-1,-23) -- state 250 ,(-1,-25) -- state 251 ,( 10, 418),(-1,-407) -- state 252 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 72, 138),( 74, 264) ,(-1,-3000) -- state 253 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 72, 138) ,( 74, 264),(-1,-3000) -- state 254 ,(-1,-410) -- state 255 ,(-1,-411) -- state 256 ,(-1,-412) -- state 257 ,(-1,-413) -- state 258 ,( 23,-341),( 24,-341) ,( 30,-341),(-1,-414) -- state 259 ,(-1,-415) -- state 260 ,(-1,-416) -- state 261 ,(-1,-33) -- state 262 ,(-1,-2) -- state 263 ,(-1,-3) -- state 264 ,(-1,-70) -- state 265 ,(-1,-356) -- state 266 ,(-1,-357) -- state 267 ,( 23, 211),( 24, 71) ,( 30, 201),(-1,-3000) -- state 268 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 269 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),( 77, 330),(-1,-3000) -- state 270 ,( 25, 272),( 28, 218),(-1,-3000) -- state 271 ,(-1,-104) -- state 272 ,(-1,-21) -- state 273 ,( 62, 58),( 73, 52),( 79, 53) ,( 80, 47),( 83, 57),( 84, 195),( 98, 194) ,(-1,-3000) -- state 274 ,( 46, 292),(-1,-3000) -- state 275 ,( 5, 67) ,(-1,-3000) -- state 276 ,( 33, 69),(-1,-341) -- state 277 ,(-1,-978) -- state 278 ,( 68, 74),(-1,-3000) -- state 279 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),( 41, 440),( 44, 448) ,( 49, 441),( 59, 446),( 73, 52),(-1,-3000) -- state 280 ,( 33, 69),( 68, 74),( 89, 75),(-1,-3000) -- state 281 ,( 1, 9),( 5, 67),( 38, 456),( 61, 193) ,( 62, 58),( 63, 56),( 72, 138),( 73, 52) ,( 74, 264),( 79, 53),( 80, 47),( 81, 17) ,( 83, 57),( 84, 195),( 94, 27),( 95, 192) ,( 98, 194),( 101, 103),( 103, 51),(-1,-321) -- state 282 ,( 5, 67),(-1,-3000) -- state 283 ,(-1,-908) -- state 284 ,( 23, 211) ,( 103, 51),(-1,-3000) -- state 285 ,( 5, 67),(-1,-3000) -- state 286 ,( 33, 69),( 68, 74),(-1,-3000) -- state 287 ,( 5, 67) ,(-1,-3000) -- state 288 ,( 5, 67),(-1,-3000) -- state 289 ,( 68, 74) ,(-1,-3000) -- state 290 ,( 5, 67),(-1,-3000) -- state 291 ,( 24, 71) ,( 33, 69),( 68, 74),(-1,-3000) -- state 292 ,(-1,-42) -- state 293 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 14, 521),( 36, 526),( 39, 535),( 46, 292) ,( 48, 529),( 50, 541),( 51, 538),( 60, 522) ,( 61, 193),( 64, 523),( 65, 528),( 70, 533) ,( 74, 264),( 81, 17),( 85, 527),( 90, 524) ,( 91, 237),( 93, 542),( 105, 540),(-1,-3000) -- state 294 ,( 24, 71),( 33, 69),(-1,-3000) -- state 295 ,(-1,-634) -- state 296 ,( 5, 67),(-1,-3000) -- state 297 ,(-1,-1083) -- state 298 ,( 1, 9) ,( 5, 67),( 57, 301),( 61, 193),( 62, 58) ,( 63, 56),( 73, 52),( 79, 53),( 80, 47) ,( 81, 17),( 82, 32),( 83, 57),( 84, 195) ,( 95, 192),( 98, 194),( 101, 103),( 103, 51) ,(-1,-3000) -- state 299 ,(-1,-1023) -- state 300 ,( 1, 9),( 5, 67) ,( 61, 193),( 62, 58),( 63, 56),( 73, 52) ,( 79, 53),( 80, 47),( 81, 17),( 83, 57) ,( 84, 195),( 95, 192),( 98, 194),( 101, 103) ,( 103, 51),(-1,-1025) -- state 301 ,(-1,-53) -- state 302 ,( 62, 58) ,( 83, 57),(-1,-3000) -- state 303 ,( 33, 69),( 68, 74) ,( 89, 75),(-1,-3000) -- state 304 ,( 5, 67),(-1,-3000) -- state 305 ,( 5, 67),( 101, 103),(-1,-3000) -- state 306 ,( 5, 67) ,( 101, 103),(-1,-3000) -- state 307 ,( 57, 301),(-1,-3000) -- state 308 ,( 5, 67),(-1,-576) -- state 309 ,( 5, 67),(-1,-3000) -- state 310 ,( 33, 69),(-1,-341) -- state 311 ,( 1, 9),( 5, 67) ,( 61, 193),( 62, 58),( 63, 56),( 73, 52) ,( 79, 53),( 80, 47),( 81, 17),( 83, 57) ,( 84, 195),( 95, 192),( 98, 194),( 101, 103) ,( 103, 51),(-1,-321) -- state 312 ,( 1, 9),( 5, 67) ,( 57, 301),( 61, 193),( 62, 58),( 63, 56) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 82, 32),( 83, 57),( 84, 195),( 95, 192) ,( 98, 194),( 101, 103),( 103, 51),(-1,-3000) -- state 313 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 314 ,( 33, 69),(-1,-341) -- state 315 ,( 28, 218),( 33, 69) ,(-1,-341) -- state 316 ,( 28, 218),( 33, 69),(-1,-3000) -- state 317 ,(-1,-780) -- state 318 ,( 28, 218),(-1,-360) -- state 319 ,( 87, 566) ,(-1,-412) -- state 320 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 321 ,( 25,-363),( 28,-363) ,(-1,-275) -- state 322 ,( 25,-364),( 28,-364),(-1,-276) -- state 323 ,( 18, 376),(-1,-3000) -- state 324 ,( 23,-341),( 24,-341) ,( 30,-341),( 86, 571),(-1,-414) -- state 325 ,(-1,-232) -- state 326 ,( 12, 396),( 15, 394),( 16, 392),( 19, 573) ,( 21, 395),( 22, 393),( 34, 391),( 66, 352) ,( 73, 52),(-1,-395) -- state 327 ,( 35, 577),(-1,-274) -- state 328 ,( 23, 211),( 24, 71),( 30, 201),(-1,-3000) -- state 329 ,(-1,-277) -- state 330 ,(-1,-73) -- state 331 ,( 25, 272),(-1,-3000) -- state 332 ,(-1,-38) -- state 333 ,(-1,-348) -- state 334 ,(-1,-349) -- state 335 ,(-1,-350) -- state 336 ,(-1,-342) -- state 337 ,(-1,-347) -- state 338 ,(-1,-352) -- state 339 ,(-1,-351) -- state 340 ,(-1,-781) -- state 341 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 342 ,( 28,-1028),( 33,-1028),(-1,-341) -- state 343 ,(-1,-619) -- state 344 ,( 28, 218),( 33, 69),(-1,-3000) -- state 345 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 346 ,(-1,-622) -- state 347 ,( 78, 353),(-1,-1085) -- state 348 ,(-1,-1087) -- state 349 ,( 74, 264),(-1,-3000) -- state 350 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),(-1,-3000) -- state 351 ,( 5, 67) ,( 8, 99),( 9, 102),( 49, 441),( 62, 58) ,( 83, 57),( 84, 195),(-1,-3000) -- state 352 ,(-1,-62) -- state 353 ,(-1,-74) -- state 354 ,(-1,-36) -- state 355 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),( 73, 52),(-1,-3000) -- state 356 ,( 17, 597),( 33, 69),(-1,-3000) -- state 357 ,( 17, 597) ,( 33, 69),(-1,-3000) -- state 358 ,(-1,-234) -- state 359 ,(-1,-235) -- state 360 ,( 5, 67),( 13, 602),(-1,-3000) -- state 361 ,( 68, 74) ,(-1,-3000) -- state 362 ,( 24, 71),( 38, 456),( 40, 354) ,( 44, 448),( 52, 635),( 53, 634),( 67, 643) ,( 69, 49),( 71, 415),( 72, 138),( 73, 52) ,( 82, 32),( 84, 195),( 86, 571),( 96, 633) ,( 97, 632),( 98, 194),(-1,-3000) -- state 363 ,( 5, 67) ,( 8, 99),( 9, 102),( 13, 602),( 38, 456) ,( 74, 264),(-1,-3000) -- state 364 ,( 33, 69),(-1,-3000) -- state 365 ,(-1,-888) -- state 366 ,( 68, 74),(-1,-3000) -- state 367 ,( 5, 67) ,(-1,-3000) -- state 368 ,(-1,-948) -- state 369 ,( 32, 225),(-1,-3000) -- state 370 ,( 25, 272),( 33, 69),(-1,-3000) -- state 371 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),( 73, 52) ,(-1,-3000) -- state 372 ,( 5, 67),( 8, 99),( 9, 102) ,( 40, 354),(-1,-3000) -- state 373 ,(-1,-526) -- state 374 ,(-1,-528) -- state 375 ,(-1,-106) -- state 376 ,(-1,-14) -- state 377 ,(-1,-945) -- state 378 ,(-1,-39) -- state 379 ,(-1,-72) -- state 380 ,(-1,-103) -- state 381 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),( 100, 662),(-1,-3000) -- state 382 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 55, 665),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 383 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 384 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 385 ,(-1,-420) -- state 386 ,(-1,-421) -- state 387 ,(-1,-422) -- state 388 ,(-1,-423) -- state 389 ,(-1,-424) -- state 390 ,(-1,-425) -- state 391 ,(-1,-30) -- state 392 ,(-1,-12) -- state 393 ,(-1,-18) -- state 394 ,(-1,-11) -- state 395 ,(-1,-17) -- state 396 ,(-1,-8) -- state 397 ,(-1,-394) -- state 398 ,( 66, 352),(-1,-3000) -- state 399 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 400 ,( 20, 406),( 27, 249),( 29, 250),(-1,-401) -- state 401 ,( 20, 406),( 27, 249),( 29, 250),(-1,-402) -- state 402 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 403 ,(-1,-426) -- state 404 ,(-1,-427) -- state 405 ,(-1,-428) -- state 406 ,(-1,-16) -- state 407 ,( 26, 413) ,( 31, 414),( 71, 415),( 88, 416),(-1,-404) -- state 408 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 409 ,(-1,-431) -- state 410 ,(-1,-432) -- state 411 ,(-1,-433) -- state 412 ,(-1,-434) -- state 413 ,(-1,-22) -- state 414 ,(-1,-27) -- state 415 ,(-1,-67) -- state 416 ,(-1,-84) -- state 417 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 72, 138),( 74, 264),(-1,-3000) -- state 418 ,(-1,-6) -- state 419 ,(-1,-406) -- state 420 ,(-1,-408) -- state 421 ,(-1,-409) -- state 422 ,( 5, 67),( 24, 71),(-1,-3000) -- state 423 ,( 23,-341) ,( 24,-341),( 30,-341),(-1,-441) -- state 424 ,(-1,-442) -- state 425 ,( 25,-363),( 28,-363),( 106,-370),(-1,-275) -- state 426 ,( 106, 50),(-1,-3000) -- state 427 ,( 25, 272),( 28, 218) ,(-1,-3000) -- state 428 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 429 ,(-1,-942) -- state 430 ,( 62, 58) ,( 83, 57),(-1,-3000) -- state 431 ,( 68, 74),(-1,-3000) -- state 432 ,( 47, 81),(-1,-3000) -- state 433 ,( 47, 81),(-1,-3000) -- state 434 ,( 47, 81),(-1,-3000) -- state 435 ,(-1,-792) -- state 436 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 437 ,( 24, 71) ,( 33, 69),(-1,-3000) -- state 438 ,(-1,-633) -- state 439 ,( 5, 67) ,( 8, 99),( 9, 102),( 73, 52),(-1,-3000) -- state 440 ,(-1,-37) -- state 441 ,(-1,-45) -- state 442 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),(-1,-3000) -- state 443 ,( 52, 635) ,( 53, 634),( 86, 571),( 89, 75),(-1,-141) -- state 444 ,(-1,-215) -- state 445 ,(-1,-216) -- state 446 ,(-1,-55) -- state 447 ,( 24, 71) ,(-1,-3000) -- state 448 ,(-1,-40) -- state 449 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),( 44, 448),( 49, 441) ,( 73, 52),(-1,-3000) -- state 450 ,( 5, 67),( 8, 99) ,( 9, 102),( 17, 597),( 40, 354),( 44, 448) ,( 73, 52),(-1,-3000) -- state 451 ,( 17, 597),( 33, 69) ,(-1,-3000) -- state 452 ,( 17, 597),( 33, 69),( 89, 75) ,(-1,-3000) -- state 453 ,( 17, 597),( 33, 69),(-1,-3000) -- state 454 ,( 33, 69),( 89, 75),(-1,-3000) -- state 455 ,( 1, 9) ,( 5, 67),( 38, 456),( 61, 193),( 62, 58) ,( 63, 56),( 72, 138),( 73, 52),( 74, 264) ,( 79, 53),( 80, 47),( 81, 17),( 83, 57) ,( 84, 195),( 94, 27),( 95, 192),( 98, 194) ,( 101, 103),( 103, 51),(-1,-321) -- state 456 ,(-1,-34) -- state 457 ,( 33, 69),(-1,-3000) -- state 458 ,( 33, 69),(-1,-3000) -- state 459 ,( 33, 69),(-1,-3000) -- state 460 ,( 68, 74),(-1,-3000) -- state 461 ,( 5, 67),(-1,-3000) -- state 462 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 45, 731) ,( 72, 138),( 73, 52),( 74, 264),( 87, 566) ,(-1,-3000) -- state 463 ,( 24, 71),( 33, 69),( 68, 74) ,(-1,-3000) -- state 464 ,( 1, 9),( 57, 301),( 58, 749) ,( 61, 193),( 72, 138),( 73, 52),( 79, 53) ,( 81, 17),( 82, 32),(-1,-3000) -- state 465 ,(-1,-645) -- state 466 ,( 68, 74),(-1,-3000) -- state 467 ,( 24, 71),( 68, 74) ,(-1,-3000) -- state 468 ,( 1, 9),( 57, 301),( 58, 749) ,( 61, 193),( 62, 58),( 72, 138),( 73, 52) ,( 79, 53),( 81, 17),( 82, 32),( 83, 57) ,(-1,-3000) -- state 469 ,( 68, 74),(-1,-3000) -- state 470 ,( 24, 71) ,( 38, 456),( 40, 354),( 44, 448),( 52, 635) ,( 53, 634),( 67, 643),( 69, 49),( 71, 415) ,( 72, 138),( 73, 52),( 74, 264),( 82, 32) ,( 84, 195),( 86, 571),( 87, 566),( 96, 633) ,( 97, 632),( 98, 194),(-1,-3000) -- state 471 ,( 33, 69) ,( 68, 74),(-1,-3000) -- state 472 ,( 33, 69),(-1,-3000) -- state 473 ,(-1,-319) -- state 474 ,( 59, 446),(-1,-795) -- state 475 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-444) -- state 476 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 477 ,(-1,-446) -- state 478 ,(-1,-448) -- state 479 ,(-1,-1007) -- state 480 ,(-1,-449) -- state 481 ,(-1,-450) -- state 482 ,(-1,-451) -- state 483 ,(-1,-452) -- state 484 ,(-1,-453) -- state 485 ,(-1,-454) -- state 486 ,(-1,-455) -- state 487 ,(-1,-456) -- state 488 ,(-1,-457) -- state 489 ,(-1,-458) -- state 490 ,(-1,-459) -- state 491 ,(-1,-460) -- state 492 ,(-1,-461) -- state 493 ,(-1,-462) -- state 494 ,(-1,-463) -- state 495 ,(-1,-464) -- state 496 ,(-1,-465) -- state 497 ,(-1,-466) -- state 498 ,(-1,-467) -- state 499 ,( 5, 67),(-1,-3000) -- state 500 ,( 33, 69) ,(-1,-3000) -- state 501 ,( 17, 597),( 33, 69),(-1,-341) -- state 502 ,( 5, 67),( 8, 99),( 9, 102),( 33, 69) ,( 104, 813),(-1,-3000) -- state 503 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 504 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 33, 69),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 505 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 506 ,(-1,-703) -- state 507 ,(-1,-704) -- state 508 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 509 ,( 5, 67),( 8, 99) ,( 9, 102),( 33, 69),(-1,-3000) -- state 510 ,( 33, 69) ,(-1,-3000) -- state 511 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 512 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 513 ,( 46, 292) ,( 50, 541),( 61, 193),( 70, 533),( 105, 540) ,(-1,-3000) -- state 514 ,( 70, 533),(-1,-3000) -- state 515 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 516 ,( 46, 292) ,(-1,-3000) -- state 517 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 518 ,( 5, 67),( 9, 102),(-1,-3000) -- state 519 ,(-1,-707) -- state 520 ,(-1,-708) -- state 521 ,(-1,-10) -- state 522 ,(-1,-56) -- state 523 ,(-1,-60) -- state 524 ,(-1,-86) -- state 525 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),( 102, 838),(-1,-3000) -- state 526 ,(-1,-32) -- state 527 ,(-1,-81) -- state 528 ,(-1,-61) -- state 529 ,(-1,-44) -- state 530 ,( 32, 225),(-1,-3000) -- state 531 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 532 ,( 5, 67) ,(-1,-3000) -- state 533 ,(-1,-66) -- state 534 ,( 1, 9),( 5, 67) ,( 61, 193),( 62, 58),( 63, 56),( 73, 52) ,( 79, 53),( 80, 47),( 81, 17),( 83, 57) ,( 84, 195),( 95, 192),( 98, 194),( 101, 103) ,( 103, 51),(-1,-321) -- state 535 ,(-1,-35) -- state 536 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 39, 535) ,( 51, 538),( 81, 17),( 99, 857),( 104, 813) ,(-1,-3000) -- state 537 ,( 28,-120),( 32,-120),(-1,-339) -- state 538 ,(-1,-47) -- state 539 ,(-1,-470) -- state 540 ,(-1,-101) -- state 541 ,(-1,-46) -- state 542 ,(-1,-89) -- state 543 ,( 57, 301),(-1,-3000) -- state 544 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 545 ,( 33, 69),(-1,-3000) -- state 546 ,(-1,-821) -- state 547 ,(-1,-1082) -- state 548 ,( 57, 301),(-1,-3000) -- state 549 ,( 5, 67),(-1,-572) -- state 550 ,(-1,-1022) -- state 551 ,( 1, 9),( 5, 67),( 61, 193) ,( 62, 58),( 63, 56),( 73, 52),( 79, 53) ,( 80, 47),( 81, 17),( 83, 57),( 84, 195) ,( 95, 192),( 98, 194),( 101, 103),( 103, 51) ,(-1,-1024) -- state 552 ,( 33, 69),( 68, 74),( 89, 75) ,(-1,-3000) -- state 553 ,( 38, 456),( 72, 138),( 74, 264) ,(-1,-3000) -- state 554 ,( 5, 67),(-1,-574) -- state 555 ,(-1,-575) -- state 556 ,( 24, 71),( 33, 69),(-1,-3000) -- state 557 ,(-1,-632) -- state 558 ,( 46, 292),( 57, 301),(-1,-3000) -- state 559 ,( 33, 69) ,(-1,-341) -- state 560 ,(-1,-636) -- state 561 ,( 28, 218),( 33, 69) ,(-1,-3000) -- state 562 ,(-1,-778) -- state 563 ,(-1,-779) -- state 564 ,( 28, 218) ,(-1,-359) -- state 565 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),( 77, 330),(-1,-3000) -- state 566 ,(-1,-83) -- state 567 ,(-1,-361) -- state 568 ,(-1,-362) -- state 569 ,( 13, 602),(-1,-985) -- state 570 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 571 ,(-1,-82) -- state 572 ,(-1,-231) -- state 573 ,(-1,-15) -- state 574 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 575 ,( 35, 577),(-1,-273) -- state 576 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),( 77, 330) ,(-1,-3000) -- state 577 ,(-1,-31) -- state 578 ,( 5, 67),( 24, 71) ,( 86, 571),(-1,-3000) -- state 579 ,(-1,-358) -- state 580 ,( 28,-1027) ,( 33,-1027),(-1,-341) -- state 581 ,(-1,-621) -- state 582 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 583 ,(-1,-1030) -- state 584 ,(-1,-1086) -- state 585 ,(-1,-303) -- state 586 ,( 5, 67),( 8, 99) ,( 9, 102),( 49, 441),( 62, 58),( 83, 57) ,( 84, 195),(-1,-3000) -- state 587 ,( 17, 597),( 33, 69) ,(-1,-3000) -- state 588 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 589 ,(-1,-307) -- state 590 ,( 62, 58),( 83, 57) ,(-1,-3000) -- state 591 ,( 24, 71),(-1,-522) -- state 592 ,( 24, 71) ,( 91, 237),(-1,-3000) -- state 593 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),(-1,-3000) -- state 594 ,( 17, 597) ,( 33, 69),(-1,-3000) -- state 595 ,( 17, 597),( 33, 69) ,(-1,-3000) -- state 596 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 597 ,(-1,-13) -- state 598 ,( 33, 69) ,(-1,-3000) -- state 599 ,(-1,-834) -- state 600 ,( 33, 69),(-1,-3000) -- state 601 ,(-1,-838) -- state 602 ,(-1,-9) -- state 603 ,( 32, 225),(-1,-3000) -- state 604 ,( 25, 272),(-1,-3000) -- state 605 ,( 25, 272),( 33, 69) ,(-1,-3000) -- state 606 ,( 24, 71),( 38, 456),( 40, 354) ,( 44, 448),( 52, 635),( 53, 634),( 67, 643) ,( 69, 49),( 71, 415),( 72, 138),( 73, 52) ,( 82, 32),( 84, 195),( 86, 571),( 96, 633) ,( 97, 632),( 98, 194),(-1,-3000) -- state 607 ,(-1,-841) -- state 608 ,(-1,-842) -- state 609 ,(-1,-843) -- state 610 ,(-1,-844) -- state 611 ,(-1,-845) -- state 612 ,(-1,-846) -- state 613 ,(-1,-847) -- state 614 ,(-1,-848) -- state 615 ,(-1,-849) -- state 616 ,(-1,-850) -- state 617 ,(-1,-851) -- state 618 ,( 69, 49),( 72, 138) ,( 96, 633),( 97, 632),(-1,-3000) -- state 619 ,( 69, 49) ,( 82, 32),(-1,-3000) -- state 620 ,( 67, 643),( 72, 138) ,( 82, 32),(-1,-3000) -- state 621 ,(-1,-857) -- state 622 ,( 67, 643) ,( 72, 138),(-1,-3000) -- state 623 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 624 ,( 13, 602),(-1,-3000) -- state 625 ,( 13, 602),(-1,-3000) -- state 626 ,( 13, 602),(-1,-3000) -- state 627 ,( 13, 602),(-1,-3000) -- state 628 ,( 13, 602),(-1,-3000) -- state 629 ,(-1,-882) -- state 630 ,(-1,-883) -- state 631 ,(-1,-884) -- state 632 ,(-1,-93) -- state 633 ,(-1,-92) -- state 634 ,(-1,-49) -- state 635 ,(-1,-48) -- state 636 ,( 40, 354) ,(-1,-3000) -- state 637 ,(-1,-294) -- state 638 ,(-1,-296) -- state 639 ,( 67, 643) ,(-1,-3000) -- state 640 ,( 67, 643),(-1,-3000) -- state 641 ,( 43, 378) ,(-1,-290) -- state 642 ,( 5, 67),( 8, 99),( 9, 102) ,( 42, 332),( 49, 441),( 62, 58),( 73, 52) ,( 83, 57),( 84, 195),(-1,-3000) -- state 643 ,(-1,-63) -- state 644 ,( 33, 69),(-1,-3000) -- state 645 ,(-1,-891) -- state 646 ,(-1,-892) -- state 647 ,(-1,-893) -- state 648 ,( 33,-894),(-1,-341) -- state 649 ,( 5, 67) ,( 8, 99),( 9, 102),( 13, 602),( 33, 69) ,( 74, 264),(-1,-3000) -- state 650 ,(-1,-1076) -- state 651 ,(-1,-887) -- state 652 ,( 72, 138),(-1,-3000) -- state 653 ,(-1,-947) -- state 654 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),( 66, 352) ,( 73, 52),( 78, 353),(-1,-3000) -- state 655 ,( 25, 272) ,( 33, 69),(-1,-3000) -- state 656 ,( 5, 67),(-1,-3000) -- state 657 ,(-1,-530) -- state 658 ,( 5, 67),( 8, 99),( 9, 102) ,( 40, 354),(-1,-3000) -- state 659 ,(-1,-524) -- state 660 ,(-1,-527) -- state 661 ,(-1,-525) -- state 662 ,(-1,-96) -- state 663 ,( 43, 378),(-1,-385) -- state 664 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 665 ,(-1,-51) -- state 666 ,( 76, 379),(-1,-389) -- state 667 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 668 ,( 107, 380),(-1,-393) -- state 669 ,(-1,-998) -- state 670 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 671 ,(-1,-192) -- state 672 ,( 19, 573),(-1,-399) -- state 673 ,(-1,-397) -- state 674 ,( 20, 406),( 27, 249),( 29, 250) ,(-1,-400) -- state 675 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 676 ,(-1,-1000) -- state 677 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 678 ,(-1,-1002) -- state 679 ,(-1,-1003) -- state 680 ,(-1,-440) -- state 681 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),( 77, 330) ,(-1,-3000) -- state 682 ,(-1,-941) -- state 683 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 684 ,(-1,-944) -- state 685 ,( 68, 74),(-1,-3000) -- state 686 ,( 1, 9),( 5, 67) ,( 61, 193),( 62, 58),( 63, 56),( 73, 52) ,( 79, 53),( 80, 47),( 81, 17),( 83, 57) ,( 84, 195),( 95, 192),( 98, 194),( 101, 103) ,( 103, 51),(-1,-321) -- state 687 ,( 5, 67),(-1,-3000) -- state 688 ,( 5, 67),(-1,-3000) -- state 689 ,( 57, 301),(-1,-3000) -- state 690 ,( 33, 69),(-1,-3000) -- state 691 ,(-1,-819) -- state 692 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 693 ,( 52, 635) ,( 53, 634),( 86, 571),(-1,-141) -- state 694 ,( 33, 69) ,(-1,-3000) -- state 695 ,( 52, 635),( 53, 634),( 86, 571) ,( 89, 75),(-1,-139) -- state 696 ,(-1,-145) -- state 697 ,(-1,-146) -- state 698 ,(-1,-147) -- state 699 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 700 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 701 ,(-1,-140) -- state 702 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 703 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 704 ,( 5, 67),( 8, 99),( 9, 102) ,( 40, 354),(-1,-3000) -- state 705 ,( 5, 67),( 8, 99) ,( 9, 102),( 40, 354),( 44, 448),( 73, 52) ,(-1,-3000) -- state 706 ,( 17, 597),( 33, 69),(-1,-3000) -- state 707 ,( 17, 597),( 33, 69),(-1,-3000) -- state 708 ,( 17, 597) ,( 33, 69),(-1,-3000) -- state 709 ,( 17, 597),( 33, 69) ,(-1,-3000) -- state 710 ,( 17, 597),( 33, 69),(-1,-3000) -- state 711 ,( 17, 597),( 33, 69),(-1,-3000) -- state 712 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 713 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 714 ,( 33, 69),(-1,-3000) -- state 715 ,(-1,-157) -- state 716 ,( 33, 69),(-1,-3000) -- state 717 ,(-1,-165) -- state 718 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 719 ,( 33, 69) ,(-1,-3000) -- state 720 ,(-1,-173) -- state 721 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 722 ,(-1,-793) -- state 723 ,( 33, 69) ,(-1,-3000) -- state 724 ,( 33, 69),(-1,-3000) -- state 725 ,( 33, 69) ,(-1,-3000) -- state 726 ,(-1,-280) -- state 727 ,(-1,-567) -- state 728 ,(-1,-788) -- state 729 ,( 1, 9),( 5, 67),( 61, 193),( 62, 58) ,( 63, 56),( 73, 52),( 79, 53),( 80, 47) ,( 81, 17),( 83, 57),( 84, 195),( 94, 27) ,( 95, 192),( 98, 194),( 101, 103),( 103, 51) ,(-1,-321) -- state 730 ,(-1,-909) -- state 731 ,(-1,-41) -- state 732 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 733 ,( 33, 69),(-1,-3000) -- state 734 ,( 1, 9),( 5, 67) ,( 45, 731),( 57, 301),( 81, 17),(-1,-3000) -- state 735 ,( 5, 67),(-1,-3000) -- state 736 ,( 33, 69),( 68, 74) ,(-1,-3000) -- state 737 ,( 1, 9),( 57, 301),( 58, 749) ,( 61, 193),( 72, 138),( 73, 52),( 79, 53) ,( 81, 17),( 82, 32),(-1,-3000) -- state 738 ,(-1,-642) -- state 739 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 740 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 73, 52),( 79, 53),( 81, 17),( 82, 32) ,(-1,-3000) -- state 741 ,( 57, 301),(-1,-3000) -- state 742 ,( 5, 67) ,(-1,-653) -- state 743 ,(-1,-1032) -- state 744 ,( 1, 9),( 58, 749) ,( 61, 193),( 73, 52),( 79, 53),( 81, 17) ,(-1,-1034) -- state 745 ,(-1,-654) -- state 746 ,(-1,-655) -- state 747 ,( 58, 749) ,(-1,-3000) -- state 748 ,( 5, 67),(-1,-3000) -- state 749 ,(-1,-54) -- state 750 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 73, 52),( 79, 53),( 81, 17),( 82, 32) ,(-1,-3000) -- state 751 ,( 33, 69),(-1,-3000) -- state 752 ,( 1, 9) ,( 5, 67),( 61, 193),( 62, 58),( 63, 56) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 83, 57),( 84, 195),( 94, 27),( 95, 192) ,( 98, 194),( 101, 103),( 103, 51),(-1,-321) -- state 753 ,( 68, 74),(-1,-3000) -- state 754 ,( 1, 9),( 57, 301) ,( 58, 749),( 61, 193),( 62, 58),( 72, 138) ,( 73, 52),( 79, 53),( 81, 17),( 82, 32) ,( 83, 57),(-1,-3000) -- state 755 ,( 1, 9),( 57, 301) ,( 58, 749),( 61, 193),( 62, 58),( 73, 52) ,( 79, 53),( 81, 17),( 82, 32),( 83, 57) ,(-1,-3000) -- state 756 ,( 57, 301),(-1,-3000) -- state 757 ,( 5, 67) ,(-1,-671) -- state 758 ,(-1,-1037) -- state 759 ,( 1, 9),( 5, 67) ,( 58, 749),( 61, 193),( 62, 58),( 73, 52) ,( 79, 53),( 81, 17),( 83, 57),(-1,-1039) -- state 760 ,(-1,-672) -- state 761 ,(-1,-673) -- state 762 ,(-1,-674) -- state 763 ,( 58, 749) ,( 62, 58),( 83, 57),(-1,-3000) -- state 764 ,( 33, 69) ,(-1,-3000) -- state 765 ,( 1, 9),( 57, 301),( 58, 749) ,( 61, 193),( 62, 58),( 73, 52),( 79, 53) ,( 81, 17),( 82, 32),( 83, 57),(-1,-3000) -- state 766 ,( 33, 69),(-1,-3000) -- state 767 ,( 1, 9),( 57, 301) ,( 58, 749),( 61, 193),( 62, 58),( 73, 52) ,( 79, 53),( 81, 17),( 83, 57),( 94, 27) ,(-1,-3000) -- state 768 ,(-1,-129) -- state 769 ,(-1,-130) -- state 770 ,(-1,-131) -- state 771 ,(-1,-132) -- state 772 ,(-1,-133) -- state 773 ,(-1,-134) -- state 774 ,(-1,-135) -- state 775 ,(-1,-136) -- state 776 ,( 5, 67),( 8, 99),(-1,-3000) -- state 777 ,(-1,-199) -- state 778 ,(-1,-200) -- state 779 ,(-1,-203) -- state 780 ,(-1,-204) -- state 781 ,( 69, 49),( 72, 138),( 96, 633),( 97, 632) ,(-1,-3000) -- state 782 ,( 69, 49),( 74, 264),( 82, 32) ,( 87, 566),(-1,-977) -- state 783 ,( 67, 643),( 72, 138) ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 784 ,(-1,-255) -- state 785 ,( 5, 67),( 8, 99),( 9, 102) ,( 73, 52),(-1,-3000) -- state 786 ,( 67, 643),( 72, 138) ,(-1,-3000) -- state 787 ,(-1,-201) -- state 788 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 789 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 790 ,(-1,-208) -- state 791 ,(-1,-209) -- state 792 ,( 1, 9),( 5, 67) ,( 48, 529),( 61, 193),( 74, 264),( 81, 17) ,(-1,-261) -- state 793 ,( 87, 566),(-1,-3000) -- state 794 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 795 ,( 33, 69),(-1,-3000) -- state 796 ,( 33, 69),(-1,-3000) -- state 797 ,( 24, 71),( 38, 456),( 40, 354),( 44, 448) ,( 52, 635),( 53, 634),( 67, 643),( 69, 49) ,( 71, 415),( 72, 138),( 73, 52),( 74, 264) ,( 82, 32),( 84, 195),( 86, 571),( 87, 566) ,( 96, 633),( 97, 632),( 98, 194),(-1,-3000) -- state 798 ,( 33, 69),(-1,-3000) -- state 799 ,(-1,-317) -- state 800 ,(-1,-318) -- state 801 ,( 1, 9),( 81, 17),( 104, 813),(-1,-3000) -- state 802 ,(-1,-794) -- state 803 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-443) -- state 804 ,(-1,-1005) -- state 805 ,(-1,-445) -- state 806 ,(-1,-447) -- state 807 ,(-1,-1006) -- state 808 ,( 11, 1125),(-1,-3000) -- state 809 ,(-1,-468) -- state 810 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 811 ,(-1,-700) -- state 812 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 813 ,(-1,-100) -- state 814 ,( 33, 69),( 104, 813),(-1,-341) -- state 815 ,( 33, 69) ,(-1,-3000) -- state 816 ,(-1,-505) -- state 817 ,( 33, 69),(-1,-341) -- state 818 ,( 33, 69),(-1,-3000) -- state 819 ,(-1,-555) -- state 820 ,( 32, 225) ,(-1,-3000) -- state 821 ,( 33, 69),( 106, 50),(-1,-341) -- state 822 ,( 28, 218),( 33, 69),(-1,-341) -- state 823 ,( 33, 69) ,( 106, 50),(-1,-341) -- state 824 ,(-1,-803) -- state 825 ,(-1,-922) -- state 826 ,(-1,-476) -- state 827 ,( 100, 662),(-1,-3000) -- state 828 ,( 68, 74) ,(-1,-3000) -- state 829 ,( 70, 533),(-1,-3000) -- state 830 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 831 ,( 46, 292) ,(-1,-3000) -- state 832 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 833 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 834 ,( 57, 301),(-1,-3000) -- state 835 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 836 ,( 57, 301) ,(-1,-3000) -- state 837 ,( 24, 71),(-1,-522) -- state 838 ,(-1,-98) -- state 839 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 840 ,( 33, 69),(-1,-3000) -- state 841 ,(-1,-1013) -- state 842 ,(-1,-490) -- state 843 ,( 66, 352),(-1,-3000) -- state 844 ,(-1,-491) -- state 845 ,(-1,-1014) -- state 846 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 847 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 39, 535),( 51, 538) ,( 81, 17),( 99, 857),(-1,-3000) -- state 848 ,(-1,-970) -- state 849 ,(-1,-726) -- state 850 ,(-1,-727) -- state 851 ,(-1,-728) -- state 852 ,(-1,-729) -- state 853 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 14, 521),( 36, 526),( 39, 535),( 46, 292) ,( 48, 529),( 50, 541),( 51, 538),( 60, 522) ,( 61, 193),( 64, 523),( 65, 528),( 70, 533) ,( 74, 264),( 81, 17),( 85, 527),( 90, 524) ,( 91, 237),( 93, 542),( 105, 540),(-1,-731) -- state 854 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 14, 521),( 36, 526),( 39, 535),( 46, 292) ,( 48, 529),( 50, 541),( 51, 538),( 60, 522) ,( 61, 193),( 64, 523),( 65, 528),( 70, 533) ,( 74, 264),( 81, 17),( 85, 527),( 90, 524) ,( 91, 237),( 93, 542),( 105, 540),(-1,-733) -- state 855 ,( 33, 69),(-1,-3000) -- state 856 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-738) -- state 857 ,(-1,-95) -- state 858 ,(-1,-739) -- state 859 ,( 33, 69),(-1,-341) -- state 860 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 39, 535),( 51, 538) ,( 81, 17),( 99, 857),(-1,-3000) -- state 861 ,( 55, 665) ,( 57, 301),( 76, 379),( 100, 662),(-1,-3000) -- state 862 ,( 5, 67),( 9, 102),( 33, 69),(-1,-3000) -- state 863 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 864 ,(-1,-825) -- state 865 ,( 18, 376),(-1,-3000) -- state 866 ,(-1,-826) -- state 867 ,( 18,-348),(-1,-339) -- state 868 ,( 18,-349) ,(-1,-338) -- state 869 ,( 18,-350),(-1,-340) -- state 870 ,( 25, 272) ,( 28, 218),(-1,-3000) -- state 871 ,(-1,-820) -- state 872 ,( 5, 67) ,(-1,-570) -- state 873 ,(-1,-571) -- state 874 ,( 38, 456),( 72, 138) ,( 74, 264),(-1,-3000) -- state 875 ,(-1,-573) -- state 876 ,( 33, 69) ,(-1,-3000) -- state 877 ,(-1,-817) -- state 878 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-3000) -- state 879 ,( 57, 301),(-1,-3000) -- state 880 ,( 5, 67),( 33, 69),(-1,-3000) -- state 881 ,(-1,-635) -- state 882 ,(-1,-777) -- state 883 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),( 77, 330),(-1,-3000) -- state 884 ,(-1,-984) -- state 885 ,(-1,-365) -- state 886 ,( 19, 573),(-1,-3000) -- state 887 ,(-1,-191) -- state 888 ,(-1,-233) -- state 889 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),( 77, 330),(-1,-3000) -- state 890 ,(-1,-275) -- state 891 ,(-1,-276) -- state 892 ,(-1,-974) -- state 893 ,( 24, 71),(-1,-355) -- state 894 ,(-1,-353) -- state 895 ,(-1,-1029) -- state 896 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 897 ,(-1,-305) -- state 898 ,( 62, 58) ,( 83, 57),(-1,-3000) -- state 899 ,( 24, 71),(-1,-522) -- state 900 ,( 24, 71),( 91, 237),(-1,-3000) -- state 901 ,( 33, 69) ,(-1,-3000) -- state 902 ,(-1,-832) -- state 903 ,(-1,-306) -- state 904 ,( 24, 71) ,(-1,-522) -- state 905 ,( 24, 71),( 91, 237),(-1,-3000) -- state 906 ,(-1,-311) -- state 907 ,(-1,-315) -- state 908 ,( 17, 597),( 33, 69) ,(-1,-3000) -- state 909 ,( 33, 69),(-1,-3000) -- state 910 ,(-1,-830) -- state 911 ,( 33, 69),(-1,-3000) -- state 912 ,(-1,-836) -- state 913 ,(-1,-245) -- state 914 ,(-1,-960) -- state 915 ,(-1,-833) -- state 916 ,(-1,-837) -- state 917 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),( 73, 52) ,(-1,-3000) -- state 918 ,(-1,-236) -- state 919 ,( 25, 272),( 33, 69) ,(-1,-3000) -- state 920 ,( 5, 67),(-1,-3000) -- state 921 ,(-1,-238) -- state 922 ,( 33, 69),(-1,-3000) -- state 923 ,( 69, 49),( 82, 32) ,(-1,-3000) -- state 924 ,( 72, 138),(-1,-3000) -- state 925 ,( 72, 138) ,(-1,-3000) -- state 926 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 927 ,( 82, 32),(-1,-3000) -- state 928 ,(-1,-855) -- state 929 ,( 43, 378),(-1,-288) -- state 930 ,(-1,-856) -- state 931 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 932 ,( 43, 378) ,(-1,-282) -- state 933 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 934 ,( 43, 378),( 106, 50),(-1,-875) -- state 935 ,( 25, 272),(-1,-3000) -- state 936 ,(-1,-877) -- state 937 ,(-1,-878) -- state 938 ,(-1,-879) -- state 939 ,( 53, 634),(-1,-880) -- state 940 ,(-1,-293) -- state 941 ,(-1,-295) -- state 942 ,( 43, 378),(-1,-284) -- state 943 ,( 43, 378) ,(-1,-286) -- state 944 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 945 ,(-1,-289) -- state 946 ,(-1,-1088) -- state 947 ,(-1,-1089) -- state 948 ,( 5, 67),( 8, 99),( 9, 102),( 73, 52) ,(-1,-3000) -- state 949 ,(-1,-298) -- state 950 ,( 62, 58),( 83, 57) ,(-1,-3000) -- state 951 ,( 24, 71),(-1,-522) -- state 952 ,( 24, 71) ,( 91, 237),(-1,-3000) -- state 953 ,(-1,-840) -- state 954 ,( 33, 69) ,(-1,-3000) -- state 955 ,(-1,-890) -- state 956 ,( 5, 67),(-1,-3000) -- state 957 ,( 5, 67),( 8, 99),( 9, 102),( 40, 354) ,(-1,-3000) -- state 958 ,( 5, 67),( 8, 99),( 9, 102) ,( 73, 52),(-1,-3000) -- state 959 ,( 17, 597),(-1,-538) -- state 960 ,( 17, 597),(-1,-540) -- state 961 ,(-1,-529) -- state 962 ,( 5, 67) ,(-1,-3000) -- state 963 ,(-1,-1017) -- state 964 ,(-1,-523) -- state 965 ,( 43, 378) ,(-1,-384) -- state 966 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 967 ,( 43, 378),(-1,-387) -- state 968 ,( 76, 379),(-1,-388) -- state 969 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 970 ,( 76, 379) ,(-1,-391) -- state 971 ,( 107, 380),(-1,-392) -- state 972 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 973 ,( 19, 573),(-1,-398) -- state 974 ,(-1,-396) -- state 975 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 976 ,(-1,-999) -- state 977 ,(-1,-1001) -- state 978 ,( 25, 272),(-1,-3000) -- state 979 ,(-1,-943) -- state 980 ,( 1, 9),( 5, 67),( 61, 193) ,( 62, 58),( 63, 56),( 73, 52),( 79, 53) ,( 80, 47),( 81, 17),( 83, 57),( 84, 195) ,( 95, 192),( 98, 194),( 101, 103),( 103, 51) ,(-1,-321) -- state 981 ,( 68, 74),(-1,-3000) -- state 982 ,( 68, 74) ,(-1,-3000) -- state 983 ,( 5, 67),( 9, 102),( 33, 69) ,(-1,-3000) -- state 984 ,(-1,-818) -- state 985 ,( 52, 635),( 53, 634) ,( 86, 571),(-1,-139) -- state 986 ,(-1,-137) -- state 987 ,(-1,-138) -- state 988 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 989 ,( 86, 571),(-1,-214) -- state 990 ,( 86, 571),(-1,-928) -- state 991 ,( 33, 69),(-1,-341) -- state 992 ,( 52, 635),( 53, 634) ,( 86, 571),(-1,-141) -- state 993 ,(-1,-222) -- state 994 ,(-1,-223) -- state 995 ,( 19, 573),(-1,-3000) -- state 996 ,( 23,-341),( 24,-341) ,( 25,-142),( 28,-142),( 30,-341),( 52,-142) ,( 53,-142),( 70,-142),( 86,-142),(-1,-414) -- state 997 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 72, 138),( 74, 264) ,(-1,-3000) -- state 998 ,( 25, 272),( 28, 218),(-1,-3000) -- state 999 ,( 25, 272),( 28, 218),(-1,-3000) -- state 1000 ,( 17, 597) ,( 33, 69),(-1,-3000) -- state 1001 ,( 17, 597),( 33, 69) ,(-1,-3000) -- state 1002 ,( 17, 597),( 33, 69),(-1,-3000) -- state 1003 ,( 33, 69),(-1,-3000) -- state 1004 ,(-1,-153) -- state 1005 ,( 33, 69) ,(-1,-3000) -- state 1006 ,(-1,-161) -- state 1007 ,( 33, 69),(-1,-3000) -- state 1008 ,(-1,-169) -- state 1009 ,( 33, 69),(-1,-3000) -- state 1010 ,(-1,-155) -- state 1011 ,( 33, 69),(-1,-3000) -- state 1012 ,(-1,-163) -- state 1013 ,( 33, 69) ,(-1,-3000) -- state 1014 ,(-1,-171) -- state 1015 ,( 33, 69),(-1,-3000) -- state 1016 ,(-1,-946) -- state 1017 ,(-1,-156) -- state 1018 ,(-1,-164) -- state 1019 ,( 33, 69) ,(-1,-341) -- state 1020 ,(-1,-172) -- state 1021 ,( 33, 69),(-1,-341) -- state 1022 ,(-1,-279) -- state 1023 ,(-1,-566) -- state 1024 ,(-1,-787) -- state 1025 ,( 33, 69) ,(-1,-3000) -- state 1026 ,( 33, 69),(-1,-3000) -- state 1027 ,(-1,-911) -- state 1028 ,( 1, 9),( 5, 67),( 45, 731),( 57, 301) ,( 81, 17),(-1,-3000) -- state 1029 ,(-1,-1081) -- state 1030 ,( 23, 211) ,( 45, 731),(-1,-3000) -- state 1031 ,(-1,-917) -- state 1032 ,(-1,-918) -- state 1033 ,( 71, 415),(-1,-3000) -- state 1034 ,( 87, 566),(-1,-3000) -- state 1035 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 72, 138),( 73, 52),( 79, 53),( 81, 17) ,( 82, 32),(-1,-3000) -- state 1036 ,(-1,-639) -- state 1037 ,( 1, 9) ,( 57, 301),( 58, 749),( 61, 193),( 73, 52) ,( 79, 53),( 81, 17),( 82, 32),(-1,-3000) -- state 1038 ,( 33, 69),(-1,-3000) -- state 1039 ,( 43, 378),(-1,-292) -- state 1040 ,( 106, 50),(-1,-3000) -- state 1041 ,( 57, 301),(-1,-3000) -- state 1042 ,( 5, 67),(-1,-649) -- state 1043 ,(-1,-1031) -- state 1044 ,( 5, 67) ,(-1,-651) -- state 1045 ,(-1,-652) -- state 1046 ,( 1, 9),( 58, 749) ,( 61, 193),( 73, 52),( 79, 53),( 81, 17) ,(-1,-1033) -- state 1047 ,( 5, 67),(-1,-3000) -- state 1048 ,( 24, 71) ,(-1,-522) -- state 1049 ,( 33, 69),(-1,-3000) -- state 1050 ,(-1,-644) -- state 1051 ,( 46, 292),(-1,-3000) -- state 1052 ,( 33, 69),(-1,-3000) -- state 1053 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 62, 58),( 72, 138),( 73, 52),( 79, 53) ,( 81, 17),( 82, 32),( 83, 57),(-1,-3000) -- state 1054 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 62, 58),( 73, 52),( 79, 53),( 81, 17) ,( 82, 32),( 83, 57),(-1,-3000) -- state 1055 ,( 33, 69) ,(-1,-3000) -- state 1056 ,( 57, 301),(-1,-3000) -- state 1057 ,( 5, 67) ,(-1,-667) -- state 1058 ,(-1,-1036) -- state 1059 ,( 5, 67),(-1,-669) -- state 1060 ,(-1,-670) -- state 1061 ,( 1, 9),( 5, 67),( 58, 749) ,( 61, 193),( 62, 58),( 73, 52),( 79, 53) ,( 81, 17),( 83, 57),(-1,-1038) -- state 1062 ,(-1,-1041) -- state 1063 ,(-1,-675) -- state 1064 ,(-1,-676) -- state 1065 ,( 32, 225),(-1,-3000) -- state 1066 ,( 33, 69),(-1,-3000) -- state 1067 ,( 33, 69),(-1,-3000) -- state 1068 ,(-1,-663) -- state 1069 ,( 1, 9),( 57, 301),( 58, 749) ,( 61, 193),( 62, 58),( 73, 52),( 79, 53) ,( 81, 17),( 83, 57),(-1,-3000) -- state 1070 ,(-1,-1043) -- state 1071 ,(-1,-681) -- state 1072 ,(-1,-682) -- state 1073 ,(-1,-683) -- state 1074 ,(-1,-684) -- state 1075 ,( 62, 58),( 83, 57),(-1,-3000) -- state 1076 ,( 33, 69) ,( 68, 74),(-1,-3000) -- state 1077 ,( 5, 67),(-1,-3000) -- state 1078 ,( 5, 67),( 33, 69),(-1,-3000) -- state 1079 ,( 33, 69) ,(-1,-3000) -- state 1080 ,(-1,-196) -- state 1081 ,(-1,-197) -- state 1082 ,(-1,-198) -- state 1083 ,( 25, 272),( 28, 218),(-1,-3000) -- state 1084 ,( 72, 138) ,(-1,-3000) -- state 1085 ,( 5, 67),( 8, 99),( 9, 102) ,( 73, 52),(-1,-3000) -- state 1086 ,( 69, 49),( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1087 ,( 72, 138) ,(-1,-3000) -- state 1088 ,( 74, 264),( 82, 32),( 87, 566) ,(-1,-3000) -- state 1089 ,(-1,-253) -- state 1090 ,( 33, 69),(-1,-3000) -- state 1091 ,( 5, 67),( 8, 99),( 9, 102),( 73, 52) ,(-1,-3000) -- state 1092 ,(-1,-254) -- state 1093 ,( 33, 69),(-1,-3000) -- state 1094 ,( 43,-940),( 52, 635),( 53, 634),( 86, 571) ,( 106,-940),(-1,-141) -- state 1095 ,( 43, 378),( 106, 50) ,(-1,-3000) -- state 1096 ,(-1,-190) -- state 1097 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 1098 ,(-1,-202) -- state 1099 ,( 86, 571) ,(-1,-206) -- state 1100 ,( 1, 9),( 5, 67),( 48, 529) ,( 61, 193),( 81, 17),(-1,-259) -- state 1101 ,(-1,-260) -- state 1102 ,( 33, 69),(-1,-3000) -- state 1103 ,(-1,-968) -- state 1104 ,( 1, 9) ,( 81, 17),(-1,-932) -- state 1105 ,(-1,-264) -- state 1106 ,(-1,-265) -- state 1107 ,( 5, 67),( 9, 102),(-1,-3000) -- state 1108 ,( 57, 301) ,(-1,-3000) -- state 1109 ,(-1,-257) -- state 1110 ,( 53, 634),( 86, 571) ,(-1,-3000) -- state 1111 ,(-1,-126) -- state 1112 ,(-1,-592) -- state 1113 ,( 69, 49) ,( 72, 138),( 96, 633),( 97, 632),(-1,-3000) -- state 1114 ,( 69, 49),( 74, 264),( 82, 32),( 87, 566) ,(-1,-977) -- state 1115 ,( 67, 643),( 72, 138),( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1116 ,( 5, 67) ,( 8, 99),( 9, 102),( 73, 52),(-1,-3000) -- state 1117 ,( 67, 643),( 72, 138),(-1,-3000) -- state 1118 ,( 33, 69) ,(-1,-3000) -- state 1119 ,( 33, 69),(-1,-3000) -- state 1120 ,(-1,-316) -- state 1121 ,( 1, 9),( 81, 17),( 104, 813),(-1,-3000) -- state 1122 ,( 5, 67),( 8, 99),( 9, 102),( 77, 330) ,(-1,-3000) -- state 1123 ,( 104, 813),(-1,-1065) -- state 1124 ,(-1,-1004) -- state 1125 ,(-1,-7) -- state 1126 ,(-1,-469) -- state 1127 ,( 33, 69),(-1,-3000) -- state 1128 ,(-1,-1015) -- state 1129 ,( 33, 69),(-1,-3000) -- state 1130 ,(-1,-503) -- state 1131 ,(-1,-504) -- state 1132 ,(-1,-506) -- state 1133 ,(-1,-554) -- state 1134 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),( 41, 440) ,( 73, 52),(-1,-3000) -- state 1135 ,( 36, 526),(-1,-3000) -- state 1136 ,( 33, 69),(-1,-3000) -- state 1137 ,(-1,-702) -- state 1138 ,( 28, 218) ,( 33, 69),(-1,-3000) -- state 1139 ,(-1,-749) -- state 1140 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1141 ,( 33, 69),(-1,-3000) -- state 1142 ,(-1,-805) -- state 1143 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 1144 ,( 1, 9) ,( 81, 17),( 104, 813),(-1,-3000) -- state 1145 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 1146 ,( 57, 301) ,(-1,-3000) -- state 1147 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 1148 ,( 57, 301),(-1,-3000) -- state 1149 ,( 57, 301) ,(-1,-3000) -- state 1150 ,( 70, 533),(-1,-3000) -- state 1151 ,( 57, 301) ,(-1,-3000) -- state 1152 ,( 5, 67),( 33, 69),(-1,-3000) -- state 1153 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1154 ,( 24, 71),(-1,-522) -- state 1155 ,( 33, 69) ,( 54, 1407),(-1,-3000) -- state 1156 ,( 33, 69),(-1,-3000) -- state 1157 ,(-1,-706) -- state 1158 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),( 92, 1411),(-1,-3000) -- state 1159 ,( 18, 376) ,(-1,-3000) -- state 1160 ,( 55, 665),( 57, 301),( 76, 379) ,( 100, 662),(-1,-3000) -- state 1161 ,(-1,-969) -- state 1162 ,(-1,-730) -- state 1163 ,(-1,-732) -- state 1164 ,( 1, 9),( 81, 17),(-1,-735) -- state 1165 ,(-1,-737) -- state 1166 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 39, 535),( 51, 538),( 81, 17) ,( 99, 857),(-1,-3000) -- state 1167 ,( 55, 665),( 57, 301) ,( 76, 379),(-1,-3000) -- state 1168 ,( 55, 665),( 57, 301) ,( 76, 379),(-1,-3000) -- state 1169 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 39, 535),( 51, 538) ,( 81, 17),( 99, 857),( 104, 813),(-1,-3000) -- state 1170 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 14, 521),( 36, 526),( 39, 535),( 46, 292) ,( 48, 529),( 50, 541),( 51, 538),( 60, 522) ,( 61, 193),( 64, 523),( 65, 528),( 70, 533) ,( 74, 264),( 81, 17),( 85, 527),( 90, 524) ,( 91, 237),( 93, 542),( 105, 540),(-1,-3000) -- state 1171 ,( 57, 301),(-1,-3000) -- state 1172 ,( 93, 542),(-1,-3000) -- state 1173 ,( 36, 526),(-1,-3000) -- state 1174 ,(-1,-514) -- state 1175 ,(-1,-515) -- state 1176 ,( 33, 69),(-1,-3000) -- state 1177 ,(-1,-544) -- state 1178 ,(-1,-824) -- state 1179 ,(-1,-1020) -- state 1180 ,( 25, 272),( 28, 218),(-1,-3000) -- state 1181 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1182 ,(-1,-823) -- state 1183 ,(-1,-569) -- state 1184 ,(-1,-816) -- state 1185 ,(-1,-1026) -- state 1186 ,( 5, 67),( 33, 69),(-1,-3000) -- state 1187 ,( 33, 69),(-1,-3000) -- state 1188 ,(-1,-580) -- state 1189 ,(-1,-983) -- state 1190 ,(-1,-973) -- state 1191 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1192 ,(-1,-354) -- state 1193 ,(-1,-304) -- state 1194 ,( 24, 71),(-1,-522) -- state 1195 ,( 24, 71),( 91, 237) ,(-1,-3000) -- state 1196 ,(-1,-309) -- state 1197 ,(-1,-313) -- state 1198 ,(-1,-831) -- state 1199 ,(-1,-310) -- state 1200 ,(-1,-314) -- state 1201 ,( 33, 69),(-1,-3000) -- state 1202 ,(-1,-828) -- state 1203 ,(-1,-829) -- state 1204 ,(-1,-835) -- state 1205 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),(-1,-3000) -- state 1206 ,( 17, 597),(-1,-242) -- state 1207 ,( 17, 597),(-1,-244) -- state 1208 ,(-1,-237) -- state 1209 ,( 5, 67),(-1,-3000) -- state 1210 ,(-1,-959) -- state 1211 ,(-1,-839) -- state 1212 ,( 82, 32),(-1,-3000) -- state 1213 ,(-1,-853) -- state 1214 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 1215 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 1216 ,( 43, 378),( 106, 50),(-1,-866) -- state 1217 ,(-1,-854) -- state 1218 ,(-1,-287) -- state 1219 ,( 43, 378),( 106, 50),(-1,-872) -- state 1220 ,(-1,-281) -- state 1221 ,( 43, 378),( 106, 50),(-1,-869) -- state 1222 ,( 106, 50),(-1,-3000) -- state 1223 ,( 82, 32),(-1,-3000) -- state 1224 ,(-1,-876) -- state 1225 ,( 13, 602),(-1,-3000) -- state 1226 ,(-1,-283) -- state 1227 ,(-1,-285) -- state 1228 ,(-1,-949) -- state 1229 ,(-1,-297) -- state 1230 ,( 24, 71) ,(-1,-522) -- state 1231 ,( 24, 71),( 91, 237),(-1,-3000) -- state 1232 ,(-1,-300) -- state 1233 ,(-1,-302) -- state 1234 ,(-1,-889) -- state 1235 ,( 24, 71) ,(-1,-898) -- state 1236 ,( 17, 597),(-1,-536) -- state 1237 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 1238 ,( 17, 597) ,(-1,-534) -- state 1239 ,(-1,-537) -- state 1240 ,(-1,-539) -- state 1241 ,(-1,-1016) -- state 1242 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1243 ,(-1,-989) -- state 1244 ,( 43, 378),(-1,-386) -- state 1245 ,( 100, 662),(-1,-3000) -- state 1246 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 1247 ,(-1,-993) -- state 1248 ,( 76, 379),(-1,-390) -- state 1249 ,( 55, 665),(-1,-3000) -- state 1250 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1251 ,(-1,-997) -- state 1252 ,(-1,-193) -- state 1253 ,(-1,-369) -- state 1254 ,( 1, 9),( 5, 67),( 61, 193),( 62, 58) ,( 63, 56),( 73, 52),( 79, 53),( 80, 47) ,( 81, 17),( 83, 57),( 84, 195),( 95, 192) ,( 98, 194),( 101, 103),( 103, 51),(-1,-321) -- state 1255 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 62, 58),( 73, 52),( 79, 53),( 81, 17) ,( 83, 57),(-1,-3000) -- state 1256 ,( 33, 69),(-1,-3000) -- state 1257 ,(-1,-542) -- state 1258 ,( 33, 69),(-1,-341) -- state 1259 ,(-1,-213) -- state 1260 ,(-1,-927) -- state 1261 ,(-1,-629) -- state 1262 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 13, 602) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1263 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1264 ,( 19,-412),( 20,-412),( 26,-412) ,( 27,-412),( 29,-412),( 31,-412),( 71,-412) ,( 88,-412),(-1,-303) -- state 1265 ,( 25, 272),( 28, 218) ,(-1,-3000) -- state 1266 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 1267 ,( 75, 1483),(-1,-3000) -- state 1268 ,( 25, 272) ,( 28, 218),(-1,-3000) -- state 1269 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 1270 ,( 75, 1483) ,(-1,-3000) -- state 1271 ,( 33, 69),(-1,-3000) -- state 1272 ,(-1,-151) -- state 1273 ,( 33, 69),(-1,-3000) -- state 1274 ,(-1,-159) -- state 1275 ,( 33, 69) ,(-1,-3000) -- state 1276 ,(-1,-167) -- state 1277 ,(-1,-152) -- state 1278 ,(-1,-160) -- state 1279 ,(-1,-168) -- state 1280 ,(-1,-154) -- state 1281 ,(-1,-162) -- state 1282 ,(-1,-170) -- state 1283 ,(-1,-178) -- state 1284 ,(-1,-630) -- state 1285 ,(-1,-631) -- state 1286 ,(-1,-789) -- state 1287 ,(-1,-910) -- state 1288 ,( 87, 566),(-1,-3000) -- state 1289 ,(-1,-1080) -- state 1290 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1291 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1292 ,( 33, 69),(-1,-3000) -- state 1293 ,( 1, 9),( 57, 301),( 58, 749),( 61, 193) ,( 73, 52),( 79, 53),( 81, 17),( 82, 32) ,(-1,-3000) -- state 1294 ,( 33, 69),(-1,-3000) -- state 1295 ,( 33, 69) ,(-1,-3000) -- state 1296 ,(-1,-641) -- state 1297 ,( 43, 378),(-1,-291) -- state 1298 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 1299 ,(-1,-1035) -- state 1300 ,( 5, 67),(-1,-647) -- state 1301 ,(-1,-648) -- state 1302 ,(-1,-650) -- state 1303 ,( 24, 71),(-1,-522) -- state 1304 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1305 ,( 24, 71),(-1,-522) -- state 1306 ,( 33, 69),(-1,-3000) -- state 1307 ,(-1,-643) -- state 1308 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 1309 ,(-1,-790) -- state 1310 ,( 1, 9),( 57, 301) ,( 58, 749),( 61, 193),( 62, 58),( 73, 52) ,( 79, 53),( 81, 17),( 82, 32),( 83, 57) ,(-1,-3000) -- state 1311 ,( 33, 69),(-1,-3000) -- state 1312 ,( 33, 69) ,(-1,-3000) -- state 1313 ,(-1,-661) -- state 1314 ,( 5, 67),(-1,-665) -- state 1315 ,(-1,-666) -- state 1316 ,(-1,-668) -- state 1317 ,(-1,-1040) -- state 1318 ,( 5, 67) ,( 8, 99),( 9, 102),( 40, 354),( 41, 440) ,( 73, 52),(-1,-3000) -- state 1319 ,(-1,-662) -- state 1320 ,( 5, 67) ,( 33, 69),(-1,-3000) -- state 1321 ,(-1,-1042) -- state 1322 ,( 33, 69) ,( 68, 74),(-1,-3000) -- state 1323 ,( 24, 71),(-1,-522) -- state 1324 ,( 33, 69),(-1,-3000) -- state 1325 ,(-1,-680) -- state 1326 ,(-1,-791) -- state 1327 ,( 25, 272),( 28, 218),(-1,-3000) -- state 1328 ,( 5, 67) ,( 8, 99),(-1,-3000) -- state 1329 ,(-1,-195) -- state 1330 ,( 5, 67) ,( 8, 99),( 9, 102),( 73, 52),(-1,-3000) -- state 1331 ,( 43, 378),( 106, 50),(-1,-3000) -- state 1332 ,(-1,-188) -- state 1333 ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 1334 ,(-1,-251) -- state 1335 ,( 33, 69),(-1,-3000) -- state 1336 ,( 5, 67) ,( 8, 99),( 9, 102),(-1,-3000) -- state 1337 ,(-1,-252) -- state 1338 ,( 33, 69),(-1,-3000) -- state 1339 ,(-1,-590) -- state 1340 ,( 43, 378) ,( 106, 50),(-1,-3000) -- state 1341 ,(-1,-189) -- state 1342 ,(-1,-591) -- state 1343 ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 1344 ,( 106, 50),(-1,-3000) -- state 1345 ,(-1,-186) -- state 1346 ,(-1,-940) -- state 1347 ,( 43, 378),( 106, 50),(-1,-3000) -- state 1348 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1349 ,(-1,-205) -- state 1350 ,(-1,-258) -- state 1351 ,(-1,-967) -- state 1352 ,( 1, 9) ,( 81, 17),(-1,-263) -- state 1353 ,( 1, 9),( 81, 17) ,(-1,-931) -- state 1354 ,( 68, 74),(-1,-3000) -- state 1355 ,( 87, 566) ,(-1,-3000) -- state 1356 ,(-1,-210) -- state 1357 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 1358 ,( 72, 138) ,(-1,-3000) -- state 1359 ,( 5, 67),( 8, 99),( 9, 102) ,( 73, 52),(-1,-3000) -- state 1360 ,( 69, 49),( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1361 ,( 72, 138) ,(-1,-3000) -- state 1362 ,( 74, 264),( 82, 32),( 87, 566) ,(-1,-3000) -- state 1363 ,( 33, 69),(-1,-3000) -- state 1364 ,( 5, 67) ,( 8, 99),( 9, 102),( 73, 52),(-1,-3000) -- state 1365 ,( 33, 69),(-1,-3000) -- state 1366 ,( 43, 378),( 106, 50) ,(-1,-3000) -- state 1367 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 1368 ,(-1,-125) -- state 1369 ,(-1,-586) -- state 1370 ,( 104, 813) ,(-1,-1063) -- state 1371 ,( 32, 225),(-1,-3000) -- state 1372 ,( 23,-341) ,( 24,-341),( 30,-341),(-1,-801) -- state 1373 ,(-1,-802) -- state 1374 ,(-1,-800) -- state 1375 ,( 5, 67),( 8, 99),( 9, 102) ,( 77, 330),(-1,-3000) -- state 1376 ,( 18, 376),( 35, 577) ,(-1,-3000) -- state 1377 ,( 104, 813),(-1,-1064) -- state 1378 ,(-1,-1067) -- state 1379 ,(-1,-471) -- state 1380 ,(-1,-502) -- state 1381 ,(-1,-564) -- state 1382 ,(-1,-565) -- state 1383 ,( 5, 67),( 8, 99),( 9, 102),( 40, 354) ,( 73, 52),(-1,-3000) -- state 1384 ,( 17, 597),( 33, 69) ,( 54, 1407),(-1,-3000) -- state 1385 ,(-1,-1049) -- state 1386 ,(-1,-701) -- state 1387 ,(-1,-748) -- state 1388 ,(-1,-1071) -- state 1389 ,(-1,-804) -- state 1390 ,( 55, 665) ,( 56, 1577),( 57, 301),(-1,-3000) -- state 1391 ,( 1, 9) ,( 81, 17),( 104, 813),(-1,-3000) -- state 1392 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),( 77, 330) ,(-1,-3000) -- state 1393 ,( 57, 301),( 104, 813),(-1,-3000) -- state 1394 ,( 57, 301),(-1,-3000) -- state 1395 ,( 70, 533),(-1,-3000) -- state 1396 ,( 57, 301),(-1,-3000) -- state 1397 ,( 5, 67),( 33, 69) ,(-1,-3000) -- state 1398 ,( 70, 533),(-1,-3000) -- state 1399 ,( 5, 67) ,( 33, 69),(-1,-3000) -- state 1400 ,( 5, 67),( 33, 69) ,(-1,-3000) -- state 1401 ,( 33, 69),(-1,-3000) -- state 1402 ,(-1,-501) -- state 1403 ,(-1,-693) -- state 1404 ,( 25, 272),(-1,-3000) -- state 1405 ,( 33, 69) ,( 54, 1407),(-1,-3000) -- state 1406 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-3000) -- state 1407 ,(-1,-50) -- state 1408 ,( 33, 69) ,(-1,-3000) -- state 1409 ,(-1,-692) -- state 1410 ,(-1,-705) -- state 1411 ,(-1,-88) -- state 1412 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1413 ,(-1,-493) -- state 1414 ,(-1,-725) -- state 1415 ,( 55, 665) ,( 57, 301),( 76, 379),(-1,-3000) -- state 1416 ,( 57, 301) ,(-1,-3000) -- state 1417 ,( 93, 542),(-1,-3000) -- state 1418 ,( 36, 526) ,(-1,-3000) -- state 1419 ,( 1, 9),( 81, 17),(-1,-734) -- state 1420 ,( 55, 665),( 57, 301),( 76, 379),(-1,-3000) -- state 1421 ,( 55, 665),( 57, 301),( 76, 379),(-1,-3000) -- state 1422 ,( 57, 301),(-1,-3000) -- state 1423 ,( 93, 542),(-1,-3000) -- state 1424 ,( 57, 301),(-1,-3000) -- state 1425 ,( 93, 542),(-1,-3000) -- state 1426 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 39, 535),( 51, 538),( 81, 17),( 99, 857) ,( 104, 813),(-1,-3000) -- state 1427 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 39, 535),( 51, 538) ,( 81, 17),( 99, 857),(-1,-3000) -- state 1428 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 39, 535) ,( 51, 538),( 81, 17),( 99, 857),(-1,-3000) -- state 1429 ,(-1,-1057) -- state 1430 ,(-1,-1010) -- state 1431 ,( 93, 542),(-1,-3000) -- state 1432 ,( 33, 69),(-1,-3000) -- state 1433 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-3000) -- state 1434 ,(-1,-543) -- state 1435 ,(-1,-822) -- state 1436 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1437 ,(-1,-1075) -- state 1438 ,( 33, 69),(-1,-3000) -- state 1439 ,(-1,-578) -- state 1440 ,(-1,-579) -- state 1441 ,( 25, 272),(-1,-3000) -- state 1442 ,(-1,-308) -- state 1443 ,(-1,-312) -- state 1444 ,(-1,-827) -- state 1445 ,( 17, 597) ,(-1,-240) -- state 1446 ,(-1,-241) -- state 1447 ,(-1,-243) -- state 1448 ,(-1,-958) -- state 1449 ,(-1,-852) -- state 1450 ,( 43, 378),( 106, 50),(-1,-860) -- state 1451 ,( 43, 378),( 106, 50),(-1,-863) -- state 1452 ,( 106, 50) ,(-1,-3000) -- state 1453 ,( 82, 32),(-1,-3000) -- state 1454 ,( 106, 50) ,(-1,-3000) -- state 1455 ,( 82, 32),(-1,-3000) -- state 1456 ,( 106, 50) ,(-1,-3000) -- state 1457 ,( 82, 32),(-1,-3000) -- state 1458 ,( 82, 32) ,(-1,-3000) -- state 1459 ,(-1,-874) -- state 1460 ,(-1,-881) -- state 1461 ,(-1,-299) -- state 1462 ,(-1,-301) -- state 1463 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 13, 602),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),( 77, 330),(-1,-3000) -- state 1464 ,( 33, 69),(-1,-3000) -- state 1465 ,(-1,-535) -- state 1466 ,( 17, 597) ,(-1,-532) -- state 1467 ,(-1,-533) -- state 1468 ,(-1,-988) -- state 1469 ,( 100, 662) ,(-1,-3000) -- state 1470 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1471 ,(-1,-992) -- state 1472 ,( 55, 665) ,(-1,-3000) -- state 1473 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1474 ,(-1,-996) -- state 1475 ,(-1,-541) -- state 1476 ,(-1,-628) -- state 1477 ,(-1,-219) -- state 1478 ,(-1,-224) -- state 1479 ,( 75, 1483) ,(-1,-3000) -- state 1480 ,( 5, 67),( 8, 99),( 9, 102) ,(-1,-3000) -- state 1481 ,( 86, 571),(-1,-3000) -- state 1482 ,(-1,-953) -- state 1483 ,(-1,-71) -- state 1484 ,( 5, 67),( 8, 99),( 9, 102) ,( 40, 354),( 41, 440),( 73, 52),(-1,-3000) -- state 1485 ,( 75, 1483),(-1,-3000) -- state 1486 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 1487 ,(-1,-955) -- state 1488 ,( 5, 67),( 8, 99),( 9, 102),( 40, 354) ,( 41, 440),( 73, 52),(-1,-3000) -- state 1489 ,(-1,-150) -- state 1490 ,(-1,-158) -- state 1491 ,(-1,-166) -- state 1492 ,( 33, 69),(-1,-3000) -- state 1493 ,(-1,-919) -- state 1494 ,( 86, 571),(-1,-3000) -- state 1495 ,( 33, 69) ,(-1,-3000) -- state 1496 ,(-1,-915) -- state 1497 ,( 33, 69),(-1,-3000) -- state 1498 ,(-1,-638) -- state 1499 ,(-1,-640) -- state 1500 ,( 5, 67),( 8, 99) ,( 9, 102),(-1,-3000) -- state 1501 ,(-1,-976) -- state 1502 ,(-1,-646) -- state 1503 ,( 24, 71),(-1,-522) -- state 1504 ,( 33, 69),(-1,-3000) -- state 1505 ,( 25, 272),(-1,-3000) -- state 1506 ,( 33, 69),(-1,-3000) -- state 1507 ,(-1,-688) -- state 1508 ,( 57, 301),(-1,-3000) -- state 1509 ,( 33, 69) ,(-1,-3000) -- state 1510 ,(-1,-659) -- state 1511 ,(-1,-660) -- state 1512 ,(-1,-664) -- state 1513 ,( 5, 67),( 8, 99),( 9, 102),( 40, 354) ,( 73, 52),(-1,-3000) -- state 1514 ,(-1,-226) -- state 1515 ,(-1,-228) -- state 1516 ,( 17, 597),( 33, 69),(-1,-3000) -- state 1517 ,( 33, 69) ,(-1,-3000) -- state 1518 ,(-1,-678) -- state 1519 ,( 24, 71),(-1,-522) -- state 1520 ,(-1,-697) -- state 1521 ,( 5, 67),( 61, 193),(-1,-3000) -- state 1522 ,( 104, 813),(-1,-3000) -- state 1523 ,(-1,-679) -- state 1524 ,(-1,-194) -- state 1525 ,( 5, 67),( 8, 99),(-1,-3000) -- state 1526 ,(-1,-951) -- state 1527 ,( 43, 378),( 106, 50),(-1,-3000) -- state 1528 ,(-1,-187) -- state 1529 ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 1530 ,( 106, 50),(-1,-3000) -- state 1531 ,(-1,-182) -- state 1532 ,(-1,-250) -- state 1533 ,( 33, 69),(-1,-3000) -- state 1534 ,(-1,-588) -- state 1535 ,( 43, 378) ,( 106, 50),(-1,-3000) -- state 1536 ,(-1,-589) -- state 1537 ,( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1538 ,( 106, 50) ,(-1,-3000) -- state 1539 ,(-1,-184) -- state 1540 ,(-1,-278) -- state 1541 ,( 33, 69) ,(-1,-3000) -- state 1542 ,( 74, 264),( 82, 32),( 87, 566) ,(-1,-3000) -- state 1543 ,(-1,-185) -- state 1544 ,( 106, 50),(-1,-3000) -- state 1545 ,( 82, 32),(-1,-3000) -- state 1546 ,( 19, 573),(-1,-3000) -- state 1547 ,( 1, 9),( 81, 17),(-1,-262) -- state 1548 ,( 1, 9) ,( 81, 17),( 104, 813),(-1,-3000) -- state 1549 ,(-1,-256) -- state 1550 ,( 86, 571),(-1,-212) -- state 1551 ,( 5, 67),( 8, 99) ,( 9, 102),( 73, 52),(-1,-3000) -- state 1552 ,( 43, 378) ,( 106, 50),(-1,-3000) -- state 1553 ,( 74, 264),( 82, 32) ,( 87, 566),(-1,-3000) -- state 1554 ,( 33, 69),(-1,-3000) -- state 1555 ,( 5, 67),( 8, 99),( 9, 102),(-1,-3000) -- state 1556 ,( 33, 69),(-1,-3000) -- state 1557 ,(-1,-584) -- state 1558 ,( 43, 378) ,( 106, 50),(-1,-3000) -- state 1559 ,(-1,-585) -- state 1560 ,( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1561 ,( 106, 50) ,(-1,-3000) -- state 1562 ,( 43, 378),( 106, 50),(-1,-3000) -- state 1563 ,( 104, 813),(-1,-1062) -- state 1564 ,(-1,-1068) -- state 1565 ,( 18, 376) ,( 35, 577),(-1,-3000) -- state 1566 ,( 18, 376),( 35, 577) ,(-1,-3000) -- state 1567 ,( 5, 67),( 8, 99),( 9, 102) ,( 77, 330),(-1,-3000) -- state 1568 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-3000) -- state 1569 ,(-1,-1066) -- state 1570 ,( 17, 597) ,( 33, 69),( 54, 1407),(-1,-3000) -- state 1571 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 1572 ,( 33, 69) ,( 54, 1407),(-1,-3000) -- state 1573 ,( 33, 69),(-1,-3000) -- state 1574 ,(-1,-563) -- state 1575 ,( 55, 665),( 56, 1577),( 57, 301) ,(-1,-3000) -- state 1576 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1577 ,(-1,-52) -- state 1578 ,( 57, 301) ,(-1,-3000) -- state 1579 ,( 65, 528),(-1,-3000) -- state 1580 ,( 57, 301) ,( 104, 813),(-1,-3000) -- state 1581 ,( 18, 376),(-1,-3000) -- state 1582 ,( 57, 301),( 104, 813),(-1,-3000) -- state 1583 ,(-1,-1012) -- state 1584 ,( 48, 529),(-1,-3000) -- state 1585 ,( 70, 533),(-1,-3000) -- state 1586 ,( 5, 67),( 33, 69),(-1,-3000) -- state 1587 ,( 5, 67) ,( 33, 69),(-1,-3000) -- state 1588 ,( 33, 69),(-1,-3000) -- state 1589 ,(-1,-497) -- state 1590 ,( 5, 67),( 33, 69),(-1,-3000) -- state 1591 ,( 33, 69),(-1,-3000) -- state 1592 ,(-1,-489) -- state 1593 ,( 33, 69) ,(-1,-3000) -- state 1594 ,(-1,-499) -- state 1595 ,(-1,-500) -- state 1596 ,(-1,-1045) -- state 1597 ,( 33, 69),(-1,-3000) -- state 1598 ,(-1,-690) -- state 1599 ,( 57, 301) ,(-1,-3000) -- state 1600 ,(-1,-691) -- state 1601 ,(-1,-492) -- state 1602 ,( 57, 301) ,(-1,-3000) -- state 1603 ,( 93, 542),(-1,-3000) -- state 1604 ,( 93, 542) ,(-1,-3000) -- state 1605 ,( 33, 69),(-1,-3000) -- state 1606 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 14, 521) ,( 36, 526),( 39, 535),( 46, 292),( 48, 529) ,( 50, 541),( 51, 538),( 60, 522),( 61, 193) ,( 64, 523),( 65, 528),( 70, 533),( 74, 264) ,( 81, 17),( 85, 527),( 90, 524),( 91, 237) ,( 93, 542),( 105, 540),(-1,-3000) -- state 1607 ,( 55, 665) ,( 57, 301),( 76, 379),(-1,-3000) -- state 1608 ,( 57, 301) ,(-1,-3000) -- state 1609 ,( 93, 542),(-1,-3000) -- state 1610 ,( 57, 301) ,(-1,-3000) -- state 1611 ,( 93, 542),(-1,-3000) -- state 1612 ,( 93, 542) ,(-1,-3000) -- state 1613 ,( 33, 69),(-1,-3000) -- state 1614 ,( 93, 542) ,(-1,-3000) -- state 1615 ,( 33, 69),(-1,-3000) -- state 1616 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 39, 535) ,( 51, 538),( 81, 17),( 99, 857),(-1,-3000) -- state 1617 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 39, 535),( 51, 538),( 81, 17),( 99, 857) ,(-1,-3000) -- state 1618 ,(-1,-1053) -- state 1619 ,(-1,-1056) -- state 1620 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 39, 535) ,( 51, 538),( 81, 17),( 99, 857),(-1,-3000) -- state 1621 ,(-1,-1055) -- state 1622 ,( 33, 69),(-1,-3000) -- state 1623 ,(-1,-724) -- state 1624 ,(-1,-747) -- state 1625 ,( 57, 301),(-1,-3000) -- state 1626 ,(-1,-1074) -- state 1627 ,(-1,-577) -- state 1628 ,(-1,-982) -- state 1629 ,(-1,-239) -- state 1630 ,( 106, 50) ,(-1,-3000) -- state 1631 ,( 82, 32),(-1,-3000) -- state 1632 ,( 106, 50) ,(-1,-3000) -- state 1633 ,( 82, 32),(-1,-3000) -- state 1634 ,( 82, 32) ,(-1,-3000) -- state 1635 ,(-1,-865) -- state 1636 ,( 82, 32),(-1,-3000) -- state 1637 ,(-1,-871) -- state 1638 ,( 82, 32),(-1,-3000) -- state 1639 ,(-1,-868) -- state 1640 ,(-1,-873) -- state 1641 ,(-1,-903) -- state 1642 ,( 18, 376),(-1,-3000) -- state 1643 ,( 25, 272),(-1,-3000) -- state 1644 ,( 18, 376),(-1,-3000) -- state 1645 ,( 25, 272),( 28, 218),(-1,-3000) -- state 1646 ,(-1,-895) -- state 1647 ,(-1,-531) -- state 1648 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1649 ,(-1,-991) -- state 1650 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1651 ,(-1,-995) -- state 1652 ,( 5, 67),( 8, 99),( 9, 102) ,( 40, 354),( 41, 440),( 73, 52),(-1,-3000) -- state 1653 ,(-1,-952) -- state 1654 ,( 13, 602),(-1,-3000) -- state 1655 ,(-1,-218) -- state 1656 ,( 5, 67),( 8, 99),( 9, 102),( 40, 354) ,( 41, 440),( 73, 52),(-1,-3000) -- state 1657 ,(-1,-954) -- state 1658 ,(-1,-221) -- state 1659 ,(-1,-914) -- state 1660 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 1661 ,(-1,-930) -- state 1662 ,(-1,-637) -- state 1663 ,(-1,-975) -- state 1664 ,( 33, 69),(-1,-3000) -- state 1665 ,(-1,-686) -- state 1666 ,(-1,-1044) -- state 1667 ,(-1,-687) -- state 1668 ,( 5, 67) ,( 33, 69),(-1,-3000) -- state 1669 ,(-1,-658) -- state 1670 ,(-1,-225) -- state 1671 ,(-1,-227) -- state 1672 ,( 33, 69),(-1,-3000) -- state 1673 ,(-1,-267) -- state 1674 ,(-1,-677) -- state 1675 ,(-1,-696) -- state 1676 ,( 5, 67),(-1,-3000) -- state 1677 ,( 25, 272),(-1,-3000) -- state 1678 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),(-1,-3000) -- state 1679 ,( 68, 74) ,(-1,-3000) -- state 1680 ,(-1,-950) -- state 1681 ,( 74, 264),( 82, 32) ,( 87, 566),(-1,-3000) -- state 1682 ,( 106, 50),(-1,-3000) -- state 1683 ,(-1,-180) -- state 1684 ,( 33, 69),(-1,-3000) -- state 1685 ,( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1686 ,(-1,-181) -- state 1687 ,(-1,-587) -- state 1688 ,( 106, 50),(-1,-3000) -- state 1689 ,( 82, 32) ,(-1,-3000) -- state 1690 ,( 33, 69),(-1,-3000) -- state 1691 ,( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1692 ,(-1,-183) -- state 1693 ,(-1,-616) -- state 1694 ,( 33, 69),(-1,-3000) -- state 1695 ,( 82, 32) ,(-1,-3000) -- state 1696 ,( 33, 69),(-1,-3000) -- state 1697 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1698 ,( 1, 9),( 81, 17),( 104, 813),(-1,-3000) -- state 1699 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,( 77, 330),(-1,-3000) -- state 1700 ,( 57, 301),( 104, 813) ,(-1,-3000) -- state 1701 ,(-1,-211) -- state 1702 ,( 43, 378),( 106, 50) ,(-1,-3000) -- state 1703 ,( 74, 264),( 82, 32),( 87, 566) ,(-1,-3000) -- state 1704 ,( 106, 50),(-1,-3000) -- state 1705 ,( 33, 69) ,(-1,-3000) -- state 1706 ,(-1,-582) -- state 1707 ,( 43, 378),( 106, 50) ,(-1,-3000) -- state 1708 ,(-1,-583) -- state 1709 ,( 74, 264),( 82, 32) ,( 87, 566),(-1,-3000) -- state 1710 ,( 106, 50),(-1,-3000) -- state 1711 ,( 33, 69),(-1,-3000) -- state 1712 ,( 74, 264),( 82, 32) ,( 87, 566),(-1,-3000) -- state 1713 ,( 106, 50),(-1,-3000) -- state 1714 ,( 82, 32),(-1,-3000) -- state 1715 ,( 18, 376),( 35, 577) ,(-1,-3000) -- state 1716 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 1717 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 1718 ,( 5, 67),( 8, 99),( 9, 102) ,( 77, 330),(-1,-3000) -- state 1719 ,(-1,-1070) -- state 1720 ,(-1,-799) -- state 1721 ,( 33, 69),( 54, 1407),(-1,-3000) -- state 1722 ,( 33, 69) ,(-1,-3000) -- state 1723 ,(-1,-559) -- state 1724 ,( 57, 301),(-1,-3000) -- state 1725 ,( 33, 69),(-1,-3000) -- state 1726 ,(-1,-561) -- state 1727 ,(-1,-562) -- state 1728 ,( 57, 301),(-1,-3000) -- state 1729 ,( 65, 528),(-1,-3000) -- state 1730 ,( 5, 67),( 6, 262),( 7, 263),( 8, 99) ,( 9, 102),( 24, 71),( 27, 249),( 29, 250) ,( 37, 261),( 72, 138),( 73, 52),( 74, 264) ,(-1,-3000) -- state 1731 ,( 100, 662),(-1,-3000) -- state 1732 ,( 65, 528) ,(-1,-3000) -- state 1733 ,( 33, 69),(-1,-3000) -- state 1734 ,( 57, 301) ,( 104, 813),(-1,-3000) -- state 1735 ,( 48, 529),(-1,-3000) -- state 1736 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 14, 521),( 36, 526),( 39, 535),( 46, 292) ,( 48, 529),( 50, 541),( 51, 538),( 60, 522) ,( 61, 193),( 64, 523),( 65, 528),( 70, 533) ,( 74, 264),( 81, 17),( 85, 527),( 90, 524) ,( 91, 237),( 93, 542),( 105, 540),(-1,-3000) -- state 1737 ,( 48, 529),(-1,-3000) -- state 1738 ,(-1,-1011) -- state 1739 ,( 33, 69) ,(-1,-3000) -- state 1740 ,( 5, 67),( 33, 69),(-1,-3000) -- state 1741 ,( 33, 69),(-1,-3000) -- state 1742 ,(-1,-485) -- state 1743 ,( 33, 69) ,(-1,-3000) -- state 1744 ,(-1,-495) -- state 1745 ,(-1,-496) -- state 1746 ,( 33, 69) ,(-1,-3000) -- state 1747 ,(-1,-487) -- state 1748 ,(-1,-488) -- state 1749 ,(-1,-498) -- state 1750 ,(-1,-689) -- state 1751 ,( 5, 67),(-1,-1047) -- state 1752 ,( 93, 542) ,(-1,-3000) -- state 1753 ,( 33, 69),(-1,-3000) -- state 1754 ,( 33, 69) ,(-1,-3000) -- state 1755 ,(-1,-720) -- state 1756 ,( 57, 301),(-1,-3000) -- state 1757 ,( 57, 301),(-1,-3000) -- state 1758 ,( 93, 542),(-1,-3000) -- state 1759 ,( 93, 542),(-1,-3000) -- state 1760 ,( 33, 69),(-1,-3000) -- state 1761 ,( 93, 542),(-1,-3000) -- state 1762 ,( 33, 69),(-1,-3000) -- state 1763 ,( 33, 69),(-1,-3000) -- state 1764 ,(-1,-716) -- state 1765 ,( 33, 69) ,(-1,-3000) -- state 1766 ,(-1,-722) -- state 1767 ,(-1,-1052) -- state 1768 ,( 1, 9) ,( 5, 67),( 8, 99),( 9, 102),( 39, 535) ,( 51, 538),( 81, 17),( 99, 857),(-1,-3000) -- state 1769 ,(-1,-1051) -- state 1770 ,(-1,-1054) -- state 1771 ,(-1,-723) -- state 1772 ,( 93, 542) ,(-1,-3000) -- state 1773 ,( 82, 32),(-1,-3000) -- state 1774 ,(-1,-859) -- state 1775 ,( 82, 32),(-1,-3000) -- state 1776 ,(-1,-862) -- state 1777 ,(-1,-864) -- state 1778 ,(-1,-870) -- state 1779 ,(-1,-867) -- state 1780 ,( 13, 602),(-1,-1020) -- state 1781 ,(-1,-896) -- state 1782 ,( 13, 602),(-1,-3000) -- state 1783 ,( 25, 272) ,( 28, 218),(-1,-3000) -- state 1784 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),( 77, 330),(-1,-3000) -- state 1785 ,( 25, 272),(-1,-3000) -- state 1786 ,(-1,-902) -- state 1787 ,(-1,-990) -- state 1788 ,(-1,-994) -- state 1789 ,(-1,-217) -- state 1790 ,(-1,-220) -- state 1791 ,(-1,-920) -- state 1792 ,( 19, 573),(-1,-3000) -- state 1793 ,(-1,-685) -- state 1794 ,( 33, 69) ,(-1,-3000) -- state 1795 ,(-1,-657) -- state 1796 ,(-1,-266) -- state 1797 ,( 66, 352) ,(-1,-3000) -- state 1798 ,(-1,-1048) -- state 1799 ,(-1,-698) -- state 1800 ,( 1, 9) ,( 5, 67),( 61, 193),( 62, 58),( 63, 56) ,( 73, 52),( 79, 53),( 80, 47),( 81, 17) ,( 83, 57),( 84, 195),( 95, 192),( 98, 194) ,( 101, 103),( 103, 51),(-1,-321) -- state 1801 ,( 33, 69) ,(-1,-3000) -- state 1802 ,( 74, 264),( 82, 32),( 87, 566) ,(-1,-3000) -- state 1803 ,(-1,-179) -- state 1804 ,(-1,-610) -- state 1805 ,( 33, 69) ,(-1,-3000) -- state 1806 ,( 82, 32),(-1,-3000) -- state 1807 ,( 33, 69) ,(-1,-3000) -- state 1808 ,(-1,-614) -- state 1809 ,( 33, 69),(-1,-3000) -- state 1810 ,(-1,-615) -- state 1811 ,( 33, 69),(-1,-3000) -- state 1812 ,(-1,-612) -- state 1813 ,(-1,-207) -- state 1814 ,( 57, 301),( 104, 813),(-1,-3000) -- state 1815 ,( 18, 376),(-1,-3000) -- state 1816 ,( 57, 301),( 104, 813) ,(-1,-3000) -- state 1817 ,(-1,-972) -- state 1818 ,( 48, 529),(-1,-3000) -- state 1819 ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 1820 ,( 106, 50),(-1,-3000) -- state 1821 ,( 33, 69),(-1,-3000) -- state 1822 ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 1823 ,(-1,-581) -- state 1824 ,( 106, 50),(-1,-3000) -- state 1825 ,( 82, 32) ,(-1,-3000) -- state 1826 ,( 33, 69),(-1,-3000) -- state 1827 ,( 74, 264) ,( 82, 32),( 87, 566),(-1,-3000) -- state 1828 ,(-1,-604) -- state 1829 ,( 33, 69),(-1,-3000) -- state 1830 ,( 82, 32),(-1,-3000) -- state 1831 ,( 33, 69),(-1,-3000) -- state 1832 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-3000) -- state 1833 ,(-1,-797) -- state 1834 ,(-1,-798) -- state 1835 ,(-1,-1069) -- state 1836 ,( 33, 69),(-1,-3000) -- state 1837 ,(-1,-557) -- state 1838 ,(-1,-558) -- state 1839 ,( 91, 237),(-1,-3000) -- state 1840 ,(-1,-560) -- state 1841 ,( 65, 528),(-1,-3000) -- state 1842 ,( 33, 69),(-1,-3000) -- state 1843 ,( 100, 662),(-1,-3000) -- state 1844 ,( 1, 9),( 5, 67) ,( 8, 99),( 9, 102),( 14, 521),( 36, 526) ,( 39, 535),( 46, 292),( 48, 529),( 50, 541) ,( 51, 538),( 60, 522),( 61, 193),( 64, 523) ,( 65, 528),( 70, 533),( 74, 264),( 81, 17) ,( 85, 527),( 90, 524),( 91, 237),( 93, 542) ,( 105, 540),(-1,-3000) -- state 1845 ,( 33, 69),(-1,-3000) -- state 1846 ,(-1,-475) -- state 1847 ,( 48, 529),(-1,-3000) -- state 1848 ,( 33, 69) ,(-1,-3000) -- state 1849 ,(-1,-481) -- state 1850 ,( 33, 69),(-1,-3000) -- state 1851 ,(-1,-480) -- state 1852 ,( 33, 69),(-1,-3000) -- state 1853 ,(-1,-483) -- state 1854 ,(-1,-484) -- state 1855 ,(-1,-494) -- state 1856 ,(-1,-486) -- state 1857 ,(-1,-1046) -- state 1858 ,( 33, 69),(-1,-3000) -- state 1859 ,(-1,-718) -- state 1860 ,(-1,-719) -- state 1861 ,( 93, 542),(-1,-3000) -- state 1862 ,( 93, 542),(-1,-3000) -- state 1863 ,( 33, 69),(-1,-3000) -- state 1864 ,( 33, 69),(-1,-3000) -- state 1865 ,(-1,-712) -- state 1866 ,( 33, 69),(-1,-3000) -- state 1867 ,(-1,-714) -- state 1868 ,(-1,-715) -- state 1869 ,(-1,-721) -- state 1870 ,(-1,-1050) -- state 1871 ,( 33, 69) ,(-1,-3000) -- state 1872 ,(-1,-858) -- state 1873 ,(-1,-861) -- state 1874 ,(-1,-904) -- state 1875 ,( 25, 272),(-1,-3000) -- state 1876 ,( 5, 67),( 6, 262) ,( 7, 263),( 8, 99),( 9, 102),( 24, 71) ,( 27, 249),( 29, 250),( 37, 261),( 72, 138) ,( 73, 52),( 74, 264),( 77, 330),(-1,-3000) -- state 1877 ,( 25, 272),(-1,-3000) -- state 1878 ,(-1,-900) -- state 1879 ,(-1,-1078) -- state 1880 ,( 18, 376),(-1,-3000) -- state 1881 ,(-1,-901) -- state 1882 ,( 5, 67) ,( 6, 262),( 7, 263),( 8, 99),( 9, 102) ,( 24, 71),( 27, 249),( 29, 250),( 37, 261) ,( 72, 138),( 73, 52),( 74, 264),(-1,-3000) -- state 1883 ,(-1,-656) -- state 1884 ,( 5, 67),( 6, 262),( 7, 263) ,( 8, 99),( 9, 102),( 24, 71),( 27, 249) ,( 29, 250),( 37, 261),( 72, 138),( 73, 52) ,( 74, 264),(-1,-3000) -- state 1885 ,( 46, 292),(-1,-3000) -- state 1886 ,(-1,-608) -- state 1887 ,( 33, 69),(-1,-3000) -- state 1888 ,(-1,-609) -- state 1889 ,( 33, 69),(-1,-3000) -- state 1890 ,(-1,-606) -- state 1891 ,(-1,-613) -- state 1892 ,(-1,-611) -- state 1893 ,( 57, 301),( 104, 813),(-1,-3000) -- state 1894 ,( 48, 529),(-1,-3000) -- state 1895 ,( 1, 9),( 5, 67) ,( 48, 529),( 61, 193),( 74, 264),( 81, 17) ,(-1,-261) -- state 1896 ,( 48, 529),(-1,-3000) -- state 1897 ,(-1,-971) -- state 1898 ,( 33, 69),(-1,-3000) -- state 1899 ,( 33, 69),(-1,-3000) -- state 1900 ,( 74, 264),( 82, 32),( 87, 566),(-1,-3000) -- state 1901 ,(-1,-598) -- state 1902 ,( 33, 69),(-1,-3000) -- state 1903 ,( 82, 32) ,(-1,-3000) -- state 1904 ,( 33, 69),(-1,-3000) -- state 1905 ,(-1,-602) -- state 1906 ,( 33, 69),(-1,-3000) -- state 1907 ,(-1,-603) -- state 1908 ,( 33, 69) ,(-1,-3000) -- state 1909 ,(-1,-600) -- state 1910 ,(-1,-796) -- state 1911 ,(-1,-556) -- state 1912 ,(-1,-1021) -- state 1913 ,( 33, 69),(-1,-3000) -- state 1914 ,(-1,-473) -- state 1915 ,( 1, 9),( 5, 67),( 8, 99),( 9, 102) ,( 14, 521),( 36, 526),( 39, 535),( 46, 292) ,( 48, 529),( 50, 541),( 51, 538),( 60, 522) ,( 61, 193),( 64, 523),( 65, 528),( 70, 533) ,( 74, 264),( 81, 17),( 85, 527),( 90, 524) ,( 91, 237),( 93, 542),( 105, 540),(-1,-3000) -- state 1916 ,(-1,-1009) -- state 1917 ,(-1,-474) -- state 1918 ,( 33, 69),(-1,-3000) -- state 1919 ,(-1,-478) -- state 1920 ,(-1,-479) -- state 1921 ,(-1,-482) -- state 1922 ,(-1,-717) -- state 1923 ,( 33, 69),(-1,-3000) -- state 1924 ,( 33, 69),(-1,-3000) -- state 1925 ,(-1,-710) -- state 1926 ,(-1,-711) -- state 1927 ,(-1,-713) -- state 1928 ,(-1,-742) -- state 1929 ,(-1,-897) -- state 1930 ,(-1,-1077) -- state 1931 ,(-1,-899) -- state 1932 ,( 13, 602) ,(-1,-3000) -- state 1933 ,(-1,-921) -- state 1934 ,( 33, 69),(-1,-3000) -- state 1935 ,(-1,-699) -- state 1936 ,( 1, 9),( 5, 67),( 8, 99) ,( 9, 102),( 14, 521),( 36, 526),( 39, 535) ,( 46, 292),( 48, 529),( 50, 541),( 51, 538) ,( 60, 522),( 61, 193),( 64, 523),( 65, 528) ,( 70, 533),( 74, 264),( 81, 17),( 85, 527) ,( 90, 524),( 91, 237),( 93, 542),( 105, 540) ,(-1,-3000) -- state 1937 ,(-1,-607) -- state 1938 ,(-1,-605) -- state 1939 ,( 48, 529) ,(-1,-3000) -- state 1940 ,( 33, 69),(-1,-3000) -- state 1941 ,(-1,-272) -- state 1942 ,( 33, 69),(-1,-3000) -- state 1943 ,(-1,-271) -- state 1944 ,(-1,-596) -- state 1945 ,( 33, 69),(-1,-3000) -- state 1946 ,(-1,-597) -- state 1947 ,( 33, 69) ,(-1,-3000) -- state 1948 ,(-1,-594) -- state 1949 ,(-1,-601) -- state 1950 ,(-1,-599) -- state 1951 ,(-1,-472) -- state 1952 ,(-1,-1008) -- state 1953 ,(-1,-477) -- state 1954 ,(-1,-741) -- state 1955 ,(-1,-709) -- state 1956 ,(-1,-1079) -- state 1957 ,(-1,-916) -- state 1958 ,( 57, 301) ,(-1,-3000) -- state 1959 ,( 33, 69),(-1,-3000) -- state 1960 ,(-1,-269) -- state 1961 ,(-1,-270) -- state 1962 ,(-1,-595) -- state 1963 ,(-1,-593) -- state 1964 ,( 5, 67) ,( 33, 69),(-1,-3000) -- state 1965 ,(-1,-268) -- state 1966 ,( 33, 69) ,(-1,-3000) -- state 1967 ,(-1,-695) -- state 1968 ,(-1,-694) ); -- The offset vector SHIFT_REDUCE_OFFSET : array (0.. 1968) of Integer := ( 0, 14, 28, 29, 37, 38, 39, 40, 47, 49, 51, 52, 53, 54, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 78, 82, 84, 85, 86, 89, 93, 96, 100, 105, 107, 108, 109, 110, 111, 118, 119, 120, 121, 122, 123, 125, 128, 129, 130, 131, 133, 134, 135, 136, 143, 144, 145, 146, 147, 150, 151, 152, 153, 155, 159, 160, 161, 162, 179, 183, 184, 185, 186, 188, 191, 193, 195, 198, 200, 202, 206, 207, 208, 209, 210, 211, 212, 213, 214, 218, 219, 220, 223, 224, 225, 228, 232, 233, 240, 241, 242, 243, 244, 245, 246, 247, 248, 250, 252, 253, 254, 258, 260, 261, 263, 264, 265, 266, 269, 270, 271, 284, 286, 287, 289, 290, 307, 311, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 365, 367, 368, 369, 372, 376, 377, 378, 379, 380, 381, 384, 386, 390, 394, 396, 397, 398, 399, 400, 401, 402, 404, 406, 408, 410, 412, 413, 432, 436, 438, 441, 445, 446, 447, 451, 454, 455, 469, 474, 476, 477, 480, 484, 485, 486, 489, 490, 494, 497, 498, 499, 507, 510, 513, 515, 517, 519, 520, 522, 523, 525, 531, 532, 533, 546, 547, 549, 553, 562, 573, 577, 578, 579, 584, 585, 586, 588, 597, 606, 607, 608, 609, 610, 614, 615, 616, 617, 618, 619, 620, 621, 622, 626, 630, 644, 647, 648, 649, 657, 659, 661, 663, 664, 666, 676, 680, 700, 702, 703, 706, 708, 711, 713, 715, 717, 719, 723, 724, 748, 751, 752, 754, 755, 773, 774, 790, 791, 794, 798, 800, 803, 806, 808, 810, 812, 814, 830, 848, 852, 854, 857, 860, 861, 863, 865, 878, 881, 884, 886, 891, 892, 902, 904, 908, 909, 910, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 925, 928, 929, 932, 936, 937, 939, 940, 942, 947, 955, 956, 957, 958, 964, 967, 970, 971, 972, 975, 977, 995, 1002, 1004, 1005, 1007, 1009, 1010, 1012, 1015, 1021, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1048, 1062, 1075, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1103, 1116, 1120, 1124, 1135, 1136, 1137, 1138, 1139, 1144, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1172, 1173, 1174, 1175, 1176, 1179, 1183, 1184, 1188, 1190, 1193, 1206, 1207, 1210, 1212, 1214, 1216, 1218, 1219, 1243, 1246, 1247, 1252, 1253, 1254, 1259, 1264, 1265, 1266, 1267, 1269, 1270, 1278, 1286, 1289, 1293, 1296, 1299, 1319, 1320, 1322, 1324, 1326, 1328, 1330, 1345, 1349, 1359, 1360, 1362, 1365, 1377, 1379, 1399, 1402, 1404, 1405, 1407, 1431, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1479, 1481, 1484, 1490, 1494, 1508, 1512, 1513, 1514, 1518, 1523, 1525, 1538, 1551, 1557, 1559, 1583, 1585, 1609, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 1632, 1633, 1634, 1635, 1636, 1638, 1651, 1653, 1654, 1670, 1671, 1681, 1684, 1685, 1686, 1687, 1688, 1689, 1691, 1704, 1706, 1707, 1708, 1710, 1712, 1713, 1729, 1733, 1737, 1739, 1740, 1743, 1744, 1747, 1749, 1750, 1753, 1754, 1755, 1757, 1771, 1772, 1773, 1774, 1776, 1789, 1790, 1791, 1792, 1805, 1807, 1821, 1822, 1826, 1827, 1830, 1831, 1835, 1836, 1837, 1838, 1846, 1849, 1853, 1854, 1857, 1859, 1862, 1867, 1870, 1873, 1886, 1887, 1889, 1890, 1892, 1893, 1894, 1896, 1898, 1901, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1935, 1938, 1942, 1943, 1946, 1950, 1952, 1954, 1956, 1958, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1969, 1970, 1971, 1973, 1975, 1977, 1987, 1988, 1990, 1991, 1992, 1993, 1995, 2002, 2003, 2004, 2006, 2007, 2015, 2018, 2020, 2021, 2026, 2027, 2028, 2029, 2030, 2032, 2045, 2046, 2048, 2061, 2063, 2064, 2077, 2078, 2080, 2081, 2085, 2096, 2097, 2108, 2109, 2110, 2111, 2125, 2126, 2139, 2140, 2142, 2158, 2160, 2162, 2164, 2166, 2167, 2171, 2175, 2177, 2182, 2183, 2184, 2185, 2198, 2211, 2212, 2216, 2229, 2234, 2241, 2244, 2247, 2250, 2253, 2256, 2259, 2272, 2285, 2287, 2288, 2290, 2291, 2295, 2297, 2298, 2302, 2303, 2305, 2307, 2309, 2310, 2311, 2312, 2329, 2330, 2331, 2344, 2346, 2352, 2354, 2357, 2367, 2368, 2372, 2381, 2383, 2385, 2386, 2393, 2394, 2395, 2397, 2399, 2400, 2409, 2411, 2428, 2430, 2442, 2453, 2455, 2457, 2458, 2468, 2469, 2470, 2471, 2475, 2477, 2488, 2490, 2501, 2502, 2503, 2504, 2505, 2506, 2507, 2508, 2509, 2512, 2513, 2514, 2515, 2516, 2521, 2526, 2532, 2533, 2538, 2541, 2542, 2555, 2568, 2569, 2570, 2577, 2579, 2592, 2594, 2596, 2616, 2618, 2619, 2620, 2624, 2625, 2649, 2650, 2651, 2652, 2653, 2655, 2656, 2669, 2670, 2683, 2684, 2687, 2689, 2690, 2692, 2694, 2695, 2697, 2700, 2703, 2706, 2707, 2708, 2709, 2711, 2713, 2715, 2739, 2741, 2765, 2789, 2791, 2815, 2817, 2819, 2820, 2833, 2835, 2836, 2837, 2839, 2840, 2841, 2854, 2863, 2864, 2865, 2866, 2867, 2868, 2892, 2916, 2918, 2942, 2943, 2944, 2946, 2955, 2960, 2964, 2977, 2978, 2980, 2981, 2983, 2985, 2987, 2990, 2991, 2993, 2994, 2998, 2999, 3001, 3002, 3026, 3028, 3031, 3032, 3033, 3047, 3048, 3049, 3051, 3052, 3053, 3067, 3068, 3069, 3070, 3072, 3073, 3074, 3078, 3079, 3082, 3084, 3087, 3089, 3090, 3091, 3093, 3096, 3097, 3098, 3101, 3103, 3104, 3106, 3107, 3108, 3109, 3110, 3111, 3117, 3118, 3121, 3123, 3124, 3126, 3129, 3131, 3133, 3137, 3139, 3140, 3142, 3143, 3147, 3149, 3153, 3156, 3158, 3159, 3160, 3161, 3163, 3164, 3165, 3167, 3169, 3173, 3174, 3175, 3176, 3181, 3182, 3185, 3187, 3190, 3191, 3193, 3194, 3196, 3201, 3206, 3208, 3210, 3211, 3213, 3214, 3215, 3217, 3230, 3232, 3234, 3247, 3249, 3251, 3264, 3266, 3267, 3280, 3281, 3282, 3284, 3285, 3301, 3303, 3305, 3309, 3310, 3314, 3315, 3316, 3320, 3322, 3324, 3326, 3330, 3331, 3332, 3334, 3344, 3353, 3356, 3359, 3362, 3365, 3368, 3370, 3371, 3373, 3374, 3376, 3377, 3379, 3380, 3382, 3383, 3385, 3386, 3388, 3389, 3390, 3391, 3393, 3394, 3396, 3397, 3398, 3399, 3401, 3403, 3404, 3410, 3411, 3414, 3415, 3416, 3418, 3420, 3430, 3431, 3440, 3442, 3444, 3446, 3448, 3450, 3451, 3453, 3454, 3461, 3463, 3465, 3467, 3468, 3470, 3472, 3484, 3495, 3497, 3499, 3501, 3502, 3504, 3505, 3515, 3516, 3517, 3518, 3520, 3522, 3524, 3525, 3535, 3536, 3537, 3538, 3539, 3540, 3543, 3546, 3548, 3551, 3553, 3554, 3555, 3556, 3559, 3561, 3566, 3571, 3573, 3577, 3578, 3580, 3585, 3586, 3588, 3594, 3597, 3598, 3602, 3603, 3605, 3611, 3612, 3614, 3615, 3618, 3619, 3620, 3623, 3625, 3626, 3629, 3630, 3631, 3636, 3641, 3647, 3652, 3655, 3657, 3659, 3660, 3664, 3669, 3671, 3672, 3673, 3674, 3676, 3677, 3679, 3680, 3681, 3682, 3683, 3690, 3692, 3694, 3695, 3698, 3699, 3712, 3714, 3715, 3739, 3743, 3767, 3769, 3793, 3795, 3797, 3799, 3801, 3804, 3817, 3819, 3822, 3824, 3825, 3839, 3841, 3846, 3847, 3848, 3849, 3852, 3853, 3862, 3866, 3870, 3880, 3904, 3906, 3908, 3910, 3911, 3912, 3914, 3915, 3916, 3917, 3920, 3933, 3934, 3935, 3936, 3937, 3940, 3942, 3943, 3944, 3945, 3958, 3959, 3960, 3962, 3965, 3966, 3967, 3968, 3969, 3970, 3972, 3973, 3974, 3975, 3980, 3982, 3984, 3985, 3987, 3988, 3989, 3991, 3992, 3996, 4000, 4003, 4004, 4005, 4008, 4009, 4012, 4014, 4016, 4017, 4019, 4020, 4021, 4022, 4023, 4025, 4028, 4029, 4030, 4031, 4033, 4035, 4039, 4041, 4042, 4043, 4044, 4057, 4058, 4060, 4062, 4075, 4076, 4078, 4080, 4093, 4094, 4095, 4096, 4112, 4122, 4124, 4125, 4127, 4128, 4129, 4130, 4144, 4157, 4166, 4169, 4173, 4175, 4178, 4191, 4193, 4195, 4196, 4198, 4199, 4201, 4202, 4203, 4204, 4205, 4206, 4207, 4208, 4209, 4210, 4211, 4212, 4213, 4215, 4216, 4229, 4242, 4244, 4253, 4255, 4257, 4258, 4260, 4264, 4265, 4267, 4268, 4269, 4271, 4284, 4286, 4288, 4289, 4313, 4314, 4325, 4327, 4329, 4330, 4332, 4333, 4334, 4335, 4342, 4343, 4346, 4347, 4350, 4352, 4354, 4355, 4356, 4359, 4362, 4363, 4368, 4371, 4372, 4376, 4377, 4379, 4383, 4384, 4386, 4387, 4390, 4391, 4392, 4396, 4398, 4399, 4400, 4403, 4416, 4417, 4418, 4419, 4422, 4425, 4427, 4429, 4430, 4443, 4445, 4450, 4455, 4457, 4461, 4463, 4468, 4470, 4473, 4477, 4478, 4479, 4481, 4483, 4487, 4488, 4489, 4494, 4497, 4499, 4500, 4501, 4502, 4503, 4504, 4510, 4514, 4515, 4516, 4517, 4518, 4519, 4523, 4527, 4541, 4544, 4546, 4548, 4550, 4553, 4555, 4558, 4561, 4563, 4564, 4565, 4567, 4570, 4594, 4595, 4597, 4598, 4599, 4600, 4613, 4614, 4615, 4619, 4621, 4623, 4625, 4628, 4632, 4636, 4638, 4640, 4642, 4644, 4654, 4663, 4672, 4673, 4674, 4676, 4678, 4702, 4703, 4704, 4717, 4718, 4720, 4721, 4722, 4724, 4725, 4726, 4727, 4729, 4730, 4731, 4732, 4733, 4736, 4739, 4741, 4743, 4745, 4747, 4749, 4751, 4753, 4754, 4755, 4756, 4757, 4772, 4774, 4775, 4777, 4778, 4779, 4781, 4794, 4795, 4797, 4810, 4811, 4812, 4813, 4814, 4815, 4817, 4821, 4823, 4824, 4825, 4832, 4834, 4847, 4848, 4855, 4856, 4857, 4858, 4860, 4861, 4863, 4865, 4866, 4868, 4869, 4870, 4874, 4875, 4876, 4878, 4880, 4882, 4884, 4885, 4887, 4889, 4890, 4891, 4892, 4898, 4899, 4900, 4903, 4905, 4906, 4908, 4909, 4912, 4914, 4915, 4916, 4919, 4920, 4923, 4924, 4928, 4930, 4931, 4932, 4934, 4935, 4938, 4939, 4943, 4945, 4946, 4947, 4949, 4953, 4954, 4956, 4958, 4960, 4963, 4967, 4968, 4970, 4975, 4978, 4982, 4984, 4988, 4990, 4991, 4994, 4995, 4999, 5001, 5004, 5006, 5007, 5010, 5013, 5018, 5042, 5043, 5047, 5071, 5074, 5076, 5077, 5081, 5094, 5095, 5097, 5099, 5102, 5104, 5107, 5108, 5110, 5112, 5115, 5118, 5120, 5121, 5124, 5126, 5127, 5129, 5130, 5131, 5132, 5134, 5135, 5137, 5138, 5139, 5141, 5143, 5145, 5147, 5171, 5175, 5177, 5179, 5181, 5183, 5185, 5187, 5189, 5191, 5200, 5209, 5210, 5211, 5220, 5221, 5223, 5224, 5225, 5227, 5228, 5229, 5230, 5231, 5233, 5235, 5237, 5239, 5241, 5242, 5244, 5245, 5247, 5248, 5249, 5250, 5252, 5254, 5256, 5259, 5260, 5261, 5274, 5275, 5288, 5289, 5296, 5297, 5299, 5300, 5307, 5308, 5309, 5310, 5323, 5324, 5325, 5326, 5328, 5329, 5330, 5331, 5334, 5335, 5336, 5337, 5339, 5340, 5341, 5342, 5344, 5346, 5359, 5361, 5362, 5366, 5368, 5369, 5371, 5375, 5376, 5377, 5379, 5381, 5383, 5387, 5388, 5389, 5391, 5393, 5395, 5408, 5412, 5426, 5429, 5430, 5433, 5437, 5439, 5441, 5442, 5445, 5446, 5450, 5452, 5454, 5458, 5460, 5462, 5465, 5489, 5513, 5518, 5519, 5520, 5523, 5525, 5526, 5528, 5530, 5531, 5532, 5534, 5536, 5549, 5551, 5553, 5555, 5558, 5560, 5584, 5586, 5587, 5589, 5592, 5594, 5595, 5597, 5598, 5599, 5601, 5602, 5603, 5604, 5605, 5607, 5609, 5611, 5613, 5614, 5616, 5618, 5620, 5622, 5624, 5626, 5628, 5630, 5631, 5633, 5634, 5635, 5644, 5645, 5646, 5647, 5649, 5651, 5652, 5654, 5655, 5656, 5657, 5658, 5660, 5661, 5663, 5666, 5680, 5682, 5683, 5684, 5685, 5686, 5687, 5688, 5690, 5691, 5693, 5694, 5695, 5697, 5698, 5699, 5715, 5717, 5721, 5722, 5723, 5725, 5727, 5729, 5730, 5732, 5733, 5735, 5736, 5737, 5740, 5742, 5745, 5746, 5748, 5752, 5754, 5756, 5760, 5761, 5763, 5765, 5767, 5771, 5772, 5774, 5776, 5778, 5802, 5803, 5804, 5805, 5807, 5808, 5809, 5811, 5812, 5814, 5816, 5818, 5842, 5844, 5845, 5847, 5849, 5850, 5852, 5853, 5855, 5856, 5857, 5858, 5859, 5860, 5862, 5863, 5864, 5866, 5868, 5870, 5872, 5873, 5875, 5876, 5877, 5878, 5879, 5881, 5882, 5883, 5884, 5886, 5900, 5902, 5903, 5904, 5906, 5907, 5920, 5921, 5934, 5936, 5937, 5939, 5940, 5942, 5943, 5944, 5945, 5948, 5950, 5957, 5959, 5960, 5962, 5964, 5968, 5969, 5971, 5973, 5975, 5976, 5978, 5979, 5981, 5982, 5983, 5984, 5985, 5987, 5988, 6012, 6013, 6014, 6016, 6017, 6018, 6019, 6020, 6022, 6024, 6025, 6026, 6027, 6028, 6029, 6030, 6031, 6033, 6034, 6036, 6037, 6061, 6062, 6063, 6065, 6067, 6068, 6070, 6071, 6072, 6074, 6075, 6077, 6078, 6079, 6080, 6081, 6082, 6083, 6084, 6085, 6086, 6087, 6089, 6091, 6092, 6093, 6094, 6095, 6098, 6099, 6101, 6102); end Asis.Gela.Parser.Shift_Reduce;
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_photography_enumtypes_h is -- unsupported macro: GST_TYPE_PHOTOGRAPHY_NOISE_REDUCTION (gst_photography_noise_reduction_get_type()) -- unsupported macro: GST_TYPE_WHITE_BALANCE_MODE (gst_white_balance_mode_get_type()) -- unsupported macro: GST_TYPE_COLOUR_TONE_MODE (gst_colour_tone_mode_get_type()) -- unsupported macro: GST_TYPE_SCENE_MODE (gst_scene_mode_get_type()) -- unsupported macro: GST_TYPE_FLASH_MODE (gst_flash_mode_get_type()) -- unsupported macro: GST_TYPE_FOCUS_STATUS (gst_focus_status_get_type()) -- unsupported macro: GST_TYPE_PHOTO_CAPS (gst_photo_caps_get_type()) -- unsupported macro: GST_TYPE_PHOTO_SHAKE_RISK (gst_photo_shake_risk_get_type()) -- unsupported macro: GST_TYPE_FLICKER_REDUCTION_MODE (gst_flicker_reduction_mode_get_type()) -- unsupported macro: GST_TYPE_FOCUS_MODE (gst_focus_mode_get_type()) -- enumerations from "photography.h" function gst_photography_noise_reduction_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:12 pragma Import (C, gst_photography_noise_reduction_get_type, "gst_photography_noise_reduction_get_type"); function gst_white_balance_mode_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:14 pragma Import (C, gst_white_balance_mode_get_type, "gst_white_balance_mode_get_type"); function gst_colour_tone_mode_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:16 pragma Import (C, gst_colour_tone_mode_get_type, "gst_colour_tone_mode_get_type"); function gst_scene_mode_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:18 pragma Import (C, gst_scene_mode_get_type, "gst_scene_mode_get_type"); function gst_flash_mode_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:20 pragma Import (C, gst_flash_mode_get_type, "gst_flash_mode_get_type"); function gst_focus_status_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:22 pragma Import (C, gst_focus_status_get_type, "gst_focus_status_get_type"); function gst_photo_caps_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:24 pragma Import (C, gst_photo_caps_get_type, "gst_photo_caps_get_type"); function gst_photo_shake_risk_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:26 pragma Import (C, gst_photo_shake_risk_get_type, "gst_photo_shake_risk_get_type"); function gst_flicker_reduction_mode_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:28 pragma Import (C, gst_flicker_reduction_mode_get_type, "gst_flicker_reduction_mode_get_type"); function gst_focus_mode_get_type return GLIB.GType; -- gst/interfaces/photography-enumtypes.h:30 pragma Import (C, gst_focus_mode_get_type, "gst_focus_mode_get_type"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_photography_enumtypes_h;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with sprite_hpp; package array_hpp is subtype size_type is unsigned; -- ./array.hpp:5 -- For some reason, g++ -fdump-ada-spec does not generate -- templated types, we must write them by hand. -- The binding generator does not make the connection between -- the templated type and its instanciation -- ie: memory expects a member of type class_array but -- the type generated is actually a record of type c_array_unsigned_char65536 type c_array_sprite40 is array (0 .. 39) of sprite_hpp.Class_Sprite.Sprite; type c_array_unsigned_char65536 is array (0 .. 65535) of unsigned_char; type c_array_int144 is array (0 .. 143) of int; type c_array_c_array160 is array (0 .. 159) of c_array_int144; -- Manual check done package template_array_c_array_160 is type instance is limited record underlying_array : aliased c_array_c_array160; -- ./array.hpp:15 current_size : aliased size_type; -- ./array.hpp:16 end record; pragma Import (CPP, instance); function New_c_array return instance; -- ./array.hpp:11 pragma CPP_Constructor (New_c_array, "_ZNSt5arrayIS_IiLj144EELj160EEC1Ev"); function operator_ob (this : access instance; index : size_type) return access c_array_int144; -- ./array.hpp:11 pragma Import (CPP, operator_ob, "_ZNSt5arrayIS_IiLj144EELj160EEixEj"); function size (this : access constant instance) return size_type; -- ./array.hpp:13 pragma Import (CPP, size, "_ZNKSt5arrayIS_IiLj144EELj160EE4sizeEv"); end; use template_array_c_array_160; -- Manual check done package template_array_int_144 is type instance is limited record underlying_array : aliased c_array_int144; -- ./array.hpp:15 current_size : aliased size_type; -- ./array.hpp:16 end record; pragma Import (CPP, instance); function New_c_array return instance; -- ./array.hpp:11 pragma CPP_Constructor (New_c_array, "_ZNSt5arrayIiLj144EEC1Ev"); function operator_ob (this : access instance; index : size_type) return access int; -- ./array.hpp:11 pragma Import (CPP, operator_ob, "_ZNSt5arrayIiLj144EEixEj"); function size (this : access constant instance) return size_type; -- ./array.hpp:13 pragma Import (CPP, size, "_ZNKSt5arrayIiLj144EE4sizeEv"); end; use template_array_int_144; -- Manual check done package template_array_unsigned_char_65536 is type instance is limited record underlying_array : aliased c_array_unsigned_char65536; -- ./array.hpp:15 current_size : aliased size_type; -- ./array.hpp:16 end record; pragma Import (CPP, instance); function New_c_array return instance; -- ./array.hpp:11 pragma CPP_Constructor (New_c_array, "_ZNSt5arrayIhLj65536EEC1Ev"); function operator_ob (this : access instance; index : size_type) return access unsigned_char; -- ./array.hpp:11 pragma Import (CPP, operator_ob, "_ZNSt5arrayIhLj65536EEixEj"); function size (this : access constant instance) return size_type; -- ./array.hpp:13 pragma Import (CPP, size, "_ZNKSt5arrayIhLj65536EE4sizeEv"); end; use template_array_unsigned_char_65536; -- Manual check done package template_array_Class_Sprite_40 is type instance is limited record underlying_array : aliased c_array_sprite40; -- ./array.hpp:15 current_size : aliased size_type; -- ./array.hpp:16 end record; pragma Import (CPP, instance); function New_c_array return instance; -- ./array.hpp:11 pragma CPP_Constructor (New_c_array, "_ZNSt5arrayI6SpriteLj40EEC1Ev"); function operator_ob (this : access instance; index : size_type) return access sprite_hpp.Class_Sprite.Sprite; -- ./array.hpp:11 pragma Import (CPP, operator_ob, "_ZNSt5arrayI6SpriteLj40EEixEj"); function size (this : access constant instance) return size_type; -- ./array.hpp:13 pragma Import (CPP, size, "_ZNKSt5arrayI6SpriteLj40EE4sizeEv"); end; use template_array_Class_Sprite_40; --const T& operator[](size_type index) const; end array_hpp;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R I N G S . B O U N D E D -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2019, 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/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Maps; with Ada.Strings.Superbounded; package Ada.Strings.Bounded is pragma Preelaborate; generic Max : Positive; -- Maximum length of a Bounded_String package Generic_Bounded_Length is Max_Length : constant Positive := Max; type Bounded_String is private; pragma Preelaborable_Initialization (Bounded_String); Null_Bounded_String : constant Bounded_String; subtype Length_Range is Natural range 0 .. Max_Length; function Length (Source : Bounded_String) return Length_Range; -------------------------------------------------------- -- Conversion, Concatenation, and Selection Functions -- -------------------------------------------------------- function To_Bounded_String (Source : String; Drop : Truncation := Error) return Bounded_String; function To_String (Source : Bounded_String) return String; procedure Set_Bounded_String (Target : out Bounded_String; Source : String; Drop : Truncation := Error); pragma Ada_05 (Set_Bounded_String); function Append (Left : Bounded_String; Right : Bounded_String; Drop : Truncation := Error) return Bounded_String; function Append (Left : Bounded_String; Right : String; Drop : Truncation := Error) return Bounded_String; function Append (Left : String; Right : Bounded_String; Drop : Truncation := Error) return Bounded_String; function Append (Left : Bounded_String; Right : Character; Drop : Truncation := Error) return Bounded_String; function Append (Left : Character; Right : Bounded_String; Drop : Truncation := Error) return Bounded_String; procedure Append (Source : in out Bounded_String; New_Item : Bounded_String; Drop : Truncation := Error); procedure Append (Source : in out Bounded_String; New_Item : String; Drop : Truncation := Error); procedure Append (Source : in out Bounded_String; New_Item : Character; Drop : Truncation := Error); function "&" (Left : Bounded_String; Right : Bounded_String) return Bounded_String; function "&" (Left : Bounded_String; Right : String) return Bounded_String; function "&" (Left : String; Right : Bounded_String) return Bounded_String; function "&" (Left : Bounded_String; Right : Character) return Bounded_String; function "&" (Left : Character; Right : Bounded_String) return Bounded_String; function Element (Source : Bounded_String; Index : Positive) return Character; procedure Replace_Element (Source : in out Bounded_String; Index : Positive; By : Character); function Slice (Source : Bounded_String; Low : Positive; High : Natural) return String; function Bounded_Slice (Source : Bounded_String; Low : Positive; High : Natural) return Bounded_String; pragma Ada_05 (Bounded_Slice); procedure Bounded_Slice (Source : Bounded_String; Target : out Bounded_String; Low : Positive; High : Natural); pragma Ada_05 (Bounded_Slice); function "=" (Left : Bounded_String; Right : Bounded_String) return Boolean; function "=" (Left : Bounded_String; Right : String) return Boolean; function "=" (Left : String; Right : Bounded_String) return Boolean; function "<" (Left : Bounded_String; Right : Bounded_String) return Boolean; function "<" (Left : Bounded_String; Right : String) return Boolean; function "<" (Left : String; Right : Bounded_String) return Boolean; function "<=" (Left : Bounded_String; Right : Bounded_String) return Boolean; function "<=" (Left : Bounded_String; Right : String) return Boolean; function "<=" (Left : String; Right : Bounded_String) return Boolean; function ">" (Left : Bounded_String; Right : Bounded_String) return Boolean; function ">" (Left : Bounded_String; Right : String) return Boolean; function ">" (Left : String; Right : Bounded_String) return Boolean; function ">=" (Left : Bounded_String; Right : Bounded_String) return Boolean; function ">=" (Left : Bounded_String; Right : String) return Boolean; function ">=" (Left : String; Right : Bounded_String) return Boolean; ---------------------- -- Search Functions -- ---------------------- function Index (Source : Bounded_String; Pattern : String; Going : Direction := Forward; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural; function Index (Source : Bounded_String; Pattern : String; Going : Direction := Forward; Mapping : Maps.Character_Mapping_Function) return Natural; function Index (Source : Bounded_String; Set : Maps.Character_Set; Test : Membership := Inside; Going : Direction := Forward) return Natural; function Index (Source : Bounded_String; Pattern : String; From : Positive; Going : Direction := Forward; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural; pragma Ada_05 (Index); function Index (Source : Bounded_String; Pattern : String; From : Positive; Going : Direction := Forward; Mapping : Maps.Character_Mapping_Function) return Natural; pragma Ada_05 (Index); function Index (Source : Bounded_String; Set : Maps.Character_Set; From : Positive; Test : Membership := Inside; Going : Direction := Forward) return Natural; pragma Ada_05 (Index); function Index_Non_Blank (Source : Bounded_String; Going : Direction := Forward) return Natural; function Index_Non_Blank (Source : Bounded_String; From : Positive; Going : Direction := Forward) return Natural; pragma Ada_05 (Index_Non_Blank); function Count (Source : Bounded_String; Pattern : String; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural; function Count (Source : Bounded_String; Pattern : String; Mapping : Maps.Character_Mapping_Function) return Natural; function Count (Source : Bounded_String; Set : Maps.Character_Set) return Natural; procedure Find_Token (Source : Bounded_String; Set : Maps.Character_Set; From : Positive; Test : Membership; First : out Positive; Last : out Natural); pragma Ada_2012 (Find_Token); procedure Find_Token (Source : Bounded_String; Set : Maps.Character_Set; Test : Membership; First : out Positive; Last : out Natural); ------------------------------------ -- String Translation Subprograms -- ------------------------------------ function Translate (Source : Bounded_String; Mapping : Maps.Character_Mapping) return Bounded_String; procedure Translate (Source : in out Bounded_String; Mapping : Maps.Character_Mapping); function Translate (Source : Bounded_String; Mapping : Maps.Character_Mapping_Function) return Bounded_String; procedure Translate (Source : in out Bounded_String; Mapping : Maps.Character_Mapping_Function); --------------------------------------- -- String Transformation Subprograms -- --------------------------------------- function Replace_Slice (Source : Bounded_String; Low : Positive; High : Natural; By : String; Drop : Truncation := Error) return Bounded_String; procedure Replace_Slice (Source : in out Bounded_String; Low : Positive; High : Natural; By : String; Drop : Truncation := Error); function Insert (Source : Bounded_String; Before : Positive; New_Item : String; Drop : Truncation := Error) return Bounded_String; procedure Insert (Source : in out Bounded_String; Before : Positive; New_Item : String; Drop : Truncation := Error); function Overwrite (Source : Bounded_String; Position : Positive; New_Item : String; Drop : Truncation := Error) return Bounded_String; procedure Overwrite (Source : in out Bounded_String; Position : Positive; New_Item : String; Drop : Truncation := Error); function Delete (Source : Bounded_String; From : Positive; Through : Natural) return Bounded_String; procedure Delete (Source : in out Bounded_String; From : Positive; Through : Natural); --------------------------------- -- String Selector Subprograms -- --------------------------------- function Trim (Source : Bounded_String; Side : Trim_End) return Bounded_String; procedure Trim (Source : in out Bounded_String; Side : Trim_End); function Trim (Source : Bounded_String; Left : Maps.Character_Set; Right : Maps.Character_Set) return Bounded_String; procedure Trim (Source : in out Bounded_String; Left : Maps.Character_Set; Right : Maps.Character_Set); function Head (Source : Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error) return Bounded_String; procedure Head (Source : in out Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error); function Tail (Source : Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error) return Bounded_String; procedure Tail (Source : in out Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error); ------------------------------------ -- String Constructor Subprograms -- ------------------------------------ function "*" (Left : Natural; Right : Character) return Bounded_String; function "*" (Left : Natural; Right : String) return Bounded_String; function "*" (Left : Natural; Right : Bounded_String) return Bounded_String; function Replicate (Count : Natural; Item : Character; Drop : Truncation := Error) return Bounded_String; function Replicate (Count : Natural; Item : String; Drop : Truncation := Error) return Bounded_String; function Replicate (Count : Natural; Item : Bounded_String; Drop : Truncation := Error) return Bounded_String; private -- Most of the implementation is in the separate non generic package -- Ada.Strings.Superbounded. Type Bounded_String is derived from type -- Superbounded.Super_String with the maximum length constraint. In -- almost all cases, the routines in Superbounded can be called with -- no requirement to pass the maximum length explicitly, since there -- is at least one Bounded_String argument from which the maximum -- length can be obtained. For all such routines, the implementation -- in this private part is simply a renaming of the corresponding -- routine in the superbounded package. -- The five exceptions are the * and Replicate routines operating on -- character values. For these cases, we have a routine in the body -- that calls the superbounded routine passing the maximum length -- explicitly as an extra parameter. type Bounded_String is new Superbounded.Super_String (Max_Length); -- Deriving Bounded_String from Superbounded.Super_String is the -- real trick, it ensures that the type Bounded_String declared in -- the generic instantiation is compatible with the Super_String -- type declared in the Superbounded package. function From_String (Source : String) return Bounded_String; -- Private routine used only by Stream_Convert pragma Stream_Convert (Bounded_String, From_String, To_String); -- Provide stream routines without dragging in Ada.Streams Null_Bounded_String : constant Bounded_String := (Max_Length => Max_Length, Current_Length => 0, Data => (1 .. Max_Length => ASCII.NUL)); pragma Inline (To_Bounded_String); procedure Set_Bounded_String (Target : out Bounded_String; Source : String; Drop : Truncation := Error) renames Set_Super_String; function Length (Source : Bounded_String) return Length_Range renames Super_Length; function To_String (Source : Bounded_String) return String renames Super_To_String; function Append (Left : Bounded_String; Right : Bounded_String; Drop : Truncation := Error) return Bounded_String renames Super_Append; function Append (Left : Bounded_String; Right : String; Drop : Truncation := Error) return Bounded_String renames Super_Append; function Append (Left : String; Right : Bounded_String; Drop : Truncation := Error) return Bounded_String renames Super_Append; function Append (Left : Bounded_String; Right : Character; Drop : Truncation := Error) return Bounded_String renames Super_Append; function Append (Left : Character; Right : Bounded_String; Drop : Truncation := Error) return Bounded_String renames Super_Append; procedure Append (Source : in out Bounded_String; New_Item : Bounded_String; Drop : Truncation := Error) renames Super_Append; procedure Append (Source : in out Bounded_String; New_Item : String; Drop : Truncation := Error) renames Super_Append; procedure Append (Source : in out Bounded_String; New_Item : Character; Drop : Truncation := Error) renames Super_Append; function "&" (Left : Bounded_String; Right : Bounded_String) return Bounded_String renames Concat; function "&" (Left : Bounded_String; Right : String) return Bounded_String renames Concat; function "&" (Left : String; Right : Bounded_String) return Bounded_String renames Concat; function "&" (Left : Bounded_String; Right : Character) return Bounded_String renames Concat; function "&" (Left : Character; Right : Bounded_String) return Bounded_String renames Concat; function Element (Source : Bounded_String; Index : Positive) return Character renames Super_Element; procedure Replace_Element (Source : in out Bounded_String; Index : Positive; By : Character) renames Super_Replace_Element; function Slice (Source : Bounded_String; Low : Positive; High : Natural) return String renames Super_Slice; function Bounded_Slice (Source : Bounded_String; Low : Positive; High : Natural) return Bounded_String renames Super_Slice; procedure Bounded_Slice (Source : Bounded_String; Target : out Bounded_String; Low : Positive; High : Natural) renames Super_Slice; overriding function "=" (Left : Bounded_String; Right : Bounded_String) return Boolean renames Equal; function "=" (Left : Bounded_String; Right : String) return Boolean renames Equal; function "=" (Left : String; Right : Bounded_String) return Boolean renames Equal; function "<" (Left : Bounded_String; Right : Bounded_String) return Boolean renames Less; function "<" (Left : Bounded_String; Right : String) return Boolean renames Less; function "<" (Left : String; Right : Bounded_String) return Boolean renames Less; function "<=" (Left : Bounded_String; Right : Bounded_String) return Boolean renames Less_Or_Equal; function "<=" (Left : Bounded_String; Right : String) return Boolean renames Less_Or_Equal; function "<=" (Left : String; Right : Bounded_String) return Boolean renames Less_Or_Equal; function ">" (Left : Bounded_String; Right : Bounded_String) return Boolean renames Greater; function ">" (Left : Bounded_String; Right : String) return Boolean renames Greater; function ">" (Left : String; Right : Bounded_String) return Boolean renames Greater; function ">=" (Left : Bounded_String; Right : Bounded_String) return Boolean renames Greater_Or_Equal; function ">=" (Left : Bounded_String; Right : String) return Boolean renames Greater_Or_Equal; function ">=" (Left : String; Right : Bounded_String) return Boolean renames Greater_Or_Equal; function Index (Source : Bounded_String; Pattern : String; Going : Direction := Forward; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural renames Super_Index; function Index (Source : Bounded_String; Pattern : String; Going : Direction := Forward; Mapping : Maps.Character_Mapping_Function) return Natural renames Super_Index; function Index (Source : Bounded_String; Set : Maps.Character_Set; Test : Membership := Inside; Going : Direction := Forward) return Natural renames Super_Index; function Index (Source : Bounded_String; Pattern : String; From : Positive; Going : Direction := Forward; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural renames Super_Index; function Index (Source : Bounded_String; Pattern : String; From : Positive; Going : Direction := Forward; Mapping : Maps.Character_Mapping_Function) return Natural renames Super_Index; function Index (Source : Bounded_String; Set : Maps.Character_Set; From : Positive; Test : Membership := Inside; Going : Direction := Forward) return Natural renames Super_Index; function Index_Non_Blank (Source : Bounded_String; Going : Direction := Forward) return Natural renames Super_Index_Non_Blank; function Index_Non_Blank (Source : Bounded_String; From : Positive; Going : Direction := Forward) return Natural renames Super_Index_Non_Blank; function Count (Source : Bounded_String; Pattern : String; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural renames Super_Count; function Count (Source : Bounded_String; Pattern : String; Mapping : Maps.Character_Mapping_Function) return Natural renames Super_Count; function Count (Source : Bounded_String; Set : Maps.Character_Set) return Natural renames Super_Count; procedure Find_Token (Source : Bounded_String; Set : Maps.Character_Set; From : Positive; Test : Membership; First : out Positive; Last : out Natural) renames Super_Find_Token; procedure Find_Token (Source : Bounded_String; Set : Maps.Character_Set; Test : Membership; First : out Positive; Last : out Natural) renames Super_Find_Token; function Translate (Source : Bounded_String; Mapping : Maps.Character_Mapping) return Bounded_String renames Super_Translate; procedure Translate (Source : in out Bounded_String; Mapping : Maps.Character_Mapping) renames Super_Translate; function Translate (Source : Bounded_String; Mapping : Maps.Character_Mapping_Function) return Bounded_String renames Super_Translate; procedure Translate (Source : in out Bounded_String; Mapping : Maps.Character_Mapping_Function) renames Super_Translate; function Replace_Slice (Source : Bounded_String; Low : Positive; High : Natural; By : String; Drop : Truncation := Error) return Bounded_String renames Super_Replace_Slice; procedure Replace_Slice (Source : in out Bounded_String; Low : Positive; High : Natural; By : String; Drop : Truncation := Error) renames Super_Replace_Slice; function Insert (Source : Bounded_String; Before : Positive; New_Item : String; Drop : Truncation := Error) return Bounded_String renames Super_Insert; procedure Insert (Source : in out Bounded_String; Before : Positive; New_Item : String; Drop : Truncation := Error) renames Super_Insert; function Overwrite (Source : Bounded_String; Position : Positive; New_Item : String; Drop : Truncation := Error) return Bounded_String renames Super_Overwrite; procedure Overwrite (Source : in out Bounded_String; Position : Positive; New_Item : String; Drop : Truncation := Error) renames Super_Overwrite; function Delete (Source : Bounded_String; From : Positive; Through : Natural) return Bounded_String renames Super_Delete; procedure Delete (Source : in out Bounded_String; From : Positive; Through : Natural) renames Super_Delete; function Trim (Source : Bounded_String; Side : Trim_End) return Bounded_String renames Super_Trim; procedure Trim (Source : in out Bounded_String; Side : Trim_End) renames Super_Trim; function Trim (Source : Bounded_String; Left : Maps.Character_Set; Right : Maps.Character_Set) return Bounded_String renames Super_Trim; procedure Trim (Source : in out Bounded_String; Left : Maps.Character_Set; Right : Maps.Character_Set) renames Super_Trim; function Head (Source : Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error) return Bounded_String renames Super_Head; procedure Head (Source : in out Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error) renames Super_Head; function Tail (Source : Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error) return Bounded_String renames Super_Tail; procedure Tail (Source : in out Bounded_String; Count : Natural; Pad : Character := Space; Drop : Truncation := Error) renames Super_Tail; function "*" (Left : Natural; Right : Bounded_String) return Bounded_String renames Times; function Replicate (Count : Natural; Item : Bounded_String; Drop : Truncation := Error) return Bounded_String renames Super_Replicate; end Generic_Bounded_Length; end Ada.Strings.Bounded;
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- Copyright (C) 2014-2017, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with STM32F4; use STM32F4; with STM32F4.GPIO; use STM32F4.GPIO; with STM32F4.RCC; use STM32F4.RCC; with STM32F4.SYSCFG; use STM32F4.SYSCFG; with STM32F429_Discovery; use STM32F429_Discovery; package body My_Button is procedure Initialize is Configuration : GPIO_Port_Configuration; begin Enable_Clock (GPIO_A); Configuration.Mode := Mode_In; Configuration.Resistors := Floating; Configure_IO (Port => GPIO_A, Pin => Pin_0, Config => Configuration); Connect_External_Interrupt (GPIO_A, Pin_0); Configure_Trigger (GPIO_A, Pin_0, Interrupt_Rising_Edge); end Initialize; begin Initialize; end My_Button;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- SQL Database Access -- -- -- -- 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$ ------------------------------------------------------------------------------ package body SQL.Options is --------- -- Get -- --------- function Get (Self : SQL_Options; Name : League.Strings.Universal_String) return League.Strings.Universal_String is begin if Self.Set.Contains (Name) then return Self.Set.Element (Name); else return League.Strings.Empty_Universal_String; end if; end Get; ------------ -- Is_Set -- ------------ function Is_Set (Self : SQL_Options; Name : League.Strings.Universal_String) return Boolean is begin return Self.Set.Contains (Name); end Is_Set; --------- -- Set -- --------- procedure Set (Self : in out SQL_Options; Name : League.Strings.Universal_String; Value : League.Strings.Universal_String) is begin Self.Set.Include (Name, Value); end Set; end SQL.Options;
procedure Raise_CE is begin raise Constraint_Error; end;
-- Copyright 2009, 2010, 2011 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is procedure Do_Nothing (A : System.Address); end Pck;
-- CE3108A.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 FILE CAN BE CLOSED AND THEN RE-OPENED. -- APPLICABILITY CRITERIA: -- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH SUPPORT -- TEXT FILES. -- HISTORY: -- DLD 08/11/82 -- SPS 11/09/82 -- JBG 03/24/83 -- EG 05/16/85 -- GMT 08/17/87 REMOVED UNNECESSARY CODE AND ADDED A CHECK FOR -- USE_ERROR ON DELETE. WITH REPORT; USE REPORT; WITH TEXT_IO; USE TEXT_IO; PROCEDURE CE3108A IS TXT_FILE : FILE_TYPE; VAR : STRING (1..2); LAST : INTEGER; INCOMPLETE : EXCEPTION; BEGIN TEST ("CE3108A", "CHECK THAT A FILE CAN BE CLOSED " & "AND THEN RE-OPENED"); -- INITIALIZE TEST FILES BEGIN BEGIN CREATE (TXT_FILE, OUT_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN NAME_ERROR => NOT_APPLICABLE ("NAME_ERROR RAISED ON CREATE"); RAISE INCOMPLETE; WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON CREATE"); RAISE INCOMPLETE; END; BEGIN PUT (TXT_FILE, "17"); CLOSE (TXT_FILE); -- RE-OPEN TEXT TEST FILE BEGIN OPEN (TXT_FILE, IN_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON OPEN"); RAISE INCOMPLETE; END; GET (TXT_FILE, VAR); IF VAR /= "17" THEN FAILED ("WRONG DATA RETURNED FROM READ -TEXT"); END IF; -- DELETE TEST FILES BEGIN DELETE (TXT_FILE); EXCEPTION WHEN USE_ERROR => NULL; END; END; EXCEPTION WHEN INCOMPLETE => NULL; END; RESULT; END CE3108A;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . G E N E R I C _ V E C T O R _ O P E R A T I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2002-2005 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains generic procedures for vector operations on arrays. -- If the arguments are aligned on word boundaries and the word size is a -- multiple M of the element size, the operations will be done M elements -- at a time using vector operations on a word. -- All routines assume argument arrays have the same length, and arguments -- with mode "in" do not alias arguments with mode "out" or "in out". -- If the number N of elements to be processed is not a multiple of M -- the final N rem M elements will be processed one item at a time. with System.Vectors; with System.Storage_Elements; generic type Element is (<>); type Index is (<>); type Element_Array is array (Index range <>) of Element; package System.Generic_Vector_Operations is pragma Pure; generic with function Element_Op (X, Y : Element) return Element; with function Vector_Op (X, Y : Vectors.Vector) return Vectors.Vector; procedure Binary_Operation (R, X, Y : System.Address; Length : System.Storage_Elements.Storage_Count); generic with function Element_Op (X : Element) return Element; with function Vector_Op (X : Vectors.Vector) return Vectors.Vector; procedure Unary_Operation (R, X : System.Address; Length : System.Storage_Elements.Storage_Count); end System.Generic_Vector_Operations;
-- OpenAPI Petstore -- This is a sample server Petstore server. For this sample, you can use the api key `special_key` to test the authorization filters. -- -- OpenAPI spec version: 1.0.0 -- -- -- NOTE: This package is auto generated by OpenAPI-Generator 4.0.0-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. with Swagger.Streams; with Ada.Containers.Vectors; package Samples.Petstore.Models is -- ------------------------------ -- An uploaded response -- Describes the result of uploading an image resource -- ------------------------------ type ApiResponseType is record Code : Integer; P_Type : Swagger.UString; Message : Swagger.UString; end record; package ApiResponseType_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => ApiResponseType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ApiResponseType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ApiResponseType_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ApiResponseType); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ApiResponseType_Vectors.Vector); -- ------------------------------ -- Pet Tag -- A tag for a pet -- ------------------------------ type TagType is record Id : Swagger.Long; Name : Swagger.UString; end record; package TagType_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => TagType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in TagType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in TagType_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out TagType); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out TagType_Vectors.Vector); -- ------------------------------ -- Pet category -- A category for a pet -- ------------------------------ type CategoryType is record Id : Swagger.Long; Name : Swagger.UString; end record; package CategoryType_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => CategoryType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in CategoryType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in CategoryType_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out CategoryType); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out CategoryType_Vectors.Vector); -- ------------------------------ -- a Pet -- A pet for sale in the pet store -- ------------------------------ type PetType is record Id : Swagger.Long; Category : Samples.Petstore.Models.CategoryType; Name : Swagger.UString; Photo_Urls : Swagger.UString_Vectors.Vector; Tags : Samples.Petstore.Models.TagType_Vectors.Vector; Status : Swagger.UString; end record; package PetType_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => PetType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in PetType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in PetType_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out PetType); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out PetType_Vectors.Vector); -- ------------------------------ -- a User -- A User who is purchasing from the pet store -- ------------------------------ type UserType is record Id : Swagger.Long; Username : Swagger.UString; First_Name : Swagger.UString; Last_Name : Swagger.UString; Email : Swagger.UString; Password : Swagger.UString; Phone : Swagger.UString; User_Status : Integer; end record; package UserType_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => UserType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in UserType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in UserType_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out UserType); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out UserType_Vectors.Vector); -- ------------------------------ -- Pet Order -- An order for a pets from the pet store -- ------------------------------ type OrderType is record Id : Swagger.Long; Pet_Id : Swagger.Long; Quantity : Integer; Ship_Date : Swagger.Datetime; Status : Swagger.UString; Complete : Boolean; end record; package OrderType_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrderType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderType); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderType_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderType); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderType_Vectors.Vector); end Samples.Petstore.Models;
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- ****h* Knowledge/KMissions -- FUNCTION -- Provide code to show the list of known events to the player -- SOURCE package Knowledge.Missions is -- **** -- ****f* KMissions/KMissions.AddCommands -- FUNCTION -- Add Tcl commands related to the list of known bases -- SOURCE procedure AddCommands; -- **** -- ****f* KMissions/KMissions.UpdateMissionsList -- FUNCTION -- Update and show list of accepted missions -- PARAMETERS -- Page - The current page of missions list to show -- SOURCE procedure UpdateMissionsList(Page: Positive := 1); -- **** end Knowledge.Missions;
with Text_IO; procedure Main with SPARK_Mode is -- The function below is intended to determine whether a given triangle -- (specified by the lengths of its three sides) is a right-angle triangle. -- The postcondition and the code have been made simpler by making a -- precondition on the caller that the longest side is given first. -- (Note that the function could have been implemented as a simple -- expression function.) function Is_Right_Angle_Triangle (Long_Side : Natural; Side_2 : Natural; Side_3 : Natural) return Boolean with Pre => Long_Side * Long_Side in Natural and then (Side_2 * Side_2) + (Side_3 * Side_3) in Natural, Post => (if Long_Side * Long_Side = (Side_2 * Side_2) + (Side_3 * Side_3) then Is_Right_Angle_Triangle'Result = True) is begin -- Note that this function has multiple return statements. In SPARK 2005 -- this was not permitted due to flow analysis restrictions, but these -- restrictions have been lifted in SPARK 2014. if Long_Side * Long_Side = (Side_2 * Side_2) + (Side_3 * Side_3) then return True; else return False; end if; end Is_Right_Angle_Triangle; begin -- Main Program if Is_Right_Angle_Triangle (Natural'Last, Natural'Last, Natural'Last) then Text_IO.Put_Line ("Yes"); else Text_IO.Put_Line ("False"); end if; end Main;
package Opt13_Pkg is N : Natural := 0; type My_Type is private; procedure Allocate (T : out My_Type); private type Data; type My_Type is access Data; end Opt13_Pkg;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . I N T E R R U P T _ M A N A G E M E N T -- -- -- -- B o d y -- -- -- -- Copyright (C) 1991-2005 Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNARL; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the NT version of this package with System.OS_Interface; use System.OS_Interface; package body System.Interrupt_Management is ---------------- -- Initialize -- ---------------- procedure Initialize is begin -- "Reserve" all the interrupts, except those that are explicitely -- defined. for J in Interrupt_ID'Range loop Reserve (J) := True; end loop; Reserve (SIGINT) := False; Reserve (SIGILL) := False; Reserve (SIGABRT) := False; Reserve (SIGFPE) := False; Reserve (SIGSEGV) := False; Reserve (SIGTERM) := False; end Initialize; end System.Interrupt_Management;
----------------------------------------------------------------------- -- util-processes-os -- Windows specific and low level operations -- Copyright (C) 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Streams.Raw; with Util.Systems.Os; with Interfaces.C; private package Util.Processes.Os is use Util.Systems.Os; type Wchar_Ptr is access all Interfaces.C.wchar_array; type System_Process is new Util.Processes.System_Process with record Process_Info : aliased Util.Systems.Os.PROCESS_INFORMATION; Command : Wchar_Ptr := null; Pos : Interfaces.C.size_t := 0; end record; -- Wait for the process to exit. overriding procedure Wait (Sys : in out System_Process; Proc : in out Process'Class; Timeout : in Duration); -- Spawn a new process. overriding procedure Spawn (Sys : in out System_Process; Proc : in out Process'Class; Mode : in Pipe_Mode := NONE); -- Terminate the process by sending a signal on Unix and exiting the process on Windows. -- This operation is not portable and has a different behavior between Unix and Windows. -- Its intent is to stop the process. overriding procedure Stop (Sys : in out System_Process; Proc : in out Process'Class; Signal : in Positive := 15); -- Append the argument to the process argument list. overriding procedure Append_Argument (Sys : in out System_Process; Arg : in String); -- Set the process input, output and error streams to redirect and use specified files. overriding procedure Set_Streams (Sys : in out System_Process; Input : in String; Output : in String; Error : in String; Append_Output : in Boolean; Append_Error : in Boolean); -- Deletes the storage held by the system process. overriding procedure Finalize (Sys : in out System_Process); -- Build the output pipe redirection to read the process output. procedure Build_Output_Pipe (Proc : in out Process'Class; Into : in out Startup_Info); -- Build the input pipe redirection to write the process standard input. procedure Build_Input_Pipe (Proc : in out Process'Class; Into : in out Startup_Info); private -- Create the output stream to read/write on the process input/output. -- Setup the file to be closed on exec. function Create_Stream (File : in Util.Streams.Raw.File_Type) return Util.Streams.Raw.Raw_Stream_Access; end Util.Processes.Os;
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32F3x4.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.GPIO is pragma Preelaborate; --------------- -- Registers -- --------------- -- MODER array element subtype MODER_Element is HAL.UInt2; -- MODER array type MODER_Field_Array is array (0 .. 15) of MODER_Element with Component_Size => 2, Size => 32; -- GPIO port mode register type MODER_Register (As_Array : Boolean := False) is record case As_Array is when False => -- MODER as a value Val : HAL.UInt32; when True => -- MODER as an array Arr : MODER_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MODER_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; -- OTYPER_OT array type OTYPER_OT_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for OTYPER_OT type OTYPER_OT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- OT as a value Val : HAL.UInt16; when True => -- OT as an array Arr : OTYPER_OT_Field_Array; end case; end record with Unchecked_Union, Size => 16; for OTYPER_OT_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- GPIO port output type register type OTYPER_Register is record -- Port x configuration bits (y = 0..15) OT : OTYPER_OT_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OTYPER_Register use record OT at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- OSPEEDR array element subtype OSPEEDR_Element is HAL.UInt2; -- OSPEEDR array type OSPEEDR_Field_Array is array (0 .. 15) of OSPEEDR_Element with Component_Size => 2, Size => 32; -- GPIO port output speed register type OSPEEDR_Register (As_Array : Boolean := False) is record case As_Array is when False => -- OSPEEDR as a value Val : HAL.UInt32; when True => -- OSPEEDR as an array Arr : OSPEEDR_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OSPEEDR_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; -- PUPDR array element subtype PUPDR_Element is HAL.UInt2; -- PUPDR array type PUPDR_Field_Array is array (0 .. 15) of PUPDR_Element with Component_Size => 2, Size => 32; -- GPIO port pull-up/pull-down register type PUPDR_Register (As_Array : Boolean := False) is record case As_Array is when False => -- PUPDR as a value Val : HAL.UInt32; when True => -- PUPDR as an array Arr : PUPDR_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PUPDR_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; -- IDR array type IDR_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for IDR type IDR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- IDR as a value Val : HAL.UInt16; when True => -- IDR as an array Arr : IDR_Field_Array; end case; end record with Unchecked_Union, Size => 16; for IDR_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- GPIO port input data register type IDR_Register is record -- Read-only. Port input data (y = 0..15) IDR : IDR_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for IDR_Register use record IDR at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- ODR array type ODR_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for ODR type ODR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- ODR as a value Val : HAL.UInt16; when True => -- ODR as an array Arr : ODR_Field_Array; end case; end record with Unchecked_Union, Size => 16; for ODR_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- GPIO port output data register type ODR_Register is record -- Port output data (y = 0..15) ODR : ODR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ODR_Register use record ODR at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- BSRR_BS array type BSRR_BS_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for BSRR_BS type BSRR_BS_Field (As_Array : Boolean := False) is record case As_Array is when False => -- BS as a value Val : HAL.UInt16; when True => -- BS as an array Arr : BSRR_BS_Field_Array; end case; end record with Unchecked_Union, Size => 16; for BSRR_BS_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- BSRR_BR array type BSRR_BR_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for BSRR_BR type BSRR_BR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- BR as a value Val : HAL.UInt16; when True => -- BR as an array Arr : BSRR_BR_Field_Array; end case; end record with Unchecked_Union, Size => 16; for BSRR_BR_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- GPIO port bit set/reset register type BSRR_Register is record -- Write-only. Port x set bit y (y= 0..15) BS : BSRR_BS_Field := (As_Array => False, Val => 16#0#); -- Write-only. Port x set bit y (y= 0..15) BR : BSRR_BR_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BSRR_Register use record BS at 0 range 0 .. 15; BR at 0 range 16 .. 31; end record; -- LCKR_LCK array type LCKR_LCK_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for LCKR_LCK type LCKR_LCK_Field (As_Array : Boolean := False) is record case As_Array is when False => -- LCK as a value Val : HAL.UInt16; when True => -- LCK as an array Arr : LCKR_LCK_Field_Array; end case; end record with Unchecked_Union, Size => 16; for LCKR_LCK_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- GPIO port configuration lock register type LCKR_Register is record -- Port x lock bit y (y= 0..15) LCK : LCKR_LCK_Field := (As_Array => False, Val => 16#0#); -- Lok Key LCKK : Boolean := False; -- unspecified Reserved_17_31 : HAL.UInt15 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for LCKR_Register use record LCK at 0 range 0 .. 15; LCKK at 0 range 16 .. 16; Reserved_17_31 at 0 range 17 .. 31; end record; -- AFRL array element subtype AFRL_Element is HAL.UInt4; -- AFRL array type AFRL_Field_Array is array (0 .. 7) of AFRL_Element with Component_Size => 4, Size => 32; -- GPIO alternate function low register type AFRL_Register (As_Array : Boolean := False) is record case As_Array is when False => -- AFRL as a value Val : HAL.UInt32; when True => -- AFRL as an array Arr : AFRL_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AFRL_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; -- AFRH array element subtype AFRH_Element is HAL.UInt4; -- AFRH array type AFRH_Field_Array is array (8 .. 15) of AFRH_Element with Component_Size => 4, Size => 32; -- GPIO alternate function high register type AFRH_Register (As_Array : Boolean := False) is record case As_Array is when False => -- AFRH as a value Val : HAL.UInt32; when True => -- AFRH as an array Arr : AFRH_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AFRH_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; -- BRR_BR array type BRR_BR_Field_Array is array (0 .. 15) of Boolean with Component_Size => 1, Size => 16; -- Type definition for BRR_BR type BRR_BR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- BR as a value Val : HAL.UInt16; when True => -- BR as an array Arr : BRR_BR_Field_Array; end case; end record with Unchecked_Union, Size => 16; for BRR_BR_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- Port bit reset register type BRR_Register is record -- Write-only. Port x Reset bit y BR : BRR_BR_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BRR_Register use record BR at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- General-purpose I/Os type GPIO_Peripheral is record -- GPIO port mode register MODER : aliased MODER_Register; -- GPIO port output type register OTYPER : aliased OTYPER_Register; -- GPIO port output speed register OSPEEDR : aliased OSPEEDR_Register; -- GPIO port pull-up/pull-down register PUPDR : aliased PUPDR_Register; -- GPIO port input data register IDR : aliased IDR_Register; -- GPIO port output data register ODR : aliased ODR_Register; -- GPIO port bit set/reset register BSRR : aliased BSRR_Register; -- GPIO port configuration lock register LCKR : aliased LCKR_Register; -- GPIO alternate function low register AFRL : aliased AFRL_Register; -- GPIO alternate function high register AFRH : aliased AFRH_Register; -- Port bit reset register BRR : aliased BRR_Register; end record with Volatile; for GPIO_Peripheral use record MODER at 16#0# range 0 .. 31; OTYPER at 16#4# range 0 .. 31; OSPEEDR at 16#8# range 0 .. 31; PUPDR at 16#C# range 0 .. 31; IDR at 16#10# range 0 .. 31; ODR at 16#14# range 0 .. 31; BSRR at 16#18# range 0 .. 31; LCKR at 16#1C# range 0 .. 31; AFRL at 16#20# range 0 .. 31; AFRH at 16#24# range 0 .. 31; BRR at 16#28# range 0 .. 31; end record; -- General-purpose I/Os GPIOA_Periph : aliased GPIO_Peripheral with Import, Address => GPIOA_Base; -- General-purpose I/Os GPIOB_Periph : aliased GPIO_Peripheral with Import, Address => GPIOB_Base; -- General-purpose I/Os GPIOC_Periph : aliased GPIO_Peripheral with Import, Address => GPIOC_Base; -- General-purpose I/Os GPIOD_Periph : aliased GPIO_Peripheral with Import, Address => GPIOD_Base; -- General-purpose I/Os GPIOF_Periph : aliased GPIO_Peripheral with Import, Address => GPIOF_Base; end STM32_SVD.GPIO;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Testsuite 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$ ------------------------------------------------------------------------------ -- Test:T26 -- -- Description: -- -- Node A sends to node C message with Processing Instruction node. Node C -- ignores PI and returns back Body with test:responseOk element. -- -- Messages: -- -- Message sent from Node A -- -- <?xml version='1.0' ?> -- <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> -- <?xml-stylesheet href="http://example.org/ts-tests/sub.xsl" -- type = "text/xsl"?> -- <env:Body> -- <test:echoOk xmlns:test="http://example.org/ts-tests"> -- foo -- </test:echoOk> -- </env:Body> -- </env:Envelope> -- -- Message sent from Node C -- -- <?xml version='1.0' ?> -- <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> -- <env:Body> -- <test:responseOk xmlns:test="http://example.org/ts-tests"> -- foo -- </test:responseOk> -- </env:Body> -- </env:Envelope> ------------------------------------------------------------------------------ package SOAPConf.Testcases.Test_T26 is Scenario : constant Testcase_Data := (League.Strings.To_Universal_String ("<?xml version='1.0'?>" & "<env:Envelope" & " xmlns:env='http://www.w3.org/2003/05/soap-envelope'>" & "<?xml-stylesheet" & " href='http://example.org/ts-tests/sub.xsl'" & " type = 'text/xsl'?>" & "<env:Body>" & "<test:echoOk xmlns:test='http://example.org/ts-tests'>" & "foo" & "</test:echoOk>" & "</env:Body>" & "</env:Envelope>"), League.Strings.To_Universal_String ("<?xml version='1.0'?>" & "<env:Envelope xmlns:env='http://www.w3.org/2003/05/soap-envelope'>" & "<env:Body>" & "<test:responseOk xmlns:test='http://example.org/ts-tests'>" & "foo" & "</test:responseOk>" & "</env:Body>" & "</env:Envelope>")); end SOAPConf.Testcases.Test_T26;
package body Opt57 is type Phase_Enum is (None_Phase, FE_Init_Phase, FE_Phase); type Message_State is (No_Messages, Some_Messages); type Module_List_Array is array (Phase_Enum, Message_State) of List; type Private_Module_Factory is limited record Module_Lists : Module_List_Array; end record; type Element_Array is array (Positive range <>) of Module_Factory_Ptr; type Hash_Table is array (Positive range <>) of aliased Module_Factory_Ptr; type Heap_Data_Rec (Table_Last : Positive) is limited record Number_Of_Elements : Positive; Table : Hash_Table (1 .. Table_Last); end record; type Heap_Data_Ptr is access Heap_Data_Rec; type Table is limited record Data : Heap_Data_Ptr; end record; function All_Elements (M : Table) return Element_Array is Result : Element_Array (1 .. Natural (M.Data.Number_Of_Elements)); Last : Natural := 0; begin for H in M.Data.Table'Range loop Last := Last + 1; Result (Last) := M.Data.Table(H); end loop; return Result; end; The_Factories : Table; subtype Language_Array is Element_Array; type Language_Array_Ptr is access Language_Array; All_Languages : Language_Array_Ptr := null; procedure Init is begin if All_Languages = null then All_Languages := new Language_Array'(All_Elements (The_Factories)); end if; end; function Is_Empty (L : List) return Boolean is begin return Link_Constant (L.Next) = L'Unchecked_Access; end; function First (L : List) return Linkable_Ptr is begin return Links_Type (L.Next.all).Container.all'Access; end; procedure Update is Check_New_Dependences : Boolean := False; begin loop for Lang_Index in All_Languages'Range loop for Has_Messages in Message_State loop declare L : List renames All_Languages (Lang_Index).Priv.Module_Lists (FE_Init_Phase, Has_Messages); begin while not Is_Empty (L) loop declare Module_In_Init_State : constant Module_Ptr := Module_Ptr (First (L)); Pin_Dependence : Pinned (Module_In_Init_State); begin Check_New_Dependences := True; end; end loop; end; end loop; end loop; exit when not Check_New_Dependences; end loop; end; end Opt57;
with AVR, AVR.MCU; use AVR; with Interfaces; use Interfaces; package Hardware.PWM is -- Set Servo_ISR as the TIMER1 COMPA handler. See page 101 of the -- ATmega2560 datasheet for more details. procedure Servo_ISR; pragma Machine_Attribute (Entity => Servo_ISR, Attribute_Name => "interrupt"); pragma Export (C, Servo_ISR, MCU.Sig_Timer1_COMPA_String); Max_Servos : constant := 4; -- Board has 4 PWM connectors. type Servo_Index is range 1 .. Max_Servos; procedure Connect (pin : in AVR.Bit_Number; which : out Servo_Index); procedure Trim (which : in Servo_Index; trim : in Integer_16); procedure Set (which : in Servo_Index; us : in Unsigned_16); private Duty_Cycle : constant := 20000; -- 20ms pulse width Update_Interval : constant := 40000; Update_Wait : constant := 5; -- Allow for minor interrupt delays. -- Specified in the servo datasheet and common to this hardware -- configuration. Min_Pulse : constant := 1300; Mid_Pulse : constant := 1500; Max_Pulse : constant := 1700; type Servo is record Pin : AVR.Bit_Number; Ticks : Unsigned_16; Min : Unsigned_16; Max : Unsigned_16; Trim : Integer_16; end record; type Servo_ptr is access Servo; Servos : array (1 .. Max_Servos) of Servo_ptr; -- 0 is used to indicate the refresh cycle has completed. Active_Servos : Integer range 0 .. Max_Servos := 0; Current_Servo : Integer range 0 .. Max_Servos := 1; end Hardware.PWM;
with Ada.Numerics; use Ada.Numerics; with System; package Init4 is type R1 is record F : Float; end record; for R1'Bit_Order use System.Low_Order_First; for R1'Scalar_Storage_Order use System.Low_Order_First; for R1 use record F at 0 range 0 .. 31; end record; type R2 is record F : Float; end record; for R2'Bit_Order use System.High_Order_First; for R2'Scalar_Storage_Order use System.High_Order_First; for R2 use record F at 0 range 0 .. 31; end record; My_R1 : constant R1 := (F => Pi); My_R2 : constant R2 := (F => Pi); end Init4;
package discr2 is procedure Dummy; end discr2;
-- -- Jan & Uwe R. Zimmer, Australia, July 2011 -- -- with Arrow_P, Cube_P, Duck_P, Plane_P; with Spaceship_P; pragma Elaborate_All (Spaceship_P); with Sphere_P; pragma Elaborate_All (Sphere_P); with Real_Type; use Real_Type; with Vectors_4D; use Vectors_4D; with GL; with GL.Materials; use GL.Materials; package body Models is -- procedure Assign_Material (Model : GLOBE_3D.p_Object_3D; Material : Material_type) is begin for Faces in Model.all.face'Range loop Model.all.face (Faces).material := Material; end loop; end Assign_Material; -- function To_Vector_4D (V : GL.Material_Float_vector) return Vector_4D is (x => Real (V (0)), y => Real (V (1)), z => Real (V (2)), t => Real (V (3))); -- function To_GL (V : Vector_4D) return GL.Material_Float_vector is (0 => GL.C_Float (V (x)), 1 => GL.C_Float (V (y)), 2 => GL.C_Float (V (z)), 3 => GL.C_Float (V (t))); -- subtype Ratio_T is Real range 0.0 .. 1.0; function Blend_Material (Material_1, Material_2 : Material_type; Ratio : Ratio_T) return Material_type is (ambient => To_GL (Ratio * To_Vector_4D (Material_1.ambient) + (1.0 - Ratio) * To_Vector_4D (Material_2.ambient)), diffuse => To_GL (Ratio * To_Vector_4D (Material_1.diffuse) + (1.0 - Ratio) * To_Vector_4D (Material_2.diffuse)), specular => To_GL (Ratio * To_Vector_4D (Material_1.specular) + (1.0 - Ratio) * To_Vector_4D (Material_2.specular)), emission => To_GL (Ratio * To_Vector_4D (Material_1.emission) + (1.0 - Ratio) * To_Vector_4D (Material_2.emission)), shininess => GL.C_Float (Ratio * Real (Material_1.shininess) + (1.0 - Ratio) * Real (Material_2.shininess))); ---------------- -- Initialize -- ---------------- procedure Initialize is begin for Model in Model_Name loop case Model is -- when Arrow => Arrow_P.Create (object => Model_Set (Model), scale => 0.003, centre => (0.0, 0.0, 0.0)); -- when Cube => Cube_P.Create (object => Model_Set (Model), scale => 0.015, centre => (0.0, 0.0, 0.0)); -- when Duck => Duck_P.Create (object => Model_Set (Model), scale => 0.003, centre => (0.0, 0.0, 0.0)); -- when Plane => Plane_P.Create (object => Model_Set (Model), scale => 0.003, centre => (0.0, 0.0, 0.0)); when Spaceship => Spaceship_P.Create (Object => Model_Set (Model), Object_Scale => 0.003, Centre => (0.0, 0.0, 0.0)); Assign_Material (Model_Set (Model), Pearl); -- when Spaceship_Ruby => Spaceship_P.Create (object => Model_Set (Model), scale => 0.003, centre => (0.0, 0.0, 0.0)); Assign_Material (Model_Set (Model), Ruby); when Sphere => Sphere_P.Create (object => Model_Set (Model), Object_Scale => 0.015, centre => (0.0, 0.0, 0.0)); Assign_Material (Model_Set (Model), Ruby); end case; end loop; for M in Spaceship_Gradient'Range (1) loop for i in Spaceship_Gradient'Range (2) loop Spaceship_P.Create (Object => Spaceship_Gradient (M, i), Object_Scale => 0.003, Centre => (0.0, 0.0, 0.0)); declare Ratio : constant Ratio_T := ((Real (i) - Real (Spaceship_Gradient'First (2))) / Real (Spaceship_Gradient'Last (2) - Spaceship_Gradient'First (2))) + Ratio_T'First; begin case M is when G_Ruby => Assign_Material (Spaceship_Gradient (M, i), Blend_Material (Ruby, Pearl, Ratio)); when G_Turquoise => Assign_Material (Spaceship_Gradient (M, i), Blend_Material (Turquoise, Pearl, Ratio)); end case; end; end loop; end loop; end Initialize; begin Initialize; end Models;
-- C96004A.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 THE PRE-DEFINED SUBTYPES FROM THE PACKAGE CALENDAR, -- NAMELY YEAR_NUMBER, MONTH_NUMBER, DAY_NUMBER, AND DAY_DURATION, -- HAVE THE CORRECT RANGE CONSTRAINTS. SUBTESTS ARE: -- (A) YEAR_NUMBER. -- (B) MONTH_NUMBER. -- (C) DAY_NUMBER. -- (D) DAY_DURATION. -- HISTORY: -- CPP 08/15/84 CREATED ORIGINAL TEST. -- JET 01/06/88 UPDATED HEADER FORMAT AND ADDED CODE TO PREVENT -- OPTIMIZATION. WITH CALENDAR; USE CALENDAR; WITH REPORT; USE REPORT; PROCEDURE C96004A IS BEGIN TEST("C96004A", "CHECK THAT PRE-DEFINED SUBTYPES FROM THE " & "CALENDAR PACKAGE HAVE CORRECT RANGE CONSTRAINTS"); --------------------------------------------- DECLARE -- (A) YR : YEAR_NUMBER; BEGIN -- (A) BEGIN YR := 1900; FAILED ("EXCEPTION NOT RAISED - (A)1"); IF NOT EQUAL (YR, YR) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (A)1"); END; BEGIN YR := 84; FAILED ("EXCEPTION NOT RAISED - (A)2"); IF NOT EQUAL (YR, YR) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (A)2"); END; BEGIN YR := 2099; IF NOT EQUAL (YR, YR) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN OTHERS => FAILED ("OK CASE RAISED EXCEPTION ON 2099 - (A)"); END; BEGIN YR := IDENT_INT(YEAR_NUMBER'LAST + 1); FAILED ("EXCEPTION NOT RAISED - (A)3"); IF NOT EQUAL (YR, YR) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (A)3"); END; END; -- (A) --------------------------------------------- DECLARE -- (B) MO : MONTH_NUMBER; BEGIN -- (B) BEGIN MO := IDENT_INT(0); FAILED ("EXCEPTION NOT RAISED - (B)1"); IF NOT EQUAL (MO, MO) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (B)1"); END; BEGIN MO := 12; IF NOT EQUAL (MO, MO) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN OTHERS => FAILED ("OK CASE RAISED EXCEPTION ON 12 - (B)"); END; BEGIN MO := 13; FAILED ("EXCEPTION NOT RAISED - (B)2"); IF NOT EQUAL (MO, MO) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (B)2"); END; END; -- (B) --------------------------------------------- DECLARE -- (C) DY : DAY_NUMBER; BEGIN -- (C) BEGIN DY := 0; FAILED ("EXCEPTION NOT RAISED - (C)1"); IF NOT EQUAL (DY, DY) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (C)1"); END; BEGIN DY := IDENT_INT(32); FAILED ("EXCEPTION NOT RAISED - (C)2"); IF NOT EQUAL (DY, DY) THEN COMMENT ("NO EXCEPTION RAISED"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (C)2"); END; END; -- (C) --------------------------------------------- DECLARE -- (D) SEGMENT : DAY_DURATION; FUNCTION CHECK_OK (X : DAY_DURATION) RETURN BOOLEAN IS I : INTEGER := INTEGER (X); BEGIN RETURN EQUAL (I,I); END CHECK_OK; BEGIN -- (D) BEGIN SEGMENT := 86_400.0; IF CHECK_OK (SEGMENT - 86_000.0) THEN COMMENT ("NO EXCEPTION RAISED (D1)"); ELSE COMMENT ("NO EXCEPTION RAISED (D2)"); END IF; EXCEPTION WHEN OTHERS => FAILED ("OK CASE RAISED EXCEPTION ON 86_400 - (D)"); END; BEGIN SEGMENT := -4.0; FAILED ("EXCEPTION NOT RAISED - (D)1"); IF NOT EQUAL (INTEGER(SEGMENT), INTEGER(SEGMENT)) THEN COMMENT ("NO EXCEPTION RAISED (D3)"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (D)1"); END; BEGIN SEGMENT := 86_401.00; IF CHECK_OK (SEGMENT - 86_000.0) THEN FAILED ("NO EXCEPTION RAISED (D4)"); ELSE FAILED ("NO EXCEPTION RAISED (D5)"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED - (D)2"); END; END; -- (D) --------------------------------------------- RESULT; END C96004A;
package TLSF.Proof with SPARK_Mode, Pure, Preelaborate is end TLSF.Proof;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Euler is sum:Integer := 0; begin for I in Integer range 1 .. 999 loop if I mod 5 = 0 or I mod 3 = 0 then sum := sum + I; end if; end loop; Put(sum); New_Line; end Euler;
------------------------------------------------------------------------------ -- -- -- Generic HEX String Handling Package -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2018-2021, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * Richard Wai, Ensi Martini, Aninda Poddar, Noshen Atashe -- -- (ANNEXI-STRAYLINE) -- -- -- -- 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 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 -- -- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- Standard, verified package to represent an 8-bit modular value with Interfaces; with Hex.Modular_Codec; package Hex.Unsigned_8 with SPARK_Mode => On is pragma Assertion_Policy (Pre => Check, Post => Ignore, Assert => Ignore); subtype Unsigned_8 is Interfaces.Unsigned_8; use type Unsigned_8; package Codec is new Hex.Modular_Codec (Modular_Value => Unsigned_8, Bit_Width => 8); Maximum_Length: Positive renames Codec.Max_Nibbles; function Decode (Input: String) return Unsigned_8 renames Codec.Decode; procedure Decode (Input: in String; Value: out Unsigned_8) renames Codec.Decode; function Encode (Value: Unsigned_8; Use_Case: Set_Case := Lower_Case) return String renames Codec.Encode; procedure Encode (Value : in Unsigned_8; Buffer : out String; Use_Case: in Set_Case := Lower_Case) renames Codec.Encode; end Hex.Unsigned_8;
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- -- -- -- Open source license information is in the zlib.ads file. -- ---------------------------------------------------------------- -- $Id: zlib-streams.adb,v 1.10 2004/05/31 10:53:40 vagul Exp $ with Ada.Unchecked_Deallocation; package body ZLib.Streams is ----------- -- Close -- ----------- procedure Close (Stream : in out Stream_Type) is procedure Free is new Ada.Unchecked_Deallocation (Stream_Element_Array, Buffer_Access); begin if Stream.Mode = Out_Stream or Stream.Mode = Duplex then -- We should flush the data written by the writer. Flush (Stream, Finish); Close (Stream.Writer); end if; if Stream.Mode = In_Stream or Stream.Mode = Duplex then Close (Stream.Reader); Free (Stream.Buffer); end if; end Close; ------------ -- Create -- ------------ procedure Create (Stream : out Stream_Type; Mode : in Stream_Mode; Back : in Stream_Access; Back_Compressed : in Boolean; Level : in Compression_Level := Default_Compression; Strategy : in Strategy_Type := Default_Strategy; Header : in Header_Type := Default; Read_Buffer_Size : in Ada.Streams.Stream_Element_Offset := Default_Buffer_Size; Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset := Default_Buffer_Size) is subtype Buffer_Subtype is Stream_Element_Array (1 .. Read_Buffer_Size); procedure Init_Filter (Filter : in out Filter_Type; Compress : in Boolean); ----------------- -- Init_Filter -- ----------------- procedure Init_Filter (Filter : in out Filter_Type; Compress : in Boolean) is begin if Compress then Deflate_Init (Filter, Level, Strategy, Header => Header); else Inflate_Init (Filter, Header => Header); end if; end Init_Filter; begin Stream.Back := Back; Stream.Mode := Mode; if Mode = Out_Stream or Mode = Duplex then Init_Filter (Stream.Writer, Back_Compressed); Stream.Buffer_Size := Write_Buffer_Size; else Stream.Buffer_Size := 0; end if; if Mode = In_Stream or Mode = Duplex then Init_Filter (Stream.Reader, not Back_Compressed); Stream.Buffer := new Buffer_Subtype; Stream.Rest_First := Stream.Buffer'Last + 1; Stream.Rest_Last := Stream.Buffer'Last; end if; end Create; ----------- -- Flush -- ----------- procedure Flush (Stream : in out Stream_Type; Mode : in Flush_Mode := Sync_Flush) is Buffer : Stream_Element_Array (1 .. Stream.Buffer_Size); Last : Stream_Element_Offset; begin loop Flush (Stream.Writer, Buffer, Last, Mode); Ada.Streams.Write (Stream.Back.all, Buffer (1 .. Last)); exit when Last < Buffer'Last; end loop; end Flush; ------------- -- Is_Open -- ------------- function Is_Open (Stream : Stream_Type) return Boolean is begin return Is_Open (Stream.Reader) or else Is_Open (Stream.Writer); end Is_Open; ---------- -- Read -- ---------- procedure Read (Stream : in out Stream_Type; Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is procedure Read (Item : out Stream_Element_Array; Last : out Stream_Element_Offset); ---------- -- Read -- ---------- procedure Read (Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is begin Ada.Streams.Read (Stream.Back.all, Item, Last); end Read; procedure Read is new ZLib.Read (Read => Read, Buffer => Stream.Buffer.all, Rest_First => Stream.Rest_First, Rest_Last => Stream.Rest_Last); begin Read (Stream.Reader, Item, Last); end Read; ------------------- -- Read_Total_In -- ------------------- function Read_Total_In (Stream : in Stream_Type) return Count is begin return Total_In (Stream.Reader); end Read_Total_In; -------------------- -- Read_Total_Out -- -------------------- function Read_Total_Out (Stream : in Stream_Type) return Count is begin return Total_Out (Stream.Reader); end Read_Total_Out; ----------- -- Write -- ----------- procedure Write (Stream : in out Stream_Type; Item : in Stream_Element_Array) is procedure Write (Item : in Stream_Element_Array); ----------- -- Write -- ----------- procedure Write (Item : in Stream_Element_Array) is begin Ada.Streams.Write (Stream.Back.all, Item); end Write; procedure Write is new ZLib.Write (Write => Write, Buffer_Size => Stream.Buffer_Size); begin Write (Stream.Writer, Item, No_Flush); end Write; -------------------- -- Write_Total_In -- -------------------- function Write_Total_In (Stream : in Stream_Type) return Count is begin return Total_In (Stream.Writer); end Write_Total_In; --------------------- -- Write_Total_Out -- --------------------- function Write_Total_Out (Stream : in Stream_Type) return Count is begin return Total_Out (Stream.Writer); end Write_Total_Out; end ZLib.Streams;
Pragma Ada_2012; Pragma Wide_Character_Encoding( UTF8 ); with Ada.Containers.Indefinite_Vectors; Package Risi_Script.Types.Identifier.Scope_Package is new Ada.Containers.Indefinite_Vectors( Index_Type => Positive, Element_Type => Identifier, "=" => "=" );
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012-2013, 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.UML.Classifiers; limited with AMF.UML.Operations; limited with AMF.UML.Signals; package AMF.OCL.Message_Types is pragma Preelaborate; type OCL_Message_Type is limited interface and AMF.UML.Classifiers.UML_Classifier; type OCL_Message_Type_Access is access all OCL_Message_Type'Class; for OCL_Message_Type_Access'Storage_Size use 0; not overriding function Get_Referred_Signal (Self : not null access constant OCL_Message_Type) return AMF.UML.Signals.UML_Signal_Access is abstract; -- Getter of MessageType::referredSignal. -- not overriding procedure Set_Referred_Signal (Self : not null access OCL_Message_Type; To : AMF.UML.Signals.UML_Signal_Access) is abstract; -- Setter of MessageType::referredSignal. -- not overriding function Get_Referred_Operation (Self : not null access constant OCL_Message_Type) return AMF.UML.Operations.UML_Operation_Access is abstract; -- Getter of MessageType::referredOperation. -- not overriding procedure Set_Referred_Operation (Self : not null access OCL_Message_Type; To : AMF.UML.Operations.UML_Operation_Access) is abstract; -- Setter of MessageType::referredOperation. -- end AMF.OCL.Message_Types;
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Calendar.Formatting; with Ada.Exceptions; with Ada.Text_IO; with GNAT.Sockets; with Torrent.Logs; package body Torrent.Managers is task type Seeder is entry Seed (Value : not null Torrent.Connections.Connection_Access; Limit : Ada.Calendar.Time); -- Seed data to given connection until Limit expired, then accept -- Stop_Seeding; entry Stop_Seeding; entry Stop; end Seeder; ------------- -- Manager -- ------------- task body Manager is use type Torrent.Connections.Connection_Access; Default_Slowdown : constant := 1.5; type Protection_Information is record Connection : Torrent.Connections.Connection_Access; -- This connection is protected for next Round rounds Round : Natural := 0; -- Zero means unprotected anymore Found : Boolean := False; -- We have found the Connection Skip_Count : Positive := 1; -- How much connections we should skip to find next candidate Skipped : Natural := 0; -- How much we have skipped Candidate : Torrent.Connections.Connection_Access; -- A candidate to protected position Fallback : Torrent.Connections.Connection_Access; -- A second candidate to protected position end record; -- Protected connection is unchoked regardless of its upload rate for -- 30 seconds (3 rounds x 10 seconds). procedure Best_Connections (Chocked : Torrent.Connections.Connection_Vectors.Vector; Protection : in out Protection_Information; Result : out Torrent.Connections.Connection_Access_Array); -- Select a few connection to seed them some data. ---------------------- -- Best_Connections -- ---------------------- procedure Best_Connections (Chocked : Torrent.Connections.Connection_Vectors.Vector; Protection : in out Protection_Information; Result : out Torrent.Connections.Connection_Access_Array) is procedure New_Round (Protection : in out Protection_Information); -- Adjust Protection_Information for a new cycle procedure Update_Protection (Protection : in out Protection_Information; Connection : Torrent.Connections.Connection_Access); -- Update protection information procedure Append (Connection : Torrent.Connections.Connection_Access; Protection : in out Protection_Information; C_Rate : Piece_Offset); -- Append a connection to Result taking its Rate into account. -- Update protection information if some connection is skipped. --------------- -- New_Round -- --------------- procedure New_Round (Protection : in out Protection_Information) is begin Protection.Found := False; Protection.Skipped := 0; Protection.Candidate := null; Protection.Fallback := null; end New_Round; ----------------------- -- Update_Protection -- ----------------------- procedure Update_Protection (Protection : in out Protection_Information; Connection : Torrent.Connections.Connection_Access) is begin if Protection.Fallback = null then -- Remember very first skipped connection as fallback Protection.Fallback := Connection; elsif Protection.Skip_Count = Protection.Skipped then -- Take candidate after skipping Skip_Count connections Protection.Candidate := Connection; end if; if Protection.Connection = Connection and Protection.Round > 0 then Protection.Found := True; end if; Protection.Skipped := Protection.Skipped + 1; end Update_Protection; Rate : array (Result'Range) of Piece_Offset; Last : Natural := Result'First - 1; ------------ -- Append -- ------------ procedure Append (Connection : Torrent.Connections.Connection_Access; Protection : in out Protection_Information; C_Rate : Piece_Offset) is use type Piece_Offset; begin for J in Result'First .. Last loop if Rate (J) < C_Rate then -- Found rate worse then C, insert C into Result if Last = Result'Last then -- Result is full, skip last element Update_Protection (Protection, Result (Last)); Result (J + 1 .. Last) := Result (J .. Last - 1); Rate (J + 1 .. Last) := Rate (J .. Last - 1); else Result (J + 1 .. Last + 1) := Result (J .. Last); Rate (J + 1 .. Last + 1) := Rate (J .. Last); Last := Last + 1; end if; Result (J) := Connection; Rate (J) := C_Rate; return; end if; end loop; if Last < Result'Last then -- Append C to Result if there is free space Last := Last + 1; Result (Last) := Connection; Rate (Last) := C_Rate; end if; end Append; begin New_Round (Protection); Result := (Result'Range => null); for X of Chocked loop if X.Intrested then Append (X, Protection, X.Downloaded); end if; end loop; if Protection.Found then Append (Protection.Connection, Protection, Piece_Offset'Last); Protection.Round := Protection.Round - 1; elsif Protection.Candidate /= null then Append (Protection.Candidate, Protection, Piece_Offset'Last); Protection.Connection := Protection.Candidate; Protection.Round := 2; Protection.Skip_Count := Protection.Skip_Count + 1; elsif Protection.Fallback /= null then Append (Protection.Fallback, Protection, Piece_Offset'Last); Protection.Connection := Protection.Fallback; Protection.Round := 2; Protection.Skip_Count := 1; end if; end Best_Connections; Protection : Protection_Information; Seeders : array (1 .. 4) of Seeder; Slowdown : Duration := Default_Slowdown; Chocked : Torrent.Connections.Connection_Vectors.Vector; Selector : GNAT.Sockets.Selector_Type; begin GNAT.Sockets.Create_Selector (Selector); loop select accept Connected (Value : not null Torrent.Connections.Connection_Access) do Chocked.Append (Value); Slowdown := 0.0; end Connected; or accept Complete; exit; else delay Slowdown; end select; declare use type Ada.Calendar.Time; List : Torrent.Connections.Connection_Access_Array (Seeders'Range); Now : constant Ada.Calendar.Time := Ada.Calendar.Clock; Limit : constant Ada.Calendar.Time := Now + Seed_Time; Count : Natural := 0; begin Best_Connections (Chocked, Protection, List); for J in List'Range loop if List (J) /= null then Seeders (J).Seed (List (J), Limit); Count := Count + 1; end if; end loop; pragma Debug (Torrent.Logs.Enabled, Torrent.Logs.Print (Ada.Calendar.Formatting.Image (Now) & " Unchocked=" & (Count'Image) & " /" & (Chocked.Length'Img))); Torrent.Connections.Serve_All (Selector, Chocked, List, Limit); -- delete chocked connections. declare J : Positive := 1; Conn : Torrent.Connections.Connection_Access; begin while J <= Chocked.Last_Index loop Conn := Chocked (J); if Conn.Connected then J := J + 1; else Recycle.Enqueue (Conn); Chocked.Delete (J); if Chocked.Is_Empty then Slowdown := Default_Slowdown; end if; end if; end loop; end; for J in List'Range loop if List (J) /= null then Seeders (J).Stop_Seeding; end if; end loop; end; end loop; for J in Seeders'Range loop Seeders (J).Stop; end loop; GNAT.Sockets.Close_Selector (Selector); exception when E : others => pragma Debug (Torrent.Logs.Enabled, Torrent.Logs.Print (Ada.Exceptions.Exception_Information (E))); Ada.Text_IO.Put_Line (Ada.Exceptions.Exception_Information (E)); end Manager; ------------- -- Session -- ------------- task body Seeder is Conn : Torrent.Connections.Connection_Access; Time : Ada.Calendar.Time; begin loop select accept Stop; exit; or accept Seed (Value : not null Torrent.Connections.Connection_Access; Limit : Ada.Calendar.Time) do Conn := Value; Time := Limit; end Seed; end select; if Conn.Intrested then Conn.Set_Choked (False); Conn.Serve (Time); Conn.Set_Choked (True); end if; accept Stop_Seeding; end loop; end Seeder; end Torrent.Managers;
-- { dg-do run } with Ada.Unchecked_Conversion; with Ada.Streams; use Ada.Streams; with Ada.Text_IO; use Ada.Text_IO; procedure Unchecked_Convert2 is subtype Day_Number is Integer range 0 .. 31; subtype Byte_Array_Of_Integer is Stream_Element_Array (1 .. Integer'Size / Stream_Element_Array'Component_Size); function To_Byte_Array is new Ada.Unchecked_Conversion (Integer, Byte_Array_Of_Integer); Day_Now : Day_Number; Pragma Volatile (Day_Now); Arr : Stream_Element_Array (1 .. 12) := (others => 16#ff#); procedure Test (Arr : Stream_Element_Array) is begin if Arr(5) /= 0 or Arr(6) /= 0 or Arr(7) /= 0 or Arr(8) /= 0 then raise Program_Error; end if; end; begin Day_Now := 0; Arr (5 .. 8) := To_Byte_Array (Day_Now); Test (Arr); Arr (1) := 16#ff#; end Unchecked_Convert2;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- F M A P -- -- -- -- B o d y -- -- -- -- Copyright (C) 2001-2012, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Opt; use Opt; with Osint; use Osint; with Output; use Output; with Table; with Types; use Types; pragma Warnings (Off); -- This package is used also by gnatcoll with System.OS_Lib; use System.OS_Lib; pragma Warnings (On); with Unchecked_Conversion; with GNAT.HTable; package body Fmap is No_Mapping_File : Boolean := False; -- Set to True when the specified mapping file cannot be read in -- procedure Initialize, so that no attempt is made to open the mapping -- file in procedure Update_Mapping_File. function To_Big_String_Ptr is new Unchecked_Conversion (Source_Buffer_Ptr, Big_String_Ptr); Max_Buffer : constant := 1_500; Buffer : String (1 .. Max_Buffer); -- Used to bufferize output when writing to a new mapping file Buffer_Last : Natural := 0; -- Index of last valid character in Buffer type Mapping is record Uname : Unit_Name_Type; Fname : File_Name_Type; end record; package File_Mapping is new Table.Table ( Table_Component_Type => Mapping, Table_Index_Type => Int, Table_Low_Bound => 0, Table_Initial => 1_000, Table_Increment => 1_000, Table_Name => "Fmap.File_Mapping"); -- Mapping table to map unit names to file names package Path_Mapping is new Table.Table ( Table_Component_Type => Mapping, Table_Index_Type => Int, Table_Low_Bound => 0, Table_Initial => 1_000, Table_Increment => 1_000, Table_Name => "Fmap.Path_Mapping"); -- Mapping table to map file names to path names type Header_Num is range 0 .. 1_000; function Hash (F : Unit_Name_Type) return Header_Num; -- Function used to compute hash of unit name No_Entry : constant Int := -1; -- Signals no entry in following table package Unit_Hash_Table is new GNAT.HTable.Simple_HTable ( Header_Num => Header_Num, Element => Int, No_Element => No_Entry, Key => Unit_Name_Type, Hash => Hash, Equal => "="); -- Hash table to map unit names to file names. Used in conjunction with -- table File_Mapping above. function Hash (F : File_Name_Type) return Header_Num; -- Function used to compute hash of file name package File_Hash_Table is new GNAT.HTable.Simple_HTable ( Header_Num => Header_Num, Element => Int, No_Element => No_Entry, Key => File_Name_Type, Hash => Hash, Equal => "="); -- Hash table to map file names to path names. Used in conjunction with -- table Path_Mapping above. Last_In_Table : Int := 0; package Forbidden_Names is new GNAT.HTable.Simple_HTable ( Header_Num => Header_Num, Element => Boolean, No_Element => False, Key => File_Name_Type, Hash => Hash, Equal => "="); ----------------------------- -- Add_Forbidden_File_Name -- ----------------------------- procedure Add_Forbidden_File_Name (Name : File_Name_Type) is begin Forbidden_Names.Set (Name, True); end Add_Forbidden_File_Name; --------------------- -- Add_To_File_Map -- --------------------- procedure Add_To_File_Map (Unit_Name : Unit_Name_Type; File_Name : File_Name_Type; Path_Name : File_Name_Type) is Unit_Entry : constant Int := Unit_Hash_Table.Get (Unit_Name); File_Entry : constant Int := File_Hash_Table.Get (File_Name); begin if Unit_Entry = No_Entry or else File_Mapping.Table (Unit_Entry).Fname /= File_Name then File_Mapping.Increment_Last; Unit_Hash_Table.Set (Unit_Name, File_Mapping.Last); File_Mapping.Table (File_Mapping.Last) := (Uname => Unit_Name, Fname => File_Name); end if; if File_Entry = No_Entry or else Path_Mapping.Table (File_Entry).Fname /= Path_Name then Path_Mapping.Increment_Last; File_Hash_Table.Set (File_Name, Path_Mapping.Last); Path_Mapping.Table (Path_Mapping.Last) := (Uname => Unit_Name, Fname => Path_Name); end if; end Add_To_File_Map; ---------- -- Hash -- ---------- function Hash (F : File_Name_Type) return Header_Num is begin return Header_Num (Int (F) rem Header_Num'Range_Length); end Hash; function Hash (F : Unit_Name_Type) return Header_Num is begin return Header_Num (Int (F) rem Header_Num'Range_Length); end Hash; ---------------- -- Initialize -- ---------------- procedure Initialize (File_Name : String) is Src : Source_Buffer_Ptr; Hi : Source_Ptr; BS : Big_String_Ptr; SP : String_Ptr; First : Positive := 1; Last : Natural := 0; Uname : Unit_Name_Type; Fname : File_Name_Type; Pname : File_Name_Type; procedure Empty_Tables; -- Remove all entries in case of incorrect mapping file function Find_File_Name return File_Name_Type; -- Return Error_File_Name if the name buffer contains "/", otherwise -- call Name_Find. "/" is the path name in the mapping file to indicate -- that a source has been suppressed, and thus should not be found by -- the compiler. function Find_Unit_Name return Unit_Name_Type; -- Return the unit name in the name buffer. Return Error_Unit_Name if -- the name buffer contains "/". procedure Get_Line; -- Get a line from the mapping file, where a line is SP (First .. Last) procedure Report_Truncated; -- Report a warning when the mapping file is truncated -- (number of lines is not a multiple of 3). ------------------ -- Empty_Tables -- ------------------ procedure Empty_Tables is begin Unit_Hash_Table.Reset; File_Hash_Table.Reset; Path_Mapping.Set_Last (0); File_Mapping.Set_Last (0); Last_In_Table := 0; end Empty_Tables; -------------------- -- Find_File_Name -- -------------------- function Find_File_Name return File_Name_Type is begin if Name_Buffer (1 .. Name_Len) = "/" then -- A path name of "/" is the indication that the source has been -- "suppressed". Return Error_File_Name so that the compiler does -- not find the source, even if it is in the include path. return Error_File_Name; else return Name_Find; end if; end Find_File_Name; -------------------- -- Find_Unit_Name -- -------------------- function Find_Unit_Name return Unit_Name_Type is begin return Unit_Name_Type (Find_File_Name); end Find_Unit_Name; -------------- -- Get_Line -- -------------- procedure Get_Line is use ASCII; begin First := Last + 1; -- If not at the end of file, skip the end of line while First < SP'Last and then (SP (First) = CR or else SP (First) = LF or else SP (First) = EOF) loop First := First + 1; end loop; -- If not at the end of file, find the end of this new line if First < SP'Last and then SP (First) /= EOF then Last := First; while Last < SP'Last and then SP (Last + 1) /= CR and then SP (Last + 1) /= LF and then SP (Last + 1) /= EOF loop Last := Last + 1; end loop; end if; end Get_Line; ---------------------- -- Report_Truncated -- ---------------------- procedure Report_Truncated is begin Write_Str ("warning: mapping file """); Write_Str (File_Name); Write_Line (""" is truncated"); end Report_Truncated; -- Start of processing for Initialize begin Empty_Tables; Name_Len := File_Name'Length; Name_Buffer (1 .. Name_Len) := File_Name; Read_Source_File (Name_Enter, 0, Hi, Src, Config); if Src = null then Write_Str ("warning: could not read mapping file """); Write_Str (File_Name); Write_Line (""""); No_Mapping_File := True; else BS := To_Big_String_Ptr (Src); SP := BS (1 .. Natural (Hi))'Unrestricted_Access; loop -- Get the unit name Get_Line; -- Exit if end of file has been reached exit when First > Last; if (Last < First + 2) or else (SP (Last - 1) /= '%') or else (SP (Last) /= 's' and then SP (Last) /= 'b') then Write_Line ("warning: mapping file """ & File_Name & """ is incorrectly formatted"); Write_Line ("Line = """ & SP (First .. Last) & '"'); Empty_Tables; return; end if; Name_Len := Last - First + 1; Name_Buffer (1 .. Name_Len) := SP (First .. Last); Uname := Find_Unit_Name; -- Get the file name Get_Line; -- If end of line has been reached, file is truncated if First > Last then Report_Truncated; Empty_Tables; return; end if; Name_Len := Last - First + 1; Name_Buffer (1 .. Name_Len) := SP (First .. Last); Canonical_Case_File_Name (Name_Buffer (1 .. Name_Len)); Fname := Find_File_Name; -- Get the path name Get_Line; -- If end of line has been reached, file is truncated if First > Last then Report_Truncated; Empty_Tables; return; end if; Name_Len := Last - First + 1; Name_Buffer (1 .. Name_Len) := SP (First .. Last); Pname := Find_File_Name; -- Add the mappings for this unit name Add_To_File_Map (Uname, Fname, Pname); end loop; end if; -- Record the length of the two mapping tables Last_In_Table := File_Mapping.Last; end Initialize; ---------------------- -- Mapped_File_Name -- ---------------------- function Mapped_File_Name (Unit : Unit_Name_Type) return File_Name_Type is The_Index : constant Int := Unit_Hash_Table.Get (Unit); begin if The_Index = No_Entry then return No_File; else return File_Mapping.Table (The_Index).Fname; end if; end Mapped_File_Name; ---------------------- -- Mapped_Path_Name -- ---------------------- function Mapped_Path_Name (File : File_Name_Type) return File_Name_Type is Index : Int := No_Entry; begin if Forbidden_Names.Get (File) then return Error_File_Name; end if; Index := File_Hash_Table.Get (File); if Index = No_Entry then return No_File; else return Path_Mapping.Table (Index).Fname; end if; end Mapped_Path_Name; ------------------ -- Reset_Tables -- ------------------ procedure Reset_Tables is begin File_Mapping.Init; Path_Mapping.Init; Unit_Hash_Table.Reset; File_Hash_Table.Reset; Forbidden_Names.Reset; Last_In_Table := 0; end Reset_Tables; ------------------------- -- Update_Mapping_File -- ------------------------- procedure Update_Mapping_File (File_Name : String) is File : File_Descriptor; N_Bytes : Integer; File_Entry : Int; Status : Boolean; -- For the call to Close procedure Put_Line (Name : Name_Id); -- Put Name as a line in the Mapping File -------------- -- Put_Line -- -------------- procedure Put_Line (Name : Name_Id) is begin Get_Name_String (Name); -- If the Buffer is full, write it to the file if Buffer_Last + Name_Len + 1 > Buffer'Last then N_Bytes := Write (File, Buffer (1)'Address, Buffer_Last); if N_Bytes < Buffer_Last then Fail ("disk full"); end if; Buffer_Last := 0; end if; -- Add the line to the Buffer Buffer (Buffer_Last + 1 .. Buffer_Last + Name_Len) := Name_Buffer (1 .. Name_Len); Buffer_Last := Buffer_Last + Name_Len + 1; Buffer (Buffer_Last) := ASCII.LF; end Put_Line; -- Start of Update_Mapping_File begin -- If the mapping file could not be read, then it will not be possible -- to update it. if No_Mapping_File then return; end if; -- Only Update if there are new entries in the mappings if Last_In_Table < File_Mapping.Last then File := Open_Read_Write (Name => File_Name, Fmode => Binary); if File /= Invalid_FD then if Last_In_Table > 0 then Lseek (File, 0, Seek_End); end if; for Unit in Last_In_Table + 1 .. File_Mapping.Last loop Put_Line (Name_Id (File_Mapping.Table (Unit).Uname)); Put_Line (Name_Id (File_Mapping.Table (Unit).Fname)); File_Entry := File_Hash_Table.Get (File_Mapping.Table (Unit).Fname); Put_Line (Name_Id (Path_Mapping.Table (File_Entry).Fname)); end loop; -- Before closing the file, write the buffer to the file. It is -- guaranteed that the Buffer is not empty, because Put_Line has -- been called at least 3 times, and after a call to Put_Line, the -- Buffer is not empty. N_Bytes := Write (File, Buffer (1)'Address, Buffer_Last); if N_Bytes < Buffer_Last then Fail ("disk full"); end if; Close (File, Status); if not Status then Fail ("disk full"); end if; elsif not Quiet_Output then Write_Str ("warning: could not open mapping file """); Write_Str (File_Name); Write_Line (""" for update"); end if; end if; end Update_Mapping_File; end Fmap;
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+flacada@heisenbug.eu) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the LICENSE file for more details. ------------------------------------------------------------------------------ pragma License (Unrestricted); ------------------------------------------------------------------------------ -- FLAC/Ada -- -- Headers -- -- Defines various file headers of FLAC files. ------------------------------------------------------------------------------ with Flac.Types; with Ada.Streams; with Ada.Unchecked_Conversion; with Interfaces; with System; package Flac.Headers with Pure => True, SPARK_Mode => On is use type Ada.Streams.Stream_Element_Offset; -- Stream header definitions. -- STREAM -- <32> "fLaC", the FLAC stream marker in ASCII, meaning byte 0 of the stream is 0x66, followed by 0x4C 0x61 0x43 -- METADATA_BLOCK This is the mandatory STREAMINFO metadata block that has the basic properties of the stream -- METADATA_BLOCK* Zero or more metadata blocks -- FRAME+ One or more audio frames subtype Four_CC is Ada.Streams.Stream_Element_Array (1 .. 4); Stream : constant Four_CC := (Character'Pos ('f'), Character'Pos ('L'), Character'Pos ('a'), Character'Pos ('C')); type Padding is new Ada.Streams.Stream_Element_Array; type Application is record Id : Ada.Streams.Stream_Element_Array (1 .. 4); -- Unspecified (application specific) end record; for Application use record Id at 0 range 0 .. 31; end record; type Seek_Point is record Sample_Number : Types.Count_64; Sample_Offset : Types.Offset_64; -- Careful, these are modular types! Sample_Count : Types.Length_16; end record with Size => 144, Bit_Order => System.Low_Order_First; for Seek_Point use record Sample_Number at 0 range 0 .. 63; Sample_Offset at 8 range 0 .. 63; Sample_Count at 16 range 0 .. 15; end record; type Seek_Table is array (Natural range <>) of Seek_Point; end Flac.Headers;
with Interfaces; use Interfaces; package body CRC8 with SPARK_Mode is -- init function calculateCRC8 (Data : Byte_Array) return Byte is crc : Byte := 0; begin for pos in Data'Range loop crc := crc8_tab (crc xor Data (pos)); -- loop over all bytes end loop; return crc; end calculateCRC8; end CRC8;
-- Hyperion API -- Hyperion Monitoring API The monitoring agent is first registered so that the server knows it as well as its security key. Each host are then registered by a monitoring agent. -- -- The version of the OpenAPI document: 1.0.0 -- Contact: Stephane.Carrez@gmail.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 4.1.0-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. with Swagger.Streams; with Ada.Containers.Vectors; package Helios.Rest.Models is type InlineObject1_Type is record Name : Swagger.UString; Ip : Swagger.UString; Host_Key : Swagger.UString; Agent_Key : Swagger.UString; Agent_Id : Integer; end record; package InlineObject1_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => InlineObject1_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in InlineObject1_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in InlineObject1_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out InlineObject1_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out InlineObject1_Type_Vectors.Vector); type InlineObject_Type is record Name : Swagger.UString; Ip : Swagger.UString; Agent_Key : Swagger.UString; end record; package InlineObject_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => InlineObject_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in InlineObject_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in InlineObject_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out InlineObject_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out InlineObject_Type_Vectors.Vector); type Agent_Type is record Id : Swagger.Long; Name : Swagger.UString; Ip : Swagger.UString; Create_Date : Swagger.Datetime; Key : Swagger.UString; Status : Swagger.UString; end record; package Agent_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Agent_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Agent_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Agent_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Agent_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Agent_Type_Vectors.Vector); type Host_Type is record Id : Swagger.Long; Name : Swagger.UString; Ip : Swagger.UString; Create_Date : Swagger.Datetime; Done_Date : Swagger.Nullable_Date; Status : Swagger.Nullable_UString; end record; package Host_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Host_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Host_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Host_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Host_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Host_Type_Vectors.Vector); end Helios.Rest.Models;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with CUPS.stdint_h; with CUPS.bits_sockaddr_h; with CUPS.bits_socket_h; with System; with CUPS.unistd_h; private package CUPS.netinet_in_h is -- unsupported macro: IPPROTO_IP IPPROTO_IP -- unsupported macro: IPPROTO_ICMP IPPROTO_ICMP -- unsupported macro: IPPROTO_IGMP IPPROTO_IGMP -- unsupported macro: IPPROTO_IPIP IPPROTO_IPIP -- unsupported macro: IPPROTO_TCP IPPROTO_TCP -- unsupported macro: IPPROTO_EGP IPPROTO_EGP -- unsupported macro: IPPROTO_PUP IPPROTO_PUP -- unsupported macro: IPPROTO_UDP IPPROTO_UDP -- unsupported macro: IPPROTO_IDP IPPROTO_IDP -- unsupported macro: IPPROTO_TP IPPROTO_TP -- unsupported macro: IPPROTO_DCCP IPPROTO_DCCP -- unsupported macro: IPPROTO_IPV6 IPPROTO_IPV6 -- unsupported macro: IPPROTO_RSVP IPPROTO_RSVP -- unsupported macro: IPPROTO_GRE IPPROTO_GRE -- unsupported macro: IPPROTO_ESP IPPROTO_ESP -- unsupported macro: IPPROTO_AH IPPROTO_AH -- unsupported macro: IPPROTO_MTP IPPROTO_MTP -- unsupported macro: IPPROTO_BEETPH IPPROTO_BEETPH -- unsupported macro: IPPROTO_ENCAP IPPROTO_ENCAP -- unsupported macro: IPPROTO_PIM IPPROTO_PIM -- unsupported macro: IPPROTO_COMP IPPROTO_COMP -- unsupported macro: IPPROTO_SCTP IPPROTO_SCTP -- unsupported macro: IPPROTO_UDPLITE IPPROTO_UDPLITE -- unsupported macro: IPPROTO_MPLS IPPROTO_MPLS -- unsupported macro: IPPROTO_RAW IPPROTO_RAW -- unsupported macro: IPPROTO_HOPOPTS IPPROTO_HOPOPTS -- unsupported macro: IPPROTO_ROUTING IPPROTO_ROUTING -- unsupported macro: IPPROTO_FRAGMENT IPPROTO_FRAGMENT -- unsupported macro: IPPROTO_ICMPV6 IPPROTO_ICMPV6 -- unsupported macro: IPPROTO_NONE IPPROTO_NONE -- unsupported macro: IPPROTO_DSTOPTS IPPROTO_DSTOPTS -- unsupported macro: IPPROTO_MH IPPROTO_MH -- arg-macro: function IN_CLASSA ((((in_addr_t)(a)) and 16#80000000#) = 0 -- return (((in_addr_t)(a)) and 16#80000000#) = 0; IN_CLASSA_NET : constant := 16#ff000000#; -- netinet/in.h:167 IN_CLASSA_NSHIFT : constant := 24; -- netinet/in.h:168 -- unsupported macro: IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET) IN_CLASSA_MAX : constant := 128; -- netinet/in.h:170 -- arg-macro: function IN_CLASSB ((((in_addr_t)(a)) and 16#c0000000#) = 16#80000000# -- return (((in_addr_t)(a)) and 16#c0000000#) = 16#80000000#; IN_CLASSB_NET : constant := 16#ffff0000#; -- netinet/in.h:173 IN_CLASSB_NSHIFT : constant := 16; -- netinet/in.h:174 -- unsupported macro: IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET) IN_CLASSB_MAX : constant := 65536; -- netinet/in.h:176 -- arg-macro: function IN_CLASSC ((((in_addr_t)(a)) and 16#e0000000#) = 16#c0000000# -- return (((in_addr_t)(a)) and 16#e0000000#) = 16#c0000000#; IN_CLASSC_NET : constant := 16#ffffff00#; -- netinet/in.h:179 IN_CLASSC_NSHIFT : constant := 8; -- netinet/in.h:180 -- unsupported macro: IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET) -- arg-macro: function IN_CLASSD ((((in_addr_t)(a)) and 16#f0000000#) = 16#e0000000# -- return (((in_addr_t)(a)) and 16#f0000000#) = 16#e0000000#; -- arg-macro: procedure IN_MULTICAST IN_CLASSD(a) -- IN_CLASSD(a) -- arg-macro: function IN_EXPERIMENTAL ((((in_addr_t)(a)) and 16#e0000000#) = 16#e0000000# -- return (((in_addr_t)(a)) and 16#e0000000#) = 16#e0000000#; -- arg-macro: function IN_BADCLASS ((((in_addr_t)(a)) and 16#f0000000#) = 16#f0000000# -- return (((in_addr_t)(a)) and 16#f0000000#) = 16#f0000000#; -- unsupported macro: INADDR_ANY ((in_addr_t) 0x00000000) -- unsupported macro: INADDR_BROADCAST ((in_addr_t) 0xffffffff) -- unsupported macro: INADDR_NONE ((in_addr_t) 0xffffffff) IN_LOOPBACKNET : constant := 127; -- netinet/in.h:197 -- unsupported macro: INADDR_LOOPBACK ((in_addr_t) 0x7f000001) -- unsupported macro: INADDR_UNSPEC_GROUP ((in_addr_t) 0xe0000000) -- unsupported macro: INADDR_ALLHOSTS_GROUP ((in_addr_t) 0xe0000001) -- unsupported macro: INADDR_ALLRTRS_GROUP ((in_addr_t) 0xe0000002) -- unsupported macro: INADDR_MAX_LOCAL_GROUP ((in_addr_t) 0xe00000ff) -- unsupported macro: s6_addr __in6_u.__u6_addr8 -- unsupported macro: s6_addr16 __in6_u.__u6_addr16 -- unsupported macro: s6_addr32 __in6_u.__u6_addr32 -- unsupported macro: IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } } -- unsupported macro: IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } } INET_ADDRSTRLEN : constant := 16; -- netinet/in.h:234 INET6_ADDRSTRLEN : constant := 46; -- netinet/in.h:235 -- arg-macro: function IP_MSFILTER_SIZE (sizeof (struct ip_msfilter) - sizeof (struct in_addr) + (numsrc) * sizeof (struct in_addr) -- return sizeof (struct ip_msfilter) - sizeof (struct in_addr) + (numsrc) * sizeof (struct in_addr); -- arg-macro: function GROUP_FILTER_SIZE (sizeof (struct group_filter) - sizeof (struct sockaddr_storage) + ((numsrc) * sizeof (struct sockaddr_storage)) -- return sizeof (struct group_filter) - sizeof (struct sockaddr_storage) + ((numsrc) * sizeof (struct sockaddr_storage)); -- arg-macro: function IN6_IS_ADDR_UNSPECIFIED (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = 0 and then __a.s6_addr32(3) = 0; }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = 0 and then __a.s6_addr32(3) = 0; }); -- arg-macro: function IN6_IS_ADDR_LOOPBACK (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = 0 and then __a.s6_addr32(3) = htonl (1); }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = 0 and then __a.s6_addr32(3) = htonl (1); }); -- arg-macro: function IN6_IS_ADDR_LINKLOCAL (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); (__a.s6_addr32(0) and htonl (16#ffc00000#)) = htonl (16#fe800000#); }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); (__a.s6_addr32(0) and htonl (16#ffc00000#)) = htonl (16#fe800000#); }); -- arg-macro: function IN6_IS_ADDR_SITELOCAL (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); (__a.s6_addr32(0) and htonl (16#ffc00000#)) = htonl (16#fec00000#); }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); (__a.s6_addr32(0) and htonl (16#ffc00000#)) = htonl (16#fec00000#); }); -- arg-macro: function IN6_IS_ADDR_V4MAPPED (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = htonl (16#ffff#); }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = htonl (16#ffff#); }); -- arg-macro: function IN6_IS_ADDR_V4COMPAT (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = 0 and then ntohl (__a.s6_addr32(3)) > 1; }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); __a.s6_addr32(0) = 0 and then __a.s6_addr32(1) = 0 and then __a.s6_addr32(2) = 0 and then ntohl (__a.s6_addr32(3)) > 1; }); -- arg-macro: function IN6_ARE_ADDR_EQUAL (__extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); const struct in6_addr *__b := (const struct in6_addr *) (b); __a.s6_addr32(0) = __b.s6_addr32(0) and then __a.s6_addr32(1) = __b.s6_addr32(1) and then __a.s6_addr32(2) = __b.s6_addr32(2) and then __a.s6_addr32(3) = __b.s6_addr32(3); }) -- return __extension__ ({ const struct in6_addr *__a := (const struct in6_addr *) (a); const struct in6_addr *__b := (const struct in6_addr *) (b); __a.s6_addr32(0) = __b.s6_addr32(0) and then __a.s6_addr32(1) = __b.s6_addr32(1) and then __a.s6_addr32(2) = __b.s6_addr32(2) and then __a.s6_addr32(3) = __b.s6_addr32(3); }); -- arg-macro: function IN6_IS_ADDR_MULTICAST (((const uint8_t *) (a))(0) = 16#ff# -- return ((const uint8_t *) (a))(0) = 16#ff#; -- arg-macro: function IN6_IS_ADDR_MC_NODELOCAL (IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#1#) -- return IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#1#); -- arg-macro: function IN6_IS_ADDR_MC_LINKLOCAL (IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#2#) -- return IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#2#); -- arg-macro: function IN6_IS_ADDR_MC_SITELOCAL (IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#5#) -- return IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#5#); -- arg-macro: function IN6_IS_ADDR_MC_ORGLOCAL (IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#8#) -- return IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#8#); -- arg-macro: function IN6_IS_ADDR_MC_GLOBAL (IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#e#) -- return IN6_IS_ADDR_MULTICAST(a) and then ((((const uint8_t *) (a))(1) and 16#f#) = 16#e#); -- Copyright (C) 1991-2016 Free Software Foundation, Inc. -- This file is part of the GNU C Library. -- The GNU C 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. -- The GNU C 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 the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. -- Internet address. subtype in_addr_t is CUPS.stdint_h.uint32_t; -- netinet/in.h:30 type in_addr is record s_addr : aliased in_addr_t; -- netinet/in.h:33 end record; pragma Convention (C_Pass_By_Copy, in_addr); -- netinet/in.h:31 -- Get system-specific definitions. -- Standard well-defined IP protocols. -- Dummy protocol for TCP. -- Internet Control Message Protocol. -- Internet Group Management Protocol. -- IPIP tunnels (older KA9Q tunnels use 94). -- Transmission Control Protocol. -- Exterior Gateway Protocol. -- PUP protocol. -- User Datagram Protocol. -- XNS IDP protocol. -- SO Transport Protocol Class 4. -- Datagram Congestion Control Protocol. -- IPv6 header. -- Reservation Protocol. -- General Routing Encapsulation. -- encapsulating security payload. -- authentication header. -- Multicast Transport Protocol. -- IP option pseudo header for BEET. -- Encapsulation Header. -- Protocol Independent Multicast. -- Compression Header Protocol. -- Stream Control Transmission Protocol. -- UDP-Lite protocol. -- MPLS in IP. -- Raw IP packets. -- If __USE_KERNEL_IPV6_DEFS is defined then the user has included the kernel -- network headers first and we should use those ABI-identical definitions -- instead of our own. -- IPv6 Hop-by-Hop options. -- IPv6 routing header. -- IPv6 fragmentation header. -- ICMPv6. -- IPv6 no next header. -- IPv6 destination options. -- IPv6 mobility header. -- Type to represent a port. subtype in_port_t is CUPS.stdint_h.uint16_t; -- netinet/in.h:119 -- Standard well-known ports. -- Echo service. -- Discard transmissions service. -- System status service. -- Time of day service. -- Network status service. -- File Transfer Protocol. -- Telnet protocol. -- Simple Mail Transfer Protocol. -- Timeserver service. -- Domain Name Service. -- Internet Whois service. -- Trivial File Transfer Protocol. -- Finger service. -- SUPDUP protocol. -- execd service. -- rlogind service. -- UDP ports. -- Ports less than this value are reserved for privileged processes. -- Ports greater this value are reserved for (non-privileged) servers. -- Definitions of the bits in an Internet address integer. -- On subnets, host and network parts are found according to -- the subnet mask, not these masks. -- Address to accept any incoming messages. -- Address to send to all hosts. -- Address indicating an error return. -- Network number for local host loopback. -- Address to loopback in software to local host. -- Defines for Multicast INADDR. -- IPv6 address type in6_addr; type in6_addr_uu_u6_addr8_array is array (0 .. 15) of aliased CUPS.stdint_h.uint8_t; type in6_addr_uu_u6_addr16_array is array (0 .. 7) of aliased CUPS.stdint_h.uint16_t; type in6_addr_uu_u6_addr32_array is array (0 .. 3) of aliased CUPS.stdint_h.uint32_t; type anon_32 (discr : unsigned := 0) is record case discr is when 0 => uu_u6_addr8 : aliased in6_addr_uu_u6_addr8_array; -- netinet/in.h:215 when 1 => uu_u6_addr16 : aliased in6_addr_uu_u6_addr16_array; -- netinet/in.h:217 when others => uu_u6_addr32 : aliased in6_addr_uu_u6_addr32_array; -- netinet/in.h:218 end case; end record; pragma Convention (C_Pass_By_Copy, anon_32); pragma Unchecked_Union (anon_32);type in6_addr is record uu_in6_u : aliased anon_32; -- netinet/in.h:220 end record; pragma Convention (C_Pass_By_Copy, in6_addr); -- netinet/in.h:211 -- :: in6addr_any : aliased in6_addr; -- netinet/in.h:229 pragma Import (C, in6addr_any, "in6addr_any"); -- ::1 in6addr_loopback : aliased in6_addr; -- netinet/in.h:230 pragma Import (C, in6addr_loopback, "in6addr_loopback"); -- Structure describing an Internet socket address. type sockaddr_in_sin_zero_array is array (0 .. 7) of aliased unsigned_char; type sockaddr_in is record sin_family : aliased CUPS.bits_sockaddr_h.sa_family_t; -- netinet/in.h:241 sin_port : aliased in_port_t; -- netinet/in.h:242 sin_addr : aliased in_addr; -- netinet/in.h:243 sin_zero : aliased sockaddr_in_sin_zero_array; -- netinet/in.h:249 end record; pragma Convention (C_Pass_By_Copy, sockaddr_in); -- netinet/in.h:239 -- Port number. -- Internet address. -- Pad to size of `struct sockaddr'. -- Ditto, for IPv6. type sockaddr_in6 is record sin6_family : aliased CUPS.bits_sockaddr_h.sa_family_t; -- netinet/in.h:256 sin6_port : aliased in_port_t; -- netinet/in.h:257 sin6_flowinfo : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:258 sin6_addr : aliased in6_addr; -- netinet/in.h:259 sin6_scope_id : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:260 end record; pragma Convention (C_Pass_By_Copy, sockaddr_in6); -- netinet/in.h:254 -- Transport layer port # -- IPv6 flow information -- IPv6 address -- IPv6 scope-id -- IPv4 multicast request. -- IP multicast address of group. type ip_mreq is record imr_multiaddr : aliased in_addr; -- netinet/in.h:269 imr_interface : aliased in_addr; -- netinet/in.h:272 end record; pragma Convention (C_Pass_By_Copy, ip_mreq); -- netinet/in.h:266 -- Local IP address of interface. -- IP multicast address of group. type ip_mreq_source is record imr_multiaddr : aliased in_addr; -- netinet/in.h:278 imr_interface : aliased in_addr; -- netinet/in.h:281 imr_sourceaddr : aliased in_addr; -- netinet/in.h:284 end record; pragma Convention (C_Pass_By_Copy, ip_mreq_source); -- netinet/in.h:275 -- IP address of source. -- IP address of interface. -- Likewise, for IPv6. -- IPv6 multicast address of group type ipv6_mreq is record ipv6mr_multiaddr : aliased in6_addr; -- netinet/in.h:293 ipv6mr_interface : aliased unsigned; -- netinet/in.h:296 end record; pragma Convention (C_Pass_By_Copy, ipv6_mreq); -- netinet/in.h:290 -- Address data. -- Structure large enough to hold any socket address (with the historical -- exception of AF_UNIX). -- Address family, etc. subtype sockaddr_storage_uu_ss_padding_array is Interfaces.C.char_array (0 .. 117); type sockaddr_storage is record ss_family : aliased CUPS.bits_sockaddr_h.sa_family_t; -- bits/socket.h:168 uu_ss_padding : aliased sockaddr_storage_uu_ss_padding_array; -- bits/socket.h:169 uu_ss_align : aliased unsigned_long; -- bits/socket.h:170 end record; pragma Convention (C_Pass_By_Copy, sockaddr_storage); -- bits/socket.h:166 -- local interface -- Multicast group request. -- Interface index. type group_req is record gr_interface : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:305 gr_group : aliased sockaddr_storage; -- netinet/in.h:308 end record; pragma Convention (C_Pass_By_Copy, group_req); -- netinet/in.h:302 -- Group address. -- Interface index. type group_source_req is record gsr_interface : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:314 gsr_group : aliased sockaddr_storage; -- netinet/in.h:317 gsr_source : aliased sockaddr_storage; -- netinet/in.h:320 end record; pragma Convention (C_Pass_By_Copy, group_source_req); -- netinet/in.h:311 -- Group address. -- Source address. -- Full-state filter operations. -- IP multicast address of group. type ip_msfilter_imsf_slist_array is array (0 .. 0) of aliased in_addr; type ip_msfilter is record imsf_multiaddr : aliased in_addr; -- netinet/in.h:328 imsf_interface : aliased in_addr; -- netinet/in.h:331 imsf_fmode : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:334 imsf_numsrc : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:337 imsf_slist : aliased ip_msfilter_imsf_slist_array; -- netinet/in.h:339 end record; pragma Convention (C_Pass_By_Copy, ip_msfilter); -- netinet/in.h:325 -- Local IP address of interface. -- Filter mode. -- Number of source addresses. -- Source addresses. -- Interface index. type group_filter_gf_slist_array is array (0 .. 0) of aliased sockaddr_storage; type group_filter is record gf_interface : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:349 gf_group : aliased sockaddr_storage; -- netinet/in.h:352 gf_fmode : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:355 gf_numsrc : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:358 gf_slist : aliased group_filter_gf_slist_array; -- netinet/in.h:360 end record; pragma Convention (C_Pass_By_Copy, group_filter); -- netinet/in.h:346 -- Group address. -- Filter mode. -- Number of source addresses. -- Source addresses. -- Functions to convert between host and network byte order. -- Please note that these functions normally take `unsigned long int' or -- `unsigned short int' values as arguments and also return them. But -- this was a short-sighted decision since on different systems the types -- may have different representations but the values are always the same. function ntohl (uu_netlong : CUPS.stdint_h.uint32_t) return CUPS.stdint_h.uint32_t; -- netinet/in.h:376 pragma Import (C, ntohl, "ntohl"); function ntohs (uu_netshort : CUPS.stdint_h.uint16_t) return CUPS.stdint_h.uint16_t; -- netinet/in.h:377 pragma Import (C, ntohs, "ntohs"); function htonl (uu_hostlong : CUPS.stdint_h.uint32_t) return CUPS.stdint_h.uint32_t; -- netinet/in.h:379 pragma Import (C, htonl, "htonl"); function htons (uu_hostshort : CUPS.stdint_h.uint16_t) return CUPS.stdint_h.uint16_t; -- netinet/in.h:381 pragma Import (C, htons, "htons"); -- Get machine dependent optimized versions of byte swapping functions. -- We can optimize calls to the conversion functions. Either nothing has -- to be done or we are using directly the byte-swapping functions which -- often can be inlined. -- The host byte order is the same as network byte order, -- so these functions are all just identity. -- Bind socket to a privileged IP port. function bindresvport (uu_sockfd : int; uu_sock_in : access sockaddr_in) return int; -- netinet/in.h:503 pragma Import (C, bindresvport, "bindresvport"); -- The IPv6 version of this function. function bindresvport6 (uu_sockfd : int; uu_sock_in : access sockaddr_in6) return int; -- netinet/in.h:506 pragma Import (C, bindresvport6, "bindresvport6"); -- Forward declaration. -- IPv6 packet information. -- src/dst IPv6 address type in6_pktinfo is record ipi6_addr : aliased in6_addr; -- netinet/in.h:539 ipi6_ifindex : aliased unsigned; -- netinet/in.h:540 end record; pragma Convention (C_Pass_By_Copy, in6_pktinfo); -- netinet/in.h:537 -- send/recv interface index -- IPv6 MTU information. -- dst address including zone ID type ip6_mtuinfo is record ip6m_addr : aliased sockaddr_in6; -- netinet/in.h:546 ip6m_mtu : aliased CUPS.stdint_h.uint32_t; -- netinet/in.h:547 end record; pragma Convention (C_Pass_By_Copy, ip6_mtuinfo); -- netinet/in.h:544 -- path MTU in host byte order -- Obsolete hop-by-hop and Destination Options Processing (RFC 2292). function inet6_option_space (uu_nbytes : int) return int; -- netinet/in.h:552 pragma Import (C, inet6_option_space, "inet6_option_space"); function inet6_option_init (uu_bp : System.Address; uu_cmsgp : System.Address; uu_type : int) return int; -- netinet/in.h:554 pragma Import (C, inet6_option_init, "inet6_option_init"); function inet6_option_append (uu_cmsg : access CUPS.bits_socket_h.cmsghdr; uu_typep : access CUPS.stdint_h.uint8_t; uu_multx : int; uu_plusy : int) return int; -- netinet/in.h:556 pragma Import (C, inet6_option_append, "inet6_option_append"); function inet6_option_alloc (uu_cmsg : access CUPS.bits_socket_h.cmsghdr; uu_datalen : int; uu_multx : int; uu_plusy : int) return access CUPS.stdint_h.uint8_t; -- netinet/in.h:559 pragma Import (C, inet6_option_alloc, "inet6_option_alloc"); function inet6_option_next (uu_cmsg : access constant CUPS.bits_socket_h.cmsghdr; uu_tptrp : System.Address) return int; -- netinet/in.h:562 pragma Import (C, inet6_option_next, "inet6_option_next"); function inet6_option_find (uu_cmsg : access constant CUPS.bits_socket_h.cmsghdr; uu_tptrp : System.Address; uu_type : int) return int; -- netinet/in.h:565 pragma Import (C, inet6_option_find, "inet6_option_find"); -- Hop-by-Hop and Destination Options Processing (RFC 3542). function inet6_opt_init (uu_extbuf : System.Address; uu_extlen : CUPS.unistd_h.socklen_t) return int; -- netinet/in.h:571 pragma Import (C, inet6_opt_init, "inet6_opt_init"); function inet6_opt_append (uu_extbuf : System.Address; uu_extlen : CUPS.unistd_h.socklen_t; uu_offset : int; uu_type : CUPS.stdint_h.uint8_t; uu_len : CUPS.unistd_h.socklen_t; uu_align : CUPS.stdint_h.uint8_t; uu_databufp : System.Address) return int; -- netinet/in.h:572 pragma Import (C, inet6_opt_append, "inet6_opt_append"); function inet6_opt_finish (uu_extbuf : System.Address; uu_extlen : CUPS.unistd_h.socklen_t; uu_offset : int) return int; -- netinet/in.h:575 pragma Import (C, inet6_opt_finish, "inet6_opt_finish"); function inet6_opt_set_val (uu_databuf : System.Address; uu_offset : int; uu_val : System.Address; uu_vallen : CUPS.unistd_h.socklen_t) return int; -- netinet/in.h:577 pragma Import (C, inet6_opt_set_val, "inet6_opt_set_val"); function inet6_opt_next (uu_extbuf : System.Address; uu_extlen : CUPS.unistd_h.socklen_t; uu_offset : int; uu_typep : access CUPS.stdint_h.uint8_t; uu_lenp : access CUPS.unistd_h.socklen_t; uu_databufp : System.Address) return int; -- netinet/in.h:579 pragma Import (C, inet6_opt_next, "inet6_opt_next"); function inet6_opt_find (uu_extbuf : System.Address; uu_extlen : CUPS.unistd_h.socklen_t; uu_offset : int; uu_type : CUPS.stdint_h.uint8_t; uu_lenp : access CUPS.unistd_h.socklen_t; uu_databufp : System.Address) return int; -- netinet/in.h:582 pragma Import (C, inet6_opt_find, "inet6_opt_find"); function inet6_opt_get_val (uu_databuf : System.Address; uu_offset : int; uu_val : System.Address; uu_vallen : CUPS.unistd_h.socklen_t) return int; -- netinet/in.h:585 pragma Import (C, inet6_opt_get_val, "inet6_opt_get_val"); -- Routing Header Option (RFC 3542). function inet6_rth_space (uu_type : int; uu_segments : int) return CUPS.unistd_h.socklen_t; -- netinet/in.h:590 pragma Import (C, inet6_rth_space, "inet6_rth_space"); function inet6_rth_init (uu_bp : System.Address; uu_bp_len : CUPS.unistd_h.socklen_t; uu_type : int; uu_segments : int) return System.Address; -- netinet/in.h:591 pragma Import (C, inet6_rth_init, "inet6_rth_init"); function inet6_rth_add (uu_bp : System.Address; uu_addr : access constant in6_addr) return int; -- netinet/in.h:593 pragma Import (C, inet6_rth_add, "inet6_rth_add"); function inet6_rth_reverse (uu_in : System.Address; uu_out : System.Address) return int; -- netinet/in.h:594 pragma Import (C, inet6_rth_reverse, "inet6_rth_reverse"); function inet6_rth_segments (uu_bp : System.Address) return int; -- netinet/in.h:595 pragma Import (C, inet6_rth_segments, "inet6_rth_segments"); function inet6_rth_getaddr (uu_bp : System.Address; uu_index : int) return access in6_addr; -- netinet/in.h:596 pragma Import (C, inet6_rth_getaddr, "inet6_rth_getaddr"); -- Multicast source filter support. -- Get IPv4 source filter. function getipv4sourcefilter (uu_s : int; uu_interface_addr : in_addr; uu_group : in_addr; uu_fmode : access CUPS.stdint_h.uint32_t; uu_numsrc : access CUPS.stdint_h.uint32_t; uu_slist : access in_addr) return int; -- netinet/in.h:603 pragma Import (C, getipv4sourcefilter, "getipv4sourcefilter"); -- Set IPv4 source filter. function setipv4sourcefilter (uu_s : int; uu_interface_addr : in_addr; uu_group : in_addr; uu_fmode : CUPS.stdint_h.uint32_t; uu_numsrc : CUPS.stdint_h.uint32_t; uu_slist : access constant in_addr) return int; -- netinet/in.h:609 pragma Import (C, setipv4sourcefilter, "setipv4sourcefilter"); -- Get source filter. function getsourcefilter (uu_s : int; uu_interface_addr : CUPS.stdint_h.uint32_t; uu_group : access constant CUPS.bits_socket_h.sockaddr; uu_grouplen : CUPS.unistd_h.socklen_t; uu_fmode : access CUPS.stdint_h.uint32_t; uu_numsrc : access CUPS.stdint_h.uint32_t; uu_slist : access sockaddr_storage) return int; -- netinet/in.h:617 pragma Import (C, getsourcefilter, "getsourcefilter"); -- Set source filter. function setsourcefilter (uu_s : int; uu_interface_addr : CUPS.stdint_h.uint32_t; uu_group : access constant CUPS.bits_socket_h.sockaddr; uu_grouplen : CUPS.unistd_h.socklen_t; uu_fmode : CUPS.stdint_h.uint32_t; uu_numsrc : CUPS.stdint_h.uint32_t; uu_slist : access constant sockaddr_storage) return int; -- netinet/in.h:624 pragma Import (C, setsourcefilter, "setsourcefilter"); end CUPS.netinet_in_h;
-- PR ada/43106 -- Testcase by Bill Neven <neven@hitt.nl> -- { dg-do run } -- { dg-options "-O" } with Case_Optimization_Pkg2; use Case_Optimization_Pkg2; procedure Case_Optimization2 is Radar : Radar_T; begin Radar.Sensor_Type := radcmb; Initialize (Radar); end;
with POSIX.Unsafe_Process_Primitives; procedure Execute_A_System_Command is Arguments : POSIX.POSIX_String_List; begin POSIX.Append (Arguments, "ls"); POSIX.Unsafe_Process_Primitives.Exec_Search ("ls", Arguments); end Execute_A_System_Command;
--***************************************************************************** --* --* PROJECT: BINGADA --* --* FILE: q_sound.null.adb --* --* AUTHOR: Manuel <mgrojo at github> --* --***************************************************************************** package body Q_Sound is --================================================================== -- Implementation for systems where sound is not currently supported. procedure P_Play_Number (V_Number : Positive) is null; procedure P_Clean_Up is null; end Q_Sound;
package body Util is Invalid_Input_Data : exception; --------- -- B2S -- --------- function B2S (Data : LSC.Types.Bytes) return String is use type LSC.Types.Byte; B, Nibble : LSC.Types.Byte; function Hex_Digit (D : LSC.Types.Byte) return Character is (case D is when 16#0# => '0', when 16#1# => '1', when 16#2# => '2', when 16#3# => '3', when 16#4# => '4', when 16#5# => '5', when 16#6# => '6', when 16#7# => '7', when 16#8# => '8', when 16#9# => '9', when 16#A# => 'a', when 16#b# => 'b', when 16#c# => 'c', when 16#d# => 'd', when 16#e# => 'e', when 16#f# => 'f', when others => '*'); Result_Offset : Natural := 0; begin for D of Data loop Result_Offset := Result_Offset + (if D = 0 then 2 elsif D <= 16#f# then 1 else 0); exit when D > 16#f#; end loop; return Result : String (Result_Offset + 1 .. 2 * Data'Length) do for I in Result'Range loop B := Data (Data'First + (I + 1) / 2 - 1); Nibble := (if I mod 2 = 0 then B and LSC.Types.Byte (16#f#) else B / LSC.Types.Byte (16#10#)); Result (I) := Hex_Digit (Nibble); end loop; end return; end B2S; --------- -- S2B -- --------- function S2B (Data : String) return LSC.Types.Bytes is function To_Byte (C : Character) return LSC.Types.Byte is (case C is when '0' => 16#0#, when '1' => 16#1#, when '2' => 16#2#, when '3' => 16#3#, when '4' => 16#4#, when '5' => 16#5#, when '6' => 16#6#, when '7' => 16#7#, when '8' => 16#8#, when '9' => 16#9#, when 'a' => 16#a#, when 'b' => 16#b#, when 'c' => 16#c#, when 'd' => 16#d#, when 'e' => 16#e#, when 'f' => 16#f#, when 'A' => 16#a#, when 'B' => 16#b#, when 'C' => 16#c#, when 'D' => 16#d#, when 'E' => 16#e#, when 'F' => 16#f#, when others => 16#ff#); function Is_Whitespace (C : Character) return Boolean is (case C is when ' ' => True, when ASCII.HT => True, when others => False); Position : Natural := 1; Num_Nibbles : Natural := 0; Nibble : LSC.Types.Byte; High_Nibble : Boolean; Previous : LSC.Types.Byte := 0; use type LSC.Types.Byte; begin for C of Data loop if To_Byte (C) <= 16#f# then Num_Nibbles := Num_Nibbles + 1; end if; end loop; return Result : LSC.Types.Bytes (1 .. (Num_Nibbles + 1) / 2) do High_Nibble := Num_Nibbles mod 2 = 0; for C of Data loop if not Is_Whitespace (C) then Nibble := To_Byte (C); if Nibble > 16#f# then raise Invalid_Input_Data with ">>>" & Data & "<<<"; end if; if High_Nibble then Previous := 16#10# * Nibble; else Result (Position) := Previous + Nibble; Position := Position + 1; end if; High_Nibble := not High_Nibble; end if; end loop; end return; end S2B; --------- -- T2B -- --------- procedure T2B (Input : String; Output : out LSC.Types.Bytes; Last : out LSC.Types.Natural_Index) is function To_Byte (C : Character) return LSC.Types.Byte is (LSC.Types.Byte (Character'Pos (C))); begin for I in 0 .. Input'Length - 1 loop Output (Output'First + I) := To_Byte (Input (Input'First + I)); end loop; Last := Output'First + Input'Length - 1; end T2B; function T2B (Data : String) return LSC.Types.Bytes is Result : LSC.Types.Bytes (1 .. Data'Length); Unused : LSC.Types.Natural_Index; begin T2B (Data, Result, Unused); pragma Unreferenced (Unused); return Result; end T2B; --------- -- B2T -- --------- function B2T (Data : LSC.Types.Bytes) return String is Result : String (1 .. Data'Length); function To_Character (B : LSC.Types.Byte) return Character is (Character'Val (B)); begin for I in 0 .. Data'Length - 1 loop Result (Result'First + I) := To_Character (Data (Data'First + I)); end loop; return Result; end B2T; end Util;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_stdinc_h; with Interfaces.C.Strings; limited with SDL_joystick_h; package SDL_haptic_h is SDL_HAPTIC_CONSTANT : constant := (2**0); -- ..\SDL2_tmp\SDL_haptic.h:163 SDL_HAPTIC_SINE : constant := (2**1); -- ..\SDL2_tmp\SDL_haptic.h:172 SDL_HAPTIC_LEFTRIGHT : constant := (2**2); -- ..\SDL2_tmp\SDL_haptic.h:183 SDL_HAPTIC_TRIANGLE : constant := (2**3); -- ..\SDL2_tmp\SDL_haptic.h:195 SDL_HAPTIC_SAWTOOTHUP : constant := (2**4); -- ..\SDL2_tmp\SDL_haptic.h:204 SDL_HAPTIC_SAWTOOTHDOWN : constant := (2**5); -- ..\SDL2_tmp\SDL_haptic.h:213 SDL_HAPTIC_RAMP : constant := (2**6); -- ..\SDL2_tmp\SDL_haptic.h:222 SDL_HAPTIC_SPRING : constant := (2**7); -- ..\SDL2_tmp\SDL_haptic.h:232 SDL_HAPTIC_DAMPER : constant := (2**8); -- ..\SDL2_tmp\SDL_haptic.h:242 SDL_HAPTIC_INERTIA : constant := (2**9); -- ..\SDL2_tmp\SDL_haptic.h:252 SDL_HAPTIC_FRICTION : constant := (2**10); -- ..\SDL2_tmp\SDL_haptic.h:262 SDL_HAPTIC_CUSTOM : constant := (2**11); -- ..\SDL2_tmp\SDL_haptic.h:269 SDL_HAPTIC_GAIN : constant := (2**12); -- ..\SDL2_tmp\SDL_haptic.h:282 SDL_HAPTIC_AUTOCENTER : constant := (2**13); -- ..\SDL2_tmp\SDL_haptic.h:291 SDL_HAPTIC_STATUS : constant := (2**14); -- ..\SDL2_tmp\SDL_haptic.h:300 SDL_HAPTIC_PAUSE : constant := (2**15); -- ..\SDL2_tmp\SDL_haptic.h:310 SDL_HAPTIC_POLAR : constant := 0; -- ..\SDL2_tmp\SDL_haptic.h:323 SDL_HAPTIC_CARTESIAN : constant := 1; -- ..\SDL2_tmp\SDL_haptic.h:330 SDL_HAPTIC_SPHERICAL : constant := 2; -- ..\SDL2_tmp\SDL_haptic.h:337 SDL_HAPTIC_INFINITY : constant := 4294967295; -- ..\SDL2_tmp\SDL_haptic.h:352 -- Simple DirectMedia Layer -- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- 3. This notice may not be removed or altered from any source distribution. -- --* -- * \file SDL_haptic.h -- * -- * \brief The SDL haptic subsystem allows you to control haptic (force feedback) -- * devices. -- * -- * The basic usage is as follows: -- * - Initialize the subsystem (::SDL_INIT_HAPTIC). -- * - Open a haptic device. -- * - SDL_HapticOpen() to open from index. -- * - SDL_HapticOpenFromJoystick() to open from an existing joystick. -- * - Create an effect (::SDL_HapticEffect). -- * - Upload the effect with SDL_HapticNewEffect(). -- * - Run the effect with SDL_HapticRunEffect(). -- * - (optional) Free the effect with SDL_HapticDestroyEffect(). -- * - Close the haptic device with SDL_HapticClose(). -- * -- * \par Simple rumble example: -- * \code -- * SDL_Haptic *haptic; -- * -- * // Open the device -- * haptic = SDL_HapticOpen( 0 ); -- * if (haptic == NULL) -- * return -1; -- * -- * // Initialize simple rumble -- * if (SDL_HapticRumbleInit( haptic ) != 0) -- * return -1; -- * -- * // Play effect at 50% strength for 2 seconds -- * if (SDL_HapticRumblePlay( haptic, 0.5, 2000 ) != 0) -- * return -1; -- * SDL_Delay( 2000 ); -- * -- * // Clean up -- * SDL_HapticClose( haptic ); -- * \endcode -- * -- * \par Complete example: -- * \code -- * int test_haptic( SDL_Joystick * joystick ) { -- * SDL_Haptic *haptic; -- * SDL_HapticEffect effect; -- * int effect_id; -- * -- * // Open the device -- * haptic = SDL_HapticOpenFromJoystick( joystick ); -- * if (haptic == NULL) return -1; // Most likely joystick isn't haptic -- * -- * // See if it can do sine waves -- * if ((SDL_HapticQuery(haptic) & SDL_HAPTIC_SINE)==0) { -- * SDL_HapticClose(haptic); // No sine effect -- * return -1; -- * } -- * -- * // Create the effect -- * memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default -- * effect.type = SDL_HAPTIC_SINE; -- * effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates -- * effect.periodic.direction.dir[0] = 18000; // Force comes from south -- * effect.periodic.period = 1000; // 1000 ms -- * effect.periodic.magnitude = 20000; // 20000/32767 strength -- * effect.periodic.length = 5000; // 5 seconds long -- * effect.periodic.attack_length = 1000; // Takes 1 second to get max strength -- * effect.periodic.fade_length = 1000; // Takes 1 second to fade away -- * -- * // Upload the effect -- * effect_id = SDL_HapticNewEffect( haptic, &effect ); -- * -- * // Test the effect -- * SDL_HapticRunEffect( haptic, effect_id, 1 ); -- * SDL_Delay( 5000); // Wait for the effect to finish -- * -- * // We destroy the effect, although closing the device also does this -- * SDL_HapticDestroyEffect( haptic, effect_id ); -- * -- * // Close the device -- * SDL_HapticClose(haptic); -- * -- * return 0; // Success -- * } -- * \endcode -- -- Set up for C function definitions, even when using C++ -- FIXME: For SDL 2.1, adjust all the magnitude variables to be Uint16 (0xFFFF). -- * -- * At the moment the magnitude variables are mixed between signed/unsigned, and -- * it is also not made clear that ALL of those variables expect a max of 0x7FFF. -- * -- * Some platforms may have higher precision than that (Linux FF, Windows XInput) -- * so we should fix the inconsistency in favor of higher possible precision, -- * adjusting for platforms that use different scales. -- * -flibit -- --* -- * \typedef SDL_Haptic -- * -- * \brief The haptic structure used to identify an SDL haptic. -- * -- * \sa SDL_HapticOpen -- * \sa SDL_HapticOpenFromJoystick -- * \sa SDL_HapticClose -- type u_SDL_Haptic is null record; -- incomplete struct subtype SDL_Haptic is u_SDL_Haptic; -- ..\SDL2_tmp\SDL_haptic.h:141 --* -- * \name Haptic features -- * -- * Different haptic features a device can have. -- -- @{ --* -- * \name Haptic effects -- -- @{ --* -- * \brief Constant effect supported. -- * -- * Constant haptic effect. -- * -- * \sa SDL_HapticCondition -- --* -- * \brief Sine wave effect supported. -- * -- * Periodic haptic effect that simulates sine waves. -- * -- * \sa SDL_HapticPeriodic -- --* -- * \brief Left/Right effect supported. -- * -- * Haptic effect for direct control over high/low frequency motors. -- * -- * \sa SDL_HapticLeftRight -- * \warning this value was SDL_HAPTIC_SQUARE right before 2.0.0 shipped. Sorry, -- * we ran out of bits, and this is important for XInput devices. -- -- !!! FIXME: put this back when we have more bits in 2.1 -- #define SDL_HAPTIC_SQUARE (1<<2) --* -- * \brief Triangle wave effect supported. -- * -- * Periodic haptic effect that simulates triangular waves. -- * -- * \sa SDL_HapticPeriodic -- --* -- * \brief Sawtoothup wave effect supported. -- * -- * Periodic haptic effect that simulates saw tooth up waves. -- * -- * \sa SDL_HapticPeriodic -- --* -- * \brief Sawtoothdown wave effect supported. -- * -- * Periodic haptic effect that simulates saw tooth down waves. -- * -- * \sa SDL_HapticPeriodic -- --* -- * \brief Ramp effect supported. -- * -- * Ramp haptic effect. -- * -- * \sa SDL_HapticRamp -- --* -- * \brief Spring effect supported - uses axes position. -- * -- * Condition haptic effect that simulates a spring. Effect is based on the -- * axes position. -- * -- * \sa SDL_HapticCondition -- --* -- * \brief Damper effect supported - uses axes velocity. -- * -- * Condition haptic effect that simulates dampening. Effect is based on the -- * axes velocity. -- * -- * \sa SDL_HapticCondition -- --* -- * \brief Inertia effect supported - uses axes acceleration. -- * -- * Condition haptic effect that simulates inertia. Effect is based on the axes -- * acceleration. -- * -- * \sa SDL_HapticCondition -- --* -- * \brief Friction effect supported - uses axes movement. -- * -- * Condition haptic effect that simulates friction. Effect is based on the -- * axes movement. -- * -- * \sa SDL_HapticCondition -- --* -- * \brief Custom effect is supported. -- * -- * User defined custom haptic effect. -- -- @} -- Haptic effects -- These last few are features the device has, not effects --* -- * \brief Device can set global gain. -- * -- * Device supports setting the global gain. -- * -- * \sa SDL_HapticSetGain -- --* -- * \brief Device can set autocenter. -- * -- * Device supports setting autocenter. -- * -- * \sa SDL_HapticSetAutocenter -- --* -- * \brief Device can be queried for effect status. -- * -- * Device supports querying effect status. -- * -- * \sa SDL_HapticGetEffectStatus -- --* -- * \brief Device can be paused. -- * -- * Devices supports being paused. -- * -- * \sa SDL_HapticPause -- * \sa SDL_HapticUnpause -- --* -- * \name Direction encodings -- -- @{ --* -- * \brief Uses polar coordinates for the direction. -- * -- * \sa SDL_HapticDirection -- --* -- * \brief Uses cartesian coordinates for the direction. -- * -- * \sa SDL_HapticDirection -- --* -- * \brief Uses spherical coordinates for the direction. -- * -- * \sa SDL_HapticDirection -- -- @} -- Direction encodings -- @} -- Haptic features -- * Misc defines. -- --* -- * \brief Used to play a device an infinite number of times. -- * -- * \sa SDL_HapticRunEffect -- --* -- * \brief Structure that represents a haptic direction. -- * -- * This is the direction where the force comes from, -- * instead of the direction in which the force is exerted. -- * -- * Directions can be specified by: -- * - ::SDL_HAPTIC_POLAR : Specified by polar coordinates. -- * - ::SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates. -- * - ::SDL_HAPTIC_SPHERICAL : Specified by spherical coordinates. -- * -- * Cardinal directions of the haptic device are relative to the positioning -- * of the device. North is considered to be away from the user. -- * -- * The following diagram represents the cardinal directions: -- * \verbatim -- .--. -- |__| .-------. -- |=.| |.-----.| -- |--| || || -- | | |'-----'| -- |__|~')_____(' -- [ COMPUTER ] -- North (0,-1) -- ^ -- | -- | -- (-1,0) West <----[ HAPTIC ]----> East (1,0) -- | -- | -- v -- South (0,1) -- [ USER ] -- \|||/ -- (o o) -- ---ooO-(_)-Ooo--- -- \endverbatim -- * -- * If type is ::SDL_HAPTIC_POLAR, direction is encoded by hundredths of a -- * degree starting north and turning clockwise. ::SDL_HAPTIC_POLAR only uses -- * the first \c dir parameter. The cardinal directions would be: -- * - North: 0 (0 degrees) -- * - East: 9000 (90 degrees) -- * - South: 18000 (180 degrees) -- * - West: 27000 (270 degrees) -- * -- * If type is ::SDL_HAPTIC_CARTESIAN, direction is encoded by three positions -- * (X axis, Y axis and Z axis (with 3 axes)). ::SDL_HAPTIC_CARTESIAN uses -- * the first three \c dir parameters. The cardinal directions would be: -- * - North: 0,-1, 0 -- * - East: 1, 0, 0 -- * - South: 0, 1, 0 -- * - West: -1, 0, 0 -- * -- * The Z axis represents the height of the effect if supported, otherwise -- * it's unused. In cartesian encoding (1, 2) would be the same as (2, 4), you -- * can use any multiple you want, only the direction matters. -- * -- * If type is ::SDL_HAPTIC_SPHERICAL, direction is encoded by two rotations. -- * The first two \c dir parameters are used. The \c dir parameters are as -- * follows (all values are in hundredths of degrees): -- * - Degrees from (1, 0) rotated towards (0, 1). -- * - Degrees towards (0, 0, 1) (device needs at least 3 axes). -- * -- * -- * Example of force coming from the south with all encodings (force coming -- * from the south means the user will have to pull the stick to counteract): -- * \code -- * SDL_HapticDirection direction; -- * -- * // Cartesian directions -- * direction.type = SDL_HAPTIC_CARTESIAN; // Using cartesian direction encoding. -- * direction.dir[0] = 0; // X position -- * direction.dir[1] = 1; // Y position -- * // Assuming the device has 2 axes, we don't need to specify third parameter. -- * -- * // Polar directions -- * direction.type = SDL_HAPTIC_POLAR; // We'll be using polar direction encoding. -- * direction.dir[0] = 18000; // Polar only uses first parameter -- * -- * // Spherical coordinates -- * direction.type = SDL_HAPTIC_SPHERICAL; // Spherical encoding -- * direction.dir[0] = 9000; // Since we only have two axes we don't need more parameters. -- * \endcode -- * -- * \sa SDL_HAPTIC_POLAR -- * \sa SDL_HAPTIC_CARTESIAN -- * \sa SDL_HAPTIC_SPHERICAL -- * \sa SDL_HapticEffect -- * \sa SDL_HapticNumAxes -- --*< The type of encoding. type SDL_HapticDirection_dir_array is array (0 .. 2) of aliased SDL_stdinc_h.Sint32; type SDL_HapticDirection is record c_type : aliased SDL_stdinc_h.Uint8; -- ..\SDL2_tmp\SDL_haptic.h:452 dir : aliased SDL_HapticDirection_dir_array; -- ..\SDL2_tmp\SDL_haptic.h:453 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticDirection); -- ..\SDL2_tmp\SDL_haptic.h:450 --*< The encoded direction. --* -- * \brief A structure containing a template for a Constant effect. -- * -- * This struct is exclusively for the ::SDL_HAPTIC_CONSTANT effect. -- * -- * A constant effect applies a constant force in the specified direction -- * to the joystick. -- * -- * \sa SDL_HAPTIC_CONSTANT -- * \sa SDL_HapticEffect -- -- Header --*< ::SDL_HAPTIC_CONSTANT type SDL_HapticConstant is record c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:471 direction : aliased SDL_HapticDirection; -- ..\SDL2_tmp\SDL_haptic.h:472 length : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_haptic.h:475 c_delay : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:476 button : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:479 interval : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:480 level : aliased SDL_stdinc_h.Sint16; -- ..\SDL2_tmp\SDL_haptic.h:483 attack_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:486 attack_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:487 fade_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:488 fade_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:489 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticConstant); -- ..\SDL2_tmp\SDL_haptic.h:468 --*< Direction of the effect. -- Replay --*< Duration of the effect. --*< Delay before starting the effect. -- Trigger --*< Button that triggers the effect. --*< How soon it can be triggered again after button. -- Constant --*< Strength of the constant effect. -- Envelope --*< Duration of the attack. --*< Level at the start of the attack. --*< Duration of the fade. --*< Level at the end of the fade. --* -- * \brief A structure containing a template for a Periodic effect. -- * -- * The struct handles the following effects: -- * - ::SDL_HAPTIC_SINE -- * - ::SDL_HAPTIC_LEFTRIGHT -- * - ::SDL_HAPTIC_TRIANGLE -- * - ::SDL_HAPTIC_SAWTOOTHUP -- * - ::SDL_HAPTIC_SAWTOOTHDOWN -- * -- * A periodic effect consists in a wave-shaped effect that repeats itself -- * over time. The type determines the shape of the wave and the parameters -- * determine the dimensions of the wave. -- * -- * Phase is given by hundredth of a degree meaning that giving the phase a value -- * of 9000 will displace it 25% of its period. Here are sample values: -- * - 0: No phase displacement. -- * - 9000: Displaced 25% of its period. -- * - 18000: Displaced 50% of its period. -- * - 27000: Displaced 75% of its period. -- * - 36000: Displaced 100% of its period, same as 0, but 0 is preferred. -- * -- * Examples: -- * \verbatim -- SDL_HAPTIC_SINE -- __ __ __ __ -- / \ / \ / \ / -- / \__/ \__/ \__/ -- SDL_HAPTIC_SQUARE -- __ __ __ __ __ -- | | | | | | | | | | -- | |__| |__| |__| |__| | -- SDL_HAPTIC_TRIANGLE -- /\ /\ /\ /\ / / \ / \ / \ / \ / --/ -- / \/ \/ \/ \/ -- SDL_HAPTIC_SAWTOOTHUP -- /| /| /| /| /| /| /| -- / | / | / | / | / | / | / | -- / |/ |/ |/ |/ |/ |/ | -- SDL_HAPTIC_SAWTOOTHDOWN -- \ |\ |\ |\ |\ |\ |\ | -- \ | \ | \ | \ | \ | \ | \ | -- \| \| \| \| \| \| \| -- \endverbatim -- * -- * \sa SDL_HAPTIC_SINE -- * \sa SDL_HAPTIC_LEFTRIGHT -- * \sa SDL_HAPTIC_TRIANGLE -- * \sa SDL_HAPTIC_SAWTOOTHUP -- * \sa SDL_HAPTIC_SAWTOOTHDOWN -- * \sa SDL_HapticEffect -- -- Header --*< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT, -- ::SDL_HAPTIC_TRIANGLE, ::SDL_HAPTIC_SAWTOOTHUP or -- ::SDL_HAPTIC_SAWTOOTHDOWN type SDL_HapticPeriodic is record c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:552 direction : aliased SDL_HapticDirection; -- ..\SDL2_tmp\SDL_haptic.h:555 length : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_haptic.h:558 c_delay : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:559 button : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:562 interval : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:563 period : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:566 magnitude : aliased SDL_stdinc_h.Sint16; -- ..\SDL2_tmp\SDL_haptic.h:567 offset : aliased SDL_stdinc_h.Sint16; -- ..\SDL2_tmp\SDL_haptic.h:568 phase : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:569 attack_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:572 attack_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:573 fade_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:574 fade_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:575 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticPeriodic); -- ..\SDL2_tmp\SDL_haptic.h:549 --*< Direction of the effect. -- Replay --*< Duration of the effect. --*< Delay before starting the effect. -- Trigger --*< Button that triggers the effect. --*< How soon it can be triggered again after button. -- Periodic --*< Period of the wave. --*< Peak value; if negative, equivalent to 180 degrees extra phase shift. --*< Mean value of the wave. --*< Positive phase shift given by hundredth of a degree. -- Envelope --*< Duration of the attack. --*< Level at the start of the attack. --*< Duration of the fade. --*< Level at the end of the fade. --* -- * \brief A structure containing a template for a Condition effect. -- * -- * The struct handles the following effects: -- * - ::SDL_HAPTIC_SPRING: Effect based on axes position. -- * - ::SDL_HAPTIC_DAMPER: Effect based on axes velocity. -- * - ::SDL_HAPTIC_INERTIA: Effect based on axes acceleration. -- * - ::SDL_HAPTIC_FRICTION: Effect based on axes movement. -- * -- * Direction is handled by condition internals instead of a direction member. -- * The condition effect specific members have three parameters. The first -- * refers to the X axis, the second refers to the Y axis and the third -- * refers to the Z axis. The right terms refer to the positive side of the -- * axis and the left terms refer to the negative side of the axis. Please -- * refer to the ::SDL_HapticDirection diagram for which side is positive and -- * which is negative. -- * -- * \sa SDL_HapticDirection -- * \sa SDL_HAPTIC_SPRING -- * \sa SDL_HAPTIC_DAMPER -- * \sa SDL_HAPTIC_INERTIA -- * \sa SDL_HAPTIC_FRICTION -- * \sa SDL_HapticEffect -- -- Header --*< ::SDL_HAPTIC_SPRING, ::SDL_HAPTIC_DAMPER, -- ::SDL_HAPTIC_INERTIA or ::SDL_HAPTIC_FRICTION type SDL_HapticCondition_right_sat_array is array (0 .. 2) of aliased SDL_stdinc_h.Uint16; type SDL_HapticCondition_left_sat_array is array (0 .. 2) of aliased SDL_stdinc_h.Uint16; type SDL_HapticCondition_right_coeff_array is array (0 .. 2) of aliased SDL_stdinc_h.Sint16; type SDL_HapticCondition_left_coeff_array is array (0 .. 2) of aliased SDL_stdinc_h.Sint16; type SDL_HapticCondition_deadband_array is array (0 .. 2) of aliased SDL_stdinc_h.Uint16; type SDL_HapticCondition_center_array is array (0 .. 2) of aliased SDL_stdinc_h.Sint16; type SDL_HapticCondition is record c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:605 direction : aliased SDL_HapticDirection; -- ..\SDL2_tmp\SDL_haptic.h:607 length : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_haptic.h:610 c_delay : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:611 button : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:614 interval : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:615 right_sat : aliased SDL_HapticCondition_right_sat_array; -- ..\SDL2_tmp\SDL_haptic.h:618 left_sat : aliased SDL_HapticCondition_left_sat_array; -- ..\SDL2_tmp\SDL_haptic.h:619 right_coeff : aliased SDL_HapticCondition_right_coeff_array; -- ..\SDL2_tmp\SDL_haptic.h:620 left_coeff : aliased SDL_HapticCondition_left_coeff_array; -- ..\SDL2_tmp\SDL_haptic.h:621 deadband : aliased SDL_HapticCondition_deadband_array; -- ..\SDL2_tmp\SDL_haptic.h:622 center : aliased SDL_HapticCondition_center_array; -- ..\SDL2_tmp\SDL_haptic.h:623 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticCondition); -- ..\SDL2_tmp\SDL_haptic.h:602 --*< Direction of the effect - Not used ATM. -- Replay --*< Duration of the effect. --*< Delay before starting the effect. -- Trigger --*< Button that triggers the effect. --*< How soon it can be triggered again after button. -- Condition --*< Level when joystick is to the positive side; max 0xFFFF. --*< Level when joystick is to the negative side; max 0xFFFF. --*< How fast to increase the force towards the positive side. --*< How fast to increase the force towards the negative side. --*< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. --*< Position of the dead zone. --* -- * \brief A structure containing a template for a Ramp effect. -- * -- * This struct is exclusively for the ::SDL_HAPTIC_RAMP effect. -- * -- * The ramp effect starts at start strength and ends at end strength. -- * It augments in linear fashion. If you use attack and fade with a ramp -- * the effects get added to the ramp effect making the effect become -- * quadratic instead of linear. -- * -- * \sa SDL_HAPTIC_RAMP -- * \sa SDL_HapticEffect -- -- Header --*< ::SDL_HAPTIC_RAMP type SDL_HapticRamp is record c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:642 direction : aliased SDL_HapticDirection; -- ..\SDL2_tmp\SDL_haptic.h:643 length : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_haptic.h:646 c_delay : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:647 button : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:650 interval : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:651 start : aliased SDL_stdinc_h.Sint16; -- ..\SDL2_tmp\SDL_haptic.h:654 c_end : aliased SDL_stdinc_h.Sint16; -- ..\SDL2_tmp\SDL_haptic.h:655 attack_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:658 attack_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:659 fade_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:660 fade_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:661 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticRamp); -- ..\SDL2_tmp\SDL_haptic.h:639 --*< Direction of the effect. -- Replay --*< Duration of the effect. --*< Delay before starting the effect. -- Trigger --*< Button that triggers the effect. --*< How soon it can be triggered again after button. -- Ramp --*< Beginning strength level. --*< Ending strength level. -- Envelope --*< Duration of the attack. --*< Level at the start of the attack. --*< Duration of the fade. --*< Level at the end of the fade. --* -- * \brief A structure containing a template for a Left/Right effect. -- * -- * This struct is exclusively for the ::SDL_HAPTIC_LEFTRIGHT effect. -- * -- * The Left/Right effect is used to explicitly control the large and small -- * motors, commonly found in modern game controllers. The small (right) motor -- * is high frequency, and the large (left) motor is low frequency. -- * -- * \sa SDL_HAPTIC_LEFTRIGHT -- * \sa SDL_HapticEffect -- -- Header --*< ::SDL_HAPTIC_LEFTRIGHT type SDL_HapticLeftRight is record c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:679 length : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_haptic.h:682 large_magnitude : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:685 small_magnitude : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:686 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticLeftRight); -- ..\SDL2_tmp\SDL_haptic.h:676 -- Replay --*< Duration of the effect in milliseconds. -- Rumble --*< Control of the large controller motor. --*< Control of the small controller motor. --* -- * \brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect. -- * -- * This struct is exclusively for the ::SDL_HAPTIC_CUSTOM effect. -- * -- * A custom force feedback effect is much like a periodic effect, where the -- * application can define its exact shape. You will have to allocate the -- * data yourself. Data should consist of channels * samples Uint16 samples. -- * -- * If channels is one, the effect is rotated using the defined direction. -- * Otherwise it uses the samples in data for the different axes. -- * -- * \sa SDL_HAPTIC_CUSTOM -- * \sa SDL_HapticEffect -- -- Header --*< ::SDL_HAPTIC_CUSTOM type SDL_HapticCustom is record c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:707 direction : aliased SDL_HapticDirection; -- ..\SDL2_tmp\SDL_haptic.h:708 length : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_haptic.h:711 c_delay : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:712 button : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:715 interval : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:716 channels : aliased SDL_stdinc_h.Uint8; -- ..\SDL2_tmp\SDL_haptic.h:719 period : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:720 samples : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:721 data : access SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:722 attack_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:725 attack_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:726 fade_length : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:727 fade_level : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:728 end record; pragma Convention (C_Pass_By_Copy, SDL_HapticCustom); -- ..\SDL2_tmp\SDL_haptic.h:704 --*< Direction of the effect. -- Replay --*< Duration of the effect. --*< Delay before starting the effect. -- Trigger --*< Button that triggers the effect. --*< How soon it can be triggered again after button. -- Custom --*< Axes to use, minimum of one. --*< Sample periods. --*< Amount of samples. --*< Should contain channels*samples items. -- Envelope --*< Duration of the attack. --*< Level at the start of the attack. --*< Duration of the fade. --*< Level at the end of the fade. --* -- * \brief The generic template for any haptic effect. -- * -- * All values max at 32767 (0x7FFF). Signed values also can be negative. -- * Time values unless specified otherwise are in milliseconds. -- * -- * You can also pass ::SDL_HAPTIC_INFINITY to length instead of a 0-32767 -- * value. Neither delay, interval, attack_length nor fade_length support -- * ::SDL_HAPTIC_INFINITY. Fade will also not be used since effect never ends. -- * -- * Additionally, the ::SDL_HAPTIC_RAMP effect does not support a duration of -- * ::SDL_HAPTIC_INFINITY. -- * -- * Button triggers may not be supported on all devices, it is advised to not -- * use them if possible. Buttons start at index 1 instead of index 0 like -- * the joystick. -- * -- * If both attack_length and fade_level are 0, the envelope is not used, -- * otherwise both values are used. -- * -- * Common parts: -- * \code -- * // Replay - All effects have this -- * Uint32 length; // Duration of effect (ms). -- * Uint16 delay; // Delay before starting effect. -- * -- * // Trigger - All effects have this -- * Uint16 button; // Button that triggers effect. -- * Uint16 interval; // How soon before effect can be triggered again. -- * -- * // Envelope - All effects except condition effects have this -- * Uint16 attack_length; // Duration of the attack (ms). -- * Uint16 attack_level; // Level at the start of the attack. -- * Uint16 fade_length; // Duration of the fade out (ms). -- * Uint16 fade_level; // Level at the end of the fade. -- * \endcode -- * -- * -- * Here we have an example of a constant effect evolution in time: -- * \verbatim -- Strength -- ^ -- | -- | effect level --> _________________ -- | / | / | / | / | attack_level --> | | | | <--- fade_level --ade_level -- | -- +--------------------------------------------------> Time -- [--] [---] -- attack_length fade_length -- [------------------][-----------------------] -- delay length -- \endverbatim -- * -- * Note either the attack_level or the fade_level may be above the actual -- * effect level. -- * -- * \sa SDL_HapticConstant -- * \sa SDL_HapticPeriodic -- * \sa SDL_HapticCondition -- * \sa SDL_HapticRamp -- * \sa SDL_HapticLeftRight -- * \sa SDL_HapticCustom -- -- Common for all force feedback effects --*< Effect type. type SDL_HapticEffect (discr : unsigned := 0) is record case discr is when 0 => c_type : aliased SDL_stdinc_h.Uint16; -- ..\SDL2_tmp\SDL_haptic.h:803 when 1 => c_constant : aliased SDL_HapticConstant; -- ..\SDL2_tmp\SDL_haptic.h:804 when 2 => periodic : aliased SDL_HapticPeriodic; -- ..\SDL2_tmp\SDL_haptic.h:805 when 3 => condition : aliased SDL_HapticCondition; -- ..\SDL2_tmp\SDL_haptic.h:806 when 4 => ramp : aliased SDL_HapticRamp; -- ..\SDL2_tmp\SDL_haptic.h:807 when 5 => leftright : aliased SDL_HapticLeftRight; -- ..\SDL2_tmp\SDL_haptic.h:808 when others => custom : aliased SDL_HapticCustom; -- ..\SDL2_tmp\SDL_haptic.h:809 end case; end record; pragma Convention (C_Pass_By_Copy, SDL_HapticEffect); pragma Unchecked_Union (SDL_HapticEffect); -- ..\SDL2_tmp\SDL_haptic.h:800 --*< Constant effect. --*< Periodic effect. --*< Condition effect. --*< Ramp effect. --*< Left/Right effect. --*< Custom effect. -- Function prototypes --* -- * \brief Count the number of haptic devices attached to the system. -- * -- * \return Number of haptic devices detected on the system. -- function SDL_NumHaptics return int; -- ..\SDL2_tmp\SDL_haptic.h:819 pragma Import (C, SDL_NumHaptics, "SDL_NumHaptics"); --* -- * \brief Get the implementation dependent name of a haptic device. -- * -- * This can be called before any joysticks are opened. -- * If no name can be found, this function returns NULL. -- * -- * \param device_index Index of the device to get its name. -- * \return Name of the device or NULL on error. -- * -- * \sa SDL_NumHaptics -- function SDL_HapticName (device_index : int) return Interfaces.C.Strings.chars_ptr; -- ..\SDL2_tmp\SDL_haptic.h:832 pragma Import (C, SDL_HapticName, "SDL_HapticName"); --* -- * \brief Opens a haptic device for use. -- * -- * The index passed as an argument refers to the N'th haptic device on this -- * system. -- * -- * When opening a haptic device, its gain will be set to maximum and -- * autocenter will be disabled. To modify these values use -- * SDL_HapticSetGain() and SDL_HapticSetAutocenter(). -- * -- * \param device_index Index of the device to open. -- * \return Device identifier or NULL on error. -- * -- * \sa SDL_HapticIndex -- * \sa SDL_HapticOpenFromMouse -- * \sa SDL_HapticOpenFromJoystick -- * \sa SDL_HapticClose -- * \sa SDL_HapticSetGain -- * \sa SDL_HapticSetAutocenter -- * \sa SDL_HapticPause -- * \sa SDL_HapticStopAll -- function SDL_HapticOpen (device_index : int) return access SDL_Haptic; -- ..\SDL2_tmp\SDL_haptic.h:856 pragma Import (C, SDL_HapticOpen, "SDL_HapticOpen"); --* -- * \brief Checks if the haptic device at index has been opened. -- * -- * \param device_index Index to check to see if it has been opened. -- * \return 1 if it has been opened or 0 if it hasn't. -- * -- * \sa SDL_HapticOpen -- * \sa SDL_HapticIndex -- function SDL_HapticOpened (device_index : int) return int; -- ..\SDL2_tmp\SDL_haptic.h:867 pragma Import (C, SDL_HapticOpened, "SDL_HapticOpened"); --* -- * \brief Gets the index of a haptic device. -- * -- * \param haptic Haptic device to get the index of. -- * \return The index of the haptic device or -1 on error. -- * -- * \sa SDL_HapticOpen -- * \sa SDL_HapticOpened -- function SDL_HapticIndex (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:878 pragma Import (C, SDL_HapticIndex, "SDL_HapticIndex"); --* -- * \brief Gets whether or not the current mouse has haptic capabilities. -- * -- * \return SDL_TRUE if the mouse is haptic, SDL_FALSE if it isn't. -- * -- * \sa SDL_HapticOpenFromMouse -- function SDL_MouseIsHaptic return int; -- ..\SDL2_tmp\SDL_haptic.h:887 pragma Import (C, SDL_MouseIsHaptic, "SDL_MouseIsHaptic"); --* -- * \brief Tries to open a haptic device from the current mouse. -- * -- * \return The haptic device identifier or NULL on error. -- * -- * \sa SDL_MouseIsHaptic -- * \sa SDL_HapticOpen -- function SDL_HapticOpenFromMouse return access SDL_Haptic; -- ..\SDL2_tmp\SDL_haptic.h:897 pragma Import (C, SDL_HapticOpenFromMouse, "SDL_HapticOpenFromMouse"); --* -- * \brief Checks to see if a joystick has haptic features. -- * -- * \param joystick Joystick to test for haptic capabilities. -- * \return SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn't -- * or -1 if an error occurred. -- * -- * \sa SDL_HapticOpenFromJoystick -- function SDL_JoystickIsHaptic (joystick : access SDL_joystick_h.Class_SDL_Joystick.SDL_Joystick) return int; -- ..\SDL2_tmp\SDL_haptic.h:908 pragma Import (C, SDL_JoystickIsHaptic, "SDL_JoystickIsHaptic"); --* -- * \brief Opens a haptic device for use from a joystick device. -- * -- * You must still close the haptic device separately. It will not be closed -- * with the joystick. -- * -- * When opening from a joystick you should first close the haptic device before -- * closing the joystick device. If not, on some implementations the haptic -- * device will also get unallocated and you'll be unable to use force feedback -- * on that device. -- * -- * \param joystick Joystick to create a haptic device from. -- * \return A valid haptic device identifier on success or NULL on error. -- * -- * \sa SDL_HapticOpen -- * \sa SDL_HapticClose -- function SDL_HapticOpenFromJoystick (joystick : access SDL_joystick_h.Class_SDL_Joystick.SDL_Joystick) return access SDL_Haptic; -- ..\SDL2_tmp\SDL_haptic.h:927 pragma Import (C, SDL_HapticOpenFromJoystick, "SDL_HapticOpenFromJoystick"); --* -- * \brief Closes a haptic device previously opened with SDL_HapticOpen(). -- * -- * \param haptic Haptic device to close. -- procedure SDL_HapticClose (haptic : access SDL_Haptic); -- ..\SDL2_tmp\SDL_haptic.h:935 pragma Import (C, SDL_HapticClose, "SDL_HapticClose"); --* -- * \brief Returns the number of effects a haptic device can store. -- * -- * On some platforms this isn't fully supported, and therefore is an -- * approximation. Always check to see if your created effect was actually -- * created and do not rely solely on SDL_HapticNumEffects(). -- * -- * \param haptic The haptic device to query effect max. -- * \return The number of effects the haptic device can store or -- * -1 on error. -- * -- * \sa SDL_HapticNumEffectsPlaying -- * \sa SDL_HapticQuery -- function SDL_HapticNumEffects (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:951 pragma Import (C, SDL_HapticNumEffects, "SDL_HapticNumEffects"); --* -- * \brief Returns the number of effects a haptic device can play at the same -- * time. -- * -- * This is not supported on all platforms, but will always return a value. -- * Added here for the sake of completeness. -- * -- * \param haptic The haptic device to query maximum playing effects. -- * \return The number of effects the haptic device can play at the same time -- * or -1 on error. -- * -- * \sa SDL_HapticNumEffects -- * \sa SDL_HapticQuery -- function SDL_HapticNumEffectsPlaying (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:967 pragma Import (C, SDL_HapticNumEffectsPlaying, "SDL_HapticNumEffectsPlaying"); --* -- * \brief Gets the haptic device's supported features in bitwise manner. -- * -- * Example: -- * \code -- * if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) { -- * printf("We have constant haptic effect!\n"); -- * } -- * \endcode -- * -- * \param haptic The haptic device to query. -- * \return Haptic features in bitwise manner (OR'd). -- * -- * \sa SDL_HapticNumEffects -- * \sa SDL_HapticEffectSupported -- function SDL_HapticQuery (haptic : access SDL_Haptic) return unsigned; -- ..\SDL2_tmp\SDL_haptic.h:985 pragma Import (C, SDL_HapticQuery, "SDL_HapticQuery"); --* -- * \brief Gets the number of haptic axes the device has. -- * -- * \sa SDL_HapticDirection -- function SDL_HapticNumAxes (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:993 pragma Import (C, SDL_HapticNumAxes, "SDL_HapticNumAxes"); --* -- * \brief Checks to see if effect is supported by haptic. -- * -- * \param haptic Haptic device to check on. -- * \param effect Effect to check to see if it is supported. -- * \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error. -- * -- * \sa SDL_HapticQuery -- * \sa SDL_HapticNewEffect -- function SDL_HapticEffectSupported (haptic : access SDL_Haptic; effect : access SDL_HapticEffect) return int; -- ..\SDL2_tmp\SDL_haptic.h:1005 pragma Import (C, SDL_HapticEffectSupported, "SDL_HapticEffectSupported"); --* -- * \brief Creates a new haptic effect on the device. -- * -- * \param haptic Haptic device to create the effect on. -- * \param effect Properties of the effect to create. -- * \return The identifier of the effect on success or -1 on error. -- * -- * \sa SDL_HapticUpdateEffect -- * \sa SDL_HapticRunEffect -- * \sa SDL_HapticDestroyEffect -- function SDL_HapticNewEffect (haptic : access SDL_Haptic; effect : access SDL_HapticEffect) return int; -- ..\SDL2_tmp\SDL_haptic.h:1020 pragma Import (C, SDL_HapticNewEffect, "SDL_HapticNewEffect"); --* -- * \brief Updates the properties of an effect. -- * -- * Can be used dynamically, although behavior when dynamically changing -- * direction may be strange. Specifically the effect may reupload itself -- * and start playing from the start. You cannot change the type either when -- * running SDL_HapticUpdateEffect(). -- * -- * \param haptic Haptic device that has the effect. -- * \param effect Identifier of the effect to update. -- * \param data New effect properties to use. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticNewEffect -- * \sa SDL_HapticRunEffect -- * \sa SDL_HapticDestroyEffect -- function SDL_HapticUpdateEffect (haptic : access SDL_Haptic; effect : int; data : access SDL_HapticEffect) return int; -- ..\SDL2_tmp\SDL_haptic.h:1040 pragma Import (C, SDL_HapticUpdateEffect, "SDL_HapticUpdateEffect"); --* -- * \brief Runs the haptic effect on its associated haptic device. -- * -- * If iterations are ::SDL_HAPTIC_INFINITY, it'll run the effect over and over -- * repeating the envelope (attack and fade) every time. If you only want the -- * effect to last forever, set ::SDL_HAPTIC_INFINITY in the effect's length -- * parameter. -- * -- * \param haptic Haptic device to run the effect on. -- * \param effect Identifier of the haptic effect to run. -- * \param iterations Number of iterations to run the effect. Use -- * ::SDL_HAPTIC_INFINITY for infinity. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticStopEffect -- * \sa SDL_HapticDestroyEffect -- * \sa SDL_HapticGetEffectStatus -- function SDL_HapticRunEffect (haptic : access SDL_Haptic; effect : int; iterations : SDL_stdinc_h.Uint32) return int; -- ..\SDL2_tmp\SDL_haptic.h:1062 pragma Import (C, SDL_HapticRunEffect, "SDL_HapticRunEffect"); --* -- * \brief Stops the haptic effect on its associated haptic device. -- * -- * \param haptic Haptic device to stop the effect on. -- * \param effect Identifier of the effect to stop. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticRunEffect -- * \sa SDL_HapticDestroyEffect -- function SDL_HapticStopEffect (haptic : access SDL_Haptic; effect : int) return int; -- ..\SDL2_tmp\SDL_haptic.h:1076 pragma Import (C, SDL_HapticStopEffect, "SDL_HapticStopEffect"); --* -- * \brief Destroys a haptic effect on the device. -- * -- * This will stop the effect if it's running. Effects are automatically -- * destroyed when the device is closed. -- * -- * \param haptic Device to destroy the effect on. -- * \param effect Identifier of the effect to destroy. -- * -- * \sa SDL_HapticNewEffect -- procedure SDL_HapticDestroyEffect (haptic : access SDL_Haptic; effect : int); -- ..\SDL2_tmp\SDL_haptic.h:1090 pragma Import (C, SDL_HapticDestroyEffect, "SDL_HapticDestroyEffect"); --* -- * \brief Gets the status of the current effect on the haptic device. -- * -- * Device must support the ::SDL_HAPTIC_STATUS feature. -- * -- * \param haptic Haptic device to query the effect status on. -- * \param effect Identifier of the effect to query its status. -- * \return 0 if it isn't playing, 1 if it is playing or -1 on error. -- * -- * \sa SDL_HapticRunEffect -- * \sa SDL_HapticStopEffect -- function SDL_HapticGetEffectStatus (haptic : access SDL_Haptic; effect : int) return int; -- ..\SDL2_tmp\SDL_haptic.h:1105 pragma Import (C, SDL_HapticGetEffectStatus, "SDL_HapticGetEffectStatus"); --* -- * \brief Sets the global gain of the device. -- * -- * Device must support the ::SDL_HAPTIC_GAIN feature. -- * -- * The user may specify the maximum gain by setting the environment variable -- * SDL_HAPTIC_GAIN_MAX which should be between 0 and 100. All calls to -- * SDL_HapticSetGain() will scale linearly using SDL_HAPTIC_GAIN_MAX as the -- * maximum. -- * -- * \param haptic Haptic device to set the gain on. -- * \param gain Value to set the gain to, should be between 0 and 100. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticQuery -- function SDL_HapticSetGain (haptic : access SDL_Haptic; gain : int) return int; -- ..\SDL2_tmp\SDL_haptic.h:1124 pragma Import (C, SDL_HapticSetGain, "SDL_HapticSetGain"); --* -- * \brief Sets the global autocenter of the device. -- * -- * Autocenter should be between 0 and 100. Setting it to 0 will disable -- * autocentering. -- * -- * Device must support the ::SDL_HAPTIC_AUTOCENTER feature. -- * -- * \param haptic Haptic device to set autocentering on. -- * \param autocenter Value to set autocenter to, 0 disables autocentering. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticQuery -- function SDL_HapticSetAutocenter (haptic : access SDL_Haptic; autocenter : int) return int; -- ..\SDL2_tmp\SDL_haptic.h:1140 pragma Import (C, SDL_HapticSetAutocenter, "SDL_HapticSetAutocenter"); --* -- * \brief Pauses a haptic device. -- * -- * Device must support the ::SDL_HAPTIC_PAUSE feature. Call -- * SDL_HapticUnpause() to resume playback. -- * -- * Do not modify the effects nor add new ones while the device is paused. -- * That can cause all sorts of weird errors. -- * -- * \param haptic Haptic device to pause. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticUnpause -- function SDL_HapticPause (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:1157 pragma Import (C, SDL_HapticPause, "SDL_HapticPause"); --* -- * \brief Unpauses a haptic device. -- * -- * Call to unpause after SDL_HapticPause(). -- * -- * \param haptic Haptic device to unpause. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticPause -- function SDL_HapticUnpause (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:1169 pragma Import (C, SDL_HapticUnpause, "SDL_HapticUnpause"); --* -- * \brief Stops all the currently playing effects on a haptic device. -- * -- * \param haptic Haptic device to stop. -- * \return 0 on success or -1 on error. -- function SDL_HapticStopAll (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:1177 pragma Import (C, SDL_HapticStopAll, "SDL_HapticStopAll"); --* -- * \brief Checks to see if rumble is supported on a haptic device. -- * -- * \param haptic Haptic device to check to see if it supports rumble. -- * \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error. -- * -- * \sa SDL_HapticRumbleInit -- * \sa SDL_HapticRumblePlay -- * \sa SDL_HapticRumbleStop -- function SDL_HapticRumbleSupported (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:1189 pragma Import (C, SDL_HapticRumbleSupported, "SDL_HapticRumbleSupported"); --* -- * \brief Initializes the haptic device for simple rumble playback. -- * -- * \param haptic Haptic device to initialize for simple rumble playback. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticOpen -- * \sa SDL_HapticRumbleSupported -- * \sa SDL_HapticRumblePlay -- * \sa SDL_HapticRumbleStop -- function SDL_HapticRumbleInit (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:1202 pragma Import (C, SDL_HapticRumbleInit, "SDL_HapticRumbleInit"); --* -- * \brief Runs simple rumble on a haptic device -- * -- * \param haptic Haptic device to play rumble effect on. -- * \param strength Strength of the rumble to play as a 0-1 float value. -- * \param length Length of the rumble to play in milliseconds. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticRumbleSupported -- * \sa SDL_HapticRumbleInit -- * \sa SDL_HapticRumbleStop -- function SDL_HapticRumblePlay (haptic : access SDL_Haptic; strength : float; length : SDL_stdinc_h.Uint32) return int; -- ..\SDL2_tmp\SDL_haptic.h:1216 pragma Import (C, SDL_HapticRumblePlay, "SDL_HapticRumblePlay"); --* -- * \brief Stops the simple rumble on a haptic device. -- * -- * \param haptic Haptic to stop the rumble on. -- * \return 0 on success or -1 on error. -- * -- * \sa SDL_HapticRumbleSupported -- * \sa SDL_HapticRumbleInit -- * \sa SDL_HapticRumblePlay -- function SDL_HapticRumbleStop (haptic : access SDL_Haptic) return int; -- ..\SDL2_tmp\SDL_haptic.h:1228 pragma Import (C, SDL_HapticRumbleStop, "SDL_HapticRumbleStop"); -- Ends C function definitions when using C++ -- vi: set ts=4 sw=4 expandtab: end SDL_haptic_h;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>Mem2Stream</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>in_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <direction>0</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>in_V1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>61</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>tmp_8</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> <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>out_V_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out.V.V</originalName> <rtlName/> <coreName>FSL</coreName> </Obj> <bitwidth>64</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>17</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name>tmp_8_read</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> <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> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>6</id> <name>in_V1_read</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>61</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>36</item> <item>37</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>9</id> <name>tmp_cast8</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>tmp_cast8_fu_104_p1</rtlName> <coreName/> </Obj> <bitwidth>62</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>38</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>10</id> <name>in_V1_cast9</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>in_V1_cast9_fu_108_p1</rtlName> <coreName/> </Obj> <bitwidth>62</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>39</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>11</id> <name>sum1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>sum1_fu_112_p2</rtlName> <coreName/> </Obj> <bitwidth>62</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>40</item> <item>41</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>12</id> <name>sum1_cast</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>sum1_cast_fu_118_p1</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>42</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>13</id> <name>in_V_addr</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</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>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>142</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>43</item> <item>44</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>14</id> <name>in_V_addr_rd_req</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>142</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>46</item> <item>47</item> <item>49</item> </oprand_edges> <opcode>readreq</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>15</id> <name/> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>140</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>140</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="_14"> <Value> <Obj> <type>0</type> <id>17</id> <name>i</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>52</item> <item>53</item> <item>54</item> <item>55</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>18</id> <name>tmp</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>140</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>140</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_fu_128_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>56</item> <item>58</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>19</id> <name>i_3</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>140</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>140</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName>i_3_fu_134_p2</rtlName> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>59</item> <item>61</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>20</id> <name/> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>140</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>140</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>62</item> <item>63</item> <item>64</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>25</id> <name>e_V</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>142</second> </item> </second> </item> </inlineStackInfo> <originalName>e.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>66</item> <item>67</item> <item>144</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>26</id> <name/> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>69</item> <item>70</item> <item>71</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>28</id> <name/> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>140</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>140</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>72</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>30</id> <name/> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>Mem2Stream&amp;lt;64, 104&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Mem2Stream&amp;lt;64, 104&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_22"> <Value> <Obj> <type>2</type> <id>48</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>13</content> </item> <item class_id_reference="16" object_id="_23"> <Value> <Obj> <type>2</type> <id>51</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_24"> <Value> <Obj> <type>2</type> <id>57</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>13</content> </item> <item class_id_reference="16" object_id="_25"> <Value> <Obj> <type>2</type> <id>60</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_26"> <Obj> <type>3</type> <id>16</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>9</count> <item_version>0</item_version> <item>5</item> <item>6</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> </node_objs> </item> <item class_id_reference="18" object_id="_27"> <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>4</count> <item_version>0</item_version> <item>17</item> <item>18</item> <item>19</item> <item>20</item> </node_objs> </item> <item class_id_reference="18" object_id="_28"> <Obj> <type>3</type> <id>29</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>25</item> <item>26</item> <item>28</item> </node_objs> </item> <item class_id_reference="18" object_id="_29"> <Obj> <type>3</type> <id>31</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>30</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="_30"> <id>34</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_31"> <id>37</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_32"> <id>38</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_33"> <id>39</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_34"> <id>40</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_35"> <id>41</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_36"> <id>42</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_37"> <id>43</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_38"> <id>44</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_39"> <id>47</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_40"> <id>49</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_41"> <id>50</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_42"> <id>52</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_43"> <id>53</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_44"> <id>54</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_45"> <id>55</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_46"> <id>56</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_47"> <id>58</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_48"> <id>59</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_49"> <id>61</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_50"> <id>62</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_51"> <id>63</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_52"> <id>64</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_53"> <id>67</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_54"> <id>70</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_55"> <id>71</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_56"> <id>72</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_57"> <id>140</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_58"> <id>141</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_59"> <id>142</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_60"> <id>143</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_61"> <id>144</id> <edge_type>4</edge_type> <source_obj>14</source_obj> <sink_obj>25</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_62"> <mId>1</mId> <mTag>Mem2Stream</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>23</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_63"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>16</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>7</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_64"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>21</item> <item>29</item> </basic_blocks> <mII>1</mII> <mDepth>3</mDepth> <mMinTripCount>13</mMinTripCount> <mMaxTripCount>13</mMaxTripCount> <mMinLatency>14</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_65"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>31</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_66"> <states class_id="25" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_67"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_68"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_69"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_70"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_71"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_72"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_73"> <id>2</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_74"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_75"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_76"> <id>14</id> <stage>7</stage> <latency>7</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_77"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_78"> <id>14</id> <stage>6</stage> <latency>7</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_79"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_80"> <id>14</id> <stage>5</stage> <latency>7</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_81"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_82"> <id>14</id> <stage>4</stage> <latency>7</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_83"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_84"> <id>14</id> <stage>3</stage> <latency>7</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_85"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_86"> <id>14</id> <stage>2</stage> <latency>7</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_87"> <id>8</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_88"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_89"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_90"> <id>14</id> <stage>1</stage> <latency>7</latency> </item> <item class_id_reference="28" object_id="_91"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_92"> <id>9</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_93"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_94"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_95"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_96"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_97"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_98"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_99"> <id>11</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_100"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_101"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_102"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_103"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_104"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_105"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_106"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_107"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_108"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>18</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_109"> <inState>2</inState> <outState>3</outState> <condition> <id>19</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_110"> <inState>3</inState> <outState>4</outState> <condition> <id>20</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_111"> <inState>4</inState> <outState>5</outState> <condition> <id>21</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_112"> <inState>5</inState> <outState>6</outState> <condition> <id>22</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_113"> <inState>6</inState> <outState>7</outState> <condition> <id>23</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_114"> <inState>7</inState> <outState>8</outState> <condition> <id>24</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_115"> <inState>8</inState> <outState>9</outState> <condition> <id>26</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_116"> <inState>10</inState> <outState>11</outState> <condition> <id>34</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_117"> <inState>11</inState> <outState>9</outState> <condition> <id>35</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_118"> <inState>9</inState> <outState>12</outState> <condition> <id>33</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>18</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_119"> <inState>9</inState> <outState>10</outState> <condition> <id>36</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>18</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="36" tracking_level="1" version="0" object_id="_120"> <dp_component_resource class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_resource> <dp_expression_resource> <count>3</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>i_3_fu_134_p2 ( + ) </first> <second class_id="39" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>(0P0)</first> <second>4</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>4</second> </item> </second> </item> <item> <first>sum1_fu_112_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>62</second> </item> <item> <first>(1P1)</first> <second>62</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>62</second> </item> </second> </item> <item> <first>tmp_fu_128_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>4</second> </item> <item> <first>(1P1)</first> <second>3</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>7</count> <item_version>0</item_version> <item> <first>ap_NS_fsm</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>11</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>11</second> </item> <item> <first>LUT</first> <second>4</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter2</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_sig_ioackin_m_axi_in_V_ARREADY</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>i_reg_93</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>4</second> </item> <item> <first>(2Count)</first> <second>8</second> </item> <item> <first>LUT</first> <second>4</second> </item> </second> </item> <item> <first>in_V_blk_n_AR</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>in_V_blk_n_R</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>out_V_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>1</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>10</count> <item_version>0</item_version> <item> <first>ap_CS_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>10</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>10</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter0</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter2</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_pipeline_reg_pp0_iter1_tmp_reg_151</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_reg_ioackin_m_axi_in_V_ARREADY</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>e_V_reg_160</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>64</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>64</second> </item> </second> </item> <item> <first>i_reg_93</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> <item> <first>sum1_reg_140</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>62</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>62</second> </item> </second> </item> <item> <first>tmp_reg_151</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> </dp_register_resource> <dp_component_map class_id="41" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>3</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>i_3_fu_134_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>sum1_fu_112_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>tmp_fu_128_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="43" tracking_level="0" version="0"> <count>17</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>5</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>6</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>10</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>1</first> <second>6</second> </second> </item> <item> <first>15</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>9</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="46" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>16</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>7</second> </second> </item> <item> <first>21</first> <second> <first>8</first> <second>8</second> </second> </item> <item> <first>29</first> <second> <first>9</first> <second>10</second> </second> </item> <item> <first>31</first> <second> <first>9</first> <second>9</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="50" tracking_level="1" version="0" object_id="_121"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>21</item> <item>29</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="51" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>62</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>68</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>74</first> <second> <count>7</count> <item_version>0</item_version> <item>14</item> <item>14</item> <item>14</item> <item>14</item> <item>14</item> <item>14</item> <item>14</item> </second> </item> <item> <first>81</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>97</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>104</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>108</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>112</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>118</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>121</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>128</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>134</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="54" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>i_3_fu_134</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>i_phi_fu_97</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>in_V1_cast9_fu_108</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>in_V_addr_fu_121</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>sum1_cast_fu_118</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>sum1_fu_112</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>tmp_cast8_fu_104</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>tmp_fu_128</first> <second> <count>1</count> <item_version>0</item_version> <item>18</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>5</count> <item_version>0</item_version> <item> <first>StgValue_38_write_fu_86</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>e_V_read_fu_81</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>grp_readreq_fu_74</first> <second> <count>7</count> <item_version>0</item_version> <item>14</item> <item>14</item> <item>14</item> <item>14</item> <item>14</item> <item>14</item> <item>14</item> </second> </item> <item> <first>in_V1_read_read_fu_68</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>tmp_8_read_read_fu_62</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="56" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>6</count> <item_version>0</item_version> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>140</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>151</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>155</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>160</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>6</count> <item_version>0</item_version> <item> <first>e_V_reg_160</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>i_3_reg_155</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>i_reg_93</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>in_V_addr_reg_145</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>sum1_reg_140</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>tmp_reg_151</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>i_reg_93</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="57" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="58" tracking_level="0" version="0"> <first>in_V</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>in_V1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> </second> </item> <item> <first>out_V_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>26</item> </second> </item> </second> </item> <item> <first>tmp_8</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="59" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>4</first> <second>FSL</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Unchecked_Conversion; with GL.API; with GL.Enums.Getter; package body GL.Objects.Framebuffers is ------------ function Status (Target : Framebuffer_Target) return Framebuffer_Status is begin return API.Check_Framebuffer_Status (Target.Kind); end Status; procedure Attach_Renderbuffer (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Renderbuffers.Renderbuffer'Class) is begin API.Framebuffer_Renderbuffer (Target.Kind, Attachment, Low_Level.Enums.Renderbuffer, Object.Raw_Id); Raise_Exception_On_OpenGL_Error; end Attach_Renderbuffer; procedure Attach_Texture (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Textures.Texture'Class; Level : Textures.Mipmap_Level) is begin API.Framebuffer_Texture (Target.Kind, Attachment, Object.Raw_Id, Level); Raise_Exception_On_OpenGL_Error; end Attach_Texture; procedure Attach_Texture_Layer (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Textures.Texture'Class; Level : Textures.Mipmap_Level; Layer : Int) is begin API.Framebuffer_Texture_Layer (Target.Kind, Attachment, Object.Raw_Id, Level, Layer); Raise_Exception_On_OpenGL_Error; end Attach_Texture_Layer; procedure Invalidate (Target : in out Framebuffer_Target; Attachments : Attachment_List) is begin API.Invalidate_Framebuffer (Target.Kind, Attachments'Length, Attachments); Raise_Exception_On_OpenGL_Error; end Invalidate; procedure Invalidate_Sub (Target : in out Framebuffer_Target; Attachments : Attachment_List; X, Y : Int; Width, Height : Size) is begin API.Invalidate_Sub_Framebuffer (Target.Kind, Attachments'Length, Attachments, X, Y, Width, Height); Raise_Exception_On_OpenGL_Error; end Invalidate_Sub; procedure Blit (Src_X0, Src_Y0, Src_X1, Src_Y1, Dst_X0, Dst_Y0, Dst_X1, Dst_Y1 : Int; Mask : Buffers.Buffer_Bits; Filter : Textures.Magnifying_Function) is use type Low_Level.Bitfield; function Convert is new Ada.Unchecked_Conversion (Buffers.Buffer_Bits, Low_Level.Bitfield); Raw_Bits : constant Low_Level.Bitfield := Convert (Mask) and 2#0100010100000000#; begin API.Blit_Framebuffer (Src_X0, Src_Y0, Src_X1, Src_Y1, Dst_X0, Dst_Y0, Dst_X1, Dst_Y1, Raw_Bits, Filter); Raise_Exception_On_OpenGL_Error; end Blit; procedure Set_Default_Width (Target : in out Framebuffer_Target; Value : Size) is begin API.Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Width, Value); Raise_Exception_On_OpenGL_Error; end Set_Default_Width; function Default_Width (Target : Framebuffer_Target) return Size is Ret : Size; begin API.Get_Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Width, Ret); Raise_Exception_On_OpenGL_Error; return Ret; end Default_Width; function Max_Framebuffer_Width return Size is Ret : aliased Size; begin API.Get_Size (Enums.Getter.Max_Framebuffer_Width, Ret'Access); Raise_Exception_On_OpenGL_Error; return Ret; end Max_Framebuffer_Width; procedure Set_Default_Height (Target : in out Framebuffer_Target; Value : Size) is begin API.Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Height, Value); Raise_Exception_On_OpenGL_Error; end Set_Default_Height; function Default_Height (Target : Framebuffer_Target) return Size is Ret : Size; begin API.Get_Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Height, Ret); Raise_Exception_On_OpenGL_Error; return Ret; end Default_Height; function Max_Framebuffer_Height return Size is Ret : aliased Size; begin API.Get_Size (Enums.Getter.Max_Framebuffer_Height, Ret'Unchecked_Access); Raise_Exception_On_OpenGL_Error; return Ret; end Max_Framebuffer_Height; procedure Set_Default_Layers (Target : in out Framebuffer_Target; Value : Size) is begin API.Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Layers, Value); Raise_Exception_On_OpenGL_Error; end Set_Default_Layers; function Default_Layers (Target : Framebuffer_Target) return Size is Ret : Size; begin API.Get_Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Layers, Ret); Raise_Exception_On_OpenGL_Error; return Ret; end Default_Layers; function Max_Framebuffer_Layers return Size is Ret : aliased Size; begin API.Get_Size (Enums.Getter.Max_Framebuffer_Layers, Ret'Unchecked_Access); Raise_Exception_On_OpenGL_Error; return Ret; end Max_Framebuffer_Layers; procedure Set_Default_Samples (Target : in out Framebuffer_Target; Value : Size) is begin API.Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Samples, Value); Raise_Exception_On_OpenGL_Error; end Set_Default_Samples; function Default_Samples (Target : Framebuffer_Target) return Size is Ret : Size; begin API.Get_Framebuffer_Parameter_Size (Target.Kind, Enums.Default_Samples, Ret); Raise_Exception_On_OpenGL_Error; return Ret; end Default_Samples; function Max_Framebuffer_Samples return Size is Ret : aliased Size; begin API.Get_Size (Enums.Getter.Max_Framebuffer_Samples, Ret'Unchecked_Access); Raise_Exception_On_OpenGL_Error; return Ret; end Max_Framebuffer_Samples; procedure Set_Default_Fixed_Sample_Locactions (Target : in out Framebuffer_Target; Value : Boolean) is begin API.Framebuffer_Parameter_Bool (Target.Kind, Enums.Default_Fixed_Sample_Locations, Low_Level.Bool (Value)); Raise_Exception_On_OpenGL_Error; end Set_Default_Fixed_Sample_Locactions; function Default_Fixed_Sample_Locations (Target : Framebuffer_Target) return Boolean is Ret : Low_Level.Bool; begin API.Get_Framebuffer_Parameter_Bool (Target.Kind, Enums.Default_Fixed_Sample_Locations, Ret); Raise_Exception_On_OpenGL_Error; return Boolean (Ret); end Default_Fixed_Sample_Locations; overriding procedure Internal_Create_Id (Object : Framebuffer; Id : out UInt) is pragma Unreferenced (Object); begin API.Gen_Framebuffers (1, Id); Raise_Exception_On_OpenGL_Error; end Internal_Create_Id; overriding procedure Internal_Release_Id (Object : Framebuffer; Id : UInt) is pragma Unreferenced (Object); begin API.Delete_Framebuffers (1, (1 => Id)); Raise_Exception_On_OpenGL_Error; end Internal_Release_Id; function Hash (Key : Low_Level.Enums.Framebuffer_Kind) return Ada.Containers.Hash_Type is function Value is new Ada.Unchecked_Conversion (Source => Low_Level.Enums.Framebuffer_Kind, Target => Low_Level.Enum); begin return Ada.Containers.Hash_Type (Value (Key)); end Hash; package Framebuffer_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => Low_Level.Enums.Framebuffer_Kind, Element_Type => Framebuffer'Class, Hash => Hash, Equivalent_Keys => Low_Level.Enums."="); use type Framebuffer_Maps.Cursor; Current_Framebuffers : Framebuffer_Maps.Map; type Framebuffer_Kind_Array is array (Positive range <>) of Low_Level.Enums.Framebuffer_Kind; function Backend_Framebuffer_Targets (Kind : Low_Level.Enums.Framebuffer_Kind) return Framebuffer_Kind_Array is begin case Kind is when Low_Level.Enums.Read => return (1 => Low_Level.Enums.Read); when Low_Level.Enums.Draw => return (1 => Low_Level.Enums.Draw); when Low_Level.Enums.Read_Draw => return (1 => Low_Level.Enums.Draw, 2 => Low_Level.Enums.Read); end case; end Backend_Framebuffer_Targets; pragma Inline (Backend_Framebuffer_Targets); procedure Bind (Target : Framebuffer_Target; Object : Framebuffer'Class) is -- Read_Draw bind to both read and draw framebuffer, we need to set -- the current framebuffer objects accordingly. Targets : constant Framebuffer_Kind_Array := Backend_Framebuffer_Targets (Target.Kind); Cursor : Framebuffer_Maps.Cursor; begin API.Bind_Framebuffer (Target.Kind, Object.Reference.GL_Id); Raise_Exception_On_OpenGL_Error; for Index in Targets'Range loop Cursor := Current_Framebuffers.Find (Targets (Index)); if Cursor = Framebuffer_Maps.No_Element then Current_Framebuffers.Insert (Targets (Index), Object); elsif Framebuffer_Maps.Element (Cursor).Reference.GL_Id /= Object.Reference.GL_Id then Current_Framebuffers.Replace_Element (Cursor, Object); end if; end loop; end Bind; function Current (Target : Framebuffer_Target) return Framebuffer'Class is Targets : constant Framebuffer_Kind_Array := Backend_Framebuffer_Targets (Target.Kind); -- If target is Read_Draw, return the draw framebuffer -- (Note: this is necessary because distinct read/draw framebuffers -- were added later to the API and therefore might not be available -- in the context. So everything needs to work with just Read_Draw). Cursor : constant Framebuffer_Maps.Cursor := Current_Framebuffers.Find (Targets (1)); begin if Cursor = Framebuffer_Maps.No_Element then raise No_Object_Bound_Exception with Target.Kind'Img; else return Framebuffer_Maps.Element (Cursor); end if; end Current; end GL.Objects.Framebuffers;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M -- -- -- -- S p e c -- -- (Compiler Version) -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This version of System is a generic version that is used in building the -- compiler. Right now, we have a host/target problem if we try to use the -- "proper" System, and since the compiler itself does not care about most -- System parameters, this generic version works fine. pragma Restrictions (No_Implicit_Dynamic_Code); -- We want to avoid trampolines in the compiler, so it can be used in systems -- which prevent execution of code on the stack, e.g. in windows environments -- with DEP (Data Execution Protection) enabled. pragma Restrictions (No_Finalization); -- Use restriction No_Finalization to avoid pulling finalization (not allowed -- in GNAT) inside sem_spark.adb, when defining type Perm_Tree_Access as an -- access type on incomplete type Perm_Tree_Wrapper (which is required for -- defining a recursive type). package System is pragma Pure; -- Note that we take advantage of the implementation permission to make -- this unit Pure instead of Preelaborable; see RM 13.7.1(15). In Ada -- 2005, this is Pure in any case (AI-362). pragma No_Elaboration_Code_All; -- Allow the use of that restriction in units that WITH this unit type Name is (SYSTEM_NAME_GNAT); System_Name : constant Name := SYSTEM_NAME_GNAT; -- System-Dependent Named Numbers Min_Int : constant := Long_Long_Integer'First; Max_Int : constant := Long_Long_Integer'Last; Max_Binary_Modulus : constant := 2 ** Long_Long_Integer'Size; Max_Nonbinary_Modulus : constant := 2 ** Integer'Size - 1; Max_Base_Digits : constant := Long_Long_Float'Digits; Max_Digits : constant := Long_Long_Float'Digits; Max_Mantissa : constant := 63; Fine_Delta : constant := 2.0 ** (-Max_Mantissa); Tick : constant := 0.01; -- Storage-related Declarations type Address is private; -- Note that we do NOT add pragma Preelaborable_Initialization in this -- version of System, since it is used for the compiler only, and typical -- earlier bootstrap compilers don't support this pragma. We don't need -- it in this context, so there is no problem in omitting it. Null_Address : constant Address; Storage_Unit : constant := Standard'Storage_Unit; Word_Size : constant := Standard'Word_Size; Memory_Size : constant := 2 ** Standard'Address_Size; -- Address comparison function "<" (Left, Right : Address) return Boolean; function "<=" (Left, Right : Address) return Boolean; function ">" (Left, Right : Address) return Boolean; function ">=" (Left, Right : Address) return Boolean; function "=" (Left, Right : Address) return Boolean; pragma Import (Intrinsic, "<"); pragma Import (Intrinsic, "<="); pragma Import (Intrinsic, ">"); pragma Import (Intrinsic, ">="); pragma Import (Intrinsic, "="); -- Other System-Dependent Declarations type Bit_Order is (High_Order_First, Low_Order_First); Default_Bit_Order : constant Bit_Order := Bit_Order'Val (Standard'Default_Bit_Order); pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning -- Priority-related Declarations (RM D.1) Max_Priority : constant Positive := 30; Max_Interrupt_Priority : constant Positive := 31; subtype Any_Priority is Integer range 0 .. 31; subtype Priority is Any_Priority range 0 .. 30; subtype Interrupt_Priority is Any_Priority range 31 .. 31; Default_Priority : constant Priority := 15; private type Address is mod Memory_Size; Null_Address : constant Address := 0; -------------------------------------- -- System Implementation Parameters -- -------------------------------------- -- These parameters provide information about the target that is used by -- the compiler. They are in the private part of System, where they can be -- accessed using the special circuitry in the Targparm unit whose source -- should be consulted for more detailed descriptions of the individual -- switch values. -- This version of system.ads is used only for building the compiler. -- We really ought to use the proper target system (i.e. the one that -- corresponds to the host for the compiler), but that causes as yet -- unsolved makefile problems. For the most part the setting of these -- parameters is not too critical for the compiler version (e.g. we -- do not use floating-point anyway in the compiler). AAMP : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := False; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; Duration_32_Bits : constant Boolean := False; Exit_Status_Supported : constant Boolean := True; Fractional_Fixed_Ops : constant Boolean := False; Frontend_Layout : constant Boolean := False; Machine_Overflows : constant Boolean := False; Machine_Rounds : constant Boolean := True; Preallocated_Stacks : constant Boolean := False; Signed_Zeros : constant Boolean := True; Stack_Check_Default : constant Boolean := False; Stack_Check_Probes : constant Boolean := False; Stack_Check_Limits : constant Boolean := False; Support_Aggregates : constant Boolean := True; Support_Composite_Assign : constant Boolean := True; Support_Composite_Compare : constant Boolean := True; Support_Long_Shifts : constant Boolean := True; Always_Compatible_Rep : constant Boolean := True; Suppress_Standard_Library : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := False; Frontend_Exceptions : constant Boolean := False; ZCX_By_Default : constant Boolean := True; -- Obsolete entries, to be removed eventually (bootstrap issues) Front_End_ZCX_Support : constant Boolean := False; High_Integrity_Mode : constant Boolean := False; Long_Shifts_Inlined : constant Boolean := True; Functions_Return_By_DSP : constant Boolean := False; Support_64_Bit_Divides : constant Boolean := True; GCC_ZCX_Support : constant Boolean := True; end System;
with Ada.Streams; with Ada.Text_IO; with Crypto.MD5; use Crypto.MD5; procedure Test_MD5 is procedure Test_01 is use type Ada.Streams.Stream_Element_Array; C : Context := Initial; D : Fingerprint; begin Update (C, "a"); Final (C, D); pragma Assert (Image (D) = "0cc175b9c0f1b6a831c399e269772661"); pragma Assert (D = Value (Image (D))); end Test_01; pragma Debug (Test_01); begin -- finish Ada.Text_IO.Put_Line (Ada.Text_IO.Standard_Error.all, "ok"); end Test_MD5;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.WIDE_WIDE_TEXT_IO.WIDE_WIDE_UNBOUNDED_IO -- -- -- -- S p e c -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ -- Note: historically GNAT provided these subprograms as a child of the -- package Ada.Strings.Wide_Wide_Unbounded. So we implement this new Ada 2005 -- package by renaming the subprograms in that child. This is a more -- straightforward implementation anyway, since we need access to the -- internal representation of Unbounded_Wide_Wide_String. with Ada.Strings.Wide_Wide_Unbounded; with Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO; package Ada.Wide_Wide_Text_IO.Wide_Wide_Unbounded_IO is procedure Put (File : File_Type; Item : Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Put; procedure Put (Item : Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Put; procedure Put_Line (File : Wide_Wide_Text_IO.File_Type; Item : Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Put_Line; procedure Put_Line (Item : Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Put_Line; function Get_Line (File : File_Type) return Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Get_Line; function Get_Line return Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Get_Line; procedure Get_Line (File : File_Type; Item : out Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Get_Line; procedure Get_Line (Item : out Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) renames Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO.Get_Line; end Ada.Wide_Wide_Text_IO.Wide_Wide_Unbounded_IO;
-- C64104F.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 CONSTRAINT_ERROR IS RAISED UNDER THE APPROPRIATE -- CIRCUMSTANCES FOR ACCESS PARAMETERS, NAMELY WHEN THE -- ACTUAL INDEX BOUNDS OR DISCRIMINANTS ARE NOT EQUAL -- TO THE FORMAL CONSTRAINTS BEFORE THE CALL (FOR IN AND IN OUT -- MODES), AND WHEN THE FORMAL CONSTRAINTS ARE NOT EQUAL TO THE -- ACTUAL CONSTRAINTS UPON RETURN (FOR IN OUT AND OUT MODES). -- (C) BEFORE CALL, IN OUT MODE, STATIC ONE DIMENSIONAL BOUNDS. -- JRK 3/18/81 -- NL 10/13/81 -- SPS 10/26/82 WITH REPORT; PROCEDURE C64104F IS USE REPORT; BEGIN TEST ("C64104F", "CHECK THAT CONSTRAINT_ERROR IS RAISED " & "APPROPRIATELY FOR ACCESS PARAMETERS"); -------------------------------------------------- DECLARE TYPE A IS ACCESS STRING; SUBTYPE A1 IS A(1..3); V : A (2..4) := NEW STRING (2..4); PROCEDURE P (X : IN OUT A1) IS BEGIN FAILED ("EXCEPTION NOT RAISED ON CALL"); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED IN PROCEDURE"); END P; BEGIN P (V); FAILED ("EXCEPTION NOT RAISED BEFORE CALL"); EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED"); END; -------------------------------------------------- RESULT; END C64104F;
with Ada.Text_Io; procedure Hello_World is begin Ada.Text_Io.Put_Line("Hello world"); end;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Test_Literals is begin Put (16#2D7#); Put (10#727#); Put (8#1_327#); Put (2#10_1101_0111#); end Test_Literals;
-- Copyright 2019-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pkg is type Value_Record is record I : Integer; end record; function Create (I : Integer) return Value is begin return new Value_Record'(I => I); end Create; end Pkg;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- Sample.Header_Handler -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control -- $Revision: 1.20 $ -- $Date: 2014/09/13 19:10:18 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Calendar; use Ada.Calendar; with Terminal_Interface.Curses.Text_IO.Integer_IO; with Sample.Manifest; use Sample.Manifest; pragma Elaborate_All (Terminal_Interface.Curses.Text_Io.Integer_IO); -- This package handles the painting of the header line of the screen. -- package body Sample.Header_Handler is package Int_IO is new Terminal_Interface.Curses.Text_IO.Integer_IO (Integer); use Int_IO; Header_Window : Window := Null_Window; Display_Hour : Integer := -1; -- hour last displayed Display_Min : Integer := -1; -- minute last displayed Display_Day : Integer := -1; -- day last displayed Display_Month : Integer := -1; -- month last displayed -- This is the routine handed over to the curses library to be called -- as initialization routine when ripping of the header lines from -- the screen. This routine must follow C conventions. function Init_Header_Window (Win : Window; Columns : Column_Count) return Integer; pragma Convention (C, Init_Header_Window); procedure Internal_Update_Header_Window (Do_Update : Boolean); -- The initialization must be called before Init_Screen. It steals two -- lines from the top of the screen. procedure Init_Header_Handler is begin Rip_Off_Lines (2, Init_Header_Window'Access); end Init_Header_Handler; procedure N_Out (N : Integer); -- Emit a two digit number and ensure that a leading zero is generated if -- necessary. procedure N_Out (N : Integer) is begin if N < 10 then Add (Header_Window, '0'); Put (Header_Window, N, 1); else Put (Header_Window, N, 2); end if; end N_Out; -- Paint the header window. The input parameter is a flag indicating -- whether or not the screen should be updated physically after painting. procedure Internal_Update_Header_Window (Do_Update : Boolean) is type Month_Name_Array is array (Month_Number'First .. Month_Number'Last) of String (1 .. 9); Month_Names : constant Month_Name_Array := ("January ", "February ", "March ", "April ", "May ", "June ", "July ", "August ", "September", "October ", "November ", "December "); Now : constant Time := Clock; Sec : constant Integer := Integer (Seconds (Now)); Hour : constant Integer := Sec / 3600; Minute : constant Integer := (Sec - Hour * 3600) / 60; Mon : constant Month_Number := Month (Now); D : constant Day_Number := Day (Now); begin if Header_Window /= Null_Window then if Minute /= Display_Min or else Hour /= Display_Hour or else Display_Day /= D or else Display_Month /= Mon then Move_Cursor (Header_Window, 0, 0); N_Out (D); Add (Header_Window, '.'); Add (Header_Window, Month_Names (Mon)); Move_Cursor (Header_Window, 1, 0); N_Out (Hour); Add (Header_Window, ':'); N_Out (Minute); Display_Min := Minute; Display_Hour := Hour; Display_Month := Mon; Display_Day := D; Refresh_Without_Update (Header_Window); if Do_Update then Update_Screen; end if; end if; end if; end Internal_Update_Header_Window; -- This routine is called in the keyboard input timeout handler. So it will -- periodically update the header line of the screen. procedure Update_Header_Window is begin Internal_Update_Header_Window (True); end Update_Header_Window; function Init_Header_Window (Win : Window; Columns : Column_Count) return Integer is Title : constant String := "Ada 95 ncurses Binding Sample"; Pos : Column_Position; begin Header_Window := Win; if Win /= Null_Window then if Has_Colors then Set_Background (Win => Win, Ch => (Ch => ' ', Color => Header_Color, Attr => Normal_Video)); Set_Character_Attributes (Win => Win, Attr => Normal_Video, Color => Header_Color); Erase (Win); end if; Leave_Cursor_After_Update (Win, True); Pos := Columns - Column_Position (Title'Length); Add (Win, 0, Pos / 2, Title); -- In this phase we must not allow a physical update, because -- ncurses is not properly initialized at this point. Internal_Update_Header_Window (False); return 0; else return -1; end if; end Init_Header_Window; end Sample.Header_Handler;
------------------------------------------------------------------------------- -- Copyright (c) 2019, Daniel King -- 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. -- * The name of the copyright holder may not 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 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 Keccak.Types; -- @summary -- Implements the sponge construction. -- -- @description -- The sponge construction is defined in Section 2.2 of "Cryptographic Sponge -- Functions" (see also Section 4 of NIST FIPS 202). -- -- This package is generic and can be used with any fixed-length transformation -- permutation (such as Keccak). The following formal generics are required to -- define the state, and the operations on the state which are required by the -- sponge: -- * The type of the state is defined by the 'State' parameter. -- * The bit-length of the state is defined by the 'State_Size_Bits' parameter. -- * The 'Init_State' procedure initializes the state to zeroes. -- * The 'XOR_Bits_Into_State' procedure XORs bits into the state. -- * The 'Permute' procedure permutes the state. -- * The 'Extract_Data' procedure converts all or part of the state into a byte -- array. -- -- Additionally, the 'Pad' procedure provides the padding rule, which adds -- padding bits into a block of data (the padding may spill over into another -- block if there is not enough free bits in the first provided block). -- -- @group Sponge generic -- Size of the Sponge state in bits (e.g. 1600 for Keccak[1600]) State_Size_Bits : Positive; -- Type for the internal state. type State_Type is private; -- Procedure to initialize the state with procedure Init_State (A : out State_Type); -- Procedure to permute the state with procedure Permute (A : in out State_Type); -- Procedure to XOR bits into the internal state. with procedure XOR_Bits_Into_State (A : in out State_Type; Data : in Keccak.Types.Byte_Array; Bit_Len : in Natural); -- Extracts a block of output from the state with procedure Extract_Data (A : in State_Type; Data : out Keccak.Types.Byte_Array); -- Padding rule with procedure Pad (First_Block : in out Keccak.Types.Byte_Array; Num_Used_Bits : in Natural; Max_Bit_Length : in Natural; Next_Block : out Keccak.Types.Byte_Array; Spilled : out Boolean); package Keccak.Generic_Sponge is Block_Size_Bits : constant Positive := State_Size_Bits; type States is (Absorbing, Squeezing); type Context is private; subtype Rate_Bits_Number is Positive range 1 .. State_Size_Bits - 1 with Dynamic_Predicate => Rate_Bits_Number mod 8 = 0; -- Number representing the Rate (in bits). -- -- The Rate must be a positive integer, and less than the size of the -- state (i.e. there must be at least 1 bit of "capacity"). Furthermore, -- this implementation restricts the Rate to a multiple of 8 bits. ------------------------ -- Sponge procedures -- ------------------------ procedure Init (Ctx : out Context; Capacity : in Positive; Initial_Data : in Keccak.Types.Byte_Array := Keccak.Types.Null_Byte_Array) with Global => null, Pre => (((State_Size_Bits - Capacity) mod 8 = 0) and (Capacity < State_Size_Bits) and Initial_Data'Length <= State_Size_Bits / 8), Post => ((State_Of (Ctx) = Absorbing) and (Rate_Of (Ctx) = State_Size_Bits - Capacity) and In_Queue_Bit_Length (Ctx) = 0); -- Initialize the context with the specified capacity. -- -- The following example demonstrates initializing a sponge with a capacity -- of 512 bits: -- Init(Ctx, 512); -- -- After initialization, the sponge is in the Absorbing state. Bits are -- absorbed into the sponge using the Absorb procedure. Alternatively, it -- is possible to immediately squeeze data from the sponge using the Squeeze -- procedure, without first absorbing any data into the sponge. -- -- @param Ctx The sponge context to initialize. -- -- @param Capacity The sponge's capacity (in bits). The capacity has the -- following requirements: -- * Must be positive -- * Must be strictly smaller than the State_Size_Bits -- * Must be a multiple of 8 (this is a requirement for this implementation) function State_Of (Ctx : in Context) return States with Global => null; -- Gets the current state of the sponge. -- -- The sponge has two states: Absorbing and Squeezing. Initially the sponge -- in the Absorbing state, where bits can be absorbed into the sponge using -- the Absorb procedure. The sponge can move into the Squeezing state at -- any time by calling the Squeeze procedure. -- -- Once in the Squeezing state the sponge cannot move back into the Absorbing -- state. However, the same sponge context can be re-used for a different -- computation by re-initializing the sponge. -- -- @return The current state of the sponge. function Rate_Of (Ctx : in Context) return Rate_Bits_Number with Global => null; -- Gets the currently configured rate of the sponge. -- -- The rate is derived from the sponge's capacity and the State_Size_Bits. -- -- @return The sponge's rate, in bits. procedure Absorb (Ctx : in out Context; Data : in Keccak.Types.Byte_Array; Bit_Length : in Natural) with Global => null, Depends => (Ctx =>+ (Data, Bit_Length)), Pre => (State_Of (Ctx) = Absorbing and then Bit_Length <= Natural'Last - 7 and then (Bit_Length + 7) / 8 <= Data'Length and then In_Queue_Bit_Length (Ctx) mod 8 = 0 and then In_Queue_Bit_Length (Ctx) < Rate_Of (Ctx)), Post => (State_Of (Ctx) = Absorbing and Rate_Of (Ctx) = Rate_Of (Ctx'Old) and (In_Queue_Bit_Length (Ctx) mod 8) = (Bit_Length mod 8) and In_Queue_Bit_Length (Ctx) < Rate_Of (Ctx)); -- Absorb (input) bits into the sponge. -- -- This procedure can be called multiple times to absorb large amounts of -- data in chunks. -- -- @param Ctx The sponge context to where the data will be absorbed. -- -- @param Data Contains the data to absorb into the sponge. -- -- @param Bit_Length The number of bits from the 'Data' array to absorb -- into the sponge. The length of the 'Data' array must contain at least -- this many bits. E.g. if Bit_Length is 20 then Data'Length must be at -- least 3 bytes. procedure Absorb_With_Suffix (Ctx : in out Context; Message : in Keccak.Types.Byte_Array; Bit_Length : in Natural; Suffix : in Keccak.Types.Byte; Suffix_Len : in Natural) with Global => null, Pre => (State_Of (Ctx) = Absorbing and then Suffix_Len <= 8 and then Bit_Length <= Natural'Last - 8 and then (Bit_Length + 7) / 8 <= Message'Length and then In_Queue_Bit_Length (Ctx) mod 8 = 0 and then In_Queue_Bit_Length (Ctx) < Rate_Of (Ctx)), Post => (State_Of (Ctx) = Absorbing and Rate_Of (Ctx) = Rate_Of (Ctx'Old) and (In_Queue_Bit_Length (Ctx) mod 8) = ((Bit_Length + Suffix_Len) mod 8) and In_Queue_Bit_Length (Ctx) < Rate_Of (Ctx)); -- Concatenate up to 8 suffix bits to a message, then absorb the resulting -- concatenated data into the sponge. -- -- Typically this procedure is called before the first call to Squeeze in -- cases where there are additional bits to be appended before the padding. -- One example is SHA3, which appends the bits 11 to each message before -- the padding bits are appended. An example of using this procedure to -- absorb the final data into the sponge is shown below: -- Absorb_With_Suffix(Ctx, -- Message, -- Message'Length * 8, -- bit length of the message -- 2#11#, -- Concatenate the bits 11 onto the message -- 2); -- The suffix is two bits in length -- -- In pseudo-code, this procedure is functionally equivalent to: -- Absorb(Ctx, Message || 11); -- -- @param Ctx The sponge context into which the bits will be absorbed. -- -- @param Message Byte array containing the data to absorb. -- -- @param Bit_Length The number of bits in 'Message' to absorb into the sponge. -- -- @param Suffix A byte containing the suffix bits to append to the message. -- The least significant bit in this byte is the first bit that is appended. -- -- @param Suffix_Len The number of bits from the 'Suffix' byte to append. -- Up to 8 additional bits can be absorbed, and Suffix_Len can be set to 0 -- if no additional bits should be absorbed. procedure Squeeze (Ctx : in out Context; Digest : out Keccak.Types.Byte_Array) with Global => null, Depends => ((Ctx, Digest) => (Ctx, Digest)), Post => (State_Of (Ctx) = Squeezing and Rate_Of (Ctx) = Rate_Of (Ctx'Old)); pragma Annotate (GNATprove, False_Positive, """Digest"" might not be initialized", "Digest is fully initialized by the end of the subprogram"); -- Squeeze (output) bits from the sponge. -- -- Squeeze can be called multiple times to extract an arbitrary amount of -- output bytes. -- -- Note that after calling Squeeze it is not possible to absorb any more -- data into the sponge. -- -- @param Ctx The context from where the data will be squeezed. -- -- @param Digest This array is filled with bytes squeezed from the sponge. -- This array can be of any length. function In_Queue_Bit_Length (Ctx : in Context) return Natural with Global => null, Post => In_Queue_Bit_Length'Result < State_Size_Bits; -- Get the number of bits which are waiting in the input queue, and have -- not yet been absorbed into the sponge. -- -- The purpose of this function is to aid in the definition of the -- preconditions and postconditions private -- The rate number here represents bytes, not bits. -- This makes it easier to handle in proof, since bytes are -- always a multiple of 8 bits. subtype Rate_Bytes_Number is Positive range 1 .. ((State_Size_Bits + 7) / 8) - 1; subtype Byte_Absorption_Number is Natural range 0 .. ((State_Size_Bits + 7) / 8) - 1; subtype Bit_Absorption_Number is Natural range 0 .. State_Size_Bits - 1; subtype Block_Type is Keccak.Types.Byte_Array (Byte_Absorption_Number); subtype Suffix_Bits_Number is Natural range 0 .. 8; type Context is record -- The sponge state. State : State_Type; -- Input/output queue. -- -- When absorbing, this buffer holds data which is waiting to be absorbed. -- When squeezing, this buffer holds squeezed bytes which are waiting to -- be read by calling Squeeze. Block : Block_Type; -- While absorbing, this keeps track of the number of bits in the input -- queue that are waiting to be absorbed. Bits_Absorbed : Bit_Absorption_Number; -- While squeezing, this keeps track of the number of bytes -- that have been extracted from output queue. Once this value reaches -- the rate, then the next block of output is generated and Bytes_Squeezed -- is reset to 0. Bytes_Squeezed : Byte_Absorption_Number; -- True if the data in the 'Block' buffer contain valid output data. Out_Bytes_Ready : Boolean; -- The rate parameter. This value is represented in bytes, not bits -- so that it is easier to manage in proof. Rate : Rate_Bytes_Number; -- The current state of the sponge (Absorbing or Squeezing). Curr_State : States; end record; ---------------------------------- -- Sponge Expression functions -- ---------------------------------- function State_Of (Ctx : in Context) return States is (Ctx.Curr_State); function Rate_Of (Ctx : in Context) return Rate_Bits_Number is (Positive (Ctx.Rate) * 8); function In_Queue_Bit_Length (Ctx : in Context) return Natural is (Ctx.Bits_Absorbed); end Keccak.Generic_Sponge;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2016, 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$ ------------------------------------------------------------------------------ generic type Element_Type is private; with function First (Self : aliased Element_Type) return League.Holders.Iterable_Holder_Cursors.Cursor'Class; package League.Holders.Generic_Iterable_Holders is pragma Preelaborate; Value_Tag : constant Tag; function Element (Self : Holder) return Element_Type; -- Returns internal value. procedure Replace_Element (Self : in out Holder; To : Element_Type); -- Set value. Tag of the value must be set before this call. function To_Holder (Item : Element_Type) return Holder; -- Creates new Value from specified value. private type Element_Container is new Abstract_Container with record Value : aliased Element_Type; end record; overriding function Constructor (Is_Empty : not null access Boolean) return Element_Container; overriding function First (Self : not null access Element_Container) return Iterable_Holder_Cursors.Cursor'Class; Value_Tag : constant Tag := Tag (Element_Container'Tag); end League.Holders.Generic_Iterable_Holders;